From 22d21ce01e08ba57ea20624669a814b82d14db97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 11:54:13 +0000 Subject: [PATCH] [dependabot skip] chore: update generated content --- dist/index.cjs | 352 ++++++++++++++++++++++++--------------------- dist/index.cjs.map | 8 +- dist/licenses.txt | 5 +- 3 files changed, 194 insertions(+), 171 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index 4294ed0..0439ac1 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -1,81 +1,81 @@ -var tqe=Object.create;var yx=Object.defineProperty;var rqe=Object.getOwnPropertyDescriptor;var nqe=Object.getOwnPropertyNames;var iqe=Object.getPrototypeOf,sqe=Object.prototype.hasOwnProperty;var o=(t,e)=>yx(t,"name",{value:e,configurable:!0});var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),oqe=(t,e)=>{for(var r in e)yx(t,r,{get:e[r],enumerable:!0})},aqe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nqe(e))!sqe.call(t,i)&&i!==r&&yx(t,i,{get:()=>e[i],enumerable:!(n=rqe(e,i))||n.enumerable});return t};var N=(t,e,r)=>(r=t!=null?tqe(iqe(t)):{},aqe(e||!t||!t.__esModule?yx(r,"default",{value:t,enumerable:!0}):r,t));var FZ=A(lm=>{"use strict";var l5t=require("net"),hqe=require("tls"),CL=require("http"),PZ=require("https"),pqe=require("events"),u5t=require("assert"),Aqe=require("util");lm.httpOverHttp=mqe;lm.httpsOverHttp=gqe;lm.httpOverHttps=yqe;lm.httpsOverHttps=Eqe;function mqe(t){var e=new Au(t);return e.request=CL.request,e}o(mqe,"httpOverHttp");function gqe(t){var e=new Au(t);return e.request=CL.request,e.createSocket=OZ,e.defaultPort=443,e}o(gqe,"httpsOverHttp");function yqe(t){var e=new Au(t);return e.request=PZ.request,e}o(yqe,"httpOverHttps");function Eqe(t){var e=new Au(t);return e.request=PZ.request,e.createSocket=OZ,e.defaultPort=443,e}o(Eqe,"httpsOverHttps");function Au(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||CL.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=LZ(i,s,a),l=0,u=e.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function u(d){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");Au.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=bL({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),kd("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",d),a.end();function c(f){f.upgrade=!0}o(c,"onResponse");function l(f,h,p){process.nextTick(function(){u(f,h,p)})}o(l,"onUpgrade");function u(f,h,p){if(a.removeAllListeners(),h.removeAllListeners(),f.statusCode!==200){kd("tunneling socket could not be established, statusCode=%d",f.statusCode),h.destroy();var g=new Error("tunneling socket could not be established, statusCode="+f.statusCode);g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}if(p.length>0){kd("got illegal response body from proxy"),h.destroy();var g=new Error("got illegal response body from proxy");g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}return kd("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}o(u,"onConnect");function d(f){a.removeAllListeners(),kd(`tunneling socket could not be established, cause=%s -`,f.message,f.stack);var h=new Error("tunneling socket could not be established, cause="+f.message);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(i)}o(d,"onError")},"createSocket");Au.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function OZ(t,e){var r=this;Au.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=bL({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=hqe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(OZ,"createSecureSocket");function LZ(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(LZ,"toOptions");function bL(t){for(var e=1,r=arguments.length;e{MZ.exports=FZ()});var mr=A((p5t,UZ)=>{UZ.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 Rt=A((A5t,dee)=>{"use strict";var qZ=Symbol.for("undici.error.UND_ERR"),gr=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[qZ]===!0}[qZ]=!0},GZ=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),IL=class extends gr{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[GZ]===!0}[GZ]=!0},HZ=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),wL=class extends gr{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[HZ]===!0}[HZ]=!0},VZ=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),SL=class extends gr{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[VZ]===!0}[VZ]=!0},zZ=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),BL=class extends gr{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[zZ]===!0}[zZ]=!0},$Z=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),xL=class extends gr{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[$Z]===!0}[$Z]=!0},jZ=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),vL=class extends gr{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[jZ]===!0}[jZ]=!0},WZ=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),NL=class extends gr{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[WZ]===!0}[WZ]=!0},JZ=Symbol.for("undici.error.UND_ERR_ABORT"),wx=class extends gr{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[JZ]===!0}[JZ]=!0},YZ=Symbol.for("undici.error.UND_ERR_ABORTED"),_L=class extends wx{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[YZ]===!0}[YZ]=!0},KZ=Symbol.for("undici.error.UND_ERR_INFO"),TL=class extends gr{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[KZ]===!0}[KZ]=!0},XZ=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),RL=class extends gr{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[XZ]===!0}[XZ]=!0},ZZ=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),DL=class extends gr{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[ZZ]===!0}[ZZ]=!0},eee=Symbol.for("undici.error.UND_ERR_DESTROYED"),QL=class extends gr{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[eee]===!0}[eee]=!0},tee=Symbol.for("undici.error.UND_ERR_CLOSED"),kL=class extends gr{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[tee]===!0}[tee]=!0},ree=Symbol.for("undici.error.UND_ERR_SOCKET"),PL=class extends gr{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[ree]===!0}[ree]=!0},nee=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),OL=class extends gr{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[nee]===!0}[nee]=!0},iee=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),LL=class extends gr{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[iee]===!0}[iee]=!0},see=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),FL=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[see]===!0}[see]=!0},oee=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),ML=class extends gr{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[oee]===!0}[oee]=!0},aee=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),UL=class extends gr{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[aee]===!0}[aee]=!0},cee=Symbol.for("undici.error.UND_ERR_RESPONSE"),qL=class extends gr{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[cee]===!0}[cee]=!0},lee=Symbol.for("undici.error.UND_ERR_PRX_TLS"),GL=class extends gr{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),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[lee]===!0}[lee]=!0},uee=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),HL=class extends gr{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[uee]===!0}get[uee](){return!0}};dee.exports={AbortError:wx,HTTPParserError:FL,UndiciError:gr,HeadersTimeoutError:wL,HeadersOverflowError:SL,BodyTimeoutError:BL,RequestContentLengthMismatchError:RL,ConnectTimeoutError:IL,ResponseStatusCodeError:xL,InvalidArgumentError:vL,InvalidReturnValueError:NL,RequestAbortedError:_L,ClientDestroyedError:QL,ClientClosedError:kL,InformationalError:TL,SocketError:PL,NotSupportedError:OL,ResponseContentLengthMismatchError:DL,BalancedPoolMissingUpstreamError:LL,ResponseExceededMaxSizeError:ML,RequestRetryError:UL,ResponseError:qL,SecureProxyConnectionError:GL,MessageSizeExceededError:HL}});var Bx=A((g5t,fee)=>{"use strict";var Sx={},VL=["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:hee,headerNameLowerCasedRecord:Cqe}=Bx(),zL=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code{"use strict";var XC=require("node:assert"),{kDestroyed:yee,kBodyUsed:dm,kListeners:$L,kBody:gee}=mr(),{IncomingMessage:bqe}=require("node:http"),_x=require("node:stream"),Iqe=require("node:net"),{Blob:wqe}=require("node:buffer"),Sqe=require("node:util"),{stringify:Bqe}=require("node:querystring"),{EventEmitter:xqe}=require("node:events"),{InvalidArgumentError:qn}=Rt(),{headerNameLowerCasedRecord:vqe}=Bx(),{tree:Eee}=mee(),[Nqe,_qe]=process.versions.node.split(".").map(t=>Number(t)),Nx=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[gee]=e,this[dm]=!1}async*[Symbol.asyncIterator](){XC(!this[dm],"disturbed"),this[dm]=!0,yield*this[gee]}};function Tqe(t){return Tx(t)?(See(t)===0&&t.on("data",function(){XC(!1)}),typeof t.readableDidRead!="boolean"&&(t[dm]=!1,xqe.prototype.on.call(t,"data",function(){this[dm]=!0})),t):t&&typeof t.pipeTo=="function"?new Nx(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&wee(t)?new Nx(t):t}o(Tqe,"wrapRequestBody");function Rqe(){}o(Rqe,"nop");function Tx(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Tx,"isStream");function Cee(t){if(t===null)return!1;if(t instanceof wqe)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(Cee,"isBlobLike");function Dqe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=Bqe(e);return r&&(t+="?"+r),t}o(Dqe,"buildURL");function bee(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(bee,"isValidPort");function vx(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(vx,"isHttpOrHttpsPrefixed");function Iee(t){if(typeof t=="string"){if(t=new URL(t),!vx(t.origin||t.protocol))throw new qn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new qn("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&bee(t.port)===!1)throw new qn("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 qn("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new qn("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new qn("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new qn("Invalid URL origin: the origin must be a string or null/undefined.");if(!vx(t.origin||t.protocol))throw new qn("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}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!vx(t.origin||t.protocol))throw new qn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Iee,"parseURL");function Qqe(t){if(t=Iee(t),t.pathname!=="/"||t.search||t.hash)throw new qn("invalid url");return t}o(Qqe,"parseOrigin");function kqe(t){if(t[0]==="["){let r=t.indexOf("]");return XC(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(kqe,"getHostname");function Pqe(t){if(!t)return null;XC(typeof t=="string");let e=kqe(t);return Iqe.isIP(e)?"":e}o(Pqe,"getServerName");function Oqe(t){return JSON.parse(JSON.stringify(t))}o(Oqe,"deepClone");function Lqe(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(Lqe,"isAsyncIterable");function wee(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(wee,"isIterable");function See(t){if(t==null)return 0;if(Tx(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Cee(t))return t.size!=null?t.size:null;if(vee(t))return t.byteLength}return null}o(See,"bodyLength");function Bee(t){return t&&!!(t.destroyed||t[yee]||_x.isDestroyed?.(t))}o(Bee,"isDestroyed");function Fqe(t,e){t==null||!Tx(t)||Bee(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===bqe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[yee]=!0))}o(Fqe,"destroy");var Mqe=/timeout=(\d+)/;function Uqe(t){let e=t.toString().match(Mqe);return e?parseInt(e[1],10)*1e3:null}o(Uqe,"parseKeepAliveTimeout");function xee(t){return typeof t=="string"?vqe[t]??t.toLowerCase():Eee.lookup(t)??t.toString("latin1").toLowerCase()}o(xee,"headerNameToString");function qqe(t){return Eee.lookup(t)??t.toString("latin1").toLowerCase()}o(qqe,"bufferToLowerCasedHeaderName");function Gqe(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(Gqe,"parseHeaders");function Hqe(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(Jqe,"ReadableStreamFrom");function Yqe(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(Yqe,"isFormDataLike");function Kqe(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(Kqe,"addAbortListener");var Xqe=typeof String.prototype.toWellFormed=="function",Zqe=typeof String.prototype.isWellFormed=="function";function Nee(t){return Xqe?`${t}`.toWellFormed():Sqe.toUSVString(t)}o(Nee,"toUSVString");function e3e(t){return Zqe?`${t}`.isWellFormed():Nee(t)===`${t}`}o(e3e,"isUSVString");function _ee(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(_ee,"isTokenCharCode");function t3e(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Ut=require("node:diagnostics_channel"),JL=require("node:util"),Rx=JL.debuglog("undici"),WL=JL.debuglog("fetch"),Nh=JL.debuglog("websocket"),Qee=!1,c3e={beforeConnect:Ut.channel("undici:client:beforeConnect"),connected:Ut.channel("undici:client:connected"),connectError:Ut.channel("undici:client:connectError"),sendHeaders:Ut.channel("undici:client:sendHeaders"),create:Ut.channel("undici:request:create"),bodySent:Ut.channel("undici:request:bodySent"),headers:Ut.channel("undici:request:headers"),trailers:Ut.channel("undici:request:trailers"),error:Ut.channel("undici:request:error"),open:Ut.channel("undici:websocket:open"),close:Ut.channel("undici:websocket:close"),socketError:Ut.channel("undici:websocket:socket_error"),ping:Ut.channel("undici:websocket:ping"),pong:Ut.channel("undici:websocket:pong")};if(Rx.enabled||WL.enabled){let t=WL.enabled?WL:Rx;Ut.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Ut.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Ut.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Ut.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Ut.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Ut.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Ut.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),Qee=!0}if(Nh.enabled){if(!Qee){let t=Rx.enabled?Rx:Nh;Ut.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ut.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ut.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Ut.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Ut.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Nh("connection opened %s%s",e,r?`:${r}`:"")}),Ut.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Nh("closed connection to %s - %s %s",e.url,r,n)}),Ut.channel("undici:websocket:socket_error").subscribe(t=>{Nh("connection errored - %s",t.message)}),Ut.channel("undici:websocket:ping").subscribe(t=>{Nh("ping received")}),Ut.channel("undici:websocket:pong").subscribe(t=>{Nh("pong received")})}kee.exports={channels:c3e}});var Fee=A((w5t,Lee)=>{"use strict";var{InvalidArgumentError:Vt,NotSupportedError:l3e}=Rt(),mu=require("node:assert"),{isValidHTTPToken:Oee,isValidHeaderValue:ZC,isStream:u3e,destroy:d3e,isBuffer:f3e,isFormDataLike:h3e,isIterable:p3e,isBlobLike:A3e,buildURL:m3e,validateHandler:g3e,getServerName:y3e,normalizedMethodRecords:E3e}=at(),{channels:xc}=fm(),{headerNameLowerCasedRecord:Pee}=Bx(),C3e=/[^\u0021-\u00ff]/,ko=Symbol("handler"),YL=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:d,bodyTimeout:f,reset:h,throwOnError:p,expectContinue:g,servername:m},E){if(typeof r!="string")throw new Vt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Vt("path must be an absolute URL or start with a slash");if(C3e.test(r))throw new Vt("invalid request path");if(typeof n!="string")throw new Vt("method must be a string");if(E3e[n]===void 0&&!Oee(n))throw new Vt("invalid request method");if(u&&typeof u!="string")throw new Vt("upgrade must be a string");if(u&&!ZC(u))throw new Vt("invalid upgrade header");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Vt("invalid headersTimeout");if(f!=null&&(!Number.isFinite(f)||f<0))throw new Vt("invalid bodyTimeout");if(h!=null&&typeof h!="boolean")throw new Vt("invalid reset");if(g!=null&&typeof g!="boolean")throw new Vt("invalid expectContinue");if(this.headersTimeout=d,this.bodyTimeout=f,this.throwOnError=p===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(u3e(i)){this.body=i;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){d3e(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=C=>{this.abort?this.abort(C):this.error=C},this.body.on("error",this.errorHandler)}else if(f3e(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(h3e(i)||p3e(i)||A3e(i))this.body=i;else throw new Vt("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?m3e(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=h??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=g??!1,Array.isArray(s)){if(s.length%2!==0)throw new Vt("headers array must be even");for(let y=0;y{"use strict";var b3e=require("node:events"),Qx=class extends b3e{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,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new KL(this,n)}},KL=class extends Qx{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)}};Mee.exports=Qx});var mm=A((v5t,Uee)=>{"use strict";var I3e=eb(),{ClientDestroyedError:XL,ClientClosedError:w3e,InvalidArgumentError:hm}=Rt(),{kDestroy:S3e,kClose:B3e,kClosed:tb,kDestroyed:pm,kDispatch:ZL,kInterceptors:_h}=mr(),gu=Symbol("onDestroyed"),Am=Symbol("onClosed"),kx=Symbol("Intercepted Dispatch"),eF=Symbol("webSocketOptions"),tF=class extends I3e{static{o(this,"DispatcherBase")}constructor(e){super(),this[pm]=!1,this[gu]=null,this[tb]=!1,this[Am]=[],this[eF]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[eF].maxFragments??131072,maxPayloadSize:this[eF].maxPayloadSize??128*1024*1024}}get destroyed(){return this[pm]}get closed(){return this[tb]}get interceptors(){return this[_h]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[_h][r]!="function")throw new hm("interceptor must be an function")}this[_h]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new hm("invalid callback");if(this[pm]){queueMicrotask(()=>e(new XL,null));return}if(this[tb]){this[Am]?this[Am].push(e):queueMicrotask(()=>e(null,null));return}this[tb]=!0,this[Am].push(e);let r=o(()=>{let n=this[Am];this[Am]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new hm("invalid callback");if(this[pm]){this[gu]?this[gu].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new XL),this[pm]=!0,this[gu]=this[gu]||[],this[gu].push(r);let n=o(()=>{let i=this[gu];this[gu]=null;for(let s=0;s{queueMicrotask(n)})}[kx](e,r){if(!this[_h]||this[_h].length===0)return this[kx]=this[ZL],this[ZL](e,r);let n=this[ZL].bind(this);for(let i=this[_h].length-1;i>=0;i--)n=this[_h][i](n);return this[kx]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new hm("handler must be an object");try{if(!e||typeof e!="object")throw new hm("opts must be an object.");if(this[pm]||this[gu])throw new XL;if(this[tb])throw new w3e;return this[kx](e,r)}catch(n){if(typeof r.onError!="function")throw new hm("invalid onError method");return r.onError(n),!1}}};Uee.exports=tF});var cF=A((_5t,Vee)=>{"use strict";var gm=0,rF=1e3,nF=(rF>>1)-1,yu,iF=Symbol("kFastTimer"),Eu=[],sF=-2,oF=-1,Gee=0,qee=1;function aF(){gm+=nF;let t=0,e=Eu.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=oF,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===oF?(r._state=sF,--e!==0&&(Eu[t]=Eu[e])):++t}Eu.length=e,Eu.length!==0&&Hee()}o(aF,"onTick");function Hee(){yu?yu.refresh():(clearTimeout(yu),yu=setTimeout(aF,nF),yu.unref&&yu.unref())}o(Hee,"refreshTimeout");var Px=class{static{o(this,"FastTimer")}[iF]=!0;_state=sF;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===sF&&Eu.push(this),(!yu||Eu.length===1)&&Hee(),this._state=Gee}clear(){this._state=oF,this._idleStart=-1}};Vee.exports={setTimeout(t,e,r){return e<=rF?setTimeout(t,e,r):new Px(t,e,r)},clearTimeout(t){t[iF]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Px(t,e,r)},clearFastTimeout(t){t.clear()},now(){return gm},tick(t=0){gm+=t-rF+1,aF(),aF()},reset(){gm=0,Eu.length=0,clearTimeout(yu),yu=null},kFastTimer:iF}});var rb=A((Q5t,Jee)=>{"use strict";var x3e=require("node:net"),zee=require("node:assert"),Wee=at(),{InvalidArgumentError:v3e,ConnectTimeoutError:N3e}=Rt(),Ox=cF();function $ee(){}o($ee,"noop");var lF,uF;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?uF=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:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function _3e({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new v3e("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new uF(e??100);return n=n??1e4,t=t??!1,o(function({hostname:u,host:d,protocol:f,port:h,servername:p,localAddress:g,httpSocket:m},E){let y;if(f==="https:"){lF||(lF=require("node:tls")),p=p||a.servername||Wee.getServerName(d)||null;let I=p||u;zee(I);let B=i||c.get(I)||null;h=h||443,y=lF.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:g,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:m,port:h,host:u}),y.on("session",function(Q){c.set(I,Q)})}else zee(!m,"httpSocket can only be sent on TLS update"),h=h||80,y=x3e.connect({highWaterMark:64*1024,...a,localAddress:g,port:h,host:u});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,I)}let C=T3e(new WeakRef(y),{timeout:n,hostname:u,port:h});return y.setNoDelay(!0).once(f==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(C),E){let I=E;E=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(C),E){let B=E;E=null,B(I)}}),y},"connect")}o(_3e,"buildConnector");var T3e=process.platform==="win32"?(t,e)=>{if(!e.timeout)return $ee;let r=null,n=null,i=Ox.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>jee(t.deref(),e))})},e.timeout);return()=>{Ox.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return $ee;let r=null,n=Ox.setFastTimeout(()=>{r=setImmediate(()=>{jee(t.deref(),e)})},e.timeout);return()=>{Ox.clearFastTimeout(n),clearImmediate(r)}};function jee(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)`,Wee.destroy(t,new N3e(r))}o(jee,"onConnectTimeout");Jee.exports=_3e});var Yee=A(Lx=>{"use strict";Object.defineProperty(Lx,"__esModule",{value:!0});Lx.enumToMap=void 0;function R3e(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(R3e,"enumToMap");Lx.enumToMap=R3e});var Kee=A(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.SPECIAL_HEADERS=Z.HEADER_STATE=Z.MINOR=Z.MAJOR=Z.CONNECTION_TOKEN_CHARS=Z.HEADER_CHARS=Z.TOKEN=Z.STRICT_TOKEN=Z.HEX=Z.URL_CHAR=Z.STRICT_URL_CHAR=Z.USERINFO_CHARS=Z.MARK=Z.ALPHANUM=Z.NUM=Z.HEX_MAP=Z.NUM_MAP=Z.ALPHA=Z.FINISH=Z.H_METHOD_MAP=Z.METHOD_MAP=Z.METHODS_RTSP=Z.METHODS_ICE=Z.METHODS_HTTP=Z.METHODS=Z.LENIENT_FLAGS=Z.FLAGS=Z.TYPE=Z.ERROR=void 0;var D3e=Yee(),Q3e;(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"})(Q3e=Z.ERROR||(Z.ERROR={}));var k3e;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(k3e=Z.TYPE||(Z.TYPE={}));var P3e;(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"})(P3e=Z.FLAGS||(Z.FLAGS={}));var O3e;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(O3e=Z.LENIENT_FLAGS||(Z.LENIENT_FLAGS={}));var Qe;(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"})(Qe=Z.METHODS||(Z.METHODS={}));Z.METHODS_HTTP=[Qe.DELETE,Qe.GET,Qe.HEAD,Qe.POST,Qe.PUT,Qe.CONNECT,Qe.OPTIONS,Qe.TRACE,Qe.COPY,Qe.LOCK,Qe.MKCOL,Qe.MOVE,Qe.PROPFIND,Qe.PROPPATCH,Qe.SEARCH,Qe.UNLOCK,Qe.BIND,Qe.REBIND,Qe.UNBIND,Qe.ACL,Qe.REPORT,Qe.MKACTIVITY,Qe.CHECKOUT,Qe.MERGE,Qe["M-SEARCH"],Qe.NOTIFY,Qe.SUBSCRIBE,Qe.UNSUBSCRIBE,Qe.PATCH,Qe.PURGE,Qe.MKCALENDAR,Qe.LINK,Qe.UNLINK,Qe.PRI,Qe.SOURCE];Z.METHODS_ICE=[Qe.SOURCE];Z.METHODS_RTSP=[Qe.OPTIONS,Qe.DESCRIBE,Qe.ANNOUNCE,Qe.SETUP,Qe.PLAY,Qe.PAUSE,Qe.TEARDOWN,Qe.GET_PARAMETER,Qe.SET_PARAMETER,Qe.REDIRECT,Qe.RECORD,Qe.FLUSH,Qe.GET,Qe.POST];Z.METHOD_MAP=D3e.enumToMap(Qe);Z.H_METHOD_MAP={};Object.keys(Z.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(Z.H_METHOD_MAP[t]=Z.METHOD_MAP[t])});var L3e;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(L3e=Z.FINISH||(Z.FINISH={}));Z.ALPHA=[];for(let t=65;t<=90;t++)Z.ALPHA.push(String.fromCharCode(t)),Z.ALPHA.push(String.fromCharCode(t+32));Z.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Z.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};Z.NUM=["0","1","2","3","4","5","6","7","8","9"];Z.ALPHANUM=Z.ALPHA.concat(Z.NUM);Z.MARK=["-","_",".","!","~","*","'","(",")"];Z.USERINFO_CHARS=Z.ALPHANUM.concat(Z.MARK).concat(["%",";",":","&","=","+","$",","]);Z.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Z.ALPHANUM);Z.URL_CHAR=Z.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)Z.URL_CHAR.push(t);Z.HEX=Z.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Z.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Z.ALPHANUM);Z.TOKEN=Z.STRICT_TOKEN.concat([" "]);Z.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&Z.HEADER_CHARS.push(t);Z.CONNECTION_TOKEN_CHARS=Z.HEADER_CHARS.filter(t=>t!==44);Z.MAJOR=Z.NUM_MAP;Z.MINOR=Z.MAJOR;var ym;(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"})(ym=Z.HEADER_STATE||(Z.HEADER_STATE={}));Z.SPECIAL_HEADERS={connection:ym.CONNECTION,"content-length":ym.CONTENT_LENGTH,"proxy-connection":ym.CONNECTION,"transfer-encoding":ym.TRANSFER_ENCODING,upgrade:ym.UPGRADE}});var dF=A((F5t,Xee)=>{"use strict";var{Buffer:F3e}=require("node:buffer");Xee.exports=F3e.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl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AFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAA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ACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADY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AIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0R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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgB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yXAgtB/QAhAyABIARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEY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IgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAI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JByRc2AhAgAkEVNgIMQQAhAwyVAQtBACEDIAJBADYCHCACIAE2AhQgAkGAETYCECACQQk2AgwMlAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0AIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCBCACIAAgAUEBaiIBECoiAA0MDHcLQTkhA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q3e=[101,204,205,304],rte=[301,302,303,307,308],G3e=new Set(rte),nte=["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"],H3e=new Set(nte),ite=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],V3e=new Set(ite),z3e=["follow","manual","error"],ste=["GET","HEAD","OPTIONS","TRACE"],$3e=new Set(ste),j3e=["navigate","same-origin","no-cors","cors"],W3e=["omit","same-origin","include"],J3e=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Y3e=["content-encoding","content-language","content-location","content-type","content-length"],K3e=["half"],ote=["CONNECT","TRACE","TRACK"],X3e=new Set(ote),ate=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],Z3e=new Set(ate);cte.exports={subresource:ate,forbiddenMethods:ote,requestBodyHeader:Y3e,referrerPolicy:ite,requestRedirect:z3e,requestMode:j3e,requestCredentials:W3e,requestCache:J3e,redirectStatus:rte,corsSafeListedMethods:tte,nullBodyStatus:q3e,safeMethods:ste,badPorts:nte,requestDuplex:K3e,subresourceSet:Z3e,badPortsSet:H3e,redirectStatusSet:G3e,corsSafeListedMethodsSet:U3e,safeMethodsSet:$3e,forbiddenMethodsSet:X3e,referrerPolicySet:V3e}});var hF=A((q5t,lte)=>{"use strict";var fF=Symbol.for("undici.globalOrigin.1");function eGe(){return globalThis[fF]}o(eGe,"getGlobalOrigin");function tGe(t){if(t===void 0){Object.defineProperty(globalThis,fF,{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,fF,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(tGe,"setGlobalOrigin");lte.exports={getGlobalOrigin:eGe,setGlobalOrigin:tGe}});var ms=A((H5t,mte)=>{"use strict";var Mx=require("node:assert"),rGe=new TextEncoder,ib=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,nGe=/[\u000A\u000D\u0009\u0020]/,iGe=/[\u0009\u000A\u000C\u000D\u0020]/g,sGe=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function oGe(t){Mx(t.protocol==="data:");let e=fte(t,!0);e=e.slice(5);let r={position:0},n=Em(",",e,r),i=n.length;if(n=fGe(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=hte(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=Ate(a);if(a=cGe(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=pF(n);return c==="failure"&&(c=pF("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(oGe,"dataURLProcessor");function fte(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(fte,"URLSerializer");function Ux(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(ute,"isHexCharByte");function dte(t){return t>=48&&t<=57?t-48:(t&223)-55}o(dte,"hexByteToNumber");function aGe(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=Em(";",t,e);if(n=Fx(n,!1,!0),n.length===0||!ib.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.positionnGe.test(u),t,e);let c=Ux(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=pte(t,e,!0),Em(";",t,e);else if(l=Em(";",t,e),l=Fx(l,!1,!0),l.length===0)continue;c.length!==0&&ib.test(c)&&(l.length===0||sGe.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(pF,"parseMIMEType");function cGe(t){t=t.replace(iGe,"");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(cGe,"forgivingBase64");function pte(t,e,r){let n=e.position,i="";for(Mx(t[e.position]==='"'),e.position++;i+=Ux(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Mx(s==='"');break}}return r?i:t.slice(n,e.position)}o(pte,"collectAnHTTPQuotedString");function lGe(t){Mx(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",ib.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(lGe,"serializeAMimeType");function uGe(t){return t===13||t===10||t===9||t===32}o(uGe,"isHTTPWhiteSpace");function Fx(t,e=!0,r=!0){return AF(t,e,r,uGe)}o(Fx,"removeHTTPWhitespace");function dGe(t){return t===13||t===10||t===9||t===12||t===32}o(dGe,"isASCIIWhitespace");function fGe(t,e=!0,r=!0){return AF(t,e,r,dGe)}o(fGe,"removeASCIIWhitespace");function AF(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(AF,"removeChars");function Ate(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;ne&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(Ate,"isomorphicDecode");function hGe(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(hGe,"minimizeSupportedMimeType");mte.exports={dataURLProcessor:oGe,URLSerializer:fte,collectASequenceOfCodePoints:Ux,collectASequenceOfCodePointsFast:Em,stringPercentDecode:hte,parseMIMEType:pF,collectAnHTTPQuotedString:pte,serializeAMimeType:lGe,removeChars:AF,removeHTTPWhitespace:Fx,minimizeSupportedMimeType:hGe,HTTP_TOKEN_CODEPOINTS:ib,isomorphicDecode:Ate}});var ai=A((z5t,gte)=>{"use strict";var{types:vc,inspect:pGe}=require("node:util"),{markAsUncloneable:AGe}=require("node:worker_threads"),{toUSVString:mGe}=at(),K={};K.converters={};K.util={};K.errors={};K.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};K.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 K.errors.exception({header:t.prefix,message:r})};K.errors.invalidArgument=function(t){return K.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};K.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};K.argumentLengthCheck=function({length:t},e,r){if(t{});K.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw K.errors.exception({header:"Integer conversion",message:`Could not convert ${K.util.Stringify(t)} to an integer.`});if(a=K.util.IntegerPart(a),ai)throw K.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=K.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};K.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};K.util.Stringify=function(t){switch(K.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return pGe(t);case"String":return`"${t}"`;default:return`${t}`}};K.sequenceConverter=function(t){return(e,r,n,i)=>{if(K.util.Type(e)!=="Object")throw K.errors.exception({header:r,message:`${n} (${K.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw K.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:u}=s.next();if(l)break;a.push(t(u,r,`${n}[${c++}]`))}return a}};K.recordConverter=function(t,e){return(r,n,i)=>{if(K.util.Type(r)!=="Object")throw K.errors.exception({header:n,message:`${i} ("${K.util.Type(r)}") is not an Object.`});let s={};if(!vc.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,n,i),d=e(r[l],n,i);s[u]=d}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,n,i),d=e(r[c],n,i);s[u]=d}return s}};K.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw K.errors.exception({header:r,message:`Expected ${n} ("${K.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};K.dictionaryConverter=function(t){return(e,r,n)=>{let i=K.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw K.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:d}=a;if(u===!0&&!Object.hasOwn(e,c))throw K.errors.exception({header:r,message:`Missing required key "${c}".`});let f=e[c],h=Object.hasOwn(a,"defaultValue");if(h&&f!==null&&(f??=l()),u||h||f!==void 0){if(f=d(f,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(f))throw K.errors.exception({header:r,message:`${f} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=f}}return s}};K.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};K.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw K.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};K.converters.ByteString=function(t,e,r){let n=K.converters.DOMString(t,e,r);for(let i=0;i255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};K.converters.USVString=mGe;K.converters.boolean=function(t){return!!t};K.converters.any=function(t){return t};K.converters["long long"]=function(t,e,r){return K.util.ConvertToInt(t,64,"signed",void 0,e,r)};K.converters["unsigned long long"]=function(t,e,r){return K.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};K.converters["unsigned long"]=function(t,e,r){return K.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};K.converters["unsigned short"]=function(t,e,r,n){return K.util.ConvertToInt(t,16,"unsigned",n,e,r)};K.converters.ArrayBuffer=function(t,e,r,n){if(K.util.Type(t)!=="Object"||!vc.isAnyArrayBuffer(t))throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&vc.isSharedArrayBuffer(t))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.TypedArray=function(t,e,r,n,i){if(K.util.Type(t)!=="Object"||!vc.isTypedArray(t)||t.constructor.name!==e.name)throw K.errors.conversionFailed({prefix:r,argument:`${n} ("${K.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&vc.isSharedArrayBuffer(t.buffer))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.DataView=function(t,e,r,n){if(K.util.Type(t)!=="Object"||!vc.isDataView(t))throw K.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&vc.isSharedArrayBuffer(t.buffer))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.BufferSource=function(t,e,r,n){if(vc.isAnyArrayBuffer(t))return K.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(vc.isTypedArray(t))return K.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(vc.isDataView(t))return K.converters.DataView(t,e,r,{...n,allowShared:!1});throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["BufferSource"]})};K.converters["sequence"]=K.sequenceConverter(K.converters.ByteString);K.converters["sequence>"]=K.sequenceConverter(K.converters["sequence"]);K.converters["record"]=K.recordConverter(K.converters.ByteString,K.converters.ByteString);gte.exports={webidl:K}});var $s=A(($5t,Rte)=>{"use strict";var{Transform:gGe}=require("node:stream"),yte=require("node:zlib"),{redirectStatusSet:yGe,referrerPolicySet:EGe,badPortsSet:CGe}=nb(),{getGlobalOrigin:Ete}=hF(),{collectASequenceOfCodePoints:Th,collectAnHTTPQuotedString:bGe,removeChars:IGe,parseMIMEType:wGe}=ms(),{performance:SGe}=require("node:perf_hooks"),{isBlobLike:BGe,ReadableStreamFrom:xGe,isValidHTTPToken:Cte,normalizedMethodRecordsBase:vGe}=at(),Rh=require("node:assert"),{isUint8Array:NGe}=require("node:util/types"),{webidl:sb}=ai(),bte=[],Gx;try{Gx=require("node:crypto");let t=["sha256","sha384","sha512"];bte=Gx.getHashes().filter(e=>t.includes(e))}catch{}function Ite(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(Ite,"responseURL");function _Ge(t,e){if(!yGe.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&Ste(r)&&(wte(r)||(r=TGe(r)),r=new URL(r,Ite(t))),r&&!r.hash&&(r.hash=e),r}o(_Ge,"responseLocationURL");function wte(t){for(let e=0;e126||r<32)return!1}return!0}o(wte,"isValidEncodedURL");function TGe(t){return Buffer.from(t,"binary").toString("utf8")}o(TGe,"normalizeBinaryStringToUtf8");function ab(t){return t.urlList[t.urlList.length-1]}o(ab,"requestCurrentURL");function RGe(t){let e=ab(t);return _te(e)&&CGe.has(e.port)?"blocked":"allowed"}o(RGe,"requestBadPort");function DGe(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(DGe,"isErrorLike");function QGe(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(QGe,"isValidReasonPhrase");var kGe=Cte;function Ste(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` -`)||t.includes("\r")||t.includes("\0"))===!1}o(Ste,"isValidHeaderValue");function PGe(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(EGe.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(PGe,"setRequestReferrerPolicyOnRedirect");function OGe(){return"allowed"}o(OGe,"crossOriginResourcePolicyCheck");function LGe(){return"success"}o(LGe,"corsCheck");function FGe(){return"success"}o(FGe,"TAOCheck");function MGe(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(MGe,"appendFetchMetadata");function UGe(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&&gF(t.origin)&&!gF(ab(t))&&(e=null);break;case"same-origin":Hx(t,ab(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(UGe,"appendRequestOriginHeader");function Cm(t,e){return t}o(Cm,"coarsenTime");function qGe(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=Hx(t,n),a=ob(n)&&!ob(t.url);switch(e){case"origin":return i??mF(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=ab(t);return Hx(n,c)?n:ob(n)&&!ob(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(zGe,"determineRequestsReferrer");function mF(t,e){return Rh(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(mF,"stripURLForReferrer");function ob(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 n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(ob,"isURLPotentiallyTrustworthy");function $Ge(t,e){if(Gx===void 0)return!0;let r=xte(e);if(r==="no metadata"||r.length===0)return!0;let n=WGe(r),i=JGe(r,n);for(let s of i){let a=s.algo,c=s.hash,l=Gx.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)),YGe(l,c))return!0}return!1}o($Ge,"bytesMatch");var jGe=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function xte(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=jGe.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();bte.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(xte,"parseMetadata");function WGe(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=i}),resolve:t,reject:e}}o(XGe,"createDeferredPromise");function ZGe(t){return t.controller.state==="aborted"}o(ZGe,"isAborted");function eHe(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(eHe,"isCancelled");function tHe(t){return vGe[t.toLowerCase()]??t}o(tHe,"normalizeMethod");function rHe(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Rh(typeof e=="string"),e}o(rHe,"serializeJavascriptValueToJSONString");var nHe=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function vte(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#n;constructor(a,c){this.#e=a,this.#t=c,this.#n=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.#n,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[n]:d}=c[a];this.#n=a+1;let f;switch(this.#t){case"key":f=u;break;case"value":f=d;break;case"key+value":f=[u,d];break}return{value:f,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,nHe),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(vte,"createIterator");function iHe(t,e,r,n=0,i=1){let s=vte(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return sb.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return sb.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return sb.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(sb.brandCheck(this,e),sb.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:d,1:f}of s(this,"key+value"))l.call(u,f,d,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(iHe,"iteratorMixin");async function sHe(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await Nte(s))}catch(a){i(a)}}o(sHe,"fullyReadBody");function oHe(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(oHe,"isReadableStreamLike");function aHe(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(aHe,"readableStreamClose");var cHe=/[^\x00-\xFF]/;function qx(t){return Rh(!cHe.test(t)),t}o(qx,"isomorphicEncode");async function Nte(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!NGe(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(Nte,"readAllBytes");function lHe(t){Rh("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(lHe,"urlIsLocal");function gF(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(gF,"urlHasHttpsScheme");function _te(t){Rh("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(_te,"urlIsHttpHttpsScheme");function uHe(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Th(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Th(l=>l===" "||l===" ",r,n);let i=Th(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(e&&Th(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Th(l=>l===" "||l===" ",r,n);let a=Th(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:s,rangeEndValue:c}}o(uHe,"simpleRangeHeaderValue");function dHe(t,e,r){let n="bytes ";return n+=qx(`${t}`),n+="-",n+=qx(`${e}`),n+="/",n+=qx(`${r}`),n}o(dHe,"buildContentRange");var yF=class extends gGe{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?yte.createInflate(this.#e):yte.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function fHe(t){return new yF(t)}o(fHe,"createInflate");function hHe(t){let e=null,r=null,n=null,i=Tte("content-type",t);if(i===null)return"failure";for(let s of i){let a=wGe(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(hHe,"extractMimeType");function pHe(t){let e=t,r={position:0},n=[],i="";for(;r.positions!=='"'&&s!==",",e,r),r.positions===9||s===32),n.push(i),i=""}return n}o(pHe,"gettingDecodingSplitting");function Tte(t,e){let r=e.get(t,!0);return r===null?null:pHe(r)}o(Tte,"getDecodeSplit");var AHe=new TextDecoder;function mHe(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),AHe.decode(t))}o(mHe,"utf8DecodeBytes");var EF=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return Ete()}get origin(){return this.baseUrl?.origin}policyContainer=Bte()},CF=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new EF},gHe=new CF;Rte.exports={isAborted:ZGe,isCancelled:eHe,isValidEncodedURL:wte,createDeferredPromise:XGe,ReadableStreamFrom:xGe,tryUpgradeRequestToAPotentiallyTrustworthyURL:KGe,clampAndCoarsenConnectionTimingInfo:qGe,coarsenedSharedCurrentTime:GGe,determineRequestsReferrer:zGe,makePolicyContainer:Bte,clonePolicyContainer:VGe,appendFetchMetadata:MGe,appendRequestOriginHeader:UGe,TAOCheck:FGe,corsCheck:LGe,crossOriginResourcePolicyCheck:OGe,createOpaqueTimingInfo:HGe,setRequestReferrerPolicyOnRedirect:PGe,isValidHTTPToken:Cte,requestBadPort:RGe,requestCurrentURL:ab,responseURL:Ite,responseLocationURL:_Ge,isBlobLike:BGe,isURLPotentiallyTrustworthy:ob,isValidReasonPhrase:QGe,sameOrigin:Hx,normalizeMethod:tHe,serializeJavascriptValueToJSONString:rHe,iteratorMixin:iHe,createIterator:vte,isValidHeaderName:kGe,isValidHeaderValue:Ste,isErrorLike:DGe,fullyReadBody:sHe,bytesMatch:$Ge,isReadableStreamLike:oHe,readableStreamClose:aHe,isomorphicEncode:qx,urlIsLocal:lHe,urlHasHttpsScheme:gF,urlIsHttpHttpsScheme:_te,readAllBytes:Nte,simpleRangeHeaderValue:uHe,buildContentRange:dHe,parseMetadata:xte,createInflate:fHe,extractMimeType:hHe,getDecodeSplit:Tte,utf8DecodeBytes:mHe,environmentSettingsObject:gHe}});var Pd=A((W5t,Dte)=>{"use strict";Dte.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var IF=A((J5t,Qte)=>{"use strict";var{Blob:yHe,File:EHe}=require("node:buffer"),{kState:Cu}=Pd(),{webidl:Nc}=ai(),bF=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Cu]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return Nc.brandCheck(this,t),this[Cu].blobLike.stream(...e)}arrayBuffer(...e){return Nc.brandCheck(this,t),this[Cu].blobLike.arrayBuffer(...e)}slice(...e){return Nc.brandCheck(this,t),this[Cu].blobLike.slice(...e)}text(...e){return Nc.brandCheck(this,t),this[Cu].blobLike.text(...e)}get size(){return Nc.brandCheck(this,t),this[Cu].blobLike.size}get type(){return Nc.brandCheck(this,t),this[Cu].blobLike.type}get name(){return Nc.brandCheck(this,t),this[Cu].name}get lastModified(){return Nc.brandCheck(this,t),this[Cu].lastModified}get[Symbol.toStringTag](){return"File"}};Nc.converters.Blob=Nc.interfaceConverter(yHe);function CHe(t){return t instanceof EHe||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(CHe,"isFileLike");Qte.exports={FileLike:bF,isFileLike:CHe}});var lb=A((K5t,Fte)=>{"use strict";var{isBlobLike:Vx,iteratorMixin:bHe}=$s(),{kState:Ui}=Pd(),{kEnumerableProperty:bm}=at(),{FileLike:kte,isFileLike:IHe}=IF(),{webidl:Xt}=ai(),{File:Lte}=require("node:buffer"),Pte=require("node:util"),Ote=globalThis.File??Lte,cb=class t{static{o(this,"FormData")}constructor(e){if(Xt.util.markAsUncloneable(this),e!==void 0)throw Xt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Ui]=[]}append(e,r,n=void 0){Xt.brandCheck(this,t);let i="FormData.append";if(Xt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Vx(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Xt.converters.USVString(e,i,"name"),r=Vx(r)?Xt.converters.Blob(r,i,"value",{strict:!1}):Xt.converters.USVString(r,i,"value"),n=arguments.length===3?Xt.converters.USVString(n,i,"filename"):void 0;let s=wF(e,r,n);this[Ui].push(s)}delete(e){Xt.brandCheck(this,t);let r="FormData.delete";Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[Ui]=this[Ui].filter(n=>n.name!==e)}get(e){Xt.brandCheck(this,t);let r="FormData.get";Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name");let n=this[Ui].findIndex(i=>i.name===e);return n===-1?null:this[Ui][n].value}getAll(e){Xt.brandCheck(this,t);let r="FormData.getAll";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[Ui].filter(n=>n.name===e).map(n=>n.value)}has(e){Xt.brandCheck(this,t);let r="FormData.has";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[Ui].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Xt.brandCheck(this,t);let i="FormData.set";if(Xt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Vx(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Xt.converters.USVString(e,i,"name"),r=Vx(r)?Xt.converters.Blob(r,i,"name",{strict:!1}):Xt.converters.USVString(r,i,"name"),n=arguments.length===3?Xt.converters.USVString(n,i,"name"):void 0;let s=wF(e,r,n),a=this[Ui].findIndex(c=>c.name===e);a!==-1?this[Ui]=[...this[Ui].slice(0,a),s,...this[Ui].slice(a+1).filter(c=>c.name!==e)]:this[Ui].push(s)}[Pte.inspect.custom](e,r){let n=this[Ui].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=Pte.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};bHe("FormData",cb,Ui,"name","value");Object.defineProperties(cb.prototype,{append:bm,delete:bm,get:bm,getAll:bm,has:bm,set:bm,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function wF(t,e,r){if(typeof e!="string"){if(IHe(e)||(e=e instanceof Blob?new Ote([e],"blob",{type:e.type}):new kte(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof Lte?new Ote([e],r,n):new kte(e,r,n)}}return{name:t,value:e}}o(wF,"makeEntry");Fte.exports={FormData:cb,makeEntry:wF}});var Vte=A((Z5t,Hte)=>{"use strict";var{isUSVString:Mte,bufferToLowerCasedHeaderName:wHe}=at(),{utf8DecodeBytes:SHe}=$s(),{HTTP_TOKEN_CODEPOINTS:BHe,isomorphicDecode:Ute}=ms(),{isFileLike:xHe}=IF(),{makeEntry:vHe}=lb(),zx=require("node:assert"),{File:NHe}=require("node:buffer"),_He=globalThis.File??NHe,THe=Buffer.from('form-data; name="'),qte=Buffer.from("; filename"),RHe=Buffer.from("--"),DHe=Buffer.from(`--\r -`);function QHe(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(kHe,"validateBoundary");function PHe(t,e){zx(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.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(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&$x(t,RHe,s)||s.position===t.length-4&&$x(t,DHe,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=OHe(t,s);if(c==="failure")return"failure";let{name:l,filename:u,contentType:d,encoding:f}=c;s.position+=2;let h;{let g=t.indexOf(n.subarray(2),s.position);if(g===-1)return"failure";h=t.subarray(s.position,g-4),s.position+=h.length,f==="base64"&&(h=Buffer.from(h.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let p;u!==null?(d??="text/plain",QHe(d)||(d=""),p=new _He([h],u,{type:d})):p=SHe(Buffer.from(h)),zx(Mte(l)),zx(typeof p=="string"&&Mte(p)||xHe(p)),i.push(vHe(l,p,u))}}o(PHe,"multipartFormDataParser");function OHe(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=Im(c=>c!==10&&c!==13&&c!==58,t,e);if(a=SF(a,!0,!0,c=>c===9||c===32),!BHe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Im(c=>c===32||c===9,t,e),wHe(a)){case"content-disposition":{if(r=n=null,!$x(t,THe,e)||(e.position+=17,r=Gte(t,e),r===null))return"failure";if($x(t,qte,e)){let c=e.position+qte.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=Gte(t,e),n===null))return"failure"}break}case"content-type":{let c=Im(l=>l!==10&&l!==13,t,e);c=SF(c,!1,!0,l=>l===9||l===32),i=Ute(c);break}case"content-transfer-encoding":{let c=Im(l=>l!==10&&l!==13,t,e);c=SF(c,!1,!0,l=>l===9||l===32),s=Ute(c);break}default:Im(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(OHe,"parseMultipartFormDataHeaders");function Gte(t,e){zx(t[e.position-1]===34);let r=Im(n=>n!==10&&n!==13&&n!==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(Gte,"parseMultipartFormDataName");function Im(t,e,r){let n=r.position;for(;n0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(SF,"removeChars");function $x(t,e,r){if(t.length{"use strict";var ub=at(),{ReadableStreamFrom:LHe,isBlobLike:zte,isReadableStreamLike:FHe,readableStreamClose:MHe,createDeferredPromise:UHe,fullyReadBody:qHe,extractMimeType:GHe,utf8DecodeBytes:Wte}=$s(),{FormData:$te}=lb(),{kState:Sm}=Pd(),{webidl:HHe}=ai(),{Blob:VHe}=require("node:buffer"),BF=require("node:assert"),{isErrored:Jte,isDisturbed:zHe}=require("node:stream"),{isArrayBuffer:$He}=require("node:util/types"),{serializeAMimeType:jHe}=ms(),{multipartFormDataParser:WHe}=Vte(),xF;try{let t=require("node:crypto");xF=o(e=>t.randomInt(0,e),"random")}catch{xF=o(t=>Math.floor(Math.random(t)),"random")}var jx=new TextEncoder;function JHe(){}o(JHe,"noop");var Yte=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,Kte;Yte&&(Kte=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!zHe(e)&&!Jte(e)&&e.cancel("Response object has been garbage collected").catch(JHe)}));function Xte(t,e=!1){let r=null;t instanceof ReadableStream?r=t:zte(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof i=="string"?jx.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>MHe(l))},start(){},type:"bytes"}),BF(FHe(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if($He(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(ub.isFormDataLike(t)){let l=`----formdata-undici-0${`${xF(1e11)}`.padStart(11,"0")}`,u=`--${l}\r -Content-Disposition: form-data`;let d=o(E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),f=o(E=>E.replace(/\r?\n|\r/g,`\r -`),"normalizeLinefeeds"),h=[],p=new Uint8Array([13,10]);s=0;let g=!1;for(let[E,y]of t)if(typeof y=="string"){let C=jx.encode(u+`; name="${d(f(E))}"\r +var g4e=Object.create;var Jv=Object.defineProperty;var y4e=Object.getOwnPropertyDescriptor;var E4e=Object.getOwnPropertyNames;var C4e=Object.getPrototypeOf,b4e=Object.prototype.hasOwnProperty;var o=(t,e)=>Jv(t,"name",{value:e,configurable:!0});var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),w4e=(t,e)=>{for(var r in e)Jv(t,r,{get:e[r],enumerable:!0})},I4e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of E4e(e))!b4e.call(t,i)&&i!==r&&Jv(t,i,{get:()=>e[i],enumerable:!(n=y4e(e,i))||n.enumerable});return t};var N=(t,e,r)=>(r=t!=null?g4e(C4e(t)):{},I4e(e||!t||!t.__esModule?Jv(r,"default",{value:t,enumerable:!0}):r,t));var Rte=m(xA=>{"use strict";var i$t=require("net"),N4e=require("tls"),RF=require("http"),xte=require("https"),R4e=require("events"),s$t=require("assert"),T4e=require("util");xA.httpOverHttp=D4e;xA.httpsOverHttp=Q4e;xA.httpOverHttps=k4e;xA.httpsOverHttps=P4e;function D4e(t){var e=new Iu(t);return e.request=RF.request,e}o(D4e,"httpOverHttp");function Q4e(t){var e=new Iu(t);return e.request=RF.request,e.createSocket=_te,e.defaultPort=443,e}o(Q4e,"httpsOverHttp");function k4e(t){var e=new Iu(t);return e.request=xte.request,e}o(k4e,"httpOverHttps");function P4e(t){var e=new Iu(t);return e.request=xte.request,e.createSocket=_te,e.defaultPort=443,e}o(P4e,"httpsOverHttps");function Iu(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||RF.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=Nte(i,s,a),l=0,u=e.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function u(f){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");Iu.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=TF({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),zf("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",f),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,h,p){process.nextTick(function(){u(d,h,p)})}o(l,"onUpgrade");function u(d,h,p){if(a.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){zf("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var A=new Error("tunneling socket could not be established, statusCode="+d.statusCode);A.code="ECONNRESET",e.request.emit("error",A),n.removeSocket(i);return}if(p.length>0){zf("got illegal response body from proxy"),h.destroy();var A=new Error("got illegal response body from proxy");A.code="ECONNRESET",e.request.emit("error",A),n.removeSocket(i);return}return zf("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}o(u,"onConnect");function f(d){a.removeAllListeners(),zf(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(i)}o(f,"onError")},"createSocket");Iu.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function _te(t,e){var r=this;Iu.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=TF({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=N4e.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(_te,"createSecureSocket");function Nte(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(Nte,"toOptions");function TF(t){for(var e=1,r=arguments.length;e{Tte.exports=Rte()});var Ar=m((l$t,Dte)=>{Dte.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 Tt=m((u$t,nre)=>{"use strict";var Qte=Symbol.for("undici.error.UND_ERR"),gr=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[Qte]===!0}[Qte]=!0},kte=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),DF=class extends gr{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[kte]===!0}[kte]=!0},Pte=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),QF=class extends gr{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[Pte]===!0}[Pte]=!0},Ote=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),kF=class extends gr{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[Ote]===!0}[Ote]=!0},Lte=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),PF=class extends gr{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[Lte]===!0}[Lte]=!0},Fte=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),OF=class extends gr{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Fte]===!0}[Fte]=!0},Mte=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),LF=class extends gr{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[Mte]===!0}[Mte]=!0},Ute=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),FF=class extends gr{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[Ute]===!0}[Ute]=!0},qte=Symbol.for("undici.error.UND_ERR_ABORT"),ex=class extends gr{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[qte]===!0}[qte]=!0},Gte=Symbol.for("undici.error.UND_ERR_ABORTED"),MF=class extends ex{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[Gte]===!0}[Gte]=!0},Hte=Symbol.for("undici.error.UND_ERR_INFO"),UF=class extends gr{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[Hte]===!0}[Hte]=!0},Vte=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),qF=class extends gr{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[Vte]===!0}[Vte]=!0},zte=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),GF=class extends gr{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[zte]===!0}[zte]=!0},jte=Symbol.for("undici.error.UND_ERR_DESTROYED"),HF=class extends gr{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[jte]===!0}[jte]=!0},$te=Symbol.for("undici.error.UND_ERR_CLOSED"),VF=class extends gr{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[$te]===!0}[$te]=!0},Wte=Symbol.for("undici.error.UND_ERR_SOCKET"),zF=class extends gr{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[Wte]===!0}[Wte]=!0},Jte=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),jF=class extends gr{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[Jte]===!0}[Jte]=!0},Yte=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),$F=class extends gr{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[Yte]===!0}[Yte]=!0},Kte=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),WF=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[Kte]===!0}[Kte]=!0},Xte=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),JF=class extends gr{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[Xte]===!0}[Xte]=!0},Zte=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),YF=class extends gr{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Zte]===!0}[Zte]=!0},ere=Symbol.for("undici.error.UND_ERR_RESPONSE"),KF=class extends gr{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[ere]===!0}[ere]=!0},tre=Symbol.for("undici.error.UND_ERR_PRX_TLS"),XF=class extends gr{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),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[tre]===!0}[tre]=!0},rre=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),ZF=class extends gr{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[rre]===!0}get[rre](){return!0}};nre.exports={AbortError:ex,HTTPParserError:WF,UndiciError:gr,HeadersTimeoutError:QF,HeadersOverflowError:kF,BodyTimeoutError:PF,RequestContentLengthMismatchError:qF,ConnectTimeoutError:DF,ResponseStatusCodeError:OF,InvalidArgumentError:LF,InvalidReturnValueError:FF,RequestAbortedError:MF,ClientDestroyedError:HF,ClientClosedError:VF,InformationalError:UF,SocketError:zF,NotSupportedError:jF,ResponseContentLengthMismatchError:GF,BalancedPoolMissingUpstreamError:$F,ResponseExceededMaxSizeError:JF,RequestRetryError:YF,ResponseError:KF,SecureProxyConnectionError:XF,MessageSizeExceededError:ZF}});var rx=m((d$t,ire)=>{"use strict";var tx={},eM=["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:sre,headerNameLowerCasedRecord:O4e}=rx(),tM=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code{"use strict";var Ib=require("node:assert"),{kDestroyed:ure,kBodyUsed:NA,kListeners:rM,kBody:lre}=Ar(),{IncomingMessage:L4e}=require("node:http"),ox=require("node:stream"),F4e=require("node:net"),{Blob:M4e}=require("node:buffer"),U4e=require("node:util"),{stringify:q4e}=require("node:querystring"),{EventEmitter:G4e}=require("node:events"),{InvalidArgumentError:Gn}=Tt(),{headerNameLowerCasedRecord:H4e}=rx(),{tree:fre}=cre(),[V4e,z4e]=process.versions.node.split(".").map(t=>Number(t)),sx=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[lre]=e,this[NA]=!1}async*[Symbol.asyncIterator](){Ib(!this[NA],"disturbed"),this[NA]=!0,yield*this[lre]}};function j4e(t){return ax(t)?(Are(t)===0&&t.on("data",function(){Ib(!1)}),typeof t.readableDidRead!="boolean"&&(t[NA]=!1,G4e.prototype.on.call(t,"data",function(){this[NA]=!0})),t):t&&typeof t.pipeTo=="function"?new sx(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&mre(t)?new sx(t):t}o(j4e,"wrapRequestBody");function $4e(){}o($4e,"nop");function ax(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(ax,"isStream");function dre(t){if(t===null)return!1;if(t instanceof M4e)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(dre,"isBlobLike");function W4e(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=q4e(e);return r&&(t+="?"+r),t}o(W4e,"buildURL");function hre(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(hre,"isValidPort");function ix(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(ix,"isHttpOrHttpsPrefixed");function pre(t){if(typeof t=="string"){if(t=new URL(t),!ix(t.origin||t.protocol))throw new Gn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Gn("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&hre(t.port)===!1)throw new Gn("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 Gn("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Gn("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Gn("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Gn("Invalid URL origin: the origin must be a string or null/undefined.");if(!ix(t.origin||t.protocol))throw new Gn("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}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!ix(t.origin||t.protocol))throw new Gn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(pre,"parseURL");function J4e(t){if(t=pre(t),t.pathname!=="/"||t.search||t.hash)throw new Gn("invalid url");return t}o(J4e,"parseOrigin");function Y4e(t){if(t[0]==="["){let r=t.indexOf("]");return Ib(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(Y4e,"getHostname");function K4e(t){if(!t)return null;Ib(typeof t=="string");let e=Y4e(t);return F4e.isIP(e)?"":e}o(K4e,"getServerName");function X4e(t){return JSON.parse(JSON.stringify(t))}o(X4e,"deepClone");function Z4e(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(Z4e,"isAsyncIterable");function mre(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(mre,"isIterable");function Are(t){if(t==null)return 0;if(ax(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(dre(t))return t.size!=null?t.size:null;if(Ere(t))return t.byteLength}return null}o(Are,"bodyLength");function gre(t){return t&&!!(t.destroyed||t[ure]||ox.isDestroyed?.(t))}o(gre,"isDestroyed");function e5e(t,e){t==null||!ax(t)||gre(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===L4e&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[ure]=!0))}o(e5e,"destroy");var t5e=/timeout=(\d+)/;function r5e(t){let e=t.toString().match(t5e);return e?parseInt(e[1],10)*1e3:null}o(r5e,"parseKeepAliveTimeout");function yre(t){return typeof t=="string"?H4e[t]??t.toLowerCase():fre.lookup(t)??t.toString("latin1").toLowerCase()}o(yre,"headerNameToString");function n5e(t){return fre.lookup(t)??t.toString("latin1").toLowerCase()}o(n5e,"bufferToLowerCasedHeaderName");function i5e(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(i5e,"parseHeaders");function s5e(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(f5e,"ReadableStreamFrom");function d5e(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(d5e,"isFormDataLike");function h5e(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(h5e,"addAbortListener");var p5e=typeof String.prototype.toWellFormed=="function",m5e=typeof String.prototype.isWellFormed=="function";function Cre(t){return p5e?`${t}`.toWellFormed():U4e.toUSVString(t)}o(Cre,"toUSVString");function A5e(t){return m5e?`${t}`.isWellFormed():Cre(t)===`${t}`}o(A5e,"isUSVString");function bre(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(bre,"isTokenCharCode");function g5e(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Ut=require("node:diagnostics_channel"),sM=require("node:util"),cx=sM.debuglog("undici"),iM=sM.debuglog("fetch"),qh=sM.debuglog("websocket"),Bre=!1,S5e={beforeConnect:Ut.channel("undici:client:beforeConnect"),connected:Ut.channel("undici:client:connected"),connectError:Ut.channel("undici:client:connectError"),sendHeaders:Ut.channel("undici:client:sendHeaders"),create:Ut.channel("undici:request:create"),bodySent:Ut.channel("undici:request:bodySent"),headers:Ut.channel("undici:request:headers"),trailers:Ut.channel("undici:request:trailers"),error:Ut.channel("undici:request:error"),open:Ut.channel("undici:websocket:open"),close:Ut.channel("undici:websocket:close"),socketError:Ut.channel("undici:websocket:socket_error"),ping:Ut.channel("undici:websocket:ping"),pong:Ut.channel("undici:websocket:pong")};if(cx.enabled||iM.enabled){let t=iM.enabled?iM:cx;Ut.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Ut.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Ut.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Ut.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Ut.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Ut.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Ut.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),Bre=!0}if(qh.enabled){if(!Bre){let t=cx.enabled?cx:qh;Ut.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ut.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Ut.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Ut.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Ut.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;qh("connection opened %s%s",e,r?`:${r}`:"")}),Ut.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;qh("closed connection to %s - %s %s",e.url,r,n)}),Ut.channel("undici:websocket:socket_error").subscribe(t=>{qh("connection errored - %s",t.message)}),Ut.channel("undici:websocket:ping").subscribe(t=>{qh("ping received")}),Ut.channel("undici:websocket:pong").subscribe(t=>{qh("pong received")})}vre.exports={channels:S5e}});var Rre=m((y$t,Nre)=>{"use strict";var{InvalidArgumentError:Vt,NotSupportedError:B5e}=Tt(),Su=require("node:assert"),{isValidHTTPToken:_re,isValidHeaderValue:Sb,isStream:v5e,destroy:x5e,isBuffer:_5e,isFormDataLike:N5e,isIterable:R5e,isBlobLike:T5e,buildURL:D5e,validateHandler:Q5e,getServerName:k5e,normalizedMethodRecords:P5e}=at(),{channels:Dc}=RA(),{headerNameLowerCasedRecord:xre}=rx(),O5e=/[^\u0021-\u00ff]/,Lo=Symbol("handler"),oM=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:f,bodyTimeout:d,reset:h,throwOnError:p,expectContinue:A,servername:g},E){if(typeof r!="string")throw new Vt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Vt("path must be an absolute URL or start with a slash");if(O5e.test(r))throw new Vt("invalid request path");if(typeof n!="string")throw new Vt("method must be a string");if(P5e[n]===void 0&&!_re(n))throw new Vt("invalid request method");if(u&&typeof u!="string")throw new Vt("upgrade must be a string");if(u&&!Sb(u))throw new Vt("invalid upgrade header");if(f!=null&&(!Number.isFinite(f)||f<0))throw new Vt("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Vt("invalid bodyTimeout");if(h!=null&&typeof h!="boolean")throw new Vt("invalid reset");if(A!=null&&typeof A!="boolean")throw new Vt("invalid expectContinue");if(this.headersTimeout=f,this.bodyTimeout=d,this.throwOnError=p===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(v5e(i)){this.body=i;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){x5e(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=C=>{this.abort?this.abort(C):this.error=C},this.body.on("error",this.errorHandler)}else if(_5e(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(N5e(i)||R5e(i)||T5e(i))this.body=i;else throw new Vt("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?D5e(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=h??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=A??!1,Array.isArray(s)){if(s.length%2!==0)throw new Vt("headers array must be even");for(let y=0;y{"use strict";var L5e=require("node:events"),ux=class extends L5e{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,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new aM(this,n)}},aM=class extends ux{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)}};Tre.exports=ux});var kA=m((w$t,Dre)=>{"use strict";var F5e=Bb(),{ClientDestroyedError:cM,ClientClosedError:M5e,InvalidArgumentError:TA}=Tt(),{kDestroy:U5e,kClose:q5e,kClosed:vb,kDestroyed:DA,kDispatch:lM,kInterceptors:Gh}=Ar(),Bu=Symbol("onDestroyed"),QA=Symbol("onClosed"),fx=Symbol("Intercepted Dispatch"),uM=Symbol("webSocketOptions"),fM=class extends F5e{static{o(this,"DispatcherBase")}constructor(e){super(),this[DA]=!1,this[Bu]=null,this[vb]=!1,this[QA]=[],this[uM]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[uM].maxFragments??131072,maxPayloadSize:this[uM].maxPayloadSize??128*1024*1024}}get destroyed(){return this[DA]}get closed(){return this[vb]}get interceptors(){return this[Gh]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Gh][r]!="function")throw new TA("interceptor must be an function")}this[Gh]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new TA("invalid callback");if(this[DA]){queueMicrotask(()=>e(new cM,null));return}if(this[vb]){this[QA]?this[QA].push(e):queueMicrotask(()=>e(null,null));return}this[vb]=!0,this[QA].push(e);let r=o(()=>{let n=this[QA];this[QA]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new TA("invalid callback");if(this[DA]){this[Bu]?this[Bu].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new cM),this[DA]=!0,this[Bu]=this[Bu]||[],this[Bu].push(r);let n=o(()=>{let i=this[Bu];this[Bu]=null;for(let s=0;s{queueMicrotask(n)})}[fx](e,r){if(!this[Gh]||this[Gh].length===0)return this[fx]=this[lM],this[lM](e,r);let n=this[lM].bind(this);for(let i=this[Gh].length-1;i>=0;i--)n=this[Gh][i](n);return this[fx]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new TA("handler must be an object");try{if(!e||typeof e!="object")throw new TA("opts must be an object.");if(this[DA]||this[Bu])throw new cM;if(this[vb])throw new M5e;return this[fx](e,r)}catch(n){if(typeof r.onError!="function")throw new TA("invalid onError method");return r.onError(n),!1}}};Dre.exports=fM});var yM=m((S$t,Ore)=>{"use strict";var PA=0,dM=1e3,hM=(dM>>1)-1,vu,pM=Symbol("kFastTimer"),xu=[],mM=-2,AM=-1,kre=0,Qre=1;function gM(){PA+=hM;let t=0,e=xu.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=AM,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===AM?(r._state=mM,--e!==0&&(xu[t]=xu[e])):++t}xu.length=e,xu.length!==0&&Pre()}o(gM,"onTick");function Pre(){vu?vu.refresh():(clearTimeout(vu),vu=setTimeout(gM,hM),vu.unref&&vu.unref())}o(Pre,"refreshTimeout");var dx=class{static{o(this,"FastTimer")}[pM]=!0;_state=mM;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===mM&&xu.push(this),(!vu||xu.length===1)&&Pre(),this._state=kre}clear(){this._state=AM,this._idleStart=-1}};Ore.exports={setTimeout(t,e,r){return e<=dM?setTimeout(t,e,r):new dx(t,e,r)},clearTimeout(t){t[pM]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new dx(t,e,r)},clearFastTimeout(t){t.clear()},now(){return PA},tick(t=0){PA+=t-dM+1,gM(),gM()},reset(){PA=0,xu.length=0,clearTimeout(vu),vu=null},kFastTimer:pM}});var xb=m((_$t,qre)=>{"use strict";var G5e=require("node:net"),Lre=require("node:assert"),Ure=at(),{InvalidArgumentError:H5e,ConnectTimeoutError:V5e}=Tt(),hx=yM();function Fre(){}o(Fre,"noop");var EM,CM;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?CM=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:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function z5e({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new H5e("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new CM(e??100);return n=n??1e4,t=t??!1,o(function({hostname:u,host:f,protocol:d,port:h,servername:p,localAddress:A,httpSocket:g},E){let y;if(d==="https:"){EM||(EM=require("node:tls")),p=p||a.servername||Ure.getServerName(f)||null;let w=p||u;Lre(w);let S=i||c.get(w)||null;h=h||443,y=EM.connect({highWaterMark:16384,...a,servername:p,session:S,localAddress:A,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:h,host:u}),y.on("session",function(Q){c.set(w,Q)})}else Lre(!g,"httpSocket can only be sent on TLS update"),h=h||80,y=G5e.connect({highWaterMark:64*1024,...a,localAddress:A,port:h,host:u});if(a.keepAlive==null||a.keepAlive){let w=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,w)}let C=j5e(new WeakRef(y),{timeout:n,hostname:u,port:h});return y.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(C),E){let w=E;E=null,w(null,this)}}).on("error",function(w){if(queueMicrotask(C),E){let S=E;E=null,S(w)}}),y},"connect")}o(z5e,"buildConnector");var j5e=process.platform==="win32"?(t,e)=>{if(!e.timeout)return Fre;let r=null,n=null,i=hx.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Mre(t.deref(),e))})},e.timeout);return()=>{hx.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return Fre;let r=null,n=hx.setFastTimeout(()=>{r=setImmediate(()=>{Mre(t.deref(),e)})},e.timeout);return()=>{hx.clearFastTimeout(n),clearImmediate(r)}};function Mre(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)`,Ure.destroy(t,new V5e(r))}o(Mre,"onConnectTimeout");qre.exports=z5e});var Gre=m(px=>{"use strict";Object.defineProperty(px,"__esModule",{value:!0});px.enumToMap=void 0;function $5e(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o($5e,"enumToMap");px.enumToMap=$5e});var Hre=m(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.SPECIAL_HEADERS=Z.HEADER_STATE=Z.MINOR=Z.MAJOR=Z.CONNECTION_TOKEN_CHARS=Z.HEADER_CHARS=Z.TOKEN=Z.STRICT_TOKEN=Z.HEX=Z.URL_CHAR=Z.STRICT_URL_CHAR=Z.USERINFO_CHARS=Z.MARK=Z.ALPHANUM=Z.NUM=Z.HEX_MAP=Z.NUM_MAP=Z.ALPHA=Z.FINISH=Z.H_METHOD_MAP=Z.METHOD_MAP=Z.METHODS_RTSP=Z.METHODS_ICE=Z.METHODS_HTTP=Z.METHODS=Z.LENIENT_FLAGS=Z.FLAGS=Z.TYPE=Z.ERROR=void 0;var W5e=Gre(),J5e;(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"})(J5e=Z.ERROR||(Z.ERROR={}));var Y5e;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(Y5e=Z.TYPE||(Z.TYPE={}));var K5e;(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"})(K5e=Z.FLAGS||(Z.FLAGS={}));var X5e;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(X5e=Z.LENIENT_FLAGS||(Z.LENIENT_FLAGS={}));var Qe;(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"})(Qe=Z.METHODS||(Z.METHODS={}));Z.METHODS_HTTP=[Qe.DELETE,Qe.GET,Qe.HEAD,Qe.POST,Qe.PUT,Qe.CONNECT,Qe.OPTIONS,Qe.TRACE,Qe.COPY,Qe.LOCK,Qe.MKCOL,Qe.MOVE,Qe.PROPFIND,Qe.PROPPATCH,Qe.SEARCH,Qe.UNLOCK,Qe.BIND,Qe.REBIND,Qe.UNBIND,Qe.ACL,Qe.REPORT,Qe.MKACTIVITY,Qe.CHECKOUT,Qe.MERGE,Qe["M-SEARCH"],Qe.NOTIFY,Qe.SUBSCRIBE,Qe.UNSUBSCRIBE,Qe.PATCH,Qe.PURGE,Qe.MKCALENDAR,Qe.LINK,Qe.UNLINK,Qe.PRI,Qe.SOURCE];Z.METHODS_ICE=[Qe.SOURCE];Z.METHODS_RTSP=[Qe.OPTIONS,Qe.DESCRIBE,Qe.ANNOUNCE,Qe.SETUP,Qe.PLAY,Qe.PAUSE,Qe.TEARDOWN,Qe.GET_PARAMETER,Qe.SET_PARAMETER,Qe.REDIRECT,Qe.RECORD,Qe.FLUSH,Qe.GET,Qe.POST];Z.METHOD_MAP=W5e.enumToMap(Qe);Z.H_METHOD_MAP={};Object.keys(Z.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(Z.H_METHOD_MAP[t]=Z.METHOD_MAP[t])});var Z5e;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(Z5e=Z.FINISH||(Z.FINISH={}));Z.ALPHA=[];for(let t=65;t<=90;t++)Z.ALPHA.push(String.fromCharCode(t)),Z.ALPHA.push(String.fromCharCode(t+32));Z.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Z.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};Z.NUM=["0","1","2","3","4","5","6","7","8","9"];Z.ALPHANUM=Z.ALPHA.concat(Z.NUM);Z.MARK=["-","_",".","!","~","*","'","(",")"];Z.USERINFO_CHARS=Z.ALPHANUM.concat(Z.MARK).concat(["%",";",":","&","=","+","$",","]);Z.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Z.ALPHANUM);Z.URL_CHAR=Z.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)Z.URL_CHAR.push(t);Z.HEX=Z.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Z.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Z.ALPHANUM);Z.TOKEN=Z.STRICT_TOKEN.concat([" "]);Z.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&Z.HEADER_CHARS.push(t);Z.CONNECTION_TOKEN_CHARS=Z.HEADER_CHARS.filter(t=>t!==44);Z.MAJOR=Z.NUM_MAP;Z.MINOR=Z.MAJOR;var OA;(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"})(OA=Z.HEADER_STATE||(Z.HEADER_STATE={}));Z.SPECIAL_HEADERS={connection:OA.CONNECTION,"content-length":OA.CONTENT_LENGTH,"proxy-connection":OA.CONNECTION,"transfer-encoding":OA.TRANSFER_ENCODING,upgrade:OA.UPGRADE}});var bM=m((Q$t,Vre)=>{"use strict";var{Buffer:eHe}=require("node:buffer");Vre.exports=eHe.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/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ECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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JAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2e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wEhAwzuAQsgAUEBaiEBQZEBIQMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAA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BACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigC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2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBka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AEoAgRBeHEgBGsiAyAFSSECIAMgBSACGyEFIAEgACACGyEAIAEhAgwBCwsgACgCGCEJIAAoAgwiAyAARwRAQZzQACgCABogAyAAKAIIIgE2AgggASADNgIMDBALIABBFGoiAigCACIBRQRAIAAoAhAiAUUNAyAAQRBqIQILA0AgAiEHIAEiA0EUaiICKAIAIgENACADQRBqIQIgAygCECIBDQALIAdBADYCAAwPC0F/IQQgAEG/f0sNACAAQRNqIgFBcHEhBEGQ0AAoAgAiCEUNAEEAIARrIQUCQAJAAkACf0EAIARBgAJJDQAaQR8gBEH///8HSw0AGiAEQSYgAUEIdmciAGt2QQFxIABBAXRrQT5qCyIGQQJ0QbzSAGooAgAiAkUEQEEAIQFBACEDDAELQQAhASAEQRkgBkEBdmtBACAGQR9HG3QhAEEAIQMDQAJAIAIoAgRBeHEgBGsiByAFTw0AIAIhAyAHIgUNAEEAIQUgAiEBDAMLIAEgAkEUaigCACIHIAcgAiAAQR12QQRxakEQaigCACICRhsgASAHGyEBIABBAXQhACACDQALCyABIANyRQRAQQAhA0ECIAZ0IgBBACAAa3IgCHEiAEUNAyAAaEECdEG80gBqKAIAIQELIAFFDQELA0AgASgCBEF4cSAEayICIAVJIQAgAiAFIAAbIQUgASADIAAbIQMgASgCECIABH8gAAUgAUEUaigCAAsiAQ0ACwsgA0UNACAFQZTQACgCACAEa08NACADKAIYIQcgAyADKAIMIgBHBEBBnNAAKAIAGiAAIAMoAggiATYCCCABIAA2AgwMDgsgA0EUaiICKAIAIgFFBEAgAygCECIBRQ0DIANBEGohAgsDQCACIQYgASIAQRRqIgIoAgAiAQ0AIABBEGohAiAAKAIQIgENAAsgBkEANgIADA0LQZTQACgCACIDIARPBEBBoNAAKAIAIQECQCADIARrIgJBEE8EQCABIARqIgAgAkEBcjYCBCABIANqIAI2AgAgASAEQQNyNgIEDAELIAEgA0EDcjYCBCABIANqIgAgACgCBEEBcjYCBEEAIQBBACECC0GU0AAgAjYCAEGg0AAgADYCACABQQhqIQEMDwtB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U5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var _b=m((P$t,ene)=>{"use strict";var $re=["GET","HEAD","POST"],rHe=new Set($re),nHe=[101,204,205,304],Wre=[301,302,303,307,308],iHe=new Set(Wre),Jre=["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"],sHe=new Set(Jre),Yre=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],oHe=new Set(Yre),aHe=["follow","manual","error"],Kre=["GET","HEAD","OPTIONS","TRACE"],cHe=new Set(Kre),lHe=["navigate","same-origin","no-cors","cors"],uHe=["omit","same-origin","include"],fHe=["default","no-store","reload","no-cache","force-cache","only-if-cached"],dHe=["content-encoding","content-language","content-location","content-type","content-length"],hHe=["half"],Xre=["CONNECT","TRACE","TRACK"],pHe=new Set(Xre),Zre=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],mHe=new Set(Zre);ene.exports={subresource:Zre,forbiddenMethods:Xre,requestBodyHeader:dHe,referrerPolicy:Yre,requestRedirect:aHe,requestMode:lHe,requestCredentials:uHe,requestCache:fHe,redirectStatus:Wre,corsSafeListedMethods:$re,nullBodyStatus:nHe,safeMethods:Kre,badPorts:Jre,requestDuplex:hHe,subresourceSet:mHe,badPortsSet:sHe,redirectStatusSet:iHe,corsSafeListedMethodsSet:rHe,safeMethodsSet:cHe,forbiddenMethodsSet:pHe,referrerPolicySet:oHe}});var IM=m((O$t,tne)=>{"use strict";var wM=Symbol.for("undici.globalOrigin.1");function AHe(){return globalThis[wM]}o(AHe,"getGlobalOrigin");function gHe(t){if(t===void 0){Object.defineProperty(globalThis,wM,{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,wM,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(gHe,"setGlobalOrigin");tne.exports={getGlobalOrigin:AHe,setGlobalOrigin:gHe}});var ys=m((F$t,cne)=>{"use strict";var Ax=require("node:assert"),yHe=new TextEncoder,Nb=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,EHe=/[\u000A\u000D\u0009\u0020]/,CHe=/[\u0009\u000A\u000C\u000D\u0020]/g,bHe=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function wHe(t){Ax(t.protocol==="data:");let e=ine(t,!0);e=e.slice(5);let r={position:0},n=LA(",",e,r),i=n.length;if(n=_He(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=sne(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=ane(a);if(a=SHe(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=SM(n);return c==="failure"&&(c=SM("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(wHe,"dataURLProcessor");function ine(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(ine,"URLSerializer");function gx(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(rne,"isHexCharByte");function nne(t){return t>=48&&t<=57?t-48:(t&223)-55}o(nne,"hexByteToNumber");function IHe(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=LA(";",t,e);if(n=mx(n,!1,!0),n.length===0||!Nb.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.positionEHe.test(u),t,e);let c=gx(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=one(t,e,!0),LA(";",t,e);else if(l=LA(";",t,e),l=mx(l,!1,!0),l.length===0)continue;c.length!==0&&Nb.test(c)&&(l.length===0||bHe.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(SM,"parseMIMEType");function SHe(t){t=t.replace(CHe,"");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(SHe,"forgivingBase64");function one(t,e,r){let n=e.position,i="";for(Ax(t[e.position]==='"'),e.position++;i+=gx(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Ax(s==='"');break}}return r?i:t.slice(n,e.position)}o(one,"collectAnHTTPQuotedString");function BHe(t){Ax(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",Nb.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(BHe,"serializeAMimeType");function vHe(t){return t===13||t===10||t===9||t===32}o(vHe,"isHTTPWhiteSpace");function mx(t,e=!0,r=!0){return BM(t,e,r,vHe)}o(mx,"removeHTTPWhitespace");function xHe(t){return t===13||t===10||t===9||t===12||t===32}o(xHe,"isASCIIWhitespace");function _He(t,e=!0,r=!0){return BM(t,e,r,xHe)}o(_He,"removeASCIIWhitespace");function BM(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(BM,"removeChars");function ane(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;ne&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(ane,"isomorphicDecode");function NHe(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(NHe,"minimizeSupportedMimeType");cne.exports={dataURLProcessor:wHe,URLSerializer:ine,collectASequenceOfCodePoints:gx,collectASequenceOfCodePointsFast:LA,stringPercentDecode:sne,parseMIMEType:SM,collectAnHTTPQuotedString:one,serializeAMimeType:BHe,removeChars:BM,removeHTTPWhitespace:mx,minimizeSupportedMimeType:NHe,HTTP_TOKEN_CODEPOINTS:Nb,isomorphicDecode:ane}});var ci=m((U$t,lne)=>{"use strict";var{types:Qc,inspect:RHe}=require("node:util"),{markAsUncloneable:THe}=require("node:worker_threads"),{toUSVString:DHe}=at(),K={};K.converters={};K.util={};K.errors={};K.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};K.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 K.errors.exception({header:t.prefix,message:r})};K.errors.invalidArgument=function(t){return K.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};K.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};K.argumentLengthCheck=function({length:t},e,r){if(t{});K.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw K.errors.exception({header:"Integer conversion",message:`Could not convert ${K.util.Stringify(t)} to an integer.`});if(a=K.util.IntegerPart(a),ai)throw K.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=K.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};K.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};K.util.Stringify=function(t){switch(K.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return RHe(t);case"String":return`"${t}"`;default:return`${t}`}};K.sequenceConverter=function(t){return(e,r,n,i)=>{if(K.util.Type(e)!=="Object")throw K.errors.exception({header:r,message:`${n} (${K.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw K.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:u}=s.next();if(l)break;a.push(t(u,r,`${n}[${c++}]`))}return a}};K.recordConverter=function(t,e){return(r,n,i)=>{if(K.util.Type(r)!=="Object")throw K.errors.exception({header:n,message:`${i} ("${K.util.Type(r)}") is not an Object.`});let s={};if(!Qc.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,n,i),f=e(r[l],n,i);s[u]=f}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,n,i),f=e(r[c],n,i);s[u]=f}return s}};K.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw K.errors.exception({header:r,message:`Expected ${n} ("${K.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};K.dictionaryConverter=function(t){return(e,r,n)=>{let i=K.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw K.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:f}=a;if(u===!0&&!Object.hasOwn(e,c))throw K.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],h=Object.hasOwn(a,"defaultValue");if(h&&d!==null&&(d??=l()),u||h||d!==void 0){if(d=f(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw K.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=d}}return s}};K.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};K.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw K.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};K.converters.ByteString=function(t,e,r){let n=K.converters.DOMString(t,e,r);for(let i=0;i255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};K.converters.USVString=DHe;K.converters.boolean=function(t){return!!t};K.converters.any=function(t){return t};K.converters["long long"]=function(t,e,r){return K.util.ConvertToInt(t,64,"signed",void 0,e,r)};K.converters["unsigned long long"]=function(t,e,r){return K.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};K.converters["unsigned long"]=function(t,e,r){return K.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};K.converters["unsigned short"]=function(t,e,r,n){return K.util.ConvertToInt(t,16,"unsigned",n,e,r)};K.converters.ArrayBuffer=function(t,e,r,n){if(K.util.Type(t)!=="Object"||!Qc.isAnyArrayBuffer(t))throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&Qc.isSharedArrayBuffer(t))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.TypedArray=function(t,e,r,n,i){if(K.util.Type(t)!=="Object"||!Qc.isTypedArray(t)||t.constructor.name!==e.name)throw K.errors.conversionFailed({prefix:r,argument:`${n} ("${K.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&Qc.isSharedArrayBuffer(t.buffer))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.DataView=function(t,e,r,n){if(K.util.Type(t)!=="Object"||!Qc.isDataView(t))throw K.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&Qc.isSharedArrayBuffer(t.buffer))throw K.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw K.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};K.converters.BufferSource=function(t,e,r,n){if(Qc.isAnyArrayBuffer(t))return K.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(Qc.isTypedArray(t))return K.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(Qc.isDataView(t))return K.converters.DataView(t,e,r,{...n,allowShared:!1});throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["BufferSource"]})};K.converters["sequence"]=K.sequenceConverter(K.converters.ByteString);K.converters["sequence>"]=K.sequenceConverter(K.converters["sequence"]);K.converters["record"]=K.recordConverter(K.converters.ByteString,K.converters.ByteString);lne.exports={webidl:K}});var Ws=m((q$t,Ine)=>{"use strict";var{Transform:QHe}=require("node:stream"),une=require("node:zlib"),{redirectStatusSet:kHe,referrerPolicySet:PHe,badPortsSet:OHe}=_b(),{getGlobalOrigin:fne}=IM(),{collectASequenceOfCodePoints:Hh,collectAnHTTPQuotedString:LHe,removeChars:FHe,parseMIMEType:MHe}=ys(),{performance:UHe}=require("node:perf_hooks"),{isBlobLike:qHe,ReadableStreamFrom:GHe,isValidHTTPToken:dne,normalizedMethodRecordsBase:HHe}=at(),Vh=require("node:assert"),{isUint8Array:VHe}=require("node:util/types"),{webidl:Rb}=ci(),hne=[],Ex;try{Ex=require("node:crypto");let t=["sha256","sha384","sha512"];hne=Ex.getHashes().filter(e=>t.includes(e))}catch{}function pne(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(pne,"responseURL");function zHe(t,e){if(!kHe.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&Ane(r)&&(mne(r)||(r=jHe(r)),r=new URL(r,pne(t))),r&&!r.hash&&(r.hash=e),r}o(zHe,"responseLocationURL");function mne(t){for(let e=0;e126||r<32)return!1}return!0}o(mne,"isValidEncodedURL");function jHe(t){return Buffer.from(t,"binary").toString("utf8")}o(jHe,"normalizeBinaryStringToUtf8");function Db(t){return t.urlList[t.urlList.length-1]}o(Db,"requestCurrentURL");function $He(t){let e=Db(t);return bne(e)&&OHe.has(e.port)?"blocked":"allowed"}o($He,"requestBadPort");function WHe(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(WHe,"isErrorLike");function JHe(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(JHe,"isValidReasonPhrase");var YHe=dne;function Ane(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` +`)||t.includes("\r")||t.includes("\0"))===!1}o(Ane,"isValidHeaderValue");function KHe(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(PHe.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(KHe,"setRequestReferrerPolicyOnRedirect");function XHe(){return"allowed"}o(XHe,"crossOriginResourcePolicyCheck");function ZHe(){return"success"}o(ZHe,"corsCheck");function e8e(){return"success"}o(e8e,"TAOCheck");function t8e(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(t8e,"appendFetchMetadata");function r8e(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&&xM(t.origin)&&!xM(Db(t))&&(e=null);break;case"same-origin":Cx(t,Db(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(r8e,"appendRequestOriginHeader");function FA(t,e){return t}o(FA,"coarsenTime");function n8e(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=Cx(t,n),a=Tb(n)&&!Tb(t.url);switch(e){case"origin":return i??vM(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=Db(t);return Cx(n,c)?n:Tb(n)&&!Tb(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(a8e,"determineRequestsReferrer");function vM(t,e){return Vh(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(vM,"stripURLForReferrer");function Tb(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 n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(Tb,"isURLPotentiallyTrustworthy");function c8e(t,e){if(Ex===void 0)return!0;let r=yne(e);if(r==="no metadata"||r.length===0)return!0;let n=u8e(r),i=f8e(r,n);for(let s of i){let a=s.algo,c=s.hash,l=Ex.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)),d8e(l,c))return!0}return!1}o(c8e,"bytesMatch");var l8e=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function yne(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=l8e.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();hne.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(yne,"parseMetadata");function u8e(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=i}),resolve:t,reject:e}}o(p8e,"createDeferredPromise");function m8e(t){return t.controller.state==="aborted"}o(m8e,"isAborted");function A8e(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(A8e,"isCancelled");function g8e(t){return HHe[t.toLowerCase()]??t}o(g8e,"normalizeMethod");function y8e(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Vh(typeof e=="string"),e}o(y8e,"serializeJavascriptValueToJSONString");var E8e=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Ene(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#n;constructor(a,c){this.#e=a,this.#t=c,this.#n=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.#n,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[n]:f}=c[a];this.#n=a+1;let d;switch(this.#t){case"key":d=u;break;case"value":d=f;break;case"key+value":d=[u,f];break}return{value:d,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,E8e),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(Ene,"createIterator");function C8e(t,e,r,n=0,i=1){let s=Ene(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Rb.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Rb.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Rb.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(Rb.brandCheck(this,e),Rb.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:f,1:d}of s(this,"key+value"))l.call(u,d,f,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(C8e,"iteratorMixin");async function b8e(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await Cne(s))}catch(a){i(a)}}o(b8e,"fullyReadBody");function w8e(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(w8e,"isReadableStreamLike");function I8e(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(I8e,"readableStreamClose");var S8e=/[^\x00-\xFF]/;function yx(t){return Vh(!S8e.test(t)),t}o(yx,"isomorphicEncode");async function Cne(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!VHe(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(Cne,"readAllBytes");function B8e(t){Vh("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(B8e,"urlIsLocal");function xM(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(xM,"urlHasHttpsScheme");function bne(t){Vh("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(bne,"urlIsHttpHttpsScheme");function v8e(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Hh(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Hh(l=>l===" "||l===" ",r,n);let i=Hh(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(e&&Hh(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Hh(l=>l===" "||l===" ",r,n);let a=Hh(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:s,rangeEndValue:c}}o(v8e,"simpleRangeHeaderValue");function x8e(t,e,r){let n="bytes ";return n+=yx(`${t}`),n+="-",n+=yx(`${e}`),n+="/",n+=yx(`${r}`),n}o(x8e,"buildContentRange");var _M=class extends QHe{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?une.createInflate(this.#e):une.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function _8e(t){return new _M(t)}o(_8e,"createInflate");function N8e(t){let e=null,r=null,n=null,i=wne("content-type",t);if(i===null)return"failure";for(let s of i){let a=MHe(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(N8e,"extractMimeType");function R8e(t){let e=t,r={position:0},n=[],i="";for(;r.positions!=='"'&&s!==",",e,r),r.positions===9||s===32),n.push(i),i=""}return n}o(R8e,"gettingDecodingSplitting");function wne(t,e){let r=e.get(t,!0);return r===null?null:R8e(r)}o(wne,"getDecodeSplit");var T8e=new TextDecoder;function D8e(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),T8e.decode(t))}o(D8e,"utf8DecodeBytes");var NM=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return fne()}get origin(){return this.baseUrl?.origin}policyContainer=gne()},RM=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new NM},Q8e=new RM;Ine.exports={isAborted:m8e,isCancelled:A8e,isValidEncodedURL:mne,createDeferredPromise:p8e,ReadableStreamFrom:GHe,tryUpgradeRequestToAPotentiallyTrustworthyURL:h8e,clampAndCoarsenConnectionTimingInfo:n8e,coarsenedSharedCurrentTime:i8e,determineRequestsReferrer:a8e,makePolicyContainer:gne,clonePolicyContainer:o8e,appendFetchMetadata:t8e,appendRequestOriginHeader:r8e,TAOCheck:e8e,corsCheck:ZHe,crossOriginResourcePolicyCheck:XHe,createOpaqueTimingInfo:s8e,setRequestReferrerPolicyOnRedirect:KHe,isValidHTTPToken:dne,requestBadPort:$He,requestCurrentURL:Db,responseURL:pne,responseLocationURL:zHe,isBlobLike:qHe,isURLPotentiallyTrustworthy:Tb,isValidReasonPhrase:JHe,sameOrigin:Cx,normalizeMethod:g8e,serializeJavascriptValueToJSONString:y8e,iteratorMixin:C8e,createIterator:Ene,isValidHeaderName:YHe,isValidHeaderValue:Ane,isErrorLike:WHe,fullyReadBody:b8e,bytesMatch:c8e,isReadableStreamLike:w8e,readableStreamClose:I8e,isomorphicEncode:yx,urlIsLocal:B8e,urlHasHttpsScheme:xM,urlIsHttpHttpsScheme:bne,readAllBytes:Cne,simpleRangeHeaderValue:v8e,buildContentRange:x8e,parseMetadata:yne,createInflate:_8e,extractMimeType:N8e,getDecodeSplit:wne,utf8DecodeBytes:D8e,environmentSettingsObject:Q8e}});var jf=m((H$t,Sne)=>{"use strict";Sne.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var DM=m((V$t,Bne)=>{"use strict";var{Blob:k8e,File:P8e}=require("node:buffer"),{kState:_u}=jf(),{webidl:kc}=ci(),TM=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[_u]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return kc.brandCheck(this,t),this[_u].blobLike.stream(...e)}arrayBuffer(...e){return kc.brandCheck(this,t),this[_u].blobLike.arrayBuffer(...e)}slice(...e){return kc.brandCheck(this,t),this[_u].blobLike.slice(...e)}text(...e){return kc.brandCheck(this,t),this[_u].blobLike.text(...e)}get size(){return kc.brandCheck(this,t),this[_u].blobLike.size}get type(){return kc.brandCheck(this,t),this[_u].blobLike.type}get name(){return kc.brandCheck(this,t),this[_u].name}get lastModified(){return kc.brandCheck(this,t),this[_u].lastModified}get[Symbol.toStringTag](){return"File"}};kc.converters.Blob=kc.interfaceConverter(k8e);function O8e(t){return t instanceof P8e||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(O8e,"isFileLike");Bne.exports={FileLike:TM,isFileLike:O8e}});var kb=m((j$t,Rne)=>{"use strict";var{isBlobLike:bx,iteratorMixin:L8e}=Ws(),{kState:Gi}=jf(),{kEnumerableProperty:MA}=at(),{FileLike:vne,isFileLike:F8e}=DM(),{webidl:Xt}=ci(),{File:Nne}=require("node:buffer"),xne=require("node:util"),_ne=globalThis.File??Nne,Qb=class t{static{o(this,"FormData")}constructor(e){if(Xt.util.markAsUncloneable(this),e!==void 0)throw Xt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Gi]=[]}append(e,r,n=void 0){Xt.brandCheck(this,t);let i="FormData.append";if(Xt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!bx(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Xt.converters.USVString(e,i,"name"),r=bx(r)?Xt.converters.Blob(r,i,"value",{strict:!1}):Xt.converters.USVString(r,i,"value"),n=arguments.length===3?Xt.converters.USVString(n,i,"filename"):void 0;let s=QM(e,r,n);this[Gi].push(s)}delete(e){Xt.brandCheck(this,t);let r="FormData.delete";Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[Gi]=this[Gi].filter(n=>n.name!==e)}get(e){Xt.brandCheck(this,t);let r="FormData.get";Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name");let n=this[Gi].findIndex(i=>i.name===e);return n===-1?null:this[Gi][n].value}getAll(e){Xt.brandCheck(this,t);let r="FormData.getAll";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[Gi].filter(n=>n.name===e).map(n=>n.value)}has(e){Xt.brandCheck(this,t);let r="FormData.has";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.USVString(e,r,"name"),this[Gi].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Xt.brandCheck(this,t);let i="FormData.set";if(Xt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!bx(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Xt.converters.USVString(e,i,"name"),r=bx(r)?Xt.converters.Blob(r,i,"name",{strict:!1}):Xt.converters.USVString(r,i,"name"),n=arguments.length===3?Xt.converters.USVString(n,i,"name"):void 0;let s=QM(e,r,n),a=this[Gi].findIndex(c=>c.name===e);a!==-1?this[Gi]=[...this[Gi].slice(0,a),s,...this[Gi].slice(a+1).filter(c=>c.name!==e)]:this[Gi].push(s)}[xne.inspect.custom](e,r){let n=this[Gi].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=xne.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};L8e("FormData",Qb,Gi,"name","value");Object.defineProperties(Qb.prototype,{append:MA,delete:MA,get:MA,getAll:MA,has:MA,set:MA,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function QM(t,e,r){if(typeof e!="string"){if(F8e(e)||(e=e instanceof Blob?new _ne([e],"blob",{type:e.type}):new vne(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof Nne?new _ne([e],r,n):new vne(e,r,n)}}return{name:t,value:e}}o(QM,"makeEntry");Rne.exports={FormData:Qb,makeEntry:QM}});var One=m((W$t,Pne)=>{"use strict";var{isUSVString:Tne,bufferToLowerCasedHeaderName:M8e}=at(),{utf8DecodeBytes:U8e}=Ws(),{HTTP_TOKEN_CODEPOINTS:q8e,isomorphicDecode:Dne}=ys(),{isFileLike:G8e}=DM(),{makeEntry:H8e}=kb(),wx=require("node:assert"),{File:V8e}=require("node:buffer"),z8e=globalThis.File??V8e,j8e=Buffer.from('form-data; name="'),Qne=Buffer.from("; filename"),$8e=Buffer.from("--"),W8e=Buffer.from(`--\r +`);function J8e(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(Y8e,"validateBoundary");function K8e(t,e){wx(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.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(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&Ix(t,$8e,s)||s.position===t.length-4&&Ix(t,W8e,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=X8e(t,s);if(c==="failure")return"failure";let{name:l,filename:u,contentType:f,encoding:d}=c;s.position+=2;let h;{let A=t.indexOf(n.subarray(2),s.position);if(A===-1)return"failure";h=t.subarray(s.position,A-4),s.position+=h.length,d==="base64"&&(h=Buffer.from(h.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let p;u!==null?(f??="text/plain",J8e(f)||(f=""),p=new z8e([h],u,{type:f})):p=U8e(Buffer.from(h)),wx(Tne(l)),wx(typeof p=="string"&&Tne(p)||G8e(p)),i.push(H8e(l,p,u))}}o(K8e,"multipartFormDataParser");function X8e(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=UA(c=>c!==10&&c!==13&&c!==58,t,e);if(a=kM(a,!0,!0,c=>c===9||c===32),!q8e.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,UA(c=>c===32||c===9,t,e),M8e(a)){case"content-disposition":{if(r=n=null,!Ix(t,j8e,e)||(e.position+=17,r=kne(t,e),r===null))return"failure";if(Ix(t,Qne,e)){let c=e.position+Qne.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=kne(t,e),n===null))return"failure"}break}case"content-type":{let c=UA(l=>l!==10&&l!==13,t,e);c=kM(c,!1,!0,l=>l===9||l===32),i=Dne(c);break}case"content-transfer-encoding":{let c=UA(l=>l!==10&&l!==13,t,e);c=kM(c,!1,!0,l=>l===9||l===32),s=Dne(c);break}default:UA(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(X8e,"parseMultipartFormDataHeaders");function kne(t,e){wx(t[e.position-1]===34);let r=UA(n=>n!==10&&n!==13&&n!==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(kne,"parseMultipartFormDataName");function UA(t,e,r){let n=r.position;for(;n0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(kM,"removeChars");function Ix(t,e,r){if(t.length{"use strict";var Pb=at(),{ReadableStreamFrom:Z8e,isBlobLike:Lne,isReadableStreamLike:eVe,readableStreamClose:tVe,createDeferredPromise:rVe,fullyReadBody:nVe,extractMimeType:iVe,utf8DecodeBytes:Une}=Ws(),{FormData:Fne}=kb(),{kState:GA}=jf(),{webidl:sVe}=ci(),{Blob:oVe}=require("node:buffer"),PM=require("node:assert"),{isErrored:qne,isDisturbed:aVe}=require("node:stream"),{isArrayBuffer:cVe}=require("node:util/types"),{serializeAMimeType:lVe}=ys(),{multipartFormDataParser:uVe}=One(),OM;try{let t=require("node:crypto");OM=o(e=>t.randomInt(0,e),"random")}catch{OM=o(t=>Math.floor(Math.random(t)),"random")}var Sx=new TextEncoder;function fVe(){}o(fVe,"noop");var Gne=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,Hne;Gne&&(Hne=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!aVe(e)&&!qne(e)&&e.cancel("Response object has been garbage collected").catch(fVe)}));function Vne(t,e=!1){let r=null;t instanceof ReadableStream?r=t:Lne(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof i=="string"?Sx.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>tVe(l))},start(){},type:"bytes"}),PM(eVe(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(cVe(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(Pb.isFormDataLike(t)){let l=`----formdata-undici-0${`${OM(1e11)}`.padStart(11,"0")}`,u=`--${l}\r +Content-Disposition: form-data`;let f=o(E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(E=>E.replace(/\r?\n|\r/g,`\r +`),"normalizeLinefeeds"),h=[],p=new Uint8Array([13,10]);s=0;let A=!1;for(let[E,y]of t)if(typeof y=="string"){let C=Sx.encode(u+`; name="${f(d(E))}"\r \r -${f(y)}\r -`);h.push(C),s+=C.byteLength}else{let C=jx.encode(`${u}; name="${d(f(E))}"`+(y.name?`; filename="${d(y.name)}"`:"")+`\r +${d(y)}\r +`);h.push(C),s+=C.byteLength}else{let C=Sx.encode(`${u}; name="${f(d(E))}"`+(y.name?`; filename="${f(y.name)}"`:"")+`\r Content-Type: ${y.type||"application/octet-stream"}\r \r -`);h.push(C,y,p),typeof y.size=="number"?s+=C.byteLength+y.size+p.byteLength:g=!0}let m=jx.encode(`--${l}--\r -`);h.push(m),s+=m.byteLength,g&&(s=null),i=t,n=o(async function*(){for(let E of h)E.stream?yield*E.stream():yield E},"action"),a=`multipart/form-data; boundary=${l}`}else if(zte(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(ub.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:LHe(t)}if((typeof i=="string"||ub.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(u){let{value:d,done:f}=await l.next();if(f)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!Jte(r)){let h=new Uint8Array(d);h.byteLength&&u.enqueue(h)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(Xte,"extractBody");function YHe(t,e=!1){return t instanceof ReadableStream&&(BF(!ub.isDisturbed(t),"The body has already been consumed."),BF(!t.locked,"The stream is locked.")),Xte(t,e)}o(YHe,"safelyExtractBody");function KHe(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(KHe,"cloneBody");function XHe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(XHe,"throwIfAborted");function ZHe(t){return{blob(){return wm(this,r=>{let n=jte(this);return n===null?n="":n&&(n=jHe(n)),new VHe([r],{type:n})},t)},arrayBuffer(){return wm(this,r=>new Uint8Array(r).buffer,t)},text(){return wm(this,Wte,t)},json(){return wm(this,t4e,t)},formData(){return wm(this,r=>{let n=jte(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=WHe(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new $te;return s[Sm]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new $te;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return wm(this,r=>new Uint8Array(r),t)}}}o(ZHe,"bodyMixinMethods");function e4e(t){Object.assign(t.prototype,ZHe(t))}o(e4e,"mixinBody");async function wm(t,e,r){if(HHe.brandCheck(t,r),Zte(t))throw new TypeError("Body is unusable: Body has already been read");XHe(t[Sm]);let n=UHe(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Sm].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await qHe(t[Sm].body,s,i),n.promise)}o(wm,"consumeBody");function Zte(t){let e=t[Sm].body;return e!=null&&(e.stream.locked||ub.isDisturbed(e.stream))}o(Zte,"bodyUnusable");function t4e(t){return JSON.parse(Wte(t))}o(t4e,"parseJSONFromBytes");function jte(t){let e=t[Sm].headersList,r=GHe(e);return r==="failure"?null:r}o(jte,"bodyMimeType");ere.exports={extractBody:Xte,safelyExtractBody:YHe,cloneBody:KHe,mixinBody:e4e,streamRegistry:Kte,hasFinalizationRegistry:Yte,bodyUnusable:Zte}});var mre=A((nzt,Are)=>{"use strict";var Te=require("node:assert"),ke=at(),{channels:tre}=fm(),vF=cF(),{RequestContentLengthMismatchError:Dh,ResponseContentLengthMismatchError:rre,RequestAbortedError:ure,InvalidArgumentError:r4e,HeadersTimeoutError:n4e,HeadersOverflowError:i4e,SocketError:xm,InformationalError:vm,BodyTimeoutError:s4e,HTTPParserError:o4e,ResponseExceededMaxSizeError:a4e}=Rt(),{kUrl:dre,kReset:gs,kClient:Kx,kParser:rr,kBlocking:hb,kRunning:An,kPending:fre,kSize:nre,kWriting:Od,kQueue:La,kNoRef:db,kKeepAliveDefaultTimeout:c4e,kHostHeader:l4e,kPendingIdx:u4e,kRunningIdx:Po,kError:qi,kPipelining:Xx,kSocket:kh,kKeepAliveTimeoutValue:ev,kMaxHeadersSize:NF,kKeepAliveMaxTimeout:d4e,kKeepAliveTimeoutThreshold:f4e,kHeadersTimeout:h4e,kBodyTimeout:p4e,kStrictContentLength:RF,kMaxRequests:ire,kCounter:A4e,kMaxResponseSize:m4e,kOnError:sre,kResume:bu,kHTTPContext:hre}=mr(),js=Kee(),ore=Buffer.alloc(0),Wx=Buffer[Symbol.species],Jx=ke.addListener,g4e=ke.removeAllListeners,Ph=Symbol("kIdleSocketValidation"),Qh=Symbol("kIdleSocketValidationTimeout"),PF=Symbol("kSocketUsed"),_F;async function y4e(){let t=process.env.JEST_WORKER_ID?dF():void 0,e;try{e=await WebAssembly.compile(ete())}catch{e=await WebAssembly.compile(t||dF())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,i)=>0,"wasm_on_url"),wasm_on_status:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Tc+_c.byteOffset;return Qr.onStatus(new Wx(_c.buffer,s,i))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(Te(Qr.ptr===r),Qr.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Tc+_c.byteOffset;return Qr.onHeaderField(new Wx(_c.buffer,s,i))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Tc+_c.byteOffset;return Qr.onHeaderValue(new Wx(_c.buffer,s,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,i,s)=>(Te(Qr.ptr===r),Qr.onHeadersComplete(n,!!i,!!s)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,i)=>{Te(Qr.ptr===r);let s=n-Tc+_c.byteOffset;return Qr.onBody(new Wx(_c.buffer,s,i))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(Te(Qr.ptr===r),Qr.onMessageComplete()||0),"wasm_on_message_complete")}})}o(y4e,"lazyllhttp");var TF=null,DF=y4e();DF.catch();var Qr=null,_c=null,Yx=0,Tc=null,E4e=0,fb=1,Nm=2|fb,Zx=4|fb,QF=8|E4e,kF=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Te(Number.isFinite(e[NF])&&e[NF]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(js.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[NF],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[m4e]}setTimeout(e,r){e!==this.timeoutValue||r&fb^this.timeoutType&fb?(this.timeout&&(vF.clearTimeout(this.timeout),this.timeout=null),e&&(r&fb?this.timeout=vF.setFastTimeout(are,e,new WeakRef(this)):(this.timeout=setTimeout(are,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||(Te(this.ptr!=null),Te(Qr==null),this.llhttp.llhttp_resume(this.ptr),Te(this.timeoutType===Zx),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||ore),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){Te(this.ptr!=null),Te(Qr==null),Te(!this.paused);let{socket:r,llhttp:n}=this;e.length>Yx&&(Tc&&n.free(Tc),Yx=Math.ceil(e.length/4096)*4096,Tc=n.malloc(Yx)),new Uint8Array(n.memory.buffer,Tc,Yx).set(e);try{let i;try{_c=e,Qr=this,i=n.llhttp_execute(this.ptr,Tc,e.length)}catch(a){throw a}finally{Qr=null,_c=null}let s=n.llhttp_get_error_pos(this.ptr)-Tc;if(i!==js.ERROR.OK){let a=e.subarray(s);if(i===js.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(i===js.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(i,a)}}catch(i){ke.destroy(r,i)}}finish(){Te(Qr===null),Te(this.ptr!=null),Te(!this.paused);let{llhttp:e}=this,r;try{Qr=this,r=e.llhttp_finish(this.ptr)}finally{Qr=null}return r===js.ERROR.OK?null:r===js.ERROR.PAUSED||r===js.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,ore)}createError(e,r){let{llhttp:n,contentLength:i,bytesRead:s}=this;if(i&&s!==parseInt(i,10))return new rre;let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}return new o4e(c,js.ERROR[e],r)}destroy(){Te(this.ptr!=null),Te(Qr==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&vF.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[An]===0)return ke.destroy(e,new xm("bad response",ke.getSocketInfo(e))),-1;let n=r[La][r[Po]];if(!n)return-1;n.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 n=this.headers[r-2];if(n.length===10){let i=ke.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&ke.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&ke.destroy(this.socket,new i4e)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;Te(r),Te(n[kh]===i),Te(!i.destroyed),Te(!this.paused),Te((s.length&1)===0);let c=n[La][n[Po]];Te(c),Te(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[rr].destroy(),i[rr]=null,i[Kx]=null,i[qi]=null,g4e(i),n[kh]=null,n[hre]=null,n[La][n[Po]++]=null,n.emit("disconnect",n[dre],[n],new vm("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){ke.destroy(i,l)}n[bu]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;if(i[An]===0)return ke.destroy(s,new xm("bad response",ke.getSocketInfo(s))),-1;let l=i[La][i[Po]];if(!l)return-1;if(Te(!this.upgrade),Te(this.statusCode<200),e===100)return ke.destroy(s,new xm("bad response",ke.getSocketInfo(s))),-1;if(r&&!l.upgrade)return ke.destroy(s,new xm("bad upgrade",ke.getSocketInfo(s))),-1;if(Te(this.timeoutType===Nm),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[gs]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let d=l.bodyTimeout!=null?l.bodyTimeout:i[p4e];this.setTimeout(d,Zx)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return Te(i[An]===1),this.upgrade=!0,2;if(r)return Te(i[An]===1),this.upgrade=!0,2;if(Te((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[Xx]){let d=this.keepAlive?ke.parseKeepAliveTimeout(this.keepAlive):null;if(d!=null){let f=Math.min(d-i[f4e],i[d4e]);f<=0?s[gs]=!0:i[ev]=f}else i[ev]=i[c4e]}else s[gs]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[hb]&&(s[hb]=!1,i[bu]()),u?js.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[La][r[Po]];if(Te(a),Te(this.timeoutType===Zx),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Te(i>=200),s>-1&&this.bytesRead+e.length>s)return ke.destroy(n,new a4e),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return js.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;Te(n>=100),Te((this.headers.length&1)===0);let u=e[La][e[Po]];if(Te(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return ke.destroy(r,new rre),-1;if(u.onComplete(s),e[La][e[Po]++]=null,r[PF]=!0,r[Od])return Te(e[An]===0),ke.destroy(r,new vm("reset")),js.ERROR.PAUSED;if(l){if(r[gs]&&e[An]===0)return ke.destroy(r,new vm("reset")),js.ERROR.PAUSED;e[Xx]==null||e[Xx]===1?setImmediate(()=>e[bu]()):e[bu]()}else return ke.destroy(r,new vm("reset")),js.ERROR.PAUSED}}};function are(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Nm?(!e[Od]||e.writableNeedDrain||n[An]>1)&&(Te(!i,"cannot be paused while waiting for headers"),ke.destroy(e,new n4e)):r===Zx?i||ke.destroy(e,new s4e):r===QF&&(Te(n[An]===0&&n[ev]),ke.destroy(e,new vm("socket idle timeout")))}o(are,"onParserTimeout");async function C4e(t,e){t[kh]=e,TF||(TF=await DF,DF=null),e[db]=!1,e[Od]=!1,e[gs]=!1,e[hb]=!1,e[Ph]=0,e[Qh]=null,e[PF]=!1,e[rr]=new kF(t,e,TF),Jx(e,"error",function(n){Te(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[rr];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){let s=i.finish();s&&(this[qi]=s,this[Kx][sre](s));return}this[qi]=n,this[Kx][sre](n)}),Jx(e,"readable",function(){let n=this[rr];n&&n.readMore()}),Jx(e,"end",function(){let n=this[rr];if(n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&ke.destroy(this,i);return}ke.destroy(this,new xm("other side closed",ke.getSocketInfo(this)))}),Jx(e,"close",function(){let n=this[Kx],i=this[rr];pre(this),i&&(!this[qi]&&i.statusCode&&!i.shouldKeepAlive&&(this[qi]=i.finish()||this[qi]),this[rr].destroy(),this[rr]=null);let s=this[qi]||new xm("closed",ke.getSocketInfo(this));if(n[kh]=null,n[hre]=null,n.destroyed){Te(n[fre]===0);let a=n[La].splice(n[Po]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[La][n[Po]];n[La][n[Po]++]=null,ke.errorRequest(n,a,s)}n[u4e]=n[Po],Te(n[An]===0),n.emit("disconnect",n[dre],[n],s),n[bu]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return S4e(t,...n)},resume(){I4e(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[Od]||e[gs]||e[hb]||e[Ph]===1||n&&(t[An]>0&&!n.idempotent||t[An]>0&&(n.upgrade||n.method==="CONNECT")||t[An]>0&&ke.bodyLength(n.body)!==0&&(ke.isStream(n.body)||ke.isAsyncIterable(n.body)||ke.isFormDataLike(n.body))))}}}o(C4e,"connectH1");function pre(t){t[Qh]&&(clearTimeout(t[Qh]),t[Qh]=null),t[Ph]=0}o(pre,"clearIdleSocketValidation");function b4e(t,e){e[Ph]=1,e[Qh]=setTimeout(()=>{e[Qh]=null,e[Ph]=2,t[kh]===e&&!e.destroyed&&t[bu]()},0),e[Qh].unref?.()}o(b4e,"scheduleIdleSocketValidation");function I4e(t){let e=t[kh];if(e&&!e.destroyed){if(t[nre]===0?!e[db]&&e.unref&&(e.unref(),e[db]=!0):e[db]&&e.ref&&(e.ref(),e[db]=!1),t[An]===0&&t[fre]>0&&e[PF]){if(e[Ph]===0)return b4e(t,e),e[rr].readMore(),e.destroyed,void 0;if(e[Ph]===1)return e[rr].readMore(),e.destroyed,void 0}if(t[An]===0&&(e[rr].readMore(),e.destroyed))return;if(t[nre]===0)e[rr].timeoutType!==QF&&e[rr].setTimeout(t[ev],QF);else if(t[An]>0&&e[rr].statusCode<200&&e[rr].timeoutType!==Nm){let r=t[La][t[Po]],n=r.headersTimeout!=null?r.headersTimeout:t[h4e];e[rr].setTimeout(n,Nm)}}}o(I4e,"resumeH1");function w4e(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(w4e,"shouldSendContentLength");function S4e(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:d}=e,f=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(ke.isFormDataLike(l)){_F||(_F=Bm().extractBody);let[E,y]=_F(l);e.contentType==null&&u.push("content-type",y),l=E.stream,d=E.length}else if(ke.isBlobLike(l)&&e.contentType==null){let E=l.type;if(E){let y=`${E}`;if(!ke.isValidHeaderValue(y))return ke.errorRequest(t,e,new r4e("invalid content-type header")),!1;u.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let h=ke.bodyLength(l);if(d=h??d,d===null&&(d=e.contentLength),d===0&&!f&&(d=null),w4e(r)&&d>0&&e.contentLength!==null&&e.contentLength!==d){if(t[RF])return ke.errorRequest(t,e,new Dh),!1;process.emitWarning(new Dh)}let p=t[kh];pre(p);let g=o(E=>{e.aborted||e.completed||(ke.errorRequest(t,e,E||new ure),ke.destroy(l),ke.destroy(p,new vm("aborted")))},"abort");try{e.onConnect(g)}catch(E){ke.errorRequest(t,e,E)}if(e.aborted)return!1;r==="HEAD"&&(p[gs]=!0),(s||r==="CONNECT")&&(p[gs]=!0),c!=null&&(p[gs]=c),t[ire]&&p[A4e]++>=t[ire]&&(p[gs]=!0),a&&(p[hb]=!0);let m=`${r} ${n} HTTP/1.1\r -`;if(typeof i=="string"?m+=`host: ${i}\r -`:m+=t[l4e],s?m+=`connection: upgrade\r +`);h.push(C,y,p),typeof y.size=="number"?s+=C.byteLength+y.size+p.byteLength:A=!0}let g=Sx.encode(`--${l}--\r +`);h.push(g),s+=g.byteLength,A&&(s=null),i=t,n=o(async function*(){for(let E of h)E.stream?yield*E.stream():yield E},"action"),a=`multipart/form-data; boundary=${l}`}else if(Lne(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Pb.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Z8e(t)}if((typeof i=="string"||Pb.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(u){let{value:f,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!qne(r)){let h=new Uint8Array(f);h.byteLength&&u.enqueue(h)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(Vne,"extractBody");function dVe(t,e=!1){return t instanceof ReadableStream&&(PM(!Pb.isDisturbed(t),"The body has already been consumed."),PM(!t.locked,"The stream is locked.")),Vne(t,e)}o(dVe,"safelyExtractBody");function hVe(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(hVe,"cloneBody");function pVe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(pVe,"throwIfAborted");function mVe(t){return{blob(){return qA(this,r=>{let n=Mne(this);return n===null?n="":n&&(n=lVe(n)),new oVe([r],{type:n})},t)},arrayBuffer(){return qA(this,r=>new Uint8Array(r).buffer,t)},text(){return qA(this,Une,t)},json(){return qA(this,gVe,t)},formData(){return qA(this,r=>{let n=Mne(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=uVe(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new Fne;return s[GA]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new Fne;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return qA(this,r=>new Uint8Array(r),t)}}}o(mVe,"bodyMixinMethods");function AVe(t){Object.assign(t.prototype,mVe(t))}o(AVe,"mixinBody");async function qA(t,e,r){if(sVe.brandCheck(t,r),zne(t))throw new TypeError("Body is unusable: Body has already been read");pVe(t[GA]);let n=rVe(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[GA].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await nVe(t[GA].body,s,i),n.promise)}o(qA,"consumeBody");function zne(t){let e=t[GA].body;return e!=null&&(e.stream.locked||Pb.isDisturbed(e.stream))}o(zne,"bodyUnusable");function gVe(t){return JSON.parse(Une(t))}o(gVe,"parseJSONFromBytes");function Mne(t){let e=t[GA].headersList,r=iVe(e);return r==="failure"?null:r}o(Mne,"bodyMimeType");jne.exports={extractBody:Vne,safelyExtractBody:dVe,cloneBody:hVe,mixinBody:AVe,streamRegistry:Hne,hasFinalizationRegistry:Gne,bodyUnusable:zne}});var cie=m((X$t,aie)=>{"use strict";var Re=require("node:assert"),ke=at(),{channels:$ne}=RA(),LM=yM(),{RequestContentLengthMismatchError:zh,ResponseContentLengthMismatchError:Wne,RequestAbortedError:rie,InvalidArgumentError:yVe,HeadersTimeoutError:EVe,HeadersOverflowError:CVe,SocketError:VA,InformationalError:zA,BodyTimeoutError:bVe,HTTPParserError:wVe,ResponseExceededMaxSizeError:IVe}=Tt(),{kUrl:nie,kReset:Es,kClient:_x,kParser:rr,kBlocking:Fb,kRunning:An,kPending:iie,kSize:Jne,kWriting:$f,kQueue:Ga,kNoRef:Ob,kKeepAliveDefaultTimeout:SVe,kHostHeader:BVe,kPendingIdx:vVe,kRunningIdx:Fo,kError:Hi,kPipelining:Nx,kSocket:$h,kKeepAliveTimeoutValue:Tx,kMaxHeadersSize:FM,kKeepAliveMaxTimeout:xVe,kKeepAliveTimeoutThreshold:_Ve,kHeadersTimeout:NVe,kBodyTimeout:RVe,kStrictContentLength:qM,kMaxRequests:Yne,kCounter:TVe,kMaxResponseSize:DVe,kOnError:Kne,kResume:Nu,kHTTPContext:sie}=Ar(),Js=Hre(),Xne=Buffer.alloc(0),Bx=Buffer[Symbol.species],vx=ke.addListener,QVe=ke.removeAllListeners,Wh=Symbol("kIdleSocketValidation"),jh=Symbol("kIdleSocketValidationTimeout"),zM=Symbol("kSocketUsed"),MM;async function kVe(){let t=process.env.JEST_WORKER_ID?bM():void 0,e;try{e=await WebAssembly.compile(jre())}catch{e=await WebAssembly.compile(t||bM())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,i)=>0,"wasm_on_url"),wasm_on_status:o((r,n,i)=>{Re(Qr.ptr===r);let s=n-Oc+Pc.byteOffset;return Qr.onStatus(new Bx(Pc.buffer,s,i))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(Re(Qr.ptr===r),Qr.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,i)=>{Re(Qr.ptr===r);let s=n-Oc+Pc.byteOffset;return Qr.onHeaderField(new Bx(Pc.buffer,s,i))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,i)=>{Re(Qr.ptr===r);let s=n-Oc+Pc.byteOffset;return Qr.onHeaderValue(new Bx(Pc.buffer,s,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,i,s)=>(Re(Qr.ptr===r),Qr.onHeadersComplete(n,!!i,!!s)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,i)=>{Re(Qr.ptr===r);let s=n-Oc+Pc.byteOffset;return Qr.onBody(new Bx(Pc.buffer,s,i))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(Re(Qr.ptr===r),Qr.onMessageComplete()||0),"wasm_on_message_complete")}})}o(kVe,"lazyllhttp");var UM=null,GM=kVe();GM.catch();var Qr=null,Pc=null,xx=0,Oc=null,PVe=0,Lb=1,jA=2|Lb,Rx=4|Lb,HM=8|PVe,VM=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Re(Number.isFinite(e[FM])&&e[FM]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Js.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[FM],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[DVe]}setTimeout(e,r){e!==this.timeoutValue||r&Lb^this.timeoutType&Lb?(this.timeout&&(LM.clearTimeout(this.timeout),this.timeout=null),e&&(r&Lb?this.timeout=LM.setFastTimeout(Zne,e,new WeakRef(this)):(this.timeout=setTimeout(Zne,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||(Re(this.ptr!=null),Re(Qr==null),this.llhttp.llhttp_resume(this.ptr),Re(this.timeoutType===Rx),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Xne),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){Re(this.ptr!=null),Re(Qr==null),Re(!this.paused);let{socket:r,llhttp:n}=this;e.length>xx&&(Oc&&n.free(Oc),xx=Math.ceil(e.length/4096)*4096,Oc=n.malloc(xx)),new Uint8Array(n.memory.buffer,Oc,xx).set(e);try{let i;try{Pc=e,Qr=this,i=n.llhttp_execute(this.ptr,Oc,e.length)}catch(a){throw a}finally{Qr=null,Pc=null}let s=n.llhttp_get_error_pos(this.ptr)-Oc;if(i!==Js.ERROR.OK){let a=e.subarray(s);if(i===Js.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(i===Js.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(i,a)}}catch(i){ke.destroy(r,i)}}finish(){Re(Qr===null),Re(this.ptr!=null),Re(!this.paused);let{llhttp:e}=this,r;try{Qr=this,r=e.llhttp_finish(this.ptr)}finally{Qr=null}return r===Js.ERROR.OK?null:r===Js.ERROR.PAUSED||r===Js.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,Xne)}createError(e,r){let{llhttp:n,contentLength:i,bytesRead:s}=this;if(i&&s!==parseInt(i,10))return new Wne;let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}return new wVe(c,Js.ERROR[e],r)}destroy(){Re(this.ptr!=null),Re(Qr==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&LM.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[An]===0)return ke.destroy(e,new VA("bad response",ke.getSocketInfo(e))),-1;let n=r[Ga][r[Fo]];if(!n)return-1;n.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 n=this.headers[r-2];if(n.length===10){let i=ke.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&ke.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&ke.destroy(this.socket,new CVe)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;Re(r),Re(n[$h]===i),Re(!i.destroyed),Re(!this.paused),Re((s.length&1)===0);let c=n[Ga][n[Fo]];Re(c),Re(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[rr].destroy(),i[rr]=null,i[_x]=null,i[Hi]=null,QVe(i),n[$h]=null,n[sie]=null,n[Ga][n[Fo]++]=null,n.emit("disconnect",n[nie],[n],new zA("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){ke.destroy(i,l)}n[Nu]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;if(i[An]===0)return ke.destroy(s,new VA("bad response",ke.getSocketInfo(s))),-1;let l=i[Ga][i[Fo]];if(!l)return-1;if(Re(!this.upgrade),Re(this.statusCode<200),e===100)return ke.destroy(s,new VA("bad response",ke.getSocketInfo(s))),-1;if(r&&!l.upgrade)return ke.destroy(s,new VA("bad upgrade",ke.getSocketInfo(s))),-1;if(Re(this.timeoutType===jA),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[Es]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let f=l.bodyTimeout!=null?l.bodyTimeout:i[RVe];this.setTimeout(f,Rx)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return Re(i[An]===1),this.upgrade=!0,2;if(r)return Re(i[An]===1),this.upgrade=!0,2;if(Re((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[Nx]){let f=this.keepAlive?ke.parseKeepAliveTimeout(this.keepAlive):null;if(f!=null){let d=Math.min(f-i[_Ve],i[xVe]);d<=0?s[Es]=!0:i[Tx]=d}else i[Tx]=i[SVe]}else s[Es]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[Fb]&&(s[Fb]=!1,i[Nu]()),u?Js.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Ga][r[Fo]];if(Re(a),Re(this.timeoutType===Rx),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Re(i>=200),s>-1&&this.bytesRead+e.length>s)return ke.destroy(n,new IVe),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Js.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;Re(n>=100),Re((this.headers.length&1)===0);let u=e[Ga][e[Fo]];if(Re(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return ke.destroy(r,new Wne),-1;if(u.onComplete(s),e[Ga][e[Fo]++]=null,r[zM]=!0,r[$f])return Re(e[An]===0),ke.destroy(r,new zA("reset")),Js.ERROR.PAUSED;if(l){if(r[Es]&&e[An]===0)return ke.destroy(r,new zA("reset")),Js.ERROR.PAUSED;e[Nx]==null||e[Nx]===1?setImmediate(()=>e[Nu]()):e[Nu]()}else return ke.destroy(r,new zA("reset")),Js.ERROR.PAUSED}}};function Zne(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===jA?(!e[$f]||e.writableNeedDrain||n[An]>1)&&(Re(!i,"cannot be paused while waiting for headers"),ke.destroy(e,new EVe)):r===Rx?i||ke.destroy(e,new bVe):r===HM&&(Re(n[An]===0&&n[Tx]),ke.destroy(e,new zA("socket idle timeout")))}o(Zne,"onParserTimeout");async function OVe(t,e){t[$h]=e,UM||(UM=await GM,GM=null),e[Ob]=!1,e[$f]=!1,e[Es]=!1,e[Fb]=!1,e[Wh]=0,e[jh]=null,e[zM]=!1,e[rr]=new VM(t,e,UM),vx(e,"error",function(n){Re(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[rr];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){let s=i.finish();s&&(this[Hi]=s,this[_x][Kne](s));return}this[Hi]=n,this[_x][Kne](n)}),vx(e,"readable",function(){let n=this[rr];n&&n.readMore()}),vx(e,"end",function(){let n=this[rr];if(n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&ke.destroy(this,i);return}ke.destroy(this,new VA("other side closed",ke.getSocketInfo(this)))}),vx(e,"close",function(){let n=this[_x],i=this[rr];oie(this),i&&(!this[Hi]&&i.statusCode&&!i.shouldKeepAlive&&(this[Hi]=i.finish()||this[Hi]),this[rr].destroy(),this[rr]=null);let s=this[Hi]||new VA("closed",ke.getSocketInfo(this));if(n[$h]=null,n[sie]=null,n.destroyed){Re(n[iie]===0);let a=n[Ga].splice(n[Fo]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[Ga][n[Fo]];n[Ga][n[Fo]++]=null,ke.errorRequest(n,a,s)}n[vVe]=n[Fo],Re(n[An]===0),n.emit("disconnect",n[nie],[n],s),n[Nu]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return UVe(t,...n)},resume(){FVe(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[$f]||e[Es]||e[Fb]||e[Wh]===1||n&&(t[An]>0&&!n.idempotent||t[An]>0&&(n.upgrade||n.method==="CONNECT")||t[An]>0&&ke.bodyLength(n.body)!==0&&(ke.isStream(n.body)||ke.isAsyncIterable(n.body)||ke.isFormDataLike(n.body))))}}}o(OVe,"connectH1");function oie(t){t[jh]&&(clearTimeout(t[jh]),t[jh]=null),t[Wh]=0}o(oie,"clearIdleSocketValidation");function LVe(t,e){e[Wh]=1,e[jh]=setTimeout(()=>{e[jh]=null,e[Wh]=2,t[$h]===e&&!e.destroyed&&t[Nu]()},0),e[jh].unref?.()}o(LVe,"scheduleIdleSocketValidation");function FVe(t){let e=t[$h];if(e&&!e.destroyed){if(t[Jne]===0?!e[Ob]&&e.unref&&(e.unref(),e[Ob]=!0):e[Ob]&&e.ref&&(e.ref(),e[Ob]=!1),t[An]===0&&t[iie]>0&&e[zM]){if(e[Wh]===0)return LVe(t,e),e[rr].readMore(),e.destroyed,void 0;if(e[Wh]===1)return e[rr].readMore(),e.destroyed,void 0}if(t[An]===0&&(e[rr].readMore(),e.destroyed))return;if(t[Jne]===0)e[rr].timeoutType!==HM&&e[rr].setTimeout(t[Tx],HM);else if(t[An]>0&&e[rr].statusCode<200&&e[rr].timeoutType!==jA){let r=t[Ga][t[Fo]],n=r.headersTimeout!=null?r.headersTimeout:t[NVe];e[rr].setTimeout(n,jA)}}}o(FVe,"resumeH1");function MVe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(MVe,"shouldSendContentLength");function UVe(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:f}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(ke.isFormDataLike(l)){MM||(MM=HA().extractBody);let[E,y]=MM(l);e.contentType==null&&u.push("content-type",y),l=E.stream,f=E.length}else if(ke.isBlobLike(l)&&e.contentType==null){let E=l.type;if(E){let y=`${E}`;if(!ke.isValidHeaderValue(y))return ke.errorRequest(t,e,new yVe("invalid content-type header")),!1;u.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let h=ke.bodyLength(l);if(f=h??f,f===null&&(f=e.contentLength),f===0&&!d&&(f=null),MVe(r)&&f>0&&e.contentLength!==null&&e.contentLength!==f){if(t[qM])return ke.errorRequest(t,e,new zh),!1;process.emitWarning(new zh)}let p=t[$h];oie(p);let A=o(E=>{e.aborted||e.completed||(ke.errorRequest(t,e,E||new rie),ke.destroy(l),ke.destroy(p,new zA("aborted")))},"abort");try{e.onConnect(A)}catch(E){ke.errorRequest(t,e,E)}if(e.aborted)return!1;r==="HEAD"&&(p[Es]=!0),(s||r==="CONNECT")&&(p[Es]=!0),c!=null&&(p[Es]=c),t[Yne]&&p[TVe]++>=t[Yne]&&(p[Es]=!0),a&&(p[Fb]=!0);let g=`${r} ${n} HTTP/1.1\r +`;if(typeof i=="string"?g+=`host: ${i}\r +`:g+=t[BVe],s?g+=`connection: upgrade\r upgrade: ${s}\r -`:t[Xx]&&!p[gs]?m+=`connection: keep-alive\r -`:m+=`connection: close\r -`,Array.isArray(u))for(let E=0;E{e.removeListener("error",p)}),!l){let g=new ure;queueMicrotask(()=>p(g))}},"onClose"),p=o(function(g){if(!l){if(l=!0,Te(i.destroyed||i[Od]&&r[An]<=1),i.off("drain",f).off("error",p),e.removeListener("data",d).removeListener("end",p).removeListener("close",h),!g)try{u.end()}catch(m){g=m}u.destroy(g),g&&(g.code!=="UND_ERR_INFO"||g.message!=="reset")?ke.destroy(e,g):ke.destroy(e)}},"onFinished");e.on("data",d).on("end",p).on("error",p).on("close",h),e.resume&&e.resume(),i.on("drain",f).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(h)}o(B4e,"writeStream");function cre(t,e,r,n,i,s,a,c){try{e?ke.isBuffer(e)&&(Te(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r +`:t[Nx]&&!p[Es]?g+=`connection: keep-alive\r +`:g+=`connection: close\r +`,Array.isArray(u))for(let E=0;E{e.removeListener("error",p)}),!l){let A=new rie;queueMicrotask(()=>p(A))}},"onClose"),p=o(function(A){if(!l){if(l=!0,Re(i.destroyed||i[$f]&&r[An]<=1),i.off("drain",d).off("error",p),e.removeListener("data",f).removeListener("end",p).removeListener("close",h),!A)try{u.end()}catch(g){A=g}u.destroy(A),A&&(A.code!=="UND_ERR_INFO"||A.message!=="reset")?ke.destroy(e,A):ke.destroy(e)}},"onFinished");e.on("data",f).on("end",p).on("error",p).on("close",h),e.resume&&e.resume(),i.on("drain",d).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(h)}o(qVe,"writeStream");function eie(t,e,r,n,i,s,a,c){try{e?ke.isBuffer(e)&&(Re(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r \r -`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[gs]=!0)):s===0?i.write(`${a}content-length: 0\r +`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[Es]=!0)):s===0?i.write(`${a}content-length: 0\r \r -`,"latin1"):(Te(s===null,"no body must not have content length"),i.write(`${a}\r -`,"latin1")),n.onRequestSent(),r[bu]()}catch(l){t(l)}}o(cre,"writeBuffer");async function x4e(t,e,r,n,i,s,a,c){Te(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new Dh;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r +`,"latin1"):(Re(s===null,"no body must not have content length"),i.write(`${a}\r +`,"latin1")),n.onRequestSent(),r[Nu]()}catch(l){t(l)}}o(eie,"writeBuffer");async function GVe(t,e,r,n,i,s,a,c){Re(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new zh;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r \r -`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[gs]=!0),r[bu]()}catch(l){t(l)}}o(x4e,"writeBlob");async function lre(t,e,r,n,i,s,a,c){Te(s!==0||r[An]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let h=l;l=null,h()}}o(u,"onDrain");let d=o(()=>new Promise((h,p)=>{Te(l===null),i[qi]?p(i[qi]):l=h}),"waitForDrain");i.on("close",u).on("drain",u);let f=new tv({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let h of e){if(i[qi])throw i[qi];f.write(h)||await d()}f.end()}catch(h){f.destroy(h)}finally{i.off("close",u).off("drain",u)}}o(lre,"writeIterable");var tv=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Od]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[qi])throw r[qi];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(i!==null&&a+u>i){if(s[RF])throw new Dh;process.emitWarning(new Dh)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[gs]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r +`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[Es]=!0),r[Nu]()}catch(l){t(l)}}o(GVe,"writeBlob");async function tie(t,e,r,n,i,s,a,c){Re(s!==0||r[An]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let h=l;l=null,h()}}o(u,"onDrain");let f=o(()=>new Promise((h,p)=>{Re(l===null),i[Hi]?p(i[Hi]):l=h}),"waitForDrain");i.on("close",u).on("drain",u);let d=new Dx({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let h of e){if(i[Hi])throw i[Hi];d.write(h)||await f()}d.end()}catch(h){d.destroy(h)}finally{i.off("close",u).off("drain",u)}}o(tie,"writeIterable");var Dx=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[$f]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Hi])throw r[Hi];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(i!==null&&a+u>i){if(s[qM])throw new zh;process.emitWarning(new zh)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Es]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${i}\r \r `,"latin1")),i===null&&r.write(`\r ${u.toString(16)}\r -`,"latin1"),this.bytesWritten+=u;let d=r.write(e);return r.uncork(),n.onBodySent(e),d||r[rr].timeout&&r[rr].timeoutType===Nm&&r[rr].timeout.refresh&&r[rr].timeout.refresh(),d}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[Od]=!1,e[qi])throw e[qi];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r +`,"latin1"),this.bytesWritten+=u;let f=r.write(e);return r.uncork(),n.onBodySent(e),f||r[rr].timeout&&r[rr].timeoutType===jA&&r[rr].timeout.refresh&&r[rr].timeout.refresh(),f}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[$f]=!1,e[Hi])throw e[Hi];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r \r `,"latin1"):e.write(`${a}\r `,"latin1"):r===null&&e.write(`\r 0\r \r -`,"latin1"),r!==null&&i!==r){if(n[RF])throw new Dh;process.emitWarning(new Dh)}e[rr].timeout&&e[rr].timeoutType===Nm&&e[rr].timeout.refresh&&e[rr].timeout.refresh(),n[bu]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[Od]=!1,e&&(Te(n[An]<=1,"pipeline should only contain this request"),i(e))}};Are.exports=C4e});var Sre=A((szt,wre)=>{"use strict";var Oo=require("node:assert"),{pipeline:v4e}=require("node:stream"),At=at(),{RequestContentLengthMismatchError:OF,RequestAbortedError:gre,SocketError:pb,InformationalError:LF}=Rt(),{kUrl:rv,kReset:iv,kClient:_m,kRunning:sv,kPending:N4e,kQueue:Ld,kPendingIdx:FF,kRunningIdx:Fa,kError:Ua,kSocket:Gn,kStrictContentLength:_4e,kOnError:MF,kMaxConcurrentStreams:Ire,kHTTP2Session:Ma,kResume:Fd,kSize:T4e,kHTTPContext:R4e}=mr(),Iu=Symbol("open streams"),yre,Ere=!1,nv;try{nv=require("node:http2")}catch{nv={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:D4e,HTTP2_HEADER_METHOD:Q4e,HTTP2_HEADER_PATH:k4e,HTTP2_HEADER_SCHEME:P4e,HTTP2_HEADER_CONTENT_LENGTH:O4e,HTTP2_HEADER_EXPECT:L4e,HTTP2_HEADER_STATUS:F4e}}=nv;function M4e(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(M4e,"parseH2Headers");async function U4e(t,e){t[Gn]=e,Ere||(Ere=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=nv.connect(t[rv],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[Ire]});r[Iu]=0,r[_m]=t,r[Gn]=e,At.addListener(r,"error",G4e),At.addListener(r,"frameError",H4e),At.addListener(r,"end",V4e),At.addListener(r,"goaway",z4e),At.addListener(r,"close",function(){let{[_m]:i}=this,{[Gn]:s}=i,a=this[Gn][Ua]||this[Ua]||new pb("closed",At.getSocketInfo(s));if(i[Ma]=null,i.destroyed){Oo(i[N4e]===0);let c=i[Ld].splice(i[Fa]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return j4e(t,...i)},resume(){q4e(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(U4e,"connectH2");function q4e(t){let e=t[Gn];e?.destroyed===!1&&(t[T4e]===0&&t[Ire]===0?(e.unref(),t[Ma].unref()):(e.ref(),t[Ma].ref()))}o(q4e,"resumeH2");function G4e(t){Oo(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gn][Ua]=t,this[_m][MF](t)}o(G4e,"onHttp2SessionError");function H4e(t,e,r){if(r===0){let n=new LF(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gn][Ua]=n,this[_m][MF](n)}}o(H4e,"onHttp2FrameError");function V4e(){let t=new pb("other side closed",At.getSocketInfo(this[Gn]));this.destroy(t),At.destroy(this[Gn],t)}o(V4e,"onHttp2SessionEnd");function z4e(t){let e=this[Ua]||new pb(`HTTP/2: "GOAWAY" frame received with code ${t}`,At.getSocketInfo(this)),r=this[_m];if(r[Gn]=null,r[R4e]=null,this[Ma]!=null&&(this[Ma].destroy(e),this[Ma]=null),At.destroy(this[Gn],e),r[Fa]{e.aborted||e.completed||(B=B||new gre,At.errorRequest(t,e,B),h!=null&&At.destroy(h,B),At.destroy(d,B),t[Ld][t[Fa]++]=null,t[Fd]())},"abort");try{e.onConnect(m)}catch(B){At.errorRequest(t,e,B)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),h=r.request(f,{endStream:!1,signal:l}),h.id&&!h.pending?(e.onUpgrade(null,null,h),++r[Iu],t[Ld][t[Fa]++]=null):h.once("ready",()=>{e.onUpgrade(null,null,h),++r[Iu],t[Ld][t[Fa]++]=null}),h.once("close",()=>{r[Iu]-=1,r[Iu]===0&&r.unref()}),!0;f[k4e]=i,f[P4e]="https";let E=n==="PUT"||n==="POST"||n==="PATCH";d&&typeof d.read=="function"&&d.read(0);let y=At.bodyLength(d);if(At.isFormDataLike(d)){yre??=Bm().extractBody;let[B,Q]=yre(d);f["content-type"]=Q,d=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!E)&&(y=null),$4e(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[_4e])return At.errorRequest(t,e,new OF),!1;process.emitWarning(new OF)}y!=null&&(Oo(d,"no body must not have content length"),f[O4e]=`${y}`),r.ref();let C=n==="GET"||n==="HEAD"||d===null;return c?(f[L4e]="100-continue",h=r.request(f,{endStream:C,signal:l}),h.once("continue",I)):(h=r.request(f,{endStream:C,signal:l}),I()),++r[Iu],h.once("response",B=>{let{[F4e]:Q,...M}=B;if(e.onResponseStarted(),e.aborted){let v=new gre;At.errorRequest(t,e,v),At.destroy(h,v);return}e.onHeaders(Number(Q),M4e(M),h.resume.bind(h),"")===!1&&h.pause(),h.on("data",v=>{e.onData(v)===!1&&h.pause()})}),h.once("end",()=>{(h.state?.state==null||h.state.state<6)&&e.onComplete([]),r[Iu]===0&&r.unref(),m(new LF("HTTP/2: stream half-closed (remote)")),t[Ld][t[Fa]++]=null,t[FF]=t[Fa],t[Fd]()}),h.once("close",()=>{r[Iu]-=1,r[Iu]===0&&r.unref()}),h.once("error",function(B){m(B)}),h.once("frameError",(B,Q)=>{m(new LF(`HTTP/2: "frameError" received - type ${B}, code ${Q}`))}),!0;function I(){!d||y===0?Cre(m,h,null,t,e,t[Gn],y,E):At.isBuffer(d)?Cre(m,h,d,t,e,t[Gn],y,E):At.isBlobLike(d)?typeof d.stream=="function"?bre(m,h,d.stream(),t,e,t[Gn],y,E):J4e(m,h,d,t,e,t[Gn],y,E):At.isStream(d)?W4e(m,t[Gn],E,h,d,t,e,y):At.isIterable(d)?bre(m,h,d,t,e,t[Gn],y,E):Oo(!1)}o(I,"writeBodyH2")}o(j4e,"writeH2");function Cre(t,e,r,n,i,s,a,c){try{r!=null&&At.isBuffer(r)&&(Oo(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[iv]=!0),i.onRequestSent(),n[Fd]()}catch(l){t(l)}}o(Cre,"writeBuffer");function W4e(t,e,r,n,i,s,a,c){Oo(c!==0||s[sv]===0,"stream body cannot be pipelined");let l=v4e(i,n,d=>{d?(At.destroy(l,d),t(d)):(At.removeAllListeners(l),a.onRequestSent(),r||(e[iv]=!0),s[Fd]())});At.addListener(l,"data",u);function u(d){a.onBodySent(d)}o(u,"onPipeData")}o(W4e,"writeStream");async function J4e(t,e,r,n,i,s,a,c){Oo(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new OF;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[iv]=!0),n[Fd]()}catch(l){t(l)}}o(J4e,"writeBlob");async function bre(t,e,r,n,i,s,a,c){Oo(a!==0||n[sv]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let f=l;l=null,f()}}o(u,"onDrain");let d=o(()=>new Promise((f,h)=>{Oo(l===null),s[Ua]?h(s[Ua]):l=f}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let f of r){if(s[Ua])throw s[Ua];let h=e.write(f);i.onBodySent(f),h||await d()}e.end(),i.onRequestSent(),c||(s[iv]=!0),n[Fd]()}catch(f){t(f)}finally{e.off("close",u).off("drain",u)}}o(bre,"writeIterable");wre.exports=U4e});var av=A((azt,vre)=>{"use strict";var Rc=at(),{kBodyUsed:Ab}=mr(),qF=require("node:assert"),{InvalidArgumentError:Y4e}=Rt(),K4e=require("node:events"),X4e=[300,301,302,303,307,308],Bre=Symbol("body"),ov=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Bre]=e,this[Ab]=!1}async*[Symbol.asyncIterator](){qF(!this[Ab],"disturbed"),this[Ab]=!0,yield*this[Bre]}},UF=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new Y4e("maxRedirections must be a positive number");Rc.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,Rc.isStream(this.opts.body)?(Rc.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){qF(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Ab]=!1,K4e.prototype.on.call(this.opts.body,"data",function(){this[Ab]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new ov(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Rc.isIterable(this.opts.body)&&(this.opts.body=new ov(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||Rc.isDisturbed(this.opts.body)?null:Z4e(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,n,i);let{origin:s,pathname:a,search:c}=Rc.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=eVe(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,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 Z4e(t,e){if(X4e.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var tVe=av();function rVe({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new tVe(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(rVe,"createRedirectInterceptor");Nre.exports=rVe});var Dm=A((dzt,Fre)=>{"use strict";var wu=require("node:assert"),kre=require("node:net"),nVe=require("node:http"),Oh=at(),{channels:Tm}=fm(),iVe=Fee(),sVe=mm(),{InvalidArgumentError:Yr,InformationalError:oVe,ClientDestroyedError:aVe}=Rt(),cVe=rb(),{kUrl:Dc,kServerName:Md,kClient:lVe,kBusy:GF,kConnect:uVe,kResuming:Lh,kRunning:Cb,kPending:bb,kSize:Eb,kQueue:qa,kConnected:dVe,kConnecting:Rm,kNeedDrain:qd,kKeepAliveDefaultTimeout:_re,kHostHeader:fVe,kPendingIdx:Ga,kRunningIdx:Su,kError:hVe,kPipelining:lv,kKeepAliveTimeoutValue:pVe,kMaxHeadersSize:AVe,kKeepAliveMaxTimeout:mVe,kKeepAliveTimeoutThreshold:gVe,kHeadersTimeout:yVe,kBodyTimeout:EVe,kStrictContentLength:CVe,kConnector:mb,kMaxRedirections:bVe,kMaxRequests:HF,kCounter:IVe,kClose:wVe,kDestroy:SVe,kDispatch:BVe,kInterceptors:Tre,kLocalAddress:gb,kMaxResponseSize:xVe,kOnError:vVe,kHTTPContext:Kr,kMaxConcurrentStreams:NVe,kResume:yb}=mr(),_Ve=mre(),TVe=Sre(),Rre=!1,Ud=Symbol("kClosedResolve"),Dre=o(()=>{},"noop");function Pre(t){return t[lv]??t[Kr]?.defaultPipelining??1}o(Pre,"getPipelining");var VF=class extends sVe{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:d,keepAliveTimeout:f,maxKeepAliveTimeout:h,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:g,socketPath:m,pipelining:E,tls:y,strictContentLength:C,maxCachedSessions:I,maxRedirections:B,connect:Q,maxRequestsPerClient:M,localAddress:v,maxResponseSize:$,autoSelectFamily:D,autoSelectFamilyAttemptTimeout:H,maxConcurrentStreams:V,allowH2:J,webSocket:ee}={}){if(super({webSocket:ee}),d!==void 0)throw new Yr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Yr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Yr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new Yr("unsupported idleTimeout, use keepAliveTimeout instead");if(h!==void 0)throw new Yr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Yr("invalid maxHeaderSize");if(m!=null&&typeof m!="string")throw new Yr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Yr("invalid connectTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Yr("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new Yr("invalid keepAliveMaxTimeout");if(g!=null&&!Number.isFinite(g))throw new Yr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Yr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Yr("bodyTimeout must be a positive integer or zero");if(Q!=null&&typeof Q!="function"&&typeof Q!="object")throw new Yr("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new Yr("maxRedirections must be a positive number");if(M!=null&&(!Number.isInteger(M)||M<0))throw new Yr("maxRequestsPerClient must be a positive number");if(v!=null&&(typeof v!="string"||kre.isIP(v)===0))throw new Yr("localAddress must be valid string IP address");if($!=null&&(!Number.isInteger($)||$<-1))throw new Yr("maxResponseSize must be a positive number");if(H!=null&&(!Number.isInteger(H)||H<-1))throw new Yr("autoSelectFamilyAttemptTimeout must be a positive number");if(J!=null&&typeof J!="boolean")throw new Yr("allowH2 must be a valid boolean value");if(V!=null&&(typeof V!="number"||V<1))throw new Yr("maxConcurrentStreams must be a positive integer, greater than 0");typeof Q!="function"&&(Q=cVe({...y,maxCachedSessions:I,allowH2:J,socketPath:m,timeout:c,...D?{autoSelectFamily:D,autoSelectFamilyAttemptTimeout:H}:void 0,...Q})),r?.Client&&Array.isArray(r.Client)?(this[Tre]=r.Client,Rre||(Rre=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[Tre]=[RVe({maxRedirections:B})],this[Dc]=Oh.parseOrigin(e),this[mb]=Q,this[lv]=E??1,this[AVe]=n||nVe.maxHeaderSize,this[_re]=f??4e3,this[mVe]=p??6e5,this[gVe]=g??2e3,this[pVe]=this[_re],this[Md]=null,this[gb]=v??null,this[Lh]=0,this[qd]=0,this[fVe]=`host: ${this[Dc].hostname}${this[Dc].port?`:${this[Dc].port}`:""}\r -`,this[EVe]=l??3e5,this[yVe]=i??3e5,this[CVe]=C??!0,this[bVe]=B,this[HF]=M,this[Ud]=null,this[xVe]=$>-1?$:-1,this[NVe]=V??100,this[Kr]=null,this[qa]=[],this[Su]=0,this[Ga]=0,this[yb]=ae=>zF(this,ae),this[vVe]=ae=>Ore(this,ae)}get pipelining(){return this[lv]}set pipelining(e){this[lv]=e,this[yb](!0)}get[bb](){return this[qa].length-this[Ga]}get[Cb](){return this[Ga]-this[Su]}get[Eb](){return this[qa].length-this[Su]}get[dVe](){return!!this[Kr]&&!this[Rm]&&!this[Kr].destroyed}get[GF](){return!!(this[Kr]?.busy(null)||this[Eb]>=(Pre(this)||1)||this[bb]>0)}[uVe](e){Lre(this),this.once("connect",e)}[BVe](e,r){let n=e.origin||this[Dc].origin,i=new iVe(n,e,r);return this[qa].push(i),this[Lh]||(Oh.bodyLength(i.body)==null&&Oh.isIterable(i.body)?(this[Lh]=1,queueMicrotask(()=>zF(this))):this[yb](!0)),this[Lh]&&this[qd]!==2&&this[GF]&&(this[qd]=2),this[qd]<2}async[wVe](){return new Promise(e=>{this[Eb]?this[Ud]=e:e(null)})}async[SVe](e){return new Promise(r=>{let n=this[qa].splice(this[Ga]);for(let s=0;s{this[Ud]&&(this[Ud](),this[Ud]=null),r(null)},"callback");this[Kr]?(this[Kr].destroy(e,i),this[Kr]=null):queueMicrotask(i),this[yb]()})}},RVe=cv();function Ore(t,e){if(t[Cb]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){wu(t[Ga]===t[Su]);let r=t[qa].splice(t[Su]);for(let n=0;n{t[mb]({host:e,hostname:r,protocol:n,port:i,servername:t[Md],localAddress:t[gb]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Oh.destroy(s.on("error",Dre),new aVe);return}wu(s);try{t[Kr]=s.alpnProtocol==="h2"?await TVe(t,s):await _Ve(t,s)}catch(a){throw s.destroy().on("error",Dre),a}t[Rm]=!1,s[IVe]=0,s[HF]=t[HF],s[lVe]=t,s[hVe]=null,Tm.connected.hasSubscribers&&Tm.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Md],localAddress:t[gb]},connector:t[mb],socket:s}),t.emit("connect",t[Dc],[t])}catch(s){if(t.destroyed)return;if(t[Rm]=!1,Tm.connectError.hasSubscribers&&Tm.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Kr]?.version,servername:t[Md],localAddress:t[gb]},connector:t[mb],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(wu(t[Cb]===0);t[bb]>0&&t[qa][t[Ga]].servername===t[Md];){let a=t[qa][t[Ga]++];Oh.errorRequest(t,a,s)}else Ore(t,s);t.emit("connectionError",t[Dc],[t],s)}t[yb]()}o(Lre,"connect");function Qre(t){t[qd]=0,t.emit("drain",t[Dc],[t])}o(Qre,"emitDrain");function zF(t,e){t[Lh]!==2&&(t[Lh]=2,DVe(t,e),t[Lh]=0,t[Su]>256&&(t[qa].splice(0,t[Su]),t[Ga]-=t[Su],t[Su]=0))}o(zF,"resume");function DVe(t,e){for(;;){if(t.destroyed){wu(t[bb]===0);return}if(t[Ud]&&!t[Eb]){t[Ud](),t[Ud]=null;return}if(t[Kr]&&t[Kr].resume(),t[GF])t[qd]=2;else if(t[qd]===2){e?(t[qd]=1,queueMicrotask(()=>Qre(t))):Qre(t);continue}if(t[bb]===0||t[Cb]>=(Pre(t)||1))return;let r=t[qa][t[Ga]];if(t[Dc].protocol==="https:"&&t[Md]!==r.servername){if(t[Cb]>0)return;t[Md]=r.servername,t[Kr]?.destroy(new oVe("servername changed"),()=>{t[Kr]=null,zF(t)})}if(t[Rm])return;if(!t[Kr]){Lre(t);return}if(t[Kr].destroyed||t[Kr].busy(r))return;!r.aborted&&t[Kr].write(r)?t[Ga]++:t[qa].splice(t[Ga],1)}}o(DVe,"_resume");Fre.exports=VF});var $F=A((pzt,Mre)=>{"use strict";var uv=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)}};Mre.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new uv}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new uv),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var qre=A((mzt,Ure)=>{var{kFree:QVe,kConnected:kVe,kPending:PVe,kQueued:OVe,kRunning:LVe,kSize:FVe}=mr(),Fh=Symbol("pool"),jF=class{static{o(this,"PoolStats")}constructor(e){this[Fh]=e}get connected(){return this[Fh][kVe]}get free(){return this[Fh][QVe]}get pending(){return this[Fh][PVe]}get queued(){return this[Fh][OVe]}get running(){return this[Fh][LVe]}get size(){return this[Fh][FVe]}};Ure.exports=jF});var ZF=A((yzt,Kre)=>{"use strict";var MVe=mm(),UVe=$F(),{kConnected:WF,kSize:Gre,kRunning:Hre,kPending:Vre,kQueued:Ib,kBusy:qVe,kFree:GVe,kUrl:HVe,kClose:VVe,kDestroy:zVe,kDispatch:$Ve}=mr(),jVe=qre(),ys=Symbol("clients"),Gi=Symbol("needDrain"),wb=Symbol("queue"),JF=Symbol("closed resolve"),YF=Symbol("onDrain"),zre=Symbol("onConnect"),$re=Symbol("onDisconnect"),jre=Symbol("onConnectionError"),KF=Symbol("get dispatcher"),Jre=Symbol("add client"),Yre=Symbol("remove client"),Wre=Symbol("stats"),XF=class extends MVe{static{o(this,"PoolBase")}constructor(e){super(e),this[wb]=new UVe,this[ys]=[],this[Ib]=0;let r=this;this[YF]=o(function(i,s){let a=r[wb],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[Ib]--,c=!this.dispatch(l.opts,l.handler)}this[Gi]=c,!this[Gi]&&r[Gi]&&(r[Gi]=!1,r.emit("drain",i,[r,...s])),r[JF]&&a.isEmpty()&&Promise.all(r[ys].map(l=>l.close())).then(r[JF])},"onDrain"),this[zre]=(n,i)=>{r.emit("connect",n,[r,...i])},this[$re]=(n,i,s)=>{r.emit("disconnect",n,[r,...i],s)},this[jre]=(n,i,s)=>{r.emit("connectionError",n,[r,...i],s)},this[Wre]=new jVe(this)}get[qVe](){return this[Gi]}get[WF](){return this[ys].filter(e=>e[WF]).length}get[GVe](){return this[ys].filter(e=>e[WF]&&!e[Gi]).length}get[Vre](){let e=this[Ib];for(let{[Vre]:r}of this[ys])e+=r;return e}get[Hre](){let e=0;for(let{[Hre]:r}of this[ys])e+=r;return e}get[Gre](){let e=this[Ib];for(let{[Gre]:r}of this[ys])e+=r;return e}get stats(){return this[Wre]}async[VVe](){this[wb].isEmpty()?await Promise.all(this[ys].map(e=>e.close())):await new Promise(e=>{this[JF]=e})}async[zVe](e){for(;;){let r=this[wb].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ys].map(r=>r.destroy(e)))}[$Ve](e,r){let n=this[KF]();return n?n.dispatch(e,r)||(n[Gi]=!0,this[Gi]=!this[KF]()):(this[Gi]=!0,this[wb].push({opts:e,handler:r}),this[Ib]++),!this[Gi]}[Jre](e){return e.on("drain",this[YF]).on("connect",this[zre]).on("disconnect",this[$re]).on("connectionError",this[jre]),this[ys].push(e),this[Gi]&&queueMicrotask(()=>{this[Gi]&&this[YF](e[HVe],[this,e])}),this}[Yre](e){e.close(()=>{let r=this[ys].indexOf(e);r!==-1&&this[ys].splice(r,1)}),this[Gi]=this[ys].some(r=>!r[Gi]&&r.closed!==!0&&r.destroyed!==!0)}};Kre.exports={PoolBase:XF,kClients:ys,kNeedDrain:Gi,kAddClient:Jre,kRemoveClient:Yre,kGetDispatcher:KF}});var Qm=A((Czt,tne)=>{"use strict";var{PoolBase:WVe,kClients:dv,kNeedDrain:JVe,kAddClient:YVe,kGetDispatcher:KVe}=ZF(),XVe=Dm(),{InvalidArgumentError:eM}=Rt(),Xre=at(),{kUrl:Zre,kInterceptors:ZVe}=mr(),e5e=rb(),tM=Symbol("options"),rM=Symbol("connections"),ene=Symbol("factory");function t5e(t,e){return new XVe(t,e)}o(t5e,"defaultFactory");var nM=class extends WVe{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=t5e,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:d,allowH2:f,...h}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new eM("invalid connections");if(typeof n!="function")throw new eM("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new eM("connect must be a function or an object");typeof i!="function"&&(i=e5e({...a,maxCachedSessions:c,allowH2:f,socketPath:l,timeout:s,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:d}:void 0,...i})),super(h),this[ZVe]=h.interceptors?.Pool&&Array.isArray(h.interceptors.Pool)?h.interceptors.Pool:[],this[rM]=r||null,this[Zre]=Xre.parseOrigin(e),this[tM]={...Xre.deepClone(h),connect:i,allowH2:f},this[tM].interceptors=h.interceptors?{...h.interceptors}:void 0,this[ene]=n,this.on("connectionError",(p,g,m)=>{for(let E of g){let y=this[dv].indexOf(E);y!==-1&&this[dv].splice(y,1)}})}[KVe](){for(let e of this[dv])if(!e[JVe])return e;if(!this[rM]||this[dv].length{"use strict";var{BalancedPoolMissingUpstreamError:r5e,InvalidArgumentError:n5e}=Rt(),{PoolBase:i5e,kClients:wi,kNeedDrain:Sb,kAddClient:s5e,kRemoveClient:o5e,kGetDispatcher:a5e}=ZF(),c5e=Qm(),{kUrl:iM,kInterceptors:l5e}=mr(),{parseOrigin:rne}=at(),nne=Symbol("factory"),fv=Symbol("options"),ine=Symbol("kGreatestCommonDivisor"),Mh=Symbol("kCurrentWeight"),Uh=Symbol("kIndex"),Lo=Symbol("kWeight"),hv=Symbol("kMaxWeightPerServer"),pv=Symbol("kErrorPenalty");function u5e(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(u5e,"getGreatestCommonDivisor");function d5e(t,e){return new c5e(t,e)}o(d5e,"defaultFactory");var sM=class extends i5e{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=d5e,...n}={}){if(super(),this[fv]=n,this[Uh]=-1,this[Mh]=0,this[hv]=this[fv].maxWeightPerServer||100,this[pv]=this[fv].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new n5e("factory must be a function.");this[l5e]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[nne]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=rne(e).origin;if(this[wi].find(i=>i[iM].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[nne](r,Object.assign({},this[fv]));this[s5e](n),n.on("connect",()=>{n[Lo]=Math.min(this[hv],n[Lo]+this[pv])}),n.on("connectionError",()=>{n[Lo]=Math.max(1,n[Lo]-this[pv]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[Lo]=Math.max(1,n[Lo]-this[pv]),this._updateBalancedPoolStats())});for(let i of this[wi])i[Lo]=this[hv];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[iM].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[o5e](n),this}get upstreams(){return this[wi].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[iM].origin)}[a5e](){if(this[wi].length===0)throw new r5e;if(!this[wi].find(s=>!s[Sb]&&s.closed!==!0&&s.destroyed!==!0)||this[wi].map(s=>s[Sb]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[wi].findIndex(s=>!s[Sb]);for(;n++this[wi][i][Lo]&&!s[Sb]&&(i=this[Uh]),this[Uh]===0&&(this[Mh]=this[Mh]-this[ine],this[Mh]<=0&&(this[Mh]=this[hv])),s[Lo]>=this[Mh]&&!s[Sb])return s}return this[Mh]=this[wi][i][Lo],this[Uh]=i,this[wi][i]}};sne.exports=sM});var km=A((Szt,hne)=>{"use strict";var{InvalidArgumentError:Av}=Rt(),{kClients:Gd,kRunning:ane,kClose:f5e,kDestroy:h5e,kDispatch:p5e,kInterceptors:A5e}=mr(),m5e=mm(),g5e=Qm(),y5e=Dm(),E5e=at(),C5e=cv(),cne=Symbol("onConnect"),lne=Symbol("onDisconnect"),une=Symbol("onConnectionError"),b5e=Symbol("maxRedirections"),dne=Symbol("onDrain"),fne=Symbol("factory"),oM=Symbol("options");function I5e(t,e){return e&&e.connections===1?new y5e(t,e):new g5e(t,e)}o(I5e,"defaultFactory");var aM=class extends m5e{static{o(this,"Agent")}constructor({factory:e=I5e,maxRedirections:r=0,connect:n,...i}={}){if(typeof e!="function")throw new Av("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Av("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Av("maxRedirections must be a positive number");super(i),n&&typeof n!="function"&&(n={...n}),this[A5e]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[C5e({maxRedirections:r})],this[oM]={...E5e.deepClone(i),connect:n},this[oM].interceptors=i.interceptors?{...i.interceptors}:void 0,this[b5e]=r,this[fne]=e,this[Gd]=new Map,this[dne]=(s,a)=>{this.emit("drain",s,[this,...a])},this[cne]=(s,a)=>{this.emit("connect",s,[this,...a])},this[lne]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[une]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[ane](){let e=0;for(let r of this[Gd].values())e+=r[ane];return e}[p5e](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Av("opts.origin must be a non-empty string or URL.");let i=this[Gd].get(n);return i||(i=this[fne](e.origin,this[oM]).on("drain",this[dne]).on("connect",this[cne]).on("disconnect",this[lne]).on("connectionError",this[une]),this[Gd].set(n,i)),i.dispatch(e,r)}async[f5e](){let e=[];for(let r of this[Gd].values())e.push(r.close());this[Gd].clear(),await Promise.all(e)}async[h5e](e){let r=[];for(let n of this[Gd].values())r.push(n.destroy(e));this[Gd].clear(),await Promise.all(r)}};hne.exports=aM});var fM=A((xzt,Sne)=>{"use strict";var{kProxy:cM,kClose:Ene,kDestroy:Cne,kDispatch:pne,kInterceptors:w5e}=mr(),{URL:qh}=require("node:url"),S5e=km(),bne=Qm(),Ine=mm(),{InvalidArgumentError:Pm,RequestAbortedError:B5e,SecureProxyConnectionError:x5e}=Rt(),Ane=rb(),wne=Dm(),mv=Symbol("proxy agent"),gv=Symbol("proxy client"),Hd=Symbol("proxy headers"),lM=Symbol("request tls settings"),mne=Symbol("proxy tls settings"),gne=Symbol("connect endpoint function"),yne=Symbol("tunnel proxy");function v5e(t){return t==="https:"?443:80}o(v5e,"defaultProtocolPort");function N5e(t,e){return new bne(t,e)}o(N5e,"defaultFactory");var _5e=o(()=>{},"noop");function T5e(t,e){return e.connections===1?new wne(t,e):new bne(t,e)}o(T5e,"defaultAgentFactory");var uM=class extends Ine{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Pm("Proxy URL is mandatory");this[Hd]=r,i?this.#e=i(e,{connect:n}):this.#e=new wne(e,{connect:n})}[pne](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new Pm("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,u)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new qh(i);a.host=c}return e.headers={...this[Hd],...a},this.#e[pne](e,r)}async[Ene](){return this.#e.close()}async[Cne](e){return this.#e.destroy(e)}},dM=class extends Ine{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof qh)&&!e.uri)throw new Pm("Proxy uri is mandatory");let{clientFactory:r=N5e}=e;if(typeof r!="function")throw new Pm("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:u,password:d,hostname:f}=i;if(this[cM]={uri:s,protocol:l},this[w5e]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[lM]=e.requestTls,this[mne]=e.proxyTls,this[Hd]=e.headers||{},this[yne]=n,e.auth&&e.token)throw new Pm("opts.auth cannot be used in combination with opts.token");e.auth?this[Hd]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Hd]["proxy-authorization"]=e.token:u&&d&&(this[Hd]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(d)}`).toString("base64")}`);let h=Ane({...e.proxyTls});this[gne]=Ane({...e.requestTls});let p=e.factory||T5e,g=o((m,E)=>{let{protocol:y}=new qh(m);return!this[yne]&&y==="http:"&&this[cM].protocol==="http:"?new uM(this[cM].uri,{headers:this[Hd],connect:h,factory:p}):p(m,E)},"factory");this[gv]=r(i,{connect:h}),this[mv]=new S5e({...e,factory:g,connect:o(async(m,E)=>{let y=m.host;m.port||(y+=`:${v5e(m.protocol)}`);try{let{socket:C,statusCode:I}=await this[gv].connect({origin:a,port:c,path:y,signal:m.signal,headers:{...this[Hd],host:m.host},servername:this[mne]?.servername||f});if(I!==200&&(C.on("error",_5e).destroy(),E(new B5e(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),m.protocol!=="https:"){E(null,C);return}let B;this[lM]?B=this[lM].servername:B=m.servername,this[gne]({...m,servername:B,httpSocket:C},E)}catch(C){C.code==="ERR_TLS_CERT_ALTNAME_INVALID"?E(new x5e(C)):E(C)}},"connect")})}dispatch(e,r){let n=R5e(e.headers);if(D5e(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new qh(e.origin);n.host=i}return this[mv].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new qh(e):e instanceof qh?e:new qh(e.uri)}async[Ene](){await this[mv].close(),await this[gv].close()}async[Cne](){await this[mv].destroy(),await this[gv].destroy()}};function R5e(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Pm("Proxy-Authorization should be sent in ProxyAgent constructor")}o(D5e,"throwIfProxyAuthIsSent");Sne.exports=dM});var Tne=A((Nzt,_ne)=>{"use strict";var Q5e=mm(),{kClose:k5e,kDestroy:P5e,kClosed:Bne,kDestroyed:xne,kDispatch:O5e,kNoProxyAgent:Bb,kHttpProxyAgent:Vd,kHttpsProxyAgent:Gh}=mr(),vne=fM(),L5e=km(),F5e={"http:":80,"https:":443},Nne=!1,hM=class extends Q5e{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,Nne||(Nne=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[Bb]=new L5e(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Vd]=new vne({...s,uri:a}):this[Vd]=this[Bb];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Gh]=new vne({...s,uri:c}):this[Gh]=this[Vd],this.#s()}[O5e](e,r){let n=new URL(e.origin);return this.#r(n).dispatch(e,r)}async[k5e](){await this[Bb].close(),this[Vd][Bne]||await this[Vd].close(),this[Gh][Bne]||await this[Gh].close()}async[P5e](e){await this[Bb].destroy(e),this[Vd][xne]||await this[Vd].destroy(e),this[Gh][xne]||await this[Gh].destroy(e)}#r(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||F5e[r]||0,this.#i(n,i)?r==="https:"?this[Gh]:this[Vd]:this[Bb]}#i(e,r){if(this.#l&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var Om=require("node:assert"),{kRetryHandlerDefaultRetry:Rne}=mr(),{RequestRetryError:Lm}=Rt(),{isDisturbed:Dne,parseHeaders:M5e,parseRangeHeader:Qne,wrapRequestBody:U5e}=at();function q5e(t){let e=Date.now();return new Date(t).getTime()-e}o(q5e,"calculateRetryAfterHeader");function kne(t,e,r,n){let i=t["content-length"];if(i==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let s=Number(i),a=e.end-e.start+1;return!Number.isFinite(s)||s!==a?new Lm("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(kne,"validatePartialResponseContentLength");var pM=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:d,errorCodes:f,retryAfter:h,statusCodes:p}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:U5e(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[Rne],retryAfter:h??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:d??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:f??["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.handler.onConnect(g=>{this.aborted=!0,this.abort?this.abort(g):this.reason=g})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[Rne](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:u}=n,{maxRetries:d,minTimeout:f,maxTimeout:h,timeoutFactor:p,statusCodes:g,errorCodes:m,methods:E}=u,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!m.includes(a)){i(e);return}if(Array.isArray(E)&&!E.includes(l)){i(e);return}if(s!=null&&Array.isArray(g)&&!g.includes(s)){i(e);return}if(y>d){i(e);return}let C=c?.["retry-after"];C&&(C=Number(C),C=Number.isNaN(C)?q5e(C):C*1e3);let I=C>0?Math.min(C,h):Math.min(f*p**(y-1),h);setTimeout(()=>i(null),I)}onHeaders(e,r,n,i){let s=M5e(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new Lm("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Lm("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=Qne(s["content-range"]);if(!c)return this.abort(new Lm("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Lm("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let l=kne(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;return Om(this.start===u,"content-range mismatch"),Om(this.end==null||this.end===f,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=Qne(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let l=kne(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;Om(u!=null&&Number.isFinite(u),"content-range mismatch"),Om(f!=null&&Number.isFinite(f),"invalid content-length"),this.start=u,this.end=f}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return Om(Number.isFinite(this.start)),Om(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new Lm("Request failed",e,{headers:s,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||Dne(this.opts.body))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(n){if(n!=null||this.aborted||Dne(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};Pne.exports=pM});var Lne=A((Dzt,One)=>{"use strict";var G5e=eb(),H5e=yv(),AM=class extends G5e{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new H5e({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};One.exports=AM});var bM=A((kzt,$ne)=>{"use strict";var Gne=require("node:assert"),{Readable:V5e}=require("node:stream"),{RequestAbortedError:Hne,NotSupportedError:z5e,InvalidArgumentError:$5e,AbortError:mM}=Rt(),Vne=at(),{ReadableStreamFrom:j5e}=at(),Ws=Symbol("kConsume"),xb=Symbol("kReading"),zd=Symbol("kBody"),Fne=Symbol("kAbort"),zne=Symbol("kContentType"),Mne=Symbol("kContentLength"),W5e=o(()=>{},"noop"),gM=class extends V5e{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[Fne]=r,this[Ws]=null,this[zd]=null,this[zne]=n,this[Mne]=i,this[xb]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new Hne),e&&this[Fne](),super.destroy(e)}_destroy(e,r){this[xb]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[xb]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[xb]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Ws]&&e!==null?(EM(this[Ws],e),this[xb]?super.push(e):!0):super.push(e)}async text(){return vb(this,"text")}async json(){return vb(this,"json")}async blob(){return vb(this,"blob")}async bytes(){return vb(this,"bytes")}async arrayBuffer(){return vb(this,"arrayBuffer")}async formData(){throw new z5e}get bodyUsed(){return Vne.isDisturbed(this)}get body(){return this[zd]||(this[zd]=j5e(this),this[Ws]&&(this[zd].getReader(),Gne(this[zd].locked))),this[zd]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new $5e("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[Mne]>r&&this.destroy(new mM);let a=o(()=>{this.destroy(n.reason??new mM)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new mM):i(null)}).on("error",W5e).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function J5e(t){return t[zd]&&t[zd].locked===!0||t[Ws]}o(J5e,"isLocked");function Y5e(t){return Vne.isDisturbed(t)||J5e(t)}o(Y5e,"isUnusable");async function vb(t,e){return Gne(!t[Ws]),new Promise((r,n)=>{if(Y5e(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Ws]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){CM(this[Ws],i)}).on("close",function(){this[Ws].body!==null&&CM(this[Ws],new Hne)}),K5e(t[Ws])})})}o(vb,"consume");function K5e(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(yM,"chunksDecode");function Une(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),n=0;for(let i=0;i{var X5e=require("node:assert"),{ResponseStatusCodeError:jne}=Rt(),{chunksDecode:Wne}=bM(),Z5e=128*1024;async function eze({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){X5e(e);let a=[],c=0;try{for await(let f of e)if(a.push(f),c+=f.length,c>Z5e){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new jne(l,n,s)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let d;try{Jne(r)?d=JSON.parse(Wne(a,c)):Yne(r)&&(d=Wne(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new jne(l,n,s,d)))}o(eze,"getResolveErrorBodyCallback");var Jne=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"),Yne=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");Kne.exports={getResolveErrorBodyCallback:eze,isContentTypeApplicationJson:Jne,isContentTypeText:Yne}});var eie=A((Fzt,wM)=>{"use strict";var tze=require("node:assert"),{Readable:rze}=bM(),{InvalidArgumentError:Fm,RequestAbortedError:Xne}=Rt(),Js=at(),{getResolveErrorBodyCallback:nze}=IM(),{AsyncResource:ize}=require("node:async_hooks"),Ev=class extends ize{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Fm("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:d}=e;try{if(typeof r!="function")throw new Fm("invalid callback");if(d&&(typeof d!="number"||d<0))throw new Fm("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Fm("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Fm("invalid method");if(c&&typeof c!="function")throw new Fm("invalid onInfo callback");super("UNDICI_REQUEST")}catch(f){throw Js.isStream(a)&&Js.destroy(a.on("error",Js.nop),f),f}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=d,this.signal=n,this.reason=null,this.removeAbortListener=null,Js.isStream(a)&&a.on("error",f=>{this.onError(f)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new Xne:this.removeAbortListener=Js.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new Xne,this.res?Js.destroy(this.res.on("error",Js.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}tze(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:d}=this,f=u==="raw"?Js.parseRawHeaders(r):Js.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:f});return}let h=u==="raw"?Js.parseHeaders(r):f,p=h["content-type"],g=h["content-length"],m=new rze({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&g?Number(g):null,highWaterMark:d});this.removeAbortListener&&m.on("close",this.removeAbortListener),this.callback=null,this.res=m,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(nze,null,{callback:s,body:m,contentType:p,statusCode:e,statusMessage:i,headers:f}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:f,trailers:this.trailers,opaque:a,body:m,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Js.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Js.destroy(r,e)})),i&&(this.body=null,Js.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function Zne(t,e){if(e===void 0)return new Promise((r,n)=>{Zne.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new Ev(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Zne,"request");wM.exports=Zne;wM.exports.RequestHandler=Ev});var Nb=A((Uzt,nie)=>{var{addAbortListener:sze}=at(),{RequestAbortedError:oze}=Rt(),Mm=Symbol("kListener"),Qc=Symbol("kSignal");function tie(t){t.abort?t.abort(t[Qc]?.reason):t.reason=t[Qc]?.reason??new oze,rie(t)}o(tie,"abort");function aze(t,e){if(t.reason=null,t[Qc]=null,t[Mm]=null,!!e){if(e.aborted){tie(t);return}t[Qc]=e,t[Mm]=()=>{tie(t)},sze(t[Qc],t[Mm])}}o(aze,"addSignal");function rie(t){t[Qc]&&("removeEventListener"in t[Qc]?t[Qc].removeEventListener("abort",t[Mm]):t[Qc].removeListener("abort",t[Mm]),t[Qc]=null,t[Mm]=null)}o(rie,"removeSignal");nie.exports={addSignal:aze,removeSignal:rie}});var aie=A((Gzt,oie)=>{"use strict";var cze=require("node:assert"),{finished:lze,PassThrough:uze}=require("node:stream"),{InvalidArgumentError:Um,InvalidReturnValueError:dze}=Rt(),Ha=at(),{getResolveErrorBodyCallback:fze}=IM(),{AsyncResource:hze}=require("node:async_hooks"),{addSignal:pze,removeSignal:iie}=Nb(),SM=class extends hze{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Um("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:d}=e;try{if(typeof n!="function")throw new Um("invalid callback");if(typeof r!="function")throw new Um("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Um("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Um("invalid method");if(l&&typeof l!="function")throw new Um("invalid onInfo callback");super("UNDICI_STREAM")}catch(f){throw Ha.isStream(c)&&Ha.destroy(c.on("error",Ha.nop),f),f}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=d||!1,Ha.isStream(c)&&c.on("error",f=>{this.onError(f)}),pze(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}cze(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:u}=this,d=u==="raw"?Ha.parseRawHeaders(r):Ha.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}this.factory=null;let f;if(this.throwOnError&&e>=400){let g=(u==="raw"?Ha.parseHeaders(r):d)["content-type"];f=new uze,this.callback=null,this.runInAsyncScope(fze,null,{callback:l,body:f,contentType:g,statusCode:e,statusMessage:i,headers:d})}else{if(s===null)return;if(f=this.runInAsyncScope(s,null,{statusCode:e,headers:d,opaque:a,context:c}),!f||typeof f.write!="function"||typeof f.end!="function"||typeof f.on!="function")throw new dze("expected Writable");lze(f,{readable:!1},p=>{let{callback:g,res:m,opaque:E,trailers:y,abort:C}=this;this.res=null,(p||!m.readable)&&Ha.destroy(m,p),this.callback=null,this.runInAsyncScope(g,null,p||null,{opaque:E,trailers:y}),p&&C()})}return f.on("drain",n),this.res=f,(f.writableNeedDrain!==void 0?f.writableNeedDrain:f._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;iie(this),r&&(this.trailers=Ha.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;iie(this),this.factory=null,r?(this.res=null,Ha.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Ha.destroy(s,e))}};function sie(t,e,r){if(r===void 0)return new Promise((n,i)=>{sie.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new SM(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(sie,"stream");oie.exports=sie});var die=A((Vzt,uie)=>{"use strict";var{Readable:lie,Duplex:Aze,PassThrough:mze}=require("node:stream"),{InvalidArgumentError:_b,InvalidReturnValueError:gze,RequestAbortedError:BM}=Rt(),Fo=at(),{AsyncResource:yze}=require("node:async_hooks"),{addSignal:Eze,removeSignal:Cze}=Nb(),cie=require("node:assert"),qm=Symbol("resume"),xM=class extends lie{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[qm]=null}_read(){let{[qm]:e}=this;e&&(this[qm]=null,e())}_destroy(e,r){this._read(),r(e)}},vM=class extends lie{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[qm]=e}_read(){this[qm]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new BM),r(e)}},NM=class extends yze{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new _b("invalid opts");if(typeof r!="function")throw new _b("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new _b("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new _b("invalid method");if(a&&typeof a!="function")throw new _b("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new xM().on("error",Fo.nop),this.ret=new Aze({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,d)=>{let{req:f}=this;f.push(l,u)||f._readableState.destroyed?d():f[qm]=d},"write"),destroy:o((l,u)=>{let{body:d,req:f,res:h,ret:p,abort:g}=this;!l&&!p._readableState.endEmitted&&(l=new BM),g&&l&&g(),Fo.destroy(d,l),Fo.destroy(f,l),Fo.destroy(h,l),Cze(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Eze(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}cie(!i,"pipeline cannot be retried"),cie(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?Fo.parseRawHeaders(r):Fo.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new vM(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Fo.parseRawHeaders(r):Fo.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",Fo.nop),l}if(!c||typeof c.on!="function")throw new gze("expected Readable");c.on("data",l=>{let{ret:u,body:d}=this;!u.push(l)&&d.pause&&d.pause()}).on("error",l=>{let{ret:u}=this;Fo.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Fo.destroy(l,new BM)}),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,Fo.destroy(r,e)}};function bze(t,e){try{let r=new NM(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new mze().destroy(r)}}o(bze,"pipeline");uie.exports=bze});var gie=A(($zt,mie)=>{"use strict";var{InvalidArgumentError:_M,SocketError:Ize}=Rt(),{AsyncResource:wze}=require("node:async_hooks"),fie=at(),{addSignal:Sze,removeSignal:hie}=Nb(),pie=require("node:assert"),TM=class extends wze{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new _M("invalid opts");if(typeof r!="function")throw new _M("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new _M("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,Sze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}pie(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Ize("bad upgrade",null)}onUpgrade(e,r,n){pie(e===101);let{callback:i,opaque:s,context:a}=this;hie(this),this.callback=null;let c=this.responseHeaders==="raw"?fie.parseRawHeaders(r):fie.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;hie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function Aie(t,e){if(e===void 0)return new Promise((r,n)=>{Aie.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new TM(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Aie,"upgrade");mie.exports=Aie});var Iie=A((Wzt,bie)=>{"use strict";var Bze=require("node:assert"),{AsyncResource:xze}=require("node:async_hooks"),{InvalidArgumentError:RM,SocketError:vze}=Rt(),yie=at(),{addSignal:Nze,removeSignal:Eie}=Nb(),DM=class extends xze{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new RM("invalid opts");if(typeof r!="function")throw new RM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new RM("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Nze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Bze(this.callback),this.abort=e,this.context=r}onHeaders(){throw new vze("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;Eie(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?yie.parseRawHeaders(r):yie.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;Eie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function Cie(t,e){if(e===void 0)return new Promise((r,n)=>{Cie.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new DM(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Cie,"connect");bie.exports=Cie});var wie=A((Yzt,Gm)=>{"use strict";Gm.exports.request=eie();Gm.exports.stream=aie();Gm.exports.pipeline=die();Gm.exports.upgrade=gie();Gm.exports.connect=Iie()});var kM=A((Kzt,Bie)=>{"use strict";var{UndiciError:_ze}=Rt(),Sie=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),QM=class t extends _ze{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[Sie]===!0}[Sie]=!0};Bie.exports={MockNotMatchedError:QM}});var Hm=A((Zzt,xie)=>{"use strict";xie.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 Tb=A((e$t,Lie)=>{"use strict";var{MockNotMatchedError:Hh}=kM(),{kDispatches:Cv,kMockAgent:Tze,kOriginalDispatch:Rze,kOrigin:Dze,kGetNetConnect:Qze}=Hm(),{buildURL:kze}=at(),{STATUS_CODES:Pze}=require("node:http"),{types:{isPromise:Oze}}=require("node:util");function Bu(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Bu,"matchValue");function Nie(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(Nie,"lowerCaseEntries");function _ie(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,n]of Object.entries(t.headers)){let i=_ie(e,r);if(!Bu(n,i))return!1}return!0}o(Tie,"matchHeaders");function vie(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(vie,"safeUrl");function Lze(t,{path:e,method:r,body:n,headers:i}){let s=Bu(t.path,e),a=Bu(t.method,r),c=typeof t.body<"u"?Bu(t.body,n):!0,l=Tie(t,i);return s&&a&&c&&l}o(Lze,"matchKey");function Rie(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(Rie,"getResponseData");function Die(t,e){let r=e.query?kze(e.path,e.query):e.path,n=typeof r=="string"?vie(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Bu(vie(s),n));if(i.length===0)throw new Hh(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Bu(s,e.method)),i.length===0)throw new Hh(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Bu(s,e.body):!0),i.length===0)throw new Hh(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>Tie(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Hh(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(Die,"getMockDispatch");function Fze(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(Fze,"addMockDispatch");function PM(t,e){let r=t.findIndex(n=>n.consumed?Lze(n,e):!1);r!==-1&&t.splice(r,1)}o(PM,"deleteMockDispatch");function Qie(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(Qie,"buildKey");function OM(t){let e=Object.keys(t),r=[];for(let n=0;n=h,n.pending=f0?setTimeout(()=>{p(this[Cv])},u):p(this[Cv]);function p(m,E=s){let y=Array.isArray(t.headers)?LM(t.headers):t.headers,C=typeof E=="function"?E({...t,headers:y}):E;if(Oze(C)){C.then(M=>p(m,M));return}let I=Rie(C),B=OM(a),Q=OM(c);e.onConnect?.(M=>e.onError(M),null),e.onHeaders?.(i,B,g,kie(i)),e.onData?.(Buffer.from(I)),e.onComplete?.(Q),PM(m,r)}o(p,"handleReply");function g(){}return o(g,"resume"),!0}o(Pie,"mockDispatch");function Uze(){let t=this[Tze],e=this[Dze],r=this[Rze];return o(function(i,s){if(t.isMockActive)try{Pie.call(this,i,s)}catch(a){if(a instanceof Hh){let c=t[Qze]();if(c===!1)throw new Hh(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(Oie(c,e))r.call(this,i,s);else throw new Hh(`${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,i,s)},"dispatch")}o(Uze,"buildMockDispatch");function Oie(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Bu(n,r.host)))}o(Oie,"checkNetConnect");function qze(t){if(t){let{agent:e,...r}=t;return r}}o(qze,"buildMockOptions");Lie.exports={getResponseData:Rie,getMockDispatch:Die,addMockDispatch:Fze,deleteMockDispatch:PM,buildKey:Qie,generateKeyValues:OM,matchValue:Bu,getResponse:Mze,getStatusText:kie,mockDispatch:Pie,buildMockDispatch:Uze,checkNetConnect:Oie,buildMockOptions:qze,getHeaderByName:_ie,buildHeadersFromArray:LM}});var VM=A((r$t,HM)=>{"use strict";var{getResponseData:Gze,buildKey:Hze,addMockDispatch:FM}=Tb(),{kDispatches:bv,kDispatchKey:Iv,kDefaultHeaders:MM,kDefaultTrailers:UM,kContentLength:qM,kMockDispatch:wv}=Hm(),{InvalidArgumentError:kc}=Rt(),{buildURL:Vze}=at(),Vm=class{static{o(this,"MockScope")}constructor(e){this[wv]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new kc("waitInMs must be a valid integer > 0");return this[wv].delay=e,this}persist(){return this[wv].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new kc("repeatTimes must be a valid integer > 0");return this[wv].times=e,this}},GM=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new kc("opts must be an object");if(typeof e.path>"u")throw new kc("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Vze(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Iv]=Hze(e),this[bv]=r,this[MM]={},this[UM]={},this[qM]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=Gze(r),s=this[qM]?{"content-length":i.length}:{},a={...this[MM],...s,...n.headers},c={...this[UM],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new kc("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new kc("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new kc("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=FM(this[bv],this[Iv],s);return new Vm(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=FM(this[bv],this[Iv],n);return new Vm(i)}replyWithError(e){if(typeof e>"u")throw new kc("error must be defined");let r=FM(this[bv],this[Iv],{error:e});return new Vm(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new kc("headers must be defined");return this[MM]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new kc("trailers must be defined");return this[UM]=e,this}replyContentLength(){return this[qM]=!0,this}};HM.exports.MockInterceptor=GM;HM.exports.MockScope=Vm});var jM=A((i$t,Vie)=>{"use strict";var{promisify:zze}=require("node:util"),$ze=Dm(),{buildMockDispatch:jze}=Tb(),{kDispatches:Fie,kMockAgent:Mie,kClose:Uie,kOriginalClose:qie,kOrigin:Gie,kOriginalDispatch:Wze,kConnected:zM}=Hm(),{MockInterceptor:Jze}=VM(),Hie=mr(),{InvalidArgumentError:Yze}=Rt(),$M=class extends $ze{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Yze("Argument opts.agent must implement Agent");this[Mie]=r.agent,this[Gie]=e,this[Fie]=[],this[zM]=1,this[Wze]=this.dispatch,this[qie]=this.close.bind(this),this.dispatch=jze.call(this),this.close=this[Uie]}get[Hie.kConnected](){return this[zM]}intercept(e){return new Jze(e,this[Fie])}async[Uie](){await zze(this[qie])(),this[zM]=0,this[Mie][Hie.kClients].delete(this[Gie])}};Vie.exports=$M});var YM=A((o$t,Kie)=>{"use strict";var{promisify:Kze}=require("node:util"),Xze=Qm(),{buildMockDispatch:Zze}=Tb(),{kDispatches:zie,kMockAgent:$ie,kClose:jie,kOriginalClose:Wie,kOrigin:Jie,kOriginalDispatch:e$e,kConnected:WM}=Hm(),{MockInterceptor:t$e}=VM(),Yie=mr(),{InvalidArgumentError:r$e}=Rt(),JM=class extends Xze{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new r$e("Argument opts.agent must implement Agent");this[$ie]=r.agent,this[Jie]=e,this[zie]=[],this[WM]=1,this[e$e]=this.dispatch,this[Wie]=this.close.bind(this),this.dispatch=Zze.call(this),this.close=this[jie]}get[Yie.kConnected](){return this[WM]}intercept(e){return new t$e(e,this[zie])}async[jie](){await Kze(this[Wie])(),this[WM]=0,this[$ie][Yie.kClients].delete(this[Jie])}};Kie.exports=JM});var Zie=A((l$t,Xie)=>{"use strict";var n$e={pronoun:"it",is:"is",was:"was",this:"this"},i$e={pronoun:"they",is:"are",was:"were",this:"these"};Xie.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?n$e:i$e,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var tse=A((f$t,ese)=>{"use strict";var{Transform:s$e}=require("node:stream"),{Console:o$e}=require("node:console"),a$e=process.versions.icu?"\u2705":"Y ",c$e=process.versions.icu?"\u274C":"N ";ese.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new s$e({transform(r,n,i){i(null,r)}}),this.logger=new o$e({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:n,Origin:u,Path:i,"Status code":s,Persistent:a?a$e:c$e,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var sse=A((p$t,ise)=>{"use strict";var{kClients:Vh}=mr(),l$e=km(),{kAgent:KM,kMockAgentSet:Sv,kMockAgentGet:rse,kDispatches:XM,kIsMockActive:Bv,kNetConnect:zh,kGetNetConnect:u$e,kOptions:xv,kFactory:vv}=Hm(),d$e=jM(),f$e=YM(),{matchValue:h$e,buildMockOptions:p$e}=Tb(),{InvalidArgumentError:nse,UndiciError:A$e}=Rt(),m$e=eb(),g$e=Zie(),y$e=tse(),ZM=class extends m$e{static{o(this,"MockAgent")}constructor(e){if(super(e),this[zh]=!0,this[Bv]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new nse("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new l$e(e);this[KM]=r,this[Vh]=r[Vh],this[xv]=p$e(e)}get(e){let r=this[rse](e);return r||(r=this[vv](e),this[Sv](e,r)),r}dispatch(e,r){return this.get(e.origin),this[KM].dispatch(e,r)}async close(){await this[KM].close(),this[Vh].clear()}deactivate(){this[Bv]=!1}activate(){this[Bv]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[zh])?this[zh].push(e):this[zh]=[e];else if(typeof e>"u")this[zh]=!0;else throw new nse("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[zh]=!1}get isMockActive(){return this[Bv]}[Sv](e,r){this[Vh].set(e,r)}[vv](e){let r=Object.assign({agent:this},this[xv]);return this[xv]&&this[xv].connections===1?new d$e(e,r):new f$e(e,r)}[rse](e){let r=this[Vh].get(e);if(r)return r;if(typeof e!="string"){let n=this[vv]("http://localhost:9999");return this[Sv](e,n),n}for(let[n,i]of Array.from(this[Vh]))if(i&&typeof n!="string"&&h$e(n,e)){let s=this[vv](e);return this[Sv](e,s),s[XM]=i[XM],s}}[u$e](){return this[zh]}pendingInterceptors(){let e=this[Vh];return Array.from(e.entries()).flatMap(([r,n])=>n[XM].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new y$e}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new g$e("interceptor","interceptors").pluralize(r.length);throw new A$e(` +`,"latin1"),r!==null&&i!==r){if(n[qM])throw new zh;process.emitWarning(new zh)}e[rr].timeout&&e[rr].timeoutType===jA&&e[rr].timeout.refresh&&e[rr].timeout.refresh(),n[Nu]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[$f]=!1,e&&(Re(n[An]<=1,"pipeline should only contain this request"),i(e))}};aie.exports=OVe});var Aie=m((eWt,mie)=>{"use strict";var Mo=require("node:assert"),{pipeline:HVe}=require("node:stream"),mt=at(),{RequestContentLengthMismatchError:jM,RequestAbortedError:lie,SocketError:Mb,InformationalError:$M}=Tt(),{kUrl:Qx,kReset:Px,kClient:$A,kRunning:Ox,kPending:VVe,kQueue:Wf,kPendingIdx:WM,kRunningIdx:Ha,kError:za,kSocket:Hn,kStrictContentLength:zVe,kOnError:JM,kMaxConcurrentStreams:pie,kHTTP2Session:Va,kResume:Jf,kSize:jVe,kHTTPContext:$Ve}=Ar(),Ru=Symbol("open streams"),uie,fie=!1,kx;try{kx=require("node:http2")}catch{kx={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:WVe,HTTP2_HEADER_METHOD:JVe,HTTP2_HEADER_PATH:YVe,HTTP2_HEADER_SCHEME:KVe,HTTP2_HEADER_CONTENT_LENGTH:XVe,HTTP2_HEADER_EXPECT:ZVe,HTTP2_HEADER_STATUS:eze}}=kx;function tze(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(tze,"parseH2Headers");async function rze(t,e){t[Hn]=e,fie||(fie=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=kx.connect(t[Qx],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[pie]});r[Ru]=0,r[$A]=t,r[Hn]=e,mt.addListener(r,"error",ize),mt.addListener(r,"frameError",sze),mt.addListener(r,"end",oze),mt.addListener(r,"goaway",aze),mt.addListener(r,"close",function(){let{[$A]:i}=this,{[Hn]:s}=i,a=this[Hn][za]||this[za]||new Mb("closed",mt.getSocketInfo(s));if(i[Va]=null,i.destroyed){Mo(i[VVe]===0);let c=i[Wf].splice(i[Ha]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return lze(t,...i)},resume(){nze(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(rze,"connectH2");function nze(t){let e=t[Hn];e?.destroyed===!1&&(t[jVe]===0&&t[pie]===0?(e.unref(),t[Va].unref()):(e.ref(),t[Va].ref()))}o(nze,"resumeH2");function ize(t){Mo(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Hn][za]=t,this[$A][JM](t)}o(ize,"onHttp2SessionError");function sze(t,e,r){if(r===0){let n=new $M(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Hn][za]=n,this[$A][JM](n)}}o(sze,"onHttp2FrameError");function oze(){let t=new Mb("other side closed",mt.getSocketInfo(this[Hn]));this.destroy(t),mt.destroy(this[Hn],t)}o(oze,"onHttp2SessionEnd");function aze(t){let e=this[za]||new Mb(`HTTP/2: "GOAWAY" frame received with code ${t}`,mt.getSocketInfo(this)),r=this[$A];if(r[Hn]=null,r[$Ve]=null,this[Va]!=null&&(this[Va].destroy(e),this[Va]=null),mt.destroy(this[Hn],e),r[Ha]{e.aborted||e.completed||(S=S||new lie,mt.errorRequest(t,e,S),h!=null&&mt.destroy(h,S),mt.destroy(f,S),t[Wf][t[Ha]++]=null,t[Jf]())},"abort");try{e.onConnect(g)}catch(S){mt.errorRequest(t,e,S)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),h=r.request(d,{endStream:!1,signal:l}),h.id&&!h.pending?(e.onUpgrade(null,null,h),++r[Ru],t[Wf][t[Ha]++]=null):h.once("ready",()=>{e.onUpgrade(null,null,h),++r[Ru],t[Wf][t[Ha]++]=null}),h.once("close",()=>{r[Ru]-=1,r[Ru]===0&&r.unref()}),!0;d[YVe]=i,d[KVe]="https";let E=n==="PUT"||n==="POST"||n==="PATCH";f&&typeof f.read=="function"&&f.read(0);let y=mt.bodyLength(f);if(mt.isFormDataLike(f)){uie??=HA().extractBody;let[S,Q]=uie(f);d["content-type"]=Q,f=S.stream,y=S.length}if(y==null&&(y=e.contentLength),(y===0||!E)&&(y=null),cze(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[zVe])return mt.errorRequest(t,e,new jM),!1;process.emitWarning(new jM)}y!=null&&(Mo(f,"no body must not have content length"),d[XVe]=`${y}`),r.ref();let C=n==="GET"||n==="HEAD"||f===null;return c?(d[ZVe]="100-continue",h=r.request(d,{endStream:C,signal:l}),h.once("continue",w)):(h=r.request(d,{endStream:C,signal:l}),w()),++r[Ru],h.once("response",S=>{let{[eze]:Q,...F}=S;if(e.onResponseStarted(),e.aborted){let x=new lie;mt.errorRequest(t,e,x),mt.destroy(h,x);return}e.onHeaders(Number(Q),tze(F),h.resume.bind(h),"")===!1&&h.pause(),h.on("data",x=>{e.onData(x)===!1&&h.pause()})}),h.once("end",()=>{(h.state?.state==null||h.state.state<6)&&e.onComplete([]),r[Ru]===0&&r.unref(),g(new $M("HTTP/2: stream half-closed (remote)")),t[Wf][t[Ha]++]=null,t[WM]=t[Ha],t[Jf]()}),h.once("close",()=>{r[Ru]-=1,r[Ru]===0&&r.unref()}),h.once("error",function(S){g(S)}),h.once("frameError",(S,Q)=>{g(new $M(`HTTP/2: "frameError" received - type ${S}, code ${Q}`))}),!0;function w(){!f||y===0?die(g,h,null,t,e,t[Hn],y,E):mt.isBuffer(f)?die(g,h,f,t,e,t[Hn],y,E):mt.isBlobLike(f)?typeof f.stream=="function"?hie(g,h,f.stream(),t,e,t[Hn],y,E):fze(g,h,f,t,e,t[Hn],y,E):mt.isStream(f)?uze(g,t[Hn],E,h,f,t,e,y):mt.isIterable(f)?hie(g,h,f,t,e,t[Hn],y,E):Mo(!1)}o(w,"writeBodyH2")}o(lze,"writeH2");function die(t,e,r,n,i,s,a,c){try{r!=null&&mt.isBuffer(r)&&(Mo(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[Px]=!0),i.onRequestSent(),n[Jf]()}catch(l){t(l)}}o(die,"writeBuffer");function uze(t,e,r,n,i,s,a,c){Mo(c!==0||s[Ox]===0,"stream body cannot be pipelined");let l=HVe(i,n,f=>{f?(mt.destroy(l,f),t(f)):(mt.removeAllListeners(l),a.onRequestSent(),r||(e[Px]=!0),s[Jf]())});mt.addListener(l,"data",u);function u(f){a.onBodySent(f)}o(u,"onPipeData")}o(uze,"writeStream");async function fze(t,e,r,n,i,s,a,c){Mo(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new jM;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[Px]=!0),n[Jf]()}catch(l){t(l)}}o(fze,"writeBlob");async function hie(t,e,r,n,i,s,a,c){Mo(a!==0||n[Ox]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let d=l;l=null,d()}}o(u,"onDrain");let f=o(()=>new Promise((d,h)=>{Mo(l===null),s[za]?h(s[za]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(s[za])throw s[za];let h=e.write(d);i.onBodySent(d),h||await f()}e.end(),i.onRequestSent(),c||(s[Px]=!0),n[Jf]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(hie,"writeIterable");mie.exports=rze});var Fx=m((rWt,Eie)=>{"use strict";var Lc=at(),{kBodyUsed:Ub}=Ar(),KM=require("node:assert"),{InvalidArgumentError:dze}=Tt(),hze=require("node:events"),pze=[300,301,302,303,307,308],gie=Symbol("body"),Lx=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[gie]=e,this[Ub]=!1}async*[Symbol.asyncIterator](){KM(!this[Ub],"disturbed"),this[Ub]=!0,yield*this[gie]}},YM=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new dze("maxRedirections must be a positive number");Lc.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,Lc.isStream(this.opts.body)?(Lc.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){KM(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Ub]=!1,hze.prototype.on.call(this.opts.body,"data",function(){this[Ub]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Lx(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Lc.isIterable(this.opts.body)&&(this.opts.body=new Lx(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||Lc.isDisturbed(this.opts.body)?null:mze(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,n,i);let{origin:s,pathname:a,search:c}=Lc.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=Aze(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,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 mze(t,e){if(pze.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var gze=Fx();function yze({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new gze(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(yze,"createRedirectInterceptor");Cie.exports=yze});var YA=m((oWt,Rie)=>{"use strict";var Tu=require("node:assert"),vie=require("node:net"),Eze=require("node:http"),Jh=at(),{channels:WA}=RA(),Cze=Rre(),bze=kA(),{InvalidArgumentError:Kr,InformationalError:wze,ClientDestroyedError:Ize}=Tt(),Sze=xb(),{kUrl:Fc,kServerName:Yf,kClient:Bze,kBusy:XM,kConnect:vze,kResuming:Yh,kRunning:zb,kPending:jb,kSize:Vb,kQueue:ja,kConnected:xze,kConnecting:JA,kNeedDrain:Xf,kKeepAliveDefaultTimeout:bie,kHostHeader:_ze,kPendingIdx:$a,kRunningIdx:Du,kError:Nze,kPipelining:Ux,kKeepAliveTimeoutValue:Rze,kMaxHeadersSize:Tze,kKeepAliveMaxTimeout:Dze,kKeepAliveTimeoutThreshold:Qze,kHeadersTimeout:kze,kBodyTimeout:Pze,kStrictContentLength:Oze,kConnector:qb,kMaxRedirections:Lze,kMaxRequests:ZM,kCounter:Fze,kClose:Mze,kDestroy:Uze,kDispatch:qze,kInterceptors:wie,kLocalAddress:Gb,kMaxResponseSize:Gze,kOnError:Hze,kHTTPContext:Xr,kMaxConcurrentStreams:Vze,kResume:Hb}=Ar(),zze=cie(),jze=Aie(),Iie=!1,Kf=Symbol("kClosedResolve"),Sie=o(()=>{},"noop");function xie(t){return t[Ux]??t[Xr]?.defaultPipelining??1}o(xie,"getPipelining");var eU=class extends bze{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:f,keepAliveTimeout:d,maxKeepAliveTimeout:h,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:A,socketPath:g,pipelining:E,tls:y,strictContentLength:C,maxCachedSessions:w,maxRedirections:S,connect:Q,maxRequestsPerClient:F,localAddress:x,maxResponseSize:j,autoSelectFamily:T,autoSelectFamilyAttemptTimeout:q,maxConcurrentStreams:H,allowH2:W,webSocket:ee}={}){if(super({webSocket:ee}),f!==void 0)throw new Kr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Kr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Kr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new Kr("unsupported idleTimeout, use keepAliveTimeout instead");if(h!==void 0)throw new Kr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Kr("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new Kr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Kr("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new Kr("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new Kr("invalid keepAliveMaxTimeout");if(A!=null&&!Number.isFinite(A))throw new Kr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Kr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Kr("bodyTimeout must be a positive integer or zero");if(Q!=null&&typeof Q!="function"&&typeof Q!="object")throw new Kr("connect must be a function or an object");if(S!=null&&(!Number.isInteger(S)||S<0))throw new Kr("maxRedirections must be a positive number");if(F!=null&&(!Number.isInteger(F)||F<0))throw new Kr("maxRequestsPerClient must be a positive number");if(x!=null&&(typeof x!="string"||vie.isIP(x)===0))throw new Kr("localAddress must be valid string IP address");if(j!=null&&(!Number.isInteger(j)||j<-1))throw new Kr("maxResponseSize must be a positive number");if(q!=null&&(!Number.isInteger(q)||q<-1))throw new Kr("autoSelectFamilyAttemptTimeout must be a positive number");if(W!=null&&typeof W!="boolean")throw new Kr("allowH2 must be a valid boolean value");if(H!=null&&(typeof H!="number"||H<1))throw new Kr("maxConcurrentStreams must be a positive integer, greater than 0");typeof Q!="function"&&(Q=Sze({...y,maxCachedSessions:w,allowH2:W,socketPath:g,timeout:c,...T?{autoSelectFamily:T,autoSelectFamilyAttemptTimeout:q}:void 0,...Q})),r?.Client&&Array.isArray(r.Client)?(this[wie]=r.Client,Iie||(Iie=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[wie]=[$ze({maxRedirections:S})],this[Fc]=Jh.parseOrigin(e),this[qb]=Q,this[Ux]=E??1,this[Tze]=n||Eze.maxHeaderSize,this[bie]=d??4e3,this[Dze]=p??6e5,this[Qze]=A??2e3,this[Rze]=this[bie],this[Yf]=null,this[Gb]=x??null,this[Yh]=0,this[Xf]=0,this[_ze]=`host: ${this[Fc].hostname}${this[Fc].port?`:${this[Fc].port}`:""}\r +`,this[Pze]=l??3e5,this[kze]=i??3e5,this[Oze]=C??!0,this[Lze]=S,this[ZM]=F,this[Kf]=null,this[Gze]=j>-1?j:-1,this[Vze]=H??100,this[Xr]=null,this[ja]=[],this[Du]=0,this[$a]=0,this[Hb]=te=>tU(this,te),this[Hze]=te=>_ie(this,te)}get pipelining(){return this[Ux]}set pipelining(e){this[Ux]=e,this[Hb](!0)}get[jb](){return this[ja].length-this[$a]}get[zb](){return this[$a]-this[Du]}get[Vb](){return this[ja].length-this[Du]}get[xze](){return!!this[Xr]&&!this[JA]&&!this[Xr].destroyed}get[XM](){return!!(this[Xr]?.busy(null)||this[Vb]>=(xie(this)||1)||this[jb]>0)}[vze](e){Nie(this),this.once("connect",e)}[qze](e,r){let n=e.origin||this[Fc].origin,i=new Cze(n,e,r);return this[ja].push(i),this[Yh]||(Jh.bodyLength(i.body)==null&&Jh.isIterable(i.body)?(this[Yh]=1,queueMicrotask(()=>tU(this))):this[Hb](!0)),this[Yh]&&this[Xf]!==2&&this[XM]&&(this[Xf]=2),this[Xf]<2}async[Mze](){return new Promise(e=>{this[Vb]?this[Kf]=e:e(null)})}async[Uze](e){return new Promise(r=>{let n=this[ja].splice(this[$a]);for(let s=0;s{this[Kf]&&(this[Kf](),this[Kf]=null),r(null)},"callback");this[Xr]?(this[Xr].destroy(e,i),this[Xr]=null):queueMicrotask(i),this[Hb]()})}},$ze=Mx();function _ie(t,e){if(t[zb]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Tu(t[$a]===t[Du]);let r=t[ja].splice(t[Du]);for(let n=0;n{t[qb]({host:e,hostname:r,protocol:n,port:i,servername:t[Yf],localAddress:t[Gb]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Jh.destroy(s.on("error",Sie),new Ize);return}Tu(s);try{t[Xr]=s.alpnProtocol==="h2"?await jze(t,s):await zze(t,s)}catch(a){throw s.destroy().on("error",Sie),a}t[JA]=!1,s[Fze]=0,s[ZM]=t[ZM],s[Bze]=t,s[Nze]=null,WA.connected.hasSubscribers&&WA.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Xr]?.version,servername:t[Yf],localAddress:t[Gb]},connector:t[qb],socket:s}),t.emit("connect",t[Fc],[t])}catch(s){if(t.destroyed)return;if(t[JA]=!1,WA.connectError.hasSubscribers&&WA.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Xr]?.version,servername:t[Yf],localAddress:t[Gb]},connector:t[qb],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Tu(t[zb]===0);t[jb]>0&&t[ja][t[$a]].servername===t[Yf];){let a=t[ja][t[$a]++];Jh.errorRequest(t,a,s)}else _ie(t,s);t.emit("connectionError",t[Fc],[t],s)}t[Hb]()}o(Nie,"connect");function Bie(t){t[Xf]=0,t.emit("drain",t[Fc],[t])}o(Bie,"emitDrain");function tU(t,e){t[Yh]!==2&&(t[Yh]=2,Wze(t,e),t[Yh]=0,t[Du]>256&&(t[ja].splice(0,t[Du]),t[$a]-=t[Du],t[Du]=0))}o(tU,"resume");function Wze(t,e){for(;;){if(t.destroyed){Tu(t[jb]===0);return}if(t[Kf]&&!t[Vb]){t[Kf](),t[Kf]=null;return}if(t[Xr]&&t[Xr].resume(),t[XM])t[Xf]=2;else if(t[Xf]===2){e?(t[Xf]=1,queueMicrotask(()=>Bie(t))):Bie(t);continue}if(t[jb]===0||t[zb]>=(xie(t)||1))return;let r=t[ja][t[$a]];if(t[Fc].protocol==="https:"&&t[Yf]!==r.servername){if(t[zb]>0)return;t[Yf]=r.servername,t[Xr]?.destroy(new wze("servername changed"),()=>{t[Xr]=null,tU(t)})}if(t[JA])return;if(!t[Xr]){Nie(t);return}if(t[Xr].destroyed||t[Xr].busy(r))return;!r.aborted&&t[Xr].write(r)?t[$a]++:t[ja].splice(t[$a],1)}}o(Wze,"_resume");Rie.exports=eU});var rU=m((lWt,Tie)=>{"use strict";var qx=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)}};Tie.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new qx}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new qx),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var Qie=m((fWt,Die)=>{var{kFree:Jze,kConnected:Yze,kPending:Kze,kQueued:Xze,kRunning:Zze,kSize:e6e}=Ar(),Kh=Symbol("pool"),nU=class{static{o(this,"PoolStats")}constructor(e){this[Kh]=e}get connected(){return this[Kh][Yze]}get free(){return this[Kh][Jze]}get pending(){return this[Kh][Kze]}get queued(){return this[Kh][Xze]}get running(){return this[Kh][Zze]}get size(){return this[Kh][e6e]}};Die.exports=nU});var lU=m((hWt,Hie)=>{"use strict";var t6e=kA(),r6e=rU(),{kConnected:iU,kSize:kie,kRunning:Pie,kPending:Oie,kQueued:$b,kBusy:n6e,kFree:i6e,kUrl:s6e,kClose:o6e,kDestroy:a6e,kDispatch:c6e}=Ar(),l6e=Qie(),Cs=Symbol("clients"),Vi=Symbol("needDrain"),Wb=Symbol("queue"),sU=Symbol("closed resolve"),oU=Symbol("onDrain"),Lie=Symbol("onConnect"),Fie=Symbol("onDisconnect"),Mie=Symbol("onConnectionError"),aU=Symbol("get dispatcher"),qie=Symbol("add client"),Gie=Symbol("remove client"),Uie=Symbol("stats"),cU=class extends t6e{static{o(this,"PoolBase")}constructor(e){super(e),this[Wb]=new r6e,this[Cs]=[],this[$b]=0;let r=this;this[oU]=o(function(i,s){let a=r[Wb],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[$b]--,c=!this.dispatch(l.opts,l.handler)}this[Vi]=c,!this[Vi]&&r[Vi]&&(r[Vi]=!1,r.emit("drain",i,[r,...s])),r[sU]&&a.isEmpty()&&Promise.all(r[Cs].map(l=>l.close())).then(r[sU])},"onDrain"),this[Lie]=(n,i)=>{r.emit("connect",n,[r,...i])},this[Fie]=(n,i,s)=>{r.emit("disconnect",n,[r,...i],s)},this[Mie]=(n,i,s)=>{r.emit("connectionError",n,[r,...i],s)},this[Uie]=new l6e(this)}get[n6e](){return this[Vi]}get[iU](){return this[Cs].filter(e=>e[iU]).length}get[i6e](){return this[Cs].filter(e=>e[iU]&&!e[Vi]).length}get[Oie](){let e=this[$b];for(let{[Oie]:r}of this[Cs])e+=r;return e}get[Pie](){let e=0;for(let{[Pie]:r}of this[Cs])e+=r;return e}get[kie](){let e=this[$b];for(let{[kie]:r}of this[Cs])e+=r;return e}get stats(){return this[Uie]}async[o6e](){this[Wb].isEmpty()?await Promise.all(this[Cs].map(e=>e.close())):await new Promise(e=>{this[sU]=e})}async[a6e](e){for(;;){let r=this[Wb].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Cs].map(r=>r.destroy(e)))}[c6e](e,r){let n=this[aU]();return n?n.dispatch(e,r)||(n[Vi]=!0,this[Vi]=!this[aU]()):(this[Vi]=!0,this[Wb].push({opts:e,handler:r}),this[$b]++),!this[Vi]}[qie](e){return e.on("drain",this[oU]).on("connect",this[Lie]).on("disconnect",this[Fie]).on("connectionError",this[Mie]),this[Cs].push(e),this[Vi]&&queueMicrotask(()=>{this[Vi]&&this[oU](e[s6e],[this,e])}),this}[Gie](e){e.close(()=>{let r=this[Cs].indexOf(e);r!==-1&&this[Cs].splice(r,1)}),this[Vi]=this[Cs].some(r=>!r[Vi]&&r.closed!==!0&&r.destroyed!==!0)}};Hie.exports={PoolBase:cU,kClients:Cs,kNeedDrain:Vi,kAddClient:qie,kRemoveClient:Gie,kGetDispatcher:aU}});var KA=m((mWt,$ie)=>{"use strict";var{PoolBase:u6e,kClients:Gx,kNeedDrain:f6e,kAddClient:d6e,kGetDispatcher:h6e}=lU(),p6e=YA(),{InvalidArgumentError:uU}=Tt(),Vie=at(),{kUrl:zie,kInterceptors:m6e}=Ar(),A6e=xb(),fU=Symbol("options"),dU=Symbol("connections"),jie=Symbol("factory");function g6e(t,e){return new p6e(t,e)}o(g6e,"defaultFactory");var hU=class extends u6e{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=g6e,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:f,allowH2:d,...h}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new uU("invalid connections");if(typeof n!="function")throw new uU("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new uU("connect must be a function or an object");typeof i!="function"&&(i=A6e({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:f}:void 0,...i})),super(h),this[m6e]=h.interceptors?.Pool&&Array.isArray(h.interceptors.Pool)?h.interceptors.Pool:[],this[dU]=r||null,this[zie]=Vie.parseOrigin(e),this[fU]={...Vie.deepClone(h),connect:i,allowH2:d},this[fU].interceptors=h.interceptors?{...h.interceptors}:void 0,this[jie]=n,this.on("connectionError",(p,A,g)=>{for(let E of A){let y=this[Gx].indexOf(E);y!==-1&&this[Gx].splice(y,1)}})}[h6e](){for(let e of this[Gx])if(!e[f6e])return e;if(!this[dU]||this[Gx].length{"use strict";var{BalancedPoolMissingUpstreamError:y6e,InvalidArgumentError:E6e}=Tt(),{PoolBase:C6e,kClients:Si,kNeedDrain:Jb,kAddClient:b6e,kRemoveClient:w6e,kGetDispatcher:I6e}=lU(),S6e=KA(),{kUrl:pU,kInterceptors:B6e}=Ar(),{parseOrigin:Wie}=at(),Jie=Symbol("factory"),Hx=Symbol("options"),Yie=Symbol("kGreatestCommonDivisor"),Xh=Symbol("kCurrentWeight"),Zh=Symbol("kIndex"),Uo=Symbol("kWeight"),Vx=Symbol("kMaxWeightPerServer"),zx=Symbol("kErrorPenalty");function v6e(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(v6e,"getGreatestCommonDivisor");function x6e(t,e){return new S6e(t,e)}o(x6e,"defaultFactory");var mU=class extends C6e{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=x6e,...n}={}){if(super(),this[Hx]=n,this[Zh]=-1,this[Xh]=0,this[Vx]=this[Hx].maxWeightPerServer||100,this[zx]=this[Hx].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new E6e("factory must be a function.");this[B6e]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Jie]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=Wie(e).origin;if(this[Si].find(i=>i[pU].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Jie](r,Object.assign({},this[Hx]));this[b6e](n),n.on("connect",()=>{n[Uo]=Math.min(this[Vx],n[Uo]+this[zx])}),n.on("connectionError",()=>{n[Uo]=Math.max(1,n[Uo]-this[zx]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[Uo]=Math.max(1,n[Uo]-this[zx]),this._updateBalancedPoolStats())});for(let i of this[Si])i[Uo]=this[Vx];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[pU].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[w6e](n),this}get upstreams(){return this[Si].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[pU].origin)}[I6e](){if(this[Si].length===0)throw new y6e;if(!this[Si].find(s=>!s[Jb]&&s.closed!==!0&&s.destroyed!==!0)||this[Si].map(s=>s[Jb]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[Si].findIndex(s=>!s[Jb]);for(;n++this[Si][i][Uo]&&!s[Jb]&&(i=this[Zh]),this[Zh]===0&&(this[Xh]=this[Xh]-this[Yie],this[Xh]<=0&&(this[Xh]=this[Vx])),s[Uo]>=this[Xh]&&!s[Jb])return s}return this[Xh]=this[Si][i][Uo],this[Zh]=i,this[Si][i]}};Kie.exports=mU});var XA=m((EWt,sse)=>{"use strict";var{InvalidArgumentError:jx}=Tt(),{kClients:Zf,kRunning:Zie,kClose:_6e,kDestroy:N6e,kDispatch:R6e,kInterceptors:T6e}=Ar(),D6e=kA(),Q6e=KA(),k6e=YA(),P6e=at(),O6e=Mx(),ese=Symbol("onConnect"),tse=Symbol("onDisconnect"),rse=Symbol("onConnectionError"),L6e=Symbol("maxRedirections"),nse=Symbol("onDrain"),ise=Symbol("factory"),AU=Symbol("options");function F6e(t,e){return e&&e.connections===1?new k6e(t,e):new Q6e(t,e)}o(F6e,"defaultFactory");var gU=class extends D6e{static{o(this,"Agent")}constructor({factory:e=F6e,maxRedirections:r=0,connect:n,...i}={}){if(typeof e!="function")throw new jx("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new jx("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new jx("maxRedirections must be a positive number");super(i),n&&typeof n!="function"&&(n={...n}),this[T6e]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[O6e({maxRedirections:r})],this[AU]={...P6e.deepClone(i),connect:n},this[AU].interceptors=i.interceptors?{...i.interceptors}:void 0,this[L6e]=r,this[ise]=e,this[Zf]=new Map,this[nse]=(s,a)=>{this.emit("drain",s,[this,...a])},this[ese]=(s,a)=>{this.emit("connect",s,[this,...a])},this[tse]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[rse]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[Zie](){let e=0;for(let r of this[Zf].values())e+=r[Zie];return e}[R6e](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new jx("opts.origin must be a non-empty string or URL.");let i=this[Zf].get(n);return i||(i=this[ise](e.origin,this[AU]).on("drain",this[nse]).on("connect",this[ese]).on("disconnect",this[tse]).on("connectionError",this[rse]),this[Zf].set(n,i)),i.dispatch(e,r)}async[_6e](){let e=[];for(let r of this[Zf].values())e.push(r.close());this[Zf].clear(),await Promise.all(e)}async[N6e](e){let r=[];for(let n of this[Zf].values())r.push(n.destroy(e));this[Zf].clear(),await Promise.all(r)}};sse.exports=gU});var wU=m((bWt,Ase)=>{"use strict";var{kProxy:yU,kClose:fse,kDestroy:dse,kDispatch:ose,kInterceptors:M6e}=Ar(),{URL:ep}=require("node:url"),U6e=XA(),hse=KA(),pse=kA(),{InvalidArgumentError:ZA,RequestAbortedError:q6e,SecureProxyConnectionError:G6e}=Tt(),ase=xb(),mse=YA(),$x=Symbol("proxy agent"),Wx=Symbol("proxy client"),ed=Symbol("proxy headers"),EU=Symbol("request tls settings"),cse=Symbol("proxy tls settings"),lse=Symbol("connect endpoint function"),use=Symbol("tunnel proxy");function H6e(t){return t==="https:"?443:80}o(H6e,"defaultProtocolPort");function V6e(t,e){return new hse(t,e)}o(V6e,"defaultFactory");var z6e=o(()=>{},"noop");function j6e(t,e){return e.connections===1?new mse(t,e):new hse(t,e)}o(j6e,"defaultAgentFactory");var CU=class extends pse{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new ZA("Proxy URL is mandatory");this[ed]=r,i?this.#e=i(e,{connect:n}):this.#e=new mse(e,{connect:n})}[ose](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new ZA("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,u)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new ep(i);a.host=c}return e.headers={...this[ed],...a},this.#e[ose](e,r)}async[fse](){return this.#e.close()}async[dse](e){return this.#e.destroy(e)}},bU=class extends pse{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof ep)&&!e.uri)throw new ZA("Proxy uri is mandatory");let{clientFactory:r=V6e}=e;if(typeof r!="function")throw new ZA("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:u,password:f,hostname:d}=i;if(this[yU]={uri:s,protocol:l},this[M6e]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[EU]=e.requestTls,this[cse]=e.proxyTls,this[ed]=e.headers||{},this[use]=n,e.auth&&e.token)throw new ZA("opts.auth cannot be used in combination with opts.token");e.auth?this[ed]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[ed]["proxy-authorization"]=e.token:u&&f&&(this[ed]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(f)}`).toString("base64")}`);let h=ase({...e.proxyTls});this[lse]=ase({...e.requestTls});let p=e.factory||j6e,A=o((g,E)=>{let{protocol:y}=new ep(g);return!this[use]&&y==="http:"&&this[yU].protocol==="http:"?new CU(this[yU].uri,{headers:this[ed],connect:h,factory:p}):p(g,E)},"factory");this[Wx]=r(i,{connect:h}),this[$x]=new U6e({...e,factory:A,connect:o(async(g,E)=>{let y=g.host;g.port||(y+=`:${H6e(g.protocol)}`);try{let{socket:C,statusCode:w}=await this[Wx].connect({origin:a,port:c,path:y,signal:g.signal,headers:{...this[ed],host:g.host},servername:this[cse]?.servername||d});if(w!==200&&(C.on("error",z6e).destroy(),E(new q6e(`Proxy response (${w}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){E(null,C);return}let S;this[EU]?S=this[EU].servername:S=g.servername,this[lse]({...g,servername:S,httpSocket:C},E)}catch(C){C.code==="ERR_TLS_CERT_ALTNAME_INVALID"?E(new G6e(C)):E(C)}},"connect")})}dispatch(e,r){let n=$6e(e.headers);if(W6e(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new ep(e.origin);n.host=i}return this[$x].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new ep(e):e instanceof ep?e:new ep(e.uri)}async[fse](){await this[$x].close(),await this[Wx].close()}async[dse](){await this[$x].destroy(),await this[Wx].destroy()}};function $6e(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new ZA("Proxy-Authorization should be sent in ProxyAgent constructor")}o(W6e,"throwIfProxyAuthIsSent");Ase.exports=bU});var wse=m((IWt,bse)=>{"use strict";var J6e=kA(),{kClose:Y6e,kDestroy:K6e,kClosed:gse,kDestroyed:yse,kDispatch:X6e,kNoProxyAgent:Yb,kHttpProxyAgent:td,kHttpsProxyAgent:tp}=Ar(),Ese=wU(),Z6e=XA(),e9e={"http:":80,"https:":443},Cse=!1,IU=class extends J6e{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,Cse||(Cse=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[Yb]=new Z6e(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[td]=new Ese({...s,uri:a}):this[td]=this[Yb];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[tp]=new Ese({...s,uri:c}):this[tp]=this[td],this.#s()}[X6e](e,r){let n=new URL(e.origin);return this.#r(n).dispatch(e,r)}async[Y6e](){await this[Yb].close(),this[td][gse]||await this[td].close(),this[tp][gse]||await this[tp].close()}async[K6e](e){await this[Yb].destroy(e),this[td][yse]||await this[td].destroy(e),this[tp][yse]||await this[tp].destroy(e)}#r(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||e9e[r]||0,this.#i(n,i)?r==="https:"?this[tp]:this[td]:this[Yb]}#i(e,r){if(this.#l&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var eg=require("node:assert"),{kRetryHandlerDefaultRetry:Ise}=Ar(),{RequestRetryError:tg}=Tt(),{isDisturbed:Sse,parseHeaders:t9e,parseRangeHeader:Bse,wrapRequestBody:r9e}=at();function n9e(t){let e=Date.now();return new Date(t).getTime()-e}o(n9e,"calculateRetryAfterHeader");function vse(t,e,r,n){let i=t["content-length"];if(i==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let s=Number(i),a=e.end-e.start+1;return!Number.isFinite(s)||s!==a?new tg("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(vse,"validatePartialResponseContentLength");var SU=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:f,errorCodes:d,retryAfter:h,statusCodes:p}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:r9e(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[Ise],retryAfter:h??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:f??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[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.handler.onConnect(A=>{this.aborted=!0,this.abort?this.abort(A):this.reason=A})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[Ise](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:u}=n,{maxRetries:f,minTimeout:d,maxTimeout:h,timeoutFactor:p,statusCodes:A,errorCodes:g,methods:E}=u,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!g.includes(a)){i(e);return}if(Array.isArray(E)&&!E.includes(l)){i(e);return}if(s!=null&&Array.isArray(A)&&!A.includes(s)){i(e);return}if(y>f){i(e);return}let C=c?.["retry-after"];C&&(C=Number(C),C=Number.isNaN(C)?n9e(C):C*1e3);let w=C>0?Math.min(C,h):Math.min(d*p**(y-1),h);setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=t9e(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new tg("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new tg("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=Bse(s["content-range"]);if(!c)return this.abort(new tg("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new tg("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let l=vse(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:f,end:d=f-1}=c;return eg(this.start===u,"content-range mismatch"),eg(this.end==null||this.end===d,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=Bse(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let l=vse(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:f,end:d=f-1}=c;eg(u!=null&&Number.isFinite(u),"content-range mismatch"),eg(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=u,this.end=d}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return eg(Number.isFinite(this.start)),eg(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new tg("Request failed",e,{headers:s,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||Sse(this.opts.body))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(n){if(n!=null||this.aborted||Sse(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};xse.exports=SU});var Nse=m((xWt,_se)=>{"use strict";var i9e=Bb(),s9e=Jx(),BU=class extends i9e{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new s9e({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};_se.exports=BU});var TU=m((NWt,Fse)=>{"use strict";var kse=require("node:assert"),{Readable:o9e}=require("node:stream"),{RequestAbortedError:Pse,NotSupportedError:a9e,InvalidArgumentError:c9e,AbortError:vU}=Tt(),Ose=at(),{ReadableStreamFrom:l9e}=at(),Ys=Symbol("kConsume"),Kb=Symbol("kReading"),rd=Symbol("kBody"),Rse=Symbol("kAbort"),Lse=Symbol("kContentType"),Tse=Symbol("kContentLength"),u9e=o(()=>{},"noop"),xU=class extends o9e{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[Rse]=r,this[Ys]=null,this[rd]=null,this[Lse]=n,this[Tse]=i,this[Kb]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new Pse),e&&this[Rse](),super.destroy(e)}_destroy(e,r){this[Kb]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[Kb]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[Kb]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Ys]&&e!==null?(NU(this[Ys],e),this[Kb]?super.push(e):!0):super.push(e)}async text(){return Xb(this,"text")}async json(){return Xb(this,"json")}async blob(){return Xb(this,"blob")}async bytes(){return Xb(this,"bytes")}async arrayBuffer(){return Xb(this,"arrayBuffer")}async formData(){throw new a9e}get bodyUsed(){return Ose.isDisturbed(this)}get body(){return this[rd]||(this[rd]=l9e(this),this[Ys]&&(this[rd].getReader(),kse(this[rd].locked))),this[rd]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new c9e("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[Tse]>r&&this.destroy(new vU);let a=o(()=>{this.destroy(n.reason??new vU)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new vU):i(null)}).on("error",u9e).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function f9e(t){return t[rd]&&t[rd].locked===!0||t[Ys]}o(f9e,"isLocked");function d9e(t){return Ose.isDisturbed(t)||f9e(t)}o(d9e,"isUnusable");async function Xb(t,e){return kse(!t[Ys]),new Promise((r,n)=>{if(d9e(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Ys]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){RU(this[Ys],i)}).on("close",function(){this[Ys].body!==null&&RU(this[Ys],new Pse)}),h9e(t[Ys])})})}o(Xb,"consume");function h9e(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(_U,"chunksDecode");function Dse(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),n=0;for(let i=0;i{var p9e=require("node:assert"),{ResponseStatusCodeError:Mse}=Tt(),{chunksDecode:Use}=TU(),m9e=128*1024;async function A9e({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){p9e(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>m9e){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new Mse(l,n,s)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let f;try{qse(r)?f=JSON.parse(Use(a,c)):Gse(r)&&(f=Use(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new Mse(l,n,s,f)))}o(A9e,"getResolveErrorBodyCallback");var qse=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"),Gse=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");Hse.exports={getResolveErrorBodyCallback:A9e,isContentTypeApplicationJson:qse,isContentTypeText:Gse}});var jse=m((QWt,QU)=>{"use strict";var g9e=require("node:assert"),{Readable:y9e}=TU(),{InvalidArgumentError:rg,RequestAbortedError:Vse}=Tt(),Ks=at(),{getResolveErrorBodyCallback:E9e}=DU(),{AsyncResource:C9e}=require("node:async_hooks"),Yx=class extends C9e{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new rg("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:f}=e;try{if(typeof r!="function")throw new rg("invalid callback");if(f&&(typeof f!="number"||f<0))throw new rg("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new rg("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new rg("invalid method");if(c&&typeof c!="function")throw new rg("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Ks.isStream(a)&&Ks.destroy(a.on("error",Ks.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=f,this.signal=n,this.reason=null,this.removeAbortListener=null,Ks.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new Vse:this.removeAbortListener=Ks.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new Vse,this.res?Ks.destroy(this.res.on("error",Ks.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}g9e(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:f}=this,d=u==="raw"?Ks.parseRawHeaders(r):Ks.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let h=u==="raw"?Ks.parseHeaders(r):d,p=h["content-type"],A=h["content-length"],g=new y9e({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&A?Number(A):null,highWaterMark:f});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(E9e,null,{callback:s,body:g,contentType:p,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:g,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Ks.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Ks.destroy(r,e)})),i&&(this.body=null,Ks.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function zse(t,e){if(e===void 0)return new Promise((r,n)=>{zse.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new Yx(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(zse,"request");QU.exports=zse;QU.exports.RequestHandler=Yx});var Zb=m((PWt,Jse)=>{var{addAbortListener:b9e}=at(),{RequestAbortedError:w9e}=Tt(),ng=Symbol("kListener"),Mc=Symbol("kSignal");function $se(t){t.abort?t.abort(t[Mc]?.reason):t.reason=t[Mc]?.reason??new w9e,Wse(t)}o($se,"abort");function I9e(t,e){if(t.reason=null,t[Mc]=null,t[ng]=null,!!e){if(e.aborted){$se(t);return}t[Mc]=e,t[ng]=()=>{$se(t)},b9e(t[Mc],t[ng])}}o(I9e,"addSignal");function Wse(t){t[Mc]&&("removeEventListener"in t[Mc]?t[Mc].removeEventListener("abort",t[ng]):t[Mc].removeListener("abort",t[ng]),t[Mc]=null,t[ng]=null)}o(Wse,"removeSignal");Jse.exports={addSignal:I9e,removeSignal:Wse}});var Zse=m((LWt,Xse)=>{"use strict";var S9e=require("node:assert"),{finished:B9e,PassThrough:v9e}=require("node:stream"),{InvalidArgumentError:ig,InvalidReturnValueError:x9e}=Tt(),Wa=at(),{getResolveErrorBodyCallback:_9e}=DU(),{AsyncResource:N9e}=require("node:async_hooks"),{addSignal:R9e,removeSignal:Yse}=Zb(),kU=class extends N9e{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new ig("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:f}=e;try{if(typeof n!="function")throw new ig("invalid callback");if(typeof r!="function")throw new ig("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new ig("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new ig("invalid method");if(l&&typeof l!="function")throw new ig("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Wa.isStream(c)&&Wa.destroy(c.on("error",Wa.nop),d),d}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=f||!1,Wa.isStream(c)&&c.on("error",d=>{this.onError(d)}),R9e(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}S9e(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:u}=this,f=u==="raw"?Wa.parseRawHeaders(r):Wa.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:f});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let A=(u==="raw"?Wa.parseHeaders(r):f)["content-type"];d=new v9e,this.callback=null,this.runInAsyncScope(_9e,null,{callback:l,body:d,contentType:A,statusCode:e,statusMessage:i,headers:f})}else{if(s===null)return;if(d=this.runInAsyncScope(s,null,{statusCode:e,headers:f,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new x9e("expected Writable");B9e(d,{readable:!1},p=>{let{callback:A,res:g,opaque:E,trailers:y,abort:C}=this;this.res=null,(p||!g.readable)&&Wa.destroy(g,p),this.callback=null,this.runInAsyncScope(A,null,p||null,{opaque:E,trailers:y}),p&&C()})}return d.on("drain",n),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;Yse(this),r&&(this.trailers=Wa.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;Yse(this),this.factory=null,r?(this.res=null,Wa.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Wa.destroy(s,e))}};function Kse(t,e,r){if(r===void 0)return new Promise((n,i)=>{Kse.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new kU(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(Kse,"stream");Xse.exports=Kse});var noe=m((MWt,roe)=>{"use strict";var{Readable:toe,Duplex:T9e,PassThrough:D9e}=require("node:stream"),{InvalidArgumentError:e0,InvalidReturnValueError:Q9e,RequestAbortedError:PU}=Tt(),qo=at(),{AsyncResource:k9e}=require("node:async_hooks"),{addSignal:P9e,removeSignal:O9e}=Zb(),eoe=require("node:assert"),sg=Symbol("resume"),OU=class extends toe{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[sg]=null}_read(){let{[sg]:e}=this;e&&(this[sg]=null,e())}_destroy(e,r){this._read(),r(e)}},LU=class extends toe{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[sg]=e}_read(){this[sg]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new PU),r(e)}},FU=class extends k9e{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new e0("invalid opts");if(typeof r!="function")throw new e0("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new e0("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new e0("invalid method");if(a&&typeof a!="function")throw new e0("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new OU().on("error",qo.nop),this.ret=new T9e({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,f)=>{let{req:d}=this;d.push(l,u)||d._readableState.destroyed?f():d[sg]=f},"write"),destroy:o((l,u)=>{let{body:f,req:d,res:h,ret:p,abort:A}=this;!l&&!p._readableState.endEmitted&&(l=new PU),A&&l&&A(),qo.destroy(f,l),qo.destroy(d,l),qo.destroy(h,l),O9e(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,P9e(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}eoe(!i,"pipeline cannot be retried"),eoe(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?qo.parseRawHeaders(r):qo.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new LU(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?qo.parseRawHeaders(r):qo.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",qo.nop),l}if(!c||typeof c.on!="function")throw new Q9e("expected Readable");c.on("data",l=>{let{ret:u,body:f}=this;!u.push(l)&&f.pause&&f.pause()}).on("error",l=>{let{ret:u}=this;qo.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||qo.destroy(l,new PU)}),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,qo.destroy(r,e)}};function L9e(t,e){try{let r=new FU(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new D9e().destroy(r)}}o(L9e,"pipeline");roe.exports=L9e});var loe=m((qWt,coe)=>{"use strict";var{InvalidArgumentError:MU,SocketError:F9e}=Tt(),{AsyncResource:M9e}=require("node:async_hooks"),ioe=at(),{addSignal:U9e,removeSignal:soe}=Zb(),ooe=require("node:assert"),UU=class extends M9e{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new MU("invalid opts");if(typeof r!="function")throw new MU("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new MU("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,U9e(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}ooe(this.callback),this.abort=e,this.context=null}onHeaders(){throw new F9e("bad upgrade",null)}onUpgrade(e,r,n){ooe(e===101);let{callback:i,opaque:s,context:a}=this;soe(this),this.callback=null;let c=this.responseHeaders==="raw"?ioe.parseRawHeaders(r):ioe.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;soe(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function aoe(t,e){if(e===void 0)return new Promise((r,n)=>{aoe.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new UU(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(aoe,"upgrade");coe.exports=aoe});var poe=m((HWt,hoe)=>{"use strict";var q9e=require("node:assert"),{AsyncResource:G9e}=require("node:async_hooks"),{InvalidArgumentError:qU,SocketError:H9e}=Tt(),uoe=at(),{addSignal:V9e,removeSignal:foe}=Zb(),GU=class extends G9e{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new qU("invalid opts");if(typeof r!="function")throw new qU("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new qU("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,V9e(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}q9e(this.callback),this.abort=e,this.context=r}onHeaders(){throw new H9e("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;foe(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?uoe.parseRawHeaders(r):uoe.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;foe(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function doe(t,e){if(e===void 0)return new Promise((r,n)=>{doe.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new GU(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(doe,"connect");hoe.exports=doe});var moe=m((zWt,og)=>{"use strict";og.exports.request=jse();og.exports.stream=Zse();og.exports.pipeline=noe();og.exports.upgrade=loe();og.exports.connect=poe()});var VU=m((jWt,goe)=>{"use strict";var{UndiciError:z9e}=Tt(),Aoe=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),HU=class t extends z9e{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[Aoe]===!0}[Aoe]=!0};goe.exports={MockNotMatchedError:HU}});var ag=m((WWt,yoe)=>{"use strict";yoe.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 t0=m((JWt,Noe)=>{"use strict";var{MockNotMatchedError:rp}=VU(),{kDispatches:Kx,kMockAgent:j9e,kOriginalDispatch:$9e,kOrigin:W9e,kGetNetConnect:J9e}=ag(),{buildURL:Y9e}=at(),{STATUS_CODES:K9e}=require("node:http"),{types:{isPromise:X9e}}=require("node:util");function Qu(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Qu,"matchValue");function Coe(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(Coe,"lowerCaseEntries");function boe(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,n]of Object.entries(t.headers)){let i=boe(e,r);if(!Qu(n,i))return!1}return!0}o(woe,"matchHeaders");function Eoe(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(Eoe,"safeUrl");function Z9e(t,{path:e,method:r,body:n,headers:i}){let s=Qu(t.path,e),a=Qu(t.method,r),c=typeof t.body<"u"?Qu(t.body,n):!0,l=woe(t,i);return s&&a&&c&&l}o(Z9e,"matchKey");function Ioe(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(Ioe,"getResponseData");function Soe(t,e){let r=e.query?Y9e(e.path,e.query):e.path,n=typeof r=="string"?Eoe(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Qu(Eoe(s),n));if(i.length===0)throw new rp(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Qu(s,e.method)),i.length===0)throw new rp(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Qu(s,e.body):!0),i.length===0)throw new rp(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>woe(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new rp(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(Soe,"getMockDispatch");function eje(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(eje,"addMockDispatch");function zU(t,e){let r=t.findIndex(n=>n.consumed?Z9e(n,e):!1);r!==-1&&t.splice(r,1)}o(zU,"deleteMockDispatch");function Boe(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(Boe,"buildKey");function jU(t){let e=Object.keys(t),r=[];for(let n=0;n=h,n.pending=d0?setTimeout(()=>{p(this[Kx])},u):p(this[Kx]);function p(g,E=s){let y=Array.isArray(t.headers)?$U(t.headers):t.headers,C=typeof E=="function"?E({...t,headers:y}):E;if(X9e(C)){C.then(F=>p(g,F));return}let w=Ioe(C),S=jU(a),Q=jU(c);e.onConnect?.(F=>e.onError(F),null),e.onHeaders?.(i,S,A,voe(i)),e.onData?.(Buffer.from(w)),e.onComplete?.(Q),zU(g,r)}o(p,"handleReply");function A(){}return o(A,"resume"),!0}o(xoe,"mockDispatch");function rje(){let t=this[j9e],e=this[W9e],r=this[$9e];return o(function(i,s){if(t.isMockActive)try{xoe.call(this,i,s)}catch(a){if(a instanceof rp){let c=t[J9e]();if(c===!1)throw new rp(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(_oe(c,e))r.call(this,i,s);else throw new rp(`${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,i,s)},"dispatch")}o(rje,"buildMockDispatch");function _oe(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Qu(n,r.host)))}o(_oe,"checkNetConnect");function nje(t){if(t){let{agent:e,...r}=t;return r}}o(nje,"buildMockOptions");Noe.exports={getResponseData:Ioe,getMockDispatch:Soe,addMockDispatch:eje,deleteMockDispatch:zU,buildKey:Boe,generateKeyValues:jU,matchValue:Qu,getResponse:tje,getStatusText:voe,mockDispatch:xoe,buildMockDispatch:rje,checkNetConnect:_oe,buildMockOptions:nje,getHeaderByName:boe,buildHeadersFromArray:$U}});var eq=m((KWt,ZU)=>{"use strict";var{getResponseData:ije,buildKey:sje,addMockDispatch:WU}=t0(),{kDispatches:Xx,kDispatchKey:Zx,kDefaultHeaders:JU,kDefaultTrailers:YU,kContentLength:KU,kMockDispatch:e2}=ag(),{InvalidArgumentError:Uc}=Tt(),{buildURL:oje}=at(),cg=class{static{o(this,"MockScope")}constructor(e){this[e2]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Uc("waitInMs must be a valid integer > 0");return this[e2].delay=e,this}persist(){return this[e2].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Uc("repeatTimes must be a valid integer > 0");return this[e2].times=e,this}},XU=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Uc("opts must be an object");if(typeof e.path>"u")throw new Uc("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=oje(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Zx]=sje(e),this[Xx]=r,this[JU]={},this[YU]={},this[KU]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=ije(r),s=this[KU]?{"content-length":i.length}:{},a={...this[JU],...s,...n.headers},c={...this[YU],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Uc("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Uc("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Uc("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=WU(this[Xx],this[Zx],s);return new cg(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=WU(this[Xx],this[Zx],n);return new cg(i)}replyWithError(e){if(typeof e>"u")throw new Uc("error must be defined");let r=WU(this[Xx],this[Zx],{error:e});return new cg(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Uc("headers must be defined");return this[JU]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Uc("trailers must be defined");return this[YU]=e,this}replyContentLength(){return this[KU]=!0,this}};ZU.exports.MockInterceptor=XU;ZU.exports.MockScope=cg});var nq=m((ZWt,Ooe)=>{"use strict";var{promisify:aje}=require("node:util"),cje=YA(),{buildMockDispatch:lje}=t0(),{kDispatches:Roe,kMockAgent:Toe,kClose:Doe,kOriginalClose:Qoe,kOrigin:koe,kOriginalDispatch:uje,kConnected:tq}=ag(),{MockInterceptor:fje}=eq(),Poe=Ar(),{InvalidArgumentError:dje}=Tt(),rq=class extends cje{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new dje("Argument opts.agent must implement Agent");this[Toe]=r.agent,this[koe]=e,this[Roe]=[],this[tq]=1,this[uje]=this.dispatch,this[Qoe]=this.close.bind(this),this.dispatch=lje.call(this),this.close=this[Doe]}get[Poe.kConnected](){return this[tq]}intercept(e){return new fje(e,this[Roe])}async[Doe](){await aje(this[Qoe])(),this[tq]=0,this[Toe][Poe.kClients].delete(this[koe])}};Ooe.exports=rq});var oq=m((tJt,Hoe)=>{"use strict";var{promisify:hje}=require("node:util"),pje=KA(),{buildMockDispatch:mje}=t0(),{kDispatches:Loe,kMockAgent:Foe,kClose:Moe,kOriginalClose:Uoe,kOrigin:qoe,kOriginalDispatch:Aje,kConnected:iq}=ag(),{MockInterceptor:gje}=eq(),Goe=Ar(),{InvalidArgumentError:yje}=Tt(),sq=class extends pje{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new yje("Argument opts.agent must implement Agent");this[Foe]=r.agent,this[qoe]=e,this[Loe]=[],this[iq]=1,this[Aje]=this.dispatch,this[Uoe]=this.close.bind(this),this.dispatch=mje.call(this),this.close=this[Moe]}get[Goe.kConnected](){return this[iq]}intercept(e){return new gje(e,this[Loe])}async[Moe](){await hje(this[Uoe])(),this[iq]=0,this[Foe][Goe.kClients].delete(this[qoe])}};Hoe.exports=sq});var zoe=m((iJt,Voe)=>{"use strict";var Eje={pronoun:"it",is:"is",was:"was",this:"this"},Cje={pronoun:"they",is:"are",was:"were",this:"these"};Voe.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Eje:Cje,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var $oe=m((aJt,joe)=>{"use strict";var{Transform:bje}=require("node:stream"),{Console:wje}=require("node:console"),Ije=process.versions.icu?"\u2705":"Y ",Sje=process.versions.icu?"\u274C":"N ";joe.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new bje({transform(r,n,i){i(null,r)}}),this.logger=new wje({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:n,Origin:u,Path:i,"Status code":s,Persistent:a?Ije:Sje,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var Koe=m((lJt,Yoe)=>{"use strict";var{kClients:np}=Ar(),Bje=XA(),{kAgent:aq,kMockAgentSet:t2,kMockAgentGet:Woe,kDispatches:cq,kIsMockActive:r2,kNetConnect:ip,kGetNetConnect:vje,kOptions:n2,kFactory:i2}=ag(),xje=nq(),_je=oq(),{matchValue:Nje,buildMockOptions:Rje}=t0(),{InvalidArgumentError:Joe,UndiciError:Tje}=Tt(),Dje=Bb(),Qje=zoe(),kje=$oe(),lq=class extends Dje{static{o(this,"MockAgent")}constructor(e){if(super(e),this[ip]=!0,this[r2]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new Joe("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Bje(e);this[aq]=r,this[np]=r[np],this[n2]=Rje(e)}get(e){let r=this[Woe](e);return r||(r=this[i2](e),this[t2](e,r)),r}dispatch(e,r){return this.get(e.origin),this[aq].dispatch(e,r)}async close(){await this[aq].close(),this[np].clear()}deactivate(){this[r2]=!1}activate(){this[r2]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[ip])?this[ip].push(e):this[ip]=[e];else if(typeof e>"u")this[ip]=!0;else throw new Joe("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[ip]=!1}get isMockActive(){return this[r2]}[t2](e,r){this[np].set(e,r)}[i2](e){let r=Object.assign({agent:this},this[n2]);return this[n2]&&this[n2].connections===1?new xje(e,r):new _je(e,r)}[Woe](e){let r=this[np].get(e);if(r)return r;if(typeof e!="string"){let n=this[i2]("http://localhost:9999");return this[t2](e,n),n}for(let[n,i]of Array.from(this[np]))if(i&&typeof n!="string"&&Nje(n,e)){let s=this[i2](e);return this[t2](e,s),s[cq]=i[cq],s}}[vje](){return this[ip]}pendingInterceptors(){let e=this[np];return Array.from(e.entries()).flatMap(([r,n])=>n[cq].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new kje}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Qje("interceptor","interceptors").pluralize(r.length);throw new Tje(` ${n.count} ${n.noun} ${n.is} pending: ${e.format(r)} -`.trim())}};ise.exports=ZM});var Nv=A((m$t,lse)=>{"use strict";var ose=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:E$e}=Rt(),C$e=km();cse()===void 0&&ase(new C$e);function ase(t){if(!t||typeof t.dispatch!="function")throw new E$e("Argument agent must implement Agent");Object.defineProperty(globalThis,ose,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(ase,"setGlobalDispatcher");function cse(){return globalThis[ose]}o(cse,"getGlobalDispatcher");lse.exports={setGlobalDispatcher:ase,getGlobalDispatcher:cse}});var _v=A((E$t,use)=>{"use strict";use.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 fse=A((b$t,dse)=>{"use strict";var b$e=av();dse.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new b$e(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var pse=A((w$t,hse)=>{"use strict";var I$e=yv();hse.exports=t=>e=>o(function(n,i){return e(n,new I$e({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var mse=A((B$t,Ase)=>{"use strict";var w$e=at(),{InvalidArgumentError:S$e,RequestAbortedError:B$e}=Rt(),x$e=_v(),eU=class extends x$e{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#n=!1;#r=!1;#i=0;#s=null;#l=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new S$e("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#l=r}onConnect(e){this.#t=e,this.#l.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#s=e}onHeaders(e,r,n,i){let a=w$e.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new B$e(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#l.onHeaders(e,r,n,i)}onError(e){this.#n||(e=this.#s??e,this.#l.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#n=!0,this.#r?this.#l.onError(this.#s):this.#l.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#l.onError(this.reason);return}this.#l.onComplete(e)}}};function v$e({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new eU({maxSize:s},i);return e(n,a)},"Intercept")}o(v$e,"createDumpInterceptor");Ase.exports=v$e});var Ese=A((v$t,yse)=>{"use strict";var{isIP:N$e}=require("node:net"),{lookup:_$e}=require("node:dns"),T$e=_v(),{InvalidArgumentError:zm,InformationalError:R$e}=Rt(),gse=Math.pow(2,31)-1,tU=class{static{o(this,"DNSInstance")}#e=0;#t=0;#n=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.#i}get full(){return this.#n.size===this.#t}runLookup(e,r,n){let i=this.#n.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new R$e("No DNS entries found"));return}this.setRecords(e,c);let l=this.#n.get(e.hostname),u=this.pick(e,l,s.affinity),d;typeof u.port=="number"?d=`:${u.port}`:e.port!==""?d=`:${e.port}`:d="",n(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${d}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,n){_$e(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#i(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===gse?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===gse?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#n.set(e.hostname,i)}getHandler(e,r){return new rU(this,e,r)}},rU=class extends T$e{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#n=null;#r=null;#i=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#i=r,this.#r=n,this.#t={...s},this.#e=e,this.#n=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(r,n)=>{if(r)return this.#r.onError(r);let i={...this.#t,origin:n};this.#n(i,this)});return}this.#r.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#r.onError(e);break}}};yse.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new zm("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new zm("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new zm("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new zm("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new zm("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new zm("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new tU(n);return s=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return N$e(u.hostname)!==0?s(c,l):(i.runLookup(u,c,(d,f)=>{if(d)return l.onError(d);let h=null;h={...c,servername:u.hostname,origin:f,headers:{host:u.hostname,...c.headers}},s(h,i.getHandler({origin:u,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var $h=A((_$t,xse)=>{"use strict";var{kConstruct:D$e}=mr(),{kEnumerableProperty:$m}=at(),{iteratorMixin:Q$e,isValidHeaderName:Rb,isValidHeaderValue:bse}=$s(),{webidl:vt}=ai(),nU=require("node:assert"),Tv=require("node:util"),mn=Symbol("headers map"),Ys=Symbol("headers map sorted");function Cse(t){return t===10||t===13||t===9||t===32}o(Cse,"isHTTPWhiteSpaceCharCode");function Ise(t){let e=0,r=t.length;for(;r>e&&Cse(t.charCodeAt(r-1));)--r;for(;r>e&&Cse(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(Ise,"headerValueNormalize");function wse(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(wse,"fill");function iU(t,e,r){if(r=Ise(r),Rb(e)){if(!bse(r))throw vt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw vt.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(Bse(t)==="immutable")throw new TypeError("immutable");return sU(t).append(e,r,!1)}o(iU,"appendHeader");function Sse(t,e){return t[0]>1),r[u][0]<=d[0]?l=u+1:c=u;if(s!==u){for(a=s;a>l;)r[a]=r[--a];r[l]=d}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[mn])r[n++]=[i,s],nU(s!==null);return r.sort(Sse)}}},Va=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){vt.util.markAsUncloneable(this),e!==D$e&&(this.#t=new Rv,this.#e="none",e!==void 0&&(e=vt.converters.HeadersInit(e,"Headers contructor","init"),wse(this,e)))}append(e,r){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=vt.converters.ByteString(e,n,"name"),r=vt.converters.ByteString(r,n,"value"),iU(this,e,r)}delete(e){if(vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.delete"),e=vt.converters.ByteString(e,"Headers.delete","name"),!Rb(e))throw vt.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){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=vt.converters.ByteString(e,r,"name"),!Rb(e))throw vt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=vt.converters.ByteString(e,r,"name"),!Rb(e))throw vt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){vt.brandCheck(this,t),vt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=vt.converters.ByteString(e,n,"name"),r=vt.converters.ByteString(r,n,"value"),r=Ise(r),Rb(e)){if(!bse(r))throw vt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw vt.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){vt.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Ys](){if(this.#t[Ys])return this.#t[Ys];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Ys]=r;for(let i=0;i>"](t,e,r,n.bind(t)):vt.converters["record"](t,e,r)}throw vt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};xse.exports={fill:wse,compareHeaderName:Sse,Headers:Va,HeadersList:Rv,getHeadersGuard:Bse,setHeadersGuard:k$e,setHeadersList:P$e,getHeadersList:sU}});var Qb=A((R$t,Fse)=>{"use strict";var{Headers:Dse,HeadersList:vse,fill:O$e,getHeadersGuard:L$e,setHeadersGuard:Qse,setHeadersList:kse}=$h(),{extractBody:Nse,cloneBody:F$e,mixinBody:M$e,hasFinalizationRegistry:Pse,streamRegistry:Ose,bodyUnusable:U$e}=Bm(),oU=at(),_se=require("node:util"),{kEnumerableProperty:Ks}=oU,{isValidReasonPhrase:q$e,isCancelled:G$e,isAborted:H$e,isBlobLike:V$e,serializeJavascriptValueToJSONString:z$e,isErrorLike:$$e,isomorphicEncode:j$e,environmentSettingsObject:W$e}=$s(),{redirectStatusSet:J$e,nullBodyStatus:Y$e}=nb(),{kState:yr,kHeaders:xu}=Pd(),{webidl:tt}=ai(),{FormData:K$e}=lb(),{URLSerializer:Tse}=ms(),{kConstruct:Qv}=mr(),aU=require("node:assert"),{types:X$e}=require("node:util"),Z$e=new TextEncoder("utf-8"),jh=class t{static{o(this,"Response")}static error(){return Db(kv(),"immutable")}static json(e,r={}){tt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=tt.converters.ResponseInit(r));let n=Z$e.encode(z$e(e)),i=Nse(n),s=Db(jm({}),"response");return Rse(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){tt.argumentLengthCheck(arguments,1,"Response.redirect"),e=tt.converters.USVString(e),r=tt.converters["unsigned short"](r);let n;try{n=new URL(e,W$e.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!J$e.has(r))throw new RangeError(`Invalid status code ${r}`);let i=Db(jm({}),"immutable");i[yr].status=r;let s=j$e(Tse(n));return i[yr].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(tt.util.markAsUncloneable(this),e===Qv)return;e!==null&&(e=tt.converters.BodyInit(e)),r=tt.converters.ResponseInit(r),this[yr]=jm({}),this[xu]=new Dse(Qv),Qse(this[xu],"response"),kse(this[xu],this[yr].headersList);let n=null;if(e!=null){let[i,s]=Nse(e);n={body:i,type:s}}Rse(this,r,n)}get type(){return tt.brandCheck(this,t),this[yr].type}get url(){tt.brandCheck(this,t);let e=this[yr].urlList,r=e[e.length-1]??null;return r===null?"":Tse(r,!0)}get redirected(){return tt.brandCheck(this,t),this[yr].urlList.length>1}get status(){return tt.brandCheck(this,t),this[yr].status}get ok(){return tt.brandCheck(this,t),this[yr].status>=200&&this[yr].status<=299}get statusText(){return tt.brandCheck(this,t),this[yr].statusText}get headers(){return tt.brandCheck(this,t),this[xu]}get body(){return tt.brandCheck(this,t),this[yr].body?this[yr].body.stream:null}get bodyUsed(){return tt.brandCheck(this,t),!!this[yr].body&&oU.isDisturbed(this[yr].body.stream)}clone(){if(tt.brandCheck(this,t),U$e(this))throw tt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=cU(this[yr]);return Pse&&this[yr].body?.stream&&Ose.register(this,new WeakRef(this[yr].body.stream)),Db(e,L$e(this[xu]))}[_se.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={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 ${_se.formatWithOptions(r,n)}`}};M$e(jh);Object.defineProperties(jh.prototype,{type:Ks,url:Ks,status:Ks,ok:Ks,redirected:Ks,statusText:Ks,headers:Ks,clone:Ks,body:Ks,bodyUsed:Ks,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(jh,{json:Ks,redirect:Ks,error:Ks});function cU(t){if(t.internalResponse)return Lse(cU(t.internalResponse),t.type);let e=jm({...t,body:null});return t.body!=null&&(e.body=F$e(e,t.body)),e}o(cU,"cloneResponse");function jm(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new vse(t?.headersList):new vse,urlList:t?.urlList?[...t.urlList]:[]}}o(jm,"makeResponse");function kv(t){let e=$$e(t);return jm({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(kv,"makeNetworkError");function eje(t){return t.type==="error"&&t.status===0}o(eje,"isNetworkError");function Dv(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return aU(!(n in e)),r[n]=i,!0}})}o(Dv,"makeFilteredResponse");function Lse(t,e){if(e==="basic")return Dv(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Dv(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Dv(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Dv(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});aU(!1)}o(Lse,"filterResponse");function tje(t,e=null){return aU(G$e(t)),H$e(t)?kv(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):kv(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(tje,"makeAppropriateNetworkError");function Rse(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&&!q$e(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[yr].status=e.status),"statusText"in e&&e.statusText!=null&&(t[yr].statusText=e.statusText),"headers"in e&&e.headers!=null&&O$e(t[xu],e.headers),r){if(Y$e.includes(t.status))throw tt.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[yr].body=r.body,r.type!=null&&!t[yr].headersList.contains("content-type",!0)&&t[yr].headersList.append("content-type",r.type,!0)}}o(Rse,"initializeResponse");function Db(t,e){let r=new jh(Qv);return r[yr]=t,r[xu]=new Dse(Qv),kse(r[xu],t.headersList),Qse(r[xu],e),Pse&&t.body?.stream&&Ose.register(r,new WeakRef(t.body.stream)),r}o(Db,"fromInnerResponse");tt.converters.ReadableStream=tt.interfaceConverter(ReadableStream);tt.converters.FormData=tt.interfaceConverter(K$e);tt.converters.URLSearchParams=tt.interfaceConverter(URLSearchParams);tt.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?tt.converters.USVString(t,e,r):V$e(t)?tt.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||X$e.isArrayBuffer(t)?tt.converters.BufferSource(t,e,r):oU.isFormDataLike(t)?tt.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?tt.converters.URLSearchParams(t,e,r):tt.converters.DOMString(t,e,r)};tt.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?tt.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:tt.converters.XMLHttpRequestBodyInit(t,e,r)};tt.converters.ResponseInit=tt.dictionaryConverter([{key:"status",converter:tt.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:tt.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:tt.converters.HeadersInit}]);Fse.exports={isNetworkError:eje,makeNetworkError:kv,makeResponse:jm,makeAppropriateNetworkError:tje,filterResponse:Lse,Response:jh,cloneResponse:cU,fromInnerResponse:Db}});var Gse=A((Q$t,qse)=>{"use strict";var{kConnected:Mse,kSize:Use}=mr(),lU=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Mse]===0&&this.value[Use]===0?void 0:this.value}},uU=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Mse]===0&&e[Use]===0&&this.finalizer(r)})}unregister(e){}};qse.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:lU,FinalizationRegistry:uU}):{WeakRef,FinalizationRegistry}}});var Wm=A((P$t,noe)=>{"use strict";var{extractBody:rje,mixinBody:nje,cloneBody:ije,bodyUnusable:Hse}=Bm(),{Headers:Xse,fill:sje,HeadersList:Fv,setHeadersGuard:fU,getHeadersGuard:oje,setHeadersList:Zse,getHeadersList:Vse}=$h(),{FinalizationRegistry:aje}=Gse()(),Ov=at(),zse=require("node:util"),{isValidHTTPToken:cje,sameOrigin:$se,environmentSettingsObject:Pv}=$s(),{forbiddenMethodsSet:lje,corsSafeListedMethodsSet:uje,referrerPolicy:dje,requestRedirect:fje,requestMode:hje,requestCredentials:pje,requestCache:Aje,requestDuplex:mje}=nb(),{kEnumerableProperty:gn,normalizedMethodRecordsBase:gje,normalizedMethodRecords:yje}=Ov,{kHeaders:Xs,kSignal:Lv,kState:nr,kDispatcher:dU}=Pd(),{webidl:Me}=ai(),{URLSerializer:Eje}=ms(),{kConstruct:Mv}=mr(),Cje=require("node:assert"),{getMaxListeners:jse,setMaxListeners:Wse,getEventListeners:bje,defaultMaxListeners:Jse}=require("node:events"),Ije=Symbol("abortController"),eoe=new aje(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Uv=new WeakMap;function Yse(t){return e;function e(){let r=t.deref();if(r!==void 0){eoe.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Uv.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}Uv.delete(r.signal)}}}}o(Yse,"buildAbort");var Kse=!1,$d=class t{static{o(this,"Request")}constructor(e,r={}){if(Me.util.markAsUncloneable(this),e===Mv)return;let n="Request constructor";Me.argumentLengthCheck(arguments,1,n),e=Me.converters.RequestInfo(e,n,"input"),r=Me.converters.RequestInit(r,n,"init");let i=null,s=null,a=Pv.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[dU]=r.dispatcher;let y;try{y=new URL(e,a)}catch(C){throw new TypeError("Failed to parse URL from "+e,{cause:C})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=qv({urlList:[y]}),s="cors"}else this[dU]=r.dispatcher||e[dU],Cje(e instanceof t),i=e[nr],c=e[Lv];let l=Pv.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&$se(i.window,l)&&(u=i.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),i=qv({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Pv.settingsObject,window:u,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let d=Object.keys(r).length!==0;if(d&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")i.referrer="no-referrer";else{let C;try{C=new URL(y,a)}catch(I){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:I})}C.protocol==="about:"&&C.hostname==="client"||l&&!$se(C,Pv.settingsObject.baseUrl)?i.referrer="client":i.referrer=C}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let f;if(r.mode!==void 0?f=r.mode:f=s,f==="navigate")throw Me.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(f!=null&&(i.mode=f),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,C=yje[y];if(C!==void 0)i.method=C;else{if(!cje(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(lje.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=gje[I]??y,i.method=y}!Kse&&i.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"}),Kse=!0)}r.signal!==void 0&&(c=r.signal),this[nr]=i;let h=new AbortController;if(this[Lv]=h.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)h.abort(c.reason);else{this[Ije]=h;let y=new WeakRef(h),C=Yse(y);try{(typeof jse=="function"&&jse(c)===Jse||bje(c,"abort").length>=Jse)&&Wse(1500,c)}catch{}Ov.addAbortListener(c,C),eoe.register(h,{signal:c,abort:C},C)}}if(this[Xs]=new Xse(Mv),Zse(this[Xs],i.headersList),fU(this[Xs],"request"),f==="no-cors"){if(!uje.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);fU(this[Xs],"request-no-cors")}if(d){let y=Vse(this[Xs]),C=r.headers!==void 0?r.headers:new Fv(y);if(y.clear(),C instanceof Fv){for(let{name:I,value:B}of C.rawValues())y.append(I,B,!1);y.cookies=C.cookies}else sje(this[Xs],C)}let p=e instanceof t?e[nr].body:null;if((r.body!=null||p!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let g=null;if(r.body!=null){let[y,C]=rje(r.body,i.keepalive);g=y,C&&!Vse(this[Xs]).contains("content-type",!0)&&this[Xs].append("content-type",C)}let m=g??p;if(m!=null&&m.source==null){if(g!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let E=m;if(g==null&&p!=null){if(Hse(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;p.stream.pipeThrough(y),E={source:p.source,length:p.length,stream:y.readable}}this[nr].body=E}get method(){return Me.brandCheck(this,t),this[nr].method}get url(){return Me.brandCheck(this,t),Eje(this[nr].url)}get headers(){return Me.brandCheck(this,t),this[Xs]}get destination(){return Me.brandCheck(this,t),this[nr].destination}get referrer(){return Me.brandCheck(this,t),this[nr].referrer==="no-referrer"?"":this[nr].referrer==="client"?"about:client":this[nr].referrer.toString()}get referrerPolicy(){return Me.brandCheck(this,t),this[nr].referrerPolicy}get mode(){return Me.brandCheck(this,t),this[nr].mode}get credentials(){return this[nr].credentials}get cache(){return Me.brandCheck(this,t),this[nr].cache}get redirect(){return Me.brandCheck(this,t),this[nr].redirect}get integrity(){return Me.brandCheck(this,t),this[nr].integrity}get keepalive(){return Me.brandCheck(this,t),this[nr].keepalive}get isReloadNavigation(){return Me.brandCheck(this,t),this[nr].reloadNavigation}get isHistoryNavigation(){return Me.brandCheck(this,t),this[nr].historyNavigation}get signal(){return Me.brandCheck(this,t),this[Lv]}get body(){return Me.brandCheck(this,t),this[nr].body?this[nr].body.stream:null}get bodyUsed(){return Me.brandCheck(this,t),!!this[nr].body&&Ov.isDisturbed(this[nr].body.stream)}get duplex(){return Me.brandCheck(this,t),"half"}clone(){if(Me.brandCheck(this,t),Hse(this))throw new TypeError("unusable");let e=toe(this[nr]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Uv.get(this.signal);n===void 0&&(n=new Set,Uv.set(this.signal,n));let i=new WeakRef(r);n.add(i),Ov.addAbortListener(r.signal,Yse(i))}return roe(e,r.signal,oje(this[Xs]))}[zse.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={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 ${zse.formatWithOptions(r,n)}`}};nje($d);function qv(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 Fv(t.headersList):new Fv}}o(qv,"makeRequest");function toe(t){let e=qv({...t,body:null});return t.body!=null&&(e.body=ije(e,t.body)),e}o(toe,"cloneRequest");function roe(t,e,r){let n=new $d(Mv);return n[nr]=t,n[Lv]=e,n[Xs]=new Xse(Mv),Zse(n[Xs],t.headersList),fU(n[Xs],r),n}o(roe,"fromInnerRequest");Object.defineProperties($d.prototype,{method:gn,url:gn,headers:gn,redirect:gn,clone:gn,signal:gn,duplex:gn,destination:gn,body:gn,bodyUsed:gn,isHistoryNavigation:gn,isReloadNavigation:gn,keepalive:gn,integrity:gn,cache:gn,credentials:gn,attribute:gn,referrerPolicy:gn,referrer:gn,mode:gn,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Me.converters.Request=Me.interfaceConverter($d);Me.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Me.converters.USVString(t,e,r):t instanceof $d?Me.converters.Request(t,e,r):Me.converters.USVString(t,e,r)};Me.converters.AbortSignal=Me.interfaceConverter(AbortSignal);Me.converters.RequestInit=Me.dictionaryConverter([{key:"method",converter:Me.converters.ByteString},{key:"headers",converter:Me.converters.HeadersInit},{key:"body",converter:Me.nullableConverter(Me.converters.BodyInit)},{key:"referrer",converter:Me.converters.USVString},{key:"referrerPolicy",converter:Me.converters.DOMString,allowedValues:dje},{key:"mode",converter:Me.converters.DOMString,allowedValues:hje},{key:"credentials",converter:Me.converters.DOMString,allowedValues:pje},{key:"cache",converter:Me.converters.DOMString,allowedValues:Aje},{key:"redirect",converter:Me.converters.DOMString,allowedValues:fje},{key:"integrity",converter:Me.converters.DOMString},{key:"keepalive",converter:Me.converters.boolean},{key:"signal",converter:Me.nullableConverter(t=>Me.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Me.converters.any},{key:"duplex",converter:Me.converters.DOMString,allowedValues:mje},{key:"dispatcher",converter:Me.converters.any}]);noe.exports={Request:$d,makeRequest:qv,fromInnerRequest:roe,cloneRequest:toe}});var Pb=A((L$t,yoe)=>{"use strict";var{makeNetworkError:Ht,makeAppropriateNetworkError:Gv,filterResponse:hU,makeResponse:Hv,fromInnerResponse:wje}=Qb(),{HeadersList:ioe}=$h(),{Request:Sje,cloneRequest:Bje}=Wm(),jd=require("node:zlib"),{bytesMatch:xje,makePolicyContainer:vje,clonePolicyContainer:Nje,requestBadPort:_je,TAOCheck:Tje,appendRequestOriginHeader:Rje,responseLocationURL:Dje,requestCurrentURL:Pc,setRequestReferrerPolicyOnRedirect:Qje,tryUpgradeRequestToAPotentiallyTrustworthyURL:kje,createOpaqueTimingInfo:yU,appendFetchMetadata:Pje,corsCheck:Oje,crossOriginResourcePolicyCheck:Lje,determineRequestsReferrer:Fje,coarsenedSharedCurrentTime:kb,createDeferredPromise:Mje,isBlobLike:Uje,sameOrigin:gU,isCancelled:Wh,isAborted:soe,isErrorLike:qje,fullyReadBody:Gje,readableStreamClose:Hje,isomorphicEncode:Vv,urlIsLocal:Vje,urlIsHttpHttpsScheme:EU,urlHasHttpsScheme:zje,clampAndCoarsenConnectionTimingInfo:$je,simpleRangeHeaderValue:jje,buildContentRange:Wje,createInflate:Jje,extractMimeType:Yje}=$s(),{kState:loe,kDispatcher:Kje}=Pd(),Jh=require("node:assert"),{safelyExtractBody:CU,extractBody:ooe}=Bm(),{redirectStatusSet:uoe,nullBodyStatus:doe,safeMethodsSet:Xje,requestBodyHeader:Zje,subresourceSet:e8e}=nb(),t8e=require("node:events"),{Readable:r8e,pipeline:n8e,finished:i8e}=require("node:stream"),{addAbortListener:s8e,isErrored:o8e,isReadable:zv,bufferToLowerCasedHeaderName:aoe}=at(),{dataURLProcessor:a8e,serializeAMimeType:c8e,minimizeSupportedMimeType:l8e}=ms(),{getGlobalDispatcher:u8e}=Nv(),{webidl:d8e}=ai(),{STATUS_CODES:f8e}=require("node:http"),h8e=["GET","HEAD"],p8e=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",pU,$v=class extends t8e{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 A8e(t){foe(t,"fetch")}o(A8e,"handleFetchDone");function m8e(t,e=void 0){d8e.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Mje(),n;try{n=new Sje(t,e)}catch(d){return r.reject(d),r.promise}let i=n[loe];if(n.signal.aborted)return AU(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return s8e(n.signal,()=>{c=!0,Jh(l!=null),l.abort(n.signal.reason);let d=a?.deref();AU(r,i,d,n.signal.reason)}),l=poe({request:i,processResponseEndOfBody:A8e,processResponse:o(d=>{if(!c){if(d.aborted){AU(r,i,a,l.serializedAbortReason);return}if(d.type==="error"){r.reject(new TypeError("fetch failed",{cause:d.error}));return}a=new WeakRef(wje(d,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[Kje]}),r.promise}o(m8e,"fetch");function foe(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;EU(r)&&n!==null&&(t.timingAllowPassed||(n=yU({startTime:n.startTime}),i=""),n.endTime=kb(),t.timingInfo=n,hoe(n,r.href,e,globalThis,i))}o(foe,"finalizeAndReportTiming");var hoe=performance.markResourceTiming;function AU(t,e,r,n){if(t&&t.reject(n),e.body!=null&&zv(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[loe];i.body!=null&&zv(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(AU,"abortFetch");function poe({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=u8e()}){Jh(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let d=kb(u),f=yU({startTime:d}),h={controller:new $v(c),request:t,timingInfo:f,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:u};return Jh(!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=Nje(t.client.policyContainer):t.policyContainer=vje()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,e8e.has(t.destination),Aoe(h).catch(p=>{h.controller.terminate(p)}),h.controller}o(poe,"fetching");async function Aoe(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Vje(Pc(r))&&(n=Ht("local URLs only")),kje(r),_je(r)==="blocked"&&(n=Ht("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Fje(r)),n===null&&(n=await(async()=>{let s=Pc(r);return gU(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await coe(t)):r.mode==="same-origin"?Ht('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Ht('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await coe(t)):EU(Pc(r))?(r.responseTainting="cors",await moe(t)):Ht("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=hU(n,"basic"):r.responseTainting==="cors"?n=hU(n,"cors"):r.responseTainting==="opaque"?n=hU(n,"opaque"):Jh(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=Ht()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||doe.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>mU(t,Ht(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!xje(c,r.integrity)){s("integrity mismatch");return}n.body=CU(c)[0],mU(t,n)},"processBody");await Gje(n.body,a,s)}else mU(t,n)}o(Aoe,"mainFetch");function coe(t){if(Wh(t)&&t.request.redirectCount===0)return Promise.resolve(Gv(t));let{request:e}=t,{protocol:r}=Pc(e);switch(r){case"about:":return Promise.resolve(Ht("about scheme is not supported"));case"blob:":{pU||(pU=require("node:buffer").resolveObjectURL);let n=Pc(e);if(n.search.length!==0)return Promise.resolve(Ht("NetworkError when attempting to fetch resource."));let i=pU(n.toString());if(e.method!=="GET"||!Uje(i))return Promise.resolve(Ht("invalid method"));let s=Hv(),a=i.size,c=Vv(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let u=e.headersList.get("range",!0),d=jje(u,!0);if(d==="failure")return Promise.resolve(Ht("failed to fetch the data URL"));let{rangeStartValue:f,rangeEndValue:h}=d;if(f===null)f=a-h,h=f+h-1;else{if(f>=a)return Promise.resolve(Ht("Range start is greater than the blob's size."));(h===null||h>=a)&&(h=a-1)}let p=i.slice(f,h,l),g=ooe(p);s.body=g[0];let m=Vv(`${p.size}`),E=Wje(f,h,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",m,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",E,!0)}else{let u=ooe(i);s.statusText="OK",s.body=u[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=Pc(e),i=a8e(n);if(i==="failure")return Promise.resolve(Ht("failed to fetch the data URL"));let s=c8e(i.mimeType);return Promise.resolve(Hv({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:CU(i.body)[0]}))}case"file:":return Promise.resolve(Ht("not implemented... yet..."));case"http:":case"https:":return moe(t).catch(n=>Ht(n));default:return Promise.resolve(Ht("unknown scheme"))}}o(coe,"schemeFetch");function g8e(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(g8e,"finalizeResponse");function mU(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=yU(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let d=Yje(e.headersList);d!=="failure"&&(l.contentType=l8e(d))}t.request.initiatorType!=null&&hoe(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 i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():i8e(i.body.stream,()=>{n()})}o(mU,"fetchFinale");async function moe(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await goe(t),e.responseTainting==="cors"&&Oje(e,r)==="failure")return Ht("cors failure");Tje(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Lje(e.origin,e.client,e.destination,n)==="blocked"?Ht("blocked"):(uoe.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Ht("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await y8e(t,r):Jh(!1)),r.timingInfo=i,r)}o(moe,"httpFetch");function y8e(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Dje(n,Pc(r).hash),i==null)return e}catch(a){return Promise.resolve(Ht(a))}if(!EU(i))return Promise.resolve(Ht("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Ht("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!gU(r,i))return Promise.resolve(Ht('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Ht('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Ht());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!h8e.includes(r.method)){r.method="GET",r.body=null;for(let a of Zje)r.headersList.delete(a)}gU(Pc(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Jh(r.body.source!=null),r.body=CU(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=kb(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Qje(r,n),Aoe(t,!0)}o(y8e,"httpRedirectFetch");async function goe(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=Bje(n),i={...t},i.request=s);let u=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",d=s.body?s.body.length:null,f=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(f="0"),d!=null&&(f=Vv(`${d}`)),f!=null&&s.headersList.append("content-length",f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",Vv(s.referrer.href),!0),Rje(s),Pje(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",p8e),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(zje(Pc(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return Ht("only if cached");let h=await E8e(i,u,r);!Xje.has(s.method)&&h.status>=200&&h.status<=399,l&&h.status,a==null&&(a=h)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return n.window==="no-window"?Ht():Wh(t)?Gv(t):Ht("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Wh(t))return Gv(t);t.controller.connection.destroy(),a=await goe(t,e,!0)}return a}o(goe,"httpNetworkOrCacheFetch");async function E8e(t,e=!1,r=!1){Jh(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(g,m=!0){this.destroyed||(this.destroyed=!0,m&&this.abort?.(g??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let g=o(async function*(y){Wh(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),m=o(()=>{Wh(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),E=o(y=>{Wh(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*g(y);m()}catch(y){E(y)}})()}try{let{body:g,status:m,statusText:E,headersList:y,socket:C}=await p({body:l});if(C)i=Hv({status:m,statusText:E,headersList:y,socket:C});else{let I=g[Symbol.asyncIterator]();t.controller.next=()=>I.next(),i=Hv({status:m,statusText:E,headersList:y})}}catch(g){return g.name==="AbortError"?(t.controller.connection.destroy(),Gv(t,g)):Ht(g)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),d=o(g=>{Wh(t)||t.controller.abort(g)},"cancelAlgorithm"),f=new ReadableStream({async start(g){t.controller.controller=g},async pull(g){await u(g)},async cancel(g){await d(g)},type:"bytes"});i.body={stream:f,source:null,length:null},t.controller.onAborted=h,t.controller.on("terminated",h),t.controller.resume=async()=>{for(;;){let g,m;try{let{done:y,value:C}=await t.controller.next();if(soe(t))break;g=y?void 0:C}catch(y){t.controller.ended&&!s.encodedBodySize?g=void 0:(g=y,m=!0)}if(g===void 0){Hje(t.controller.controller),g8e(t,i);return}if(s.decodedBodySize+=g?.byteLength??0,m){t.controller.terminate(g);return}let E=new Uint8Array(g);if(E.byteLength&&t.controller.controller.enqueue(E),o8e(f)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function h(g){soe(t)?(i.aborted=!0,zv(f)&&t.controller.controller.error(t.controller.serializedAbortReason)):zv(f)&&t.controller.controller.error(new TypeError("terminated",{cause:qje(g)?g:void 0})),t.controller.connection.destroy()}return o(h,"onAborted"),i;function p({body:g}){let m=Pc(n),E=t.controller.dispatcher;return new Promise((y,C)=>E.dispatch({path:m.pathname+m.search,origin:m.origin,method:n.method,body:E.isMockActive?n.body&&(n.body.source||n.body.stream):g,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;s.finalConnectionTimingInfo=$je(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),s.finalNetworkRequestStartTime=kb(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=kb(t.crossOriginIsolatedCapability)},onHeaders(I,B,Q,M){if(I<200)return;let v="",$=new ioe;for(let J=0;Jae)return C(new Error(`too many content-encodings in response: ${ee.length}, maximum allowed is ${ae}`)),!0;for(let Ae=ee.length-1;Ae>=0;--Ae){let Y=ee[Ae].trim();if(Y==="x-gzip"||Y==="gzip")D.push(jd.createGunzip({flush:jd.constants.Z_SYNC_FLUSH,finishFlush:jd.constants.Z_SYNC_FLUSH}));else if(Y==="deflate")D.push(Jje({flush:jd.constants.Z_SYNC_FLUSH,finishFlush:jd.constants.Z_SYNC_FLUSH}));else if(Y==="br")D.push(jd.createBrotliDecompress({flush:jd.constants.BROTLI_OPERATION_FLUSH,finishFlush:jd.constants.BROTLI_OPERATION_FLUSH}));else{D.length=0;break}}}let V=this.onError.bind(this);return y({status:I,statusText:M,headersList:$,body:D.length?n8e(this.body,...D,J=>{J&&this.onError(J)}).on("error",V):this.body.on("error",V)}),!0},onData(I){if(t.controller.dump)return;let B=I;return s.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),C(I)},onUpgrade(I,B,Q){if(I!==101)return;let M=new ioe;for(let v=0;v{"use strict";Eoe.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 boe=A((U$t,Coe)=>{"use strict";var{webidl:Zs}=ai(),jv=Symbol("ProgressEvent state"),IU=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Zs.converters.DOMString(e,"ProgressEvent constructor","type"),r=Zs.converters.ProgressEventInit(r??{}),super(e,r),this[jv]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Zs.brandCheck(this,t),this[jv].lengthComputable}get loaded(){return Zs.brandCheck(this,t),this[jv].loaded}get total(){return Zs.brandCheck(this,t),this[jv].total}};Zs.converters.ProgressEventInit=Zs.dictionaryConverter([{key:"lengthComputable",converter:Zs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Zs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Zs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Zs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Zs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Zs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);Coe.exports={ProgressEvent:IU}});var woe=A((G$t,Ioe)=>{"use strict";function C8e(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(C8e,"getEncoding");Ioe.exports={getEncoding:C8e}});var Roe=A((V$t,Toe)=>{"use strict";var{kState:Jm,kError:wU,kResult:Soe,kAborted:Ob,kLastProgressEventFired:SU}=bU(),{ProgressEvent:b8e}=boe(),{getEncoding:Boe}=woe(),{serializeAMimeType:I8e,parseMIMEType:xoe}=ms(),{types:w8e}=require("node:util"),{StringDecoder:voe}=require("string_decoder"),{btoa:Noe}=require("node:buffer"),S8e={enumerable:!0,writable:!1,configurable:!1};function B8e(t,e,r,n){if(t[Jm]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Jm]="loading",t[Soe]=null,t[wU]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[Ob];)try{let{done:u,value:d}=await c;if(l&&!t[Ob]&&queueMicrotask(()=>{Wd("loadstart",t)}),l=!1,!u&&w8e.isUint8Array(d))a.push(d),(t[SU]===void 0||Date.now()-t[SU]>=50)&&!t[Ob]&&(t[SU]=Date.now(),queueMicrotask(()=>{Wd("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[Jm]="done";try{let f=x8e(a,r,e.type,n);if(t[Ob])return;t[Soe]=f,Wd("load",t)}catch(f){t[wU]=f,Wd("error",t)}t[Jm]!=="loading"&&Wd("loadend",t)});break}}catch(u){if(t[Ob])return;queueMicrotask(()=>{t[Jm]="done",t[wU]=u,Wd("error",t),t[Jm]!=="loading"&&Wd("loadend",t)});break}})()}o(B8e,"readOperation");function Wd(t,e){let r=new b8e(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Wd,"fireAProgressEvent");function x8e(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=xoe(r||"application/octet-stream");s!=="failure"&&(i+=I8e(s)),i+=";base64,";let a=new voe("latin1");for(let c of t)i+=Noe(a.write(c));return i+=Noe(a.end()),i}case"Text":{let i="failure";if(n&&(i=Boe(n)),i==="failure"&&r){let s=xoe(r);s!=="failure"&&(i=Boe(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),v8e(t,i)}case"ArrayBuffer":return _oe(t).buffer;case"BinaryString":{let i="",s=new voe("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(x8e,"packageData");function v8e(t,e){let r=_oe(t),n=N8e(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(v8e,"decode");function N8e(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(N8e,"BOMSniffing");function _oe(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(_oe,"combineByteSequences");Toe.exports={staticPropertyDescriptors:S8e,readOperation:B8e,fireAProgressEvent:Wd}});var Poe=A(($$t,koe)=>{"use strict";var{staticPropertyDescriptors:Ym,readOperation:Wv,fireAProgressEvent:Doe}=Roe(),{kState:Yh,kError:Qoe,kResult:Jv,kEvents:Ot,kAborted:_8e}=bU(),{webidl:zt}=ai(),{kEnumerableProperty:Es}=at(),za=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Yh]="empty",this[Jv]=null,this[Qoe]=null,this[Ot]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=zt.converters.Blob(e,{strict:!1}),Wv(this,e,"ArrayBuffer")}readAsBinaryString(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=zt.converters.Blob(e,{strict:!1}),Wv(this,e,"BinaryString")}readAsText(e,r=void 0){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=zt.converters.Blob(e,{strict:!1}),r!==void 0&&(r=zt.converters.DOMString(r,"FileReader.readAsText","encoding")),Wv(this,e,"Text",r)}readAsDataURL(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=zt.converters.Blob(e,{strict:!1}),Wv(this,e,"DataURL")}abort(){if(this[Yh]==="empty"||this[Yh]==="done"){this[Jv]=null;return}this[Yh]==="loading"&&(this[Yh]="done",this[Jv]=null),this[_8e]=!0,Doe("abort",this),this[Yh]!=="loading"&&Doe("loadend",this)}get readyState(){switch(zt.brandCheck(this,t),this[Yh]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return zt.brandCheck(this,t),this[Jv]}get error(){return zt.brandCheck(this,t),this[Qoe]}get onloadend(){return zt.brandCheck(this,t),this[Ot].loadend}set onloadend(e){zt.brandCheck(this,t),this[Ot].loadend&&this.removeEventListener("loadend",this[Ot].loadend),typeof e=="function"?(this[Ot].loadend=e,this.addEventListener("loadend",e)):this[Ot].loadend=null}get onerror(){return zt.brandCheck(this,t),this[Ot].error}set onerror(e){zt.brandCheck(this,t),this[Ot].error&&this.removeEventListener("error",this[Ot].error),typeof e=="function"?(this[Ot].error=e,this.addEventListener("error",e)):this[Ot].error=null}get onloadstart(){return zt.brandCheck(this,t),this[Ot].loadstart}set onloadstart(e){zt.brandCheck(this,t),this[Ot].loadstart&&this.removeEventListener("loadstart",this[Ot].loadstart),typeof e=="function"?(this[Ot].loadstart=e,this.addEventListener("loadstart",e)):this[Ot].loadstart=null}get onprogress(){return zt.brandCheck(this,t),this[Ot].progress}set onprogress(e){zt.brandCheck(this,t),this[Ot].progress&&this.removeEventListener("progress",this[Ot].progress),typeof e=="function"?(this[Ot].progress=e,this.addEventListener("progress",e)):this[Ot].progress=null}get onload(){return zt.brandCheck(this,t),this[Ot].load}set onload(e){zt.brandCheck(this,t),this[Ot].load&&this.removeEventListener("load",this[Ot].load),typeof e=="function"?(this[Ot].load=e,this.addEventListener("load",e)):this[Ot].load=null}get onabort(){return zt.brandCheck(this,t),this[Ot].abort}set onabort(e){zt.brandCheck(this,t),this[Ot].abort&&this.removeEventListener("abort",this[Ot].abort),typeof e=="function"?(this[Ot].abort=e,this.addEventListener("abort",e)):this[Ot].abort=null}};za.EMPTY=za.prototype.EMPTY=0;za.LOADING=za.prototype.LOADING=1;za.DONE=za.prototype.DONE=2;Object.defineProperties(za.prototype,{EMPTY:Ym,LOADING:Ym,DONE:Ym,readAsArrayBuffer:Es,readAsBinaryString:Es,readAsText:Es,readAsDataURL:Es,abort:Es,readyState:Es,result:Es,error:Es,onloadstart:Es,onprogress:Es,onload:Es,onabort:Es,onerror:Es,onloadend:Es,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(za,{EMPTY:Ym,LOADING:Ym,DONE:Ym});koe.exports={FileReader:za}});var Yv=A((W$t,Ooe)=>{"use strict";Ooe.exports={kConstruct:mr().kConstruct}});var Moe=A((J$t,Foe)=>{"use strict";var T8e=require("node:assert"),{URLSerializer:Loe}=ms(),{isValidHeaderName:R8e}=$s();function D8e(t,e,r=!1){let n=Loe(t,r),i=Loe(e,r);return n===i}o(D8e,"urlEquals");function Q8e(t){T8e(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),R8e(r)&&e.push(r);return e}o(Q8e,"getFieldValues");Foe.exports={urlEquals:D8e,getFieldValues:Q8e}});var Goe=A((K$t,qoe)=>{"use strict";var{kConstruct:k8e}=Yv(),{urlEquals:P8e,getFieldValues:BU}=Moe(),{kEnumerableProperty:Kh,isDisturbed:O8e}=at(),{webidl:ve}=ai(),{Response:L8e,cloneResponse:F8e,fromInnerResponse:M8e}=Qb(),{Request:vu,fromInnerRequest:U8e}=Wm(),{kState:$a}=Pd(),{fetching:q8e}=Pb(),{urlIsHttpHttpsScheme:Kv,createDeferredPromise:Km,readAllBytes:G8e}=$s(),xU=require("node:assert"),Xv=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==k8e&&ve.illegalConstructor(),ve.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){ve.brandCheck(this,t);let n="Cache.match";ve.argumentLengthCheck(arguments,1,n),e=ve.converters.RequestInfo(e,n,"request"),r=ve.converters.CacheQueryOptions(r,n,"options");let i=this.#i(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){ve.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=ve.converters.RequestInfo(e,n,"request")),r=ve.converters.CacheQueryOptions(r,n,"options"),this.#i(e,r)}async add(e){ve.brandCheck(this,t);let r="Cache.add";ve.argumentLengthCheck(arguments,1,r),e=ve.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){ve.brandCheck(this,t);let r="Cache.addAll";ve.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let h of e){if(h===void 0)throw ve.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(h=ve.converters.RequestInfo(h),typeof h=="string")continue;let p=h[$a];if(!Kv(p.url)||p.method!=="GET")throw ve.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let h of e){let p=new vu(h)[$a];if(!Kv(p.url))throw ve.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",i.push(p);let g=Km();s.push(q8e({request:p,processResponse(m){if(m.type==="error"||m.status===206||m.status<200||m.status>299)g.reject(ve.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(m.headersList.contains("vary")){let E=BU(m.headersList.get("vary"));for(let y of E)if(y==="*"){g.reject(ve.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of s)C.abort();return}}},processResponseEndOfBody(m){if(m.aborted){g.reject(new DOMException("aborted","AbortError"));return}g.resolve(m)}})),n.push(g.promise)}let c=await Promise.all(n),l=[],u=0;for(let h of c){let p={type:"put",request:i[u],response:h};l.push(p),u++}let d=Km(),f=null;try{this.#t(l)}catch(h){f=h}return queueMicrotask(()=>{f===null?d.resolve(void 0):d.reject(f)}),d.promise}async put(e,r){ve.brandCheck(this,t);let n="Cache.put";ve.argumentLengthCheck(arguments,2,n),e=ve.converters.RequestInfo(e,n,"request"),r=ve.converters.Response(r,n,"response");let i=null;if(e instanceof vu?i=e[$a]:i=new vu(e)[$a],!Kv(i.url)||i.method!=="GET")throw ve.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[$a];if(s.status===206)throw ve.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let p=BU(s.headersList.get("vary"));for(let g of p)if(g==="*")throw ve.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(O8e(s.body.stream)||s.body.stream.locked))throw ve.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=F8e(s),c=Km();if(s.body!=null){let g=s.body.stream.getReader();G8e(g).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:i,response:a};l.push(u);let d=await c.promise;a.body!=null&&(a.body.source=d);let f=Km(),h=null;try{this.#t(l)}catch(p){h=p}return queueMicrotask(()=>{h===null?f.resolve():f.reject(h)}),f.promise}async delete(e,r={}){ve.brandCheck(this,t);let n="Cache.delete";ve.argumentLengthCheck(arguments,1,n),e=ve.converters.RequestInfo(e,n,"request"),r=ve.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof vu){if(i=e[$a],i.method!=="GET"&&!r.ignoreMethod)return!1}else xU(typeof e=="string"),i=new vu(e)[$a];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=Km(),l=null,u;try{u=this.#t(s)}catch(d){l=d}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){ve.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=ve.converters.RequestInfo(e,n,"request")),r=ve.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof vu){if(i=e[$a],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new vu(e)[$a]);let s=Km(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#n(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=U8e(l,new AbortController().signal,"immutable");c.push(u)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#n(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);xU(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Kv(l.url))throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw ve.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let u of c){let d=r.indexOf(u);xU(d!==-1),r.splice(d,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#n(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#r(e,c,l,r)&&i.push(a)}return i}#r(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!P8e(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=BU(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),d=e.headersList.get(l);if(u!==d)return!1}return!0}#i(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof vu){if(i=e[$a],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new vu(e)[$a]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#n(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=M8e(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(Xv.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Kh,matchAll:Kh,add:Kh,addAll:Kh,put:Kh,delete:Kh,keys:Kh});var Uoe=[{key:"ignoreSearch",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];ve.converters.CacheQueryOptions=ve.dictionaryConverter(Uoe);ve.converters.MultiCacheQueryOptions=ve.dictionaryConverter([...Uoe,{key:"cacheName",converter:ve.converters.DOMString}]);ve.converters.Response=ve.interfaceConverter(L8e);ve.converters["sequence"]=ve.sequenceConverter(ve.converters.RequestInfo);qoe.exports={Cache:Xv}});var Voe=A((Z$t,Hoe)=>{"use strict";var{kConstruct:Lb}=Yv(),{Cache:Zv}=Goe(),{webidl:Si}=ai(),{kEnumerableProperty:Fb}=at(),eN=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==Lb&&Si.illegalConstructor(),Si.util.markAsUncloneable(this)}async match(e,r={}){if(Si.brandCheck(this,t),Si.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Si.converters.RequestInfo(e),r=Si.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new Zv(Lb,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new Zv(Lb,n).match(e,r);if(s!==void 0)return s}}async has(e){Si.brandCheck(this,t);let r="CacheStorage.has";return Si.argumentLengthCheck(arguments,1,r),e=Si.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Si.brandCheck(this,t);let r="CacheStorage.open";if(Si.argumentLengthCheck(arguments,1,r),e=Si.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new Zv(Lb,i)}let n=[];return this.#e.set(e,n),new Zv(Lb,n)}async delete(e){Si.brandCheck(this,t);let r="CacheStorage.delete";return Si.argumentLengthCheck(arguments,1,r),e=Si.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Si.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(eN.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Fb,has:Fb,open:Fb,delete:Fb,keys:Fb});Hoe.exports={CacheStorage:eN}});var $oe=A((tjt,zoe)=>{"use strict";zoe.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var _U=A((rjt,Yoe)=>{"use strict";function H8e(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(H8e,"isCTLExcludingHtab");function vU(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(vU,"validateCookieName");function NU(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||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(NU,"validateCookieValue");function Woe(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(Woe,"validateCookiePath");function joe(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(joe,"isLetterOrDigit");function V8e(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(V8e,"validateCookieDomain");var z8e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$8e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tN=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function Joe(t){return typeof t=="number"&&(t=new Date(t)),`${z8e[t.getUTCDay()]}, ${tN[t.getUTCDate()]} ${$8e[t.getUTCMonth()]} ${t.getUTCFullYear()} ${tN[t.getUTCHours()]}:${tN[t.getUTCMinutes()]}:${tN[t.getUTCSeconds()]} GMT`}o(Joe,"toIMFDate");function j8e(t){if(t<0)throw new Error("Invalid cookie max-age")}o(j8e,"validateCookieMaxAge");function W8e(t){if(t.name.length===0)return null;vU(t.name),NU(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"&&(j8e(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(V8e(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(Woe(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${Joe(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("="),s=n.trim(),a=i.join("=");vU(s),NU(a),e.push(`${s}=${a}`)}return e.join("; ")}o(W8e,"stringify");Yoe.exports={isCTLExcludingHtab:H8e,validateCookieName:vU,validateCookiePath:Woe,validateCookieValue:NU,toIMFDate:Joe,stringify:W8e}});var Xoe=A((ijt,Koe)=>{"use strict";var{maxNameValuePairSize:J8e,maxAttributeValueSize:Y8e}=$oe(),{isCTLExcludingHtab:K8e}=_U(),{collectASequenceOfCodePointsFast:rN}=ms(),X8e=require("node:assert");function Z8e(t){if(K8e(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=rN(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=rN("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>J8e?null:{name:n,value:i,...Xm(r)}}o(Z8e,"parseSetCookie");function Xm(t,e={}){if(t.length===0)return e;X8e(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=rN(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=rN("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>Y8e)return Xm(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return Xm(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a=i.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return Xm(t,e)}o(Xm,"parseUnparsedAttributes");Koe.exports={parseSetCookie:Z8e,parseUnparsedAttributes:Xm}});var tae=A((ojt,eae)=>{"use strict";var{parseSetCookie:e6e}=Xoe(),{stringify:t6e}=_U(),{webidl:mt}=ai(),{Headers:nN}=$h();function r6e(t){mt.argumentLengthCheck(arguments,1,"getCookies"),mt.brandCheck(t,nN,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(r6e,"getCookies");function n6e(t,e,r){mt.brandCheck(t,nN,{strict:!1});let n="deleteCookie";mt.argumentLengthCheck(arguments,2,n),e=mt.converters.DOMString(e,n,"name"),r=mt.converters.DeleteCookieAttributes(r),Zoe(t,{name:e,value:"",expires:new Date(0),...r})}o(n6e,"deleteCookie");function i6e(t){mt.argumentLengthCheck(arguments,1,"getSetCookies"),mt.brandCheck(t,nN,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>e6e(r)):[]}o(i6e,"getSetCookies");function Zoe(t,e){mt.argumentLengthCheck(arguments,2,"setCookie"),mt.brandCheck(t,nN,{strict:!1}),e=mt.converters.Cookie(e);let r=t6e(e);r&&t.append("Set-Cookie",r)}o(Zoe,"setCookie");mt.converters.DeleteCookieAttributes=mt.dictionaryConverter([{converter:mt.nullableConverter(mt.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);mt.converters.Cookie=mt.dictionaryConverter([{converter:mt.converters.DOMString,key:"name"},{converter:mt.converters.DOMString,key:"value"},{converter:mt.nullableConverter(t=>typeof t=="number"?mt.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:mt.nullableConverter(mt.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:mt.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:mt.sequenceConverter(mt.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);eae.exports={getCookies:r6e,deleteCookie:n6e,getSetCookies:i6e,setCookie:Zoe}});var eg=A((cjt,nae)=>{"use strict";var{webidl:xe}=ai(),{kEnumerableProperty:Cs}=at(),{kConstruct:rae}=mr(),{MessagePort:s6e}=require("node:worker_threads"),Zm=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===rae){super(arguments[1],arguments[2]),xe.util.markAsUncloneable(this);return}let n="MessageEvent constructor";xe.argumentLengthCheck(arguments,1,n),e=xe.converters.DOMString(e,n,"type"),r=xe.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,xe.util.markAsUncloneable(this)}get data(){return xe.brandCheck(this,t),this.#e.data}get origin(){return xe.brandCheck(this,t),this.#e.origin}get lastEventId(){return xe.brandCheck(this,t),this.#e.lastEventId}get source(){return xe.brandCheck(this,t),this.#e.source}get ports(){return xe.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(rae,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:o6e}=Zm;delete Zm.createFastMessageEvent;var iN=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";xe.argumentLengthCheck(arguments,1,n),e=xe.converters.DOMString(e,n,"type"),r=xe.converters.CloseEventInit(r),super(e,r),this.#e=r,xe.util.markAsUncloneable(this)}get wasClean(){return xe.brandCheck(this,t),this.#e.wasClean}get code(){return xe.brandCheck(this,t),this.#e.code}get reason(){return xe.brandCheck(this,t),this.#e.reason}},sN=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";xe.argumentLengthCheck(arguments,1,n),super(e,r),xe.util.markAsUncloneable(this),e=xe.converters.DOMString(e,n,"type"),r=xe.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return xe.brandCheck(this,t),this.#e.message}get filename(){return xe.brandCheck(this,t),this.#e.filename}get lineno(){return xe.brandCheck(this,t),this.#e.lineno}get colno(){return xe.brandCheck(this,t),this.#e.colno}get error(){return xe.brandCheck(this,t),this.#e.error}};Object.defineProperties(Zm.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Cs,origin:Cs,lastEventId:Cs,source:Cs,ports:Cs,initMessageEvent:Cs});Object.defineProperties(iN.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Cs,code:Cs,wasClean:Cs});Object.defineProperties(sN.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Cs,filename:Cs,lineno:Cs,colno:Cs,error:Cs});xe.converters.MessagePort=xe.interfaceConverter(s6e);xe.converters["sequence"]=xe.sequenceConverter(xe.converters.MessagePort);var TU=[{key:"bubbles",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];xe.converters.MessageEventInit=xe.dictionaryConverter([...TU,{key:"data",converter:xe.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:xe.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:xe.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:xe.nullableConverter(xe.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:xe.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);xe.converters.CloseEventInit=xe.dictionaryConverter([...TU,{key:"wasClean",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:xe.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:xe.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);xe.converters.ErrorEventInit=xe.dictionaryConverter([...TU,{key:"message",converter:xe.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:xe.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:xe.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:xe.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:xe.converters.any}]);nae.exports={MessageEvent:Zm,CloseEvent:iN,ErrorEvent:sN,createFastMessageEvent:o6e}});var Xh=A((ujt,iae)=>{"use strict";var a6e="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",c6e={enumerable:!0,writable:!1,configurable:!1},l6e={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},u6e={NOT_SENT:0,PROCESSING:1,SENT:2},d6e={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},f6e=2**16-1,h6e={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},p6e=Buffer.allocUnsafe(0),A6e={string:1,typedArray:2,arrayBuffer:3,blob:4};iae.exports={uid:a6e,sentCloseFrameState:u6e,staticPropertyDescriptors:c6e,states:l6e,opcodes:d6e,maxUnsigned16Bit:f6e,parserStates:h6e,emptyBuffer:p6e,sendHints:A6e}});var Mb=A((djt,sae)=>{"use strict";sae.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 Gb=A((fjt,pae)=>{"use strict";var{kReadyState:Ub,kController:m6e,kResponse:g6e,kBinaryType:y6e,kWebSocketURL:E6e}=Mb(),{states:qb,opcodes:Jd}=Xh(),{ErrorEvent:C6e,createFastMessageEvent:b6e}=eg(),{isUtf8:I6e}=require("node:buffer"),{collectASequenceOfCodePointsFast:w6e,removeHTTPWhitespace:oae}=ms();function S6e(t){return t[Ub]===qb.CONNECTING}o(S6e,"isConnecting");function B6e(t){return t[Ub]===qb.OPEN}o(B6e,"isEstablished");function x6e(t){return t[Ub]===qb.CLOSING}o(x6e,"isClosing");function v6e(t){return t[Ub]===qb.CLOSED}o(v6e,"isClosed");function RU(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(RU,"fireEvent");function N6e(t,e,r){if(t[Ub]!==qb.OPEN)return;let n;if(e===Jd.TEXT)try{n=hae(r)}catch{cae(t,"Received invalid UTF-8 in text frame.");return}else e===Jd.BINARY&&(t[y6e]==="blob"?n=new Blob([r]):n=_6e(r));RU("message",t,b6e,{origin:t[E6e].origin,data:n})}o(N6e,"websocketMessageReceived");function _6e(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(_6e,"toArrayBuffer");function T6e(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(T6e,"isValidSubprotocol");function R6e(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(R6e,"isValidStatusCode");function cae(t,e){let{[m6e]:r,[g6e]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&RU("error",t,(i,s)=>new C6e(i,s),{error:new Error(e),message:e})}o(cae,"failWebsocketConnection");function lae(t){return t===Jd.CLOSE||t===Jd.PING||t===Jd.PONG}o(lae,"isControlFrame");function uae(t){return t===Jd.CONTINUATION}o(uae,"isContinuationFrame");function dae(t){return t===Jd.TEXT||t===Jd.BINARY}o(dae,"isTextBinaryFrame");function D6e(t){return dae(t)||uae(t)||lae(t)}o(D6e,"isValidOpcode");function Q6e(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(k6e,"isValidClientWindowBits");var fae=typeof process.versions.icu=="string",aae=fae?new TextDecoder("utf-8",{fatal:!0}):void 0,hae=fae?aae.decode.bind(aae):function(t){if(I6e(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};pae.exports={isConnecting:S6e,isEstablished:B6e,isClosing:x6e,isClosed:v6e,fireEvent:RU,isValidSubprotocol:T6e,isValidStatusCode:R6e,failWebsocketConnection:cae,websocketMessageReceived:N6e,utf8Decode:hae,isControlFrame:lae,isContinuationFrame:uae,isTextBinaryFrame:dae,isValidOpcode:D6e,parseExtensions:Q6e,isValidClientWindowBits:k6e}});var aN=A((pjt,Aae)=>{"use strict";var{maxUnsigned16Bit:P6e}=Xh(),oN=16386,DU,Hb=null,tg=oN;try{DU=require("node:crypto")}catch{DU={randomFillSync:o(function(e,r,n){for(let i=0;iP6e?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:L6e,states:Vb,sentCloseFrameState:cN,emptyBuffer:F6e,opcodes:M6e}=Xh(),{kReadyState:zb,kSentClose:lN,kByteParser:gae,kReceivedClose:mae,kResponse:yae}=Mb(),{fireEvent:U6e,failWebsocketConnection:Yd,isClosing:q6e,isClosed:G6e,isEstablished:H6e,parseExtensions:V6e}=Gb(),{channels:rg}=fm(),{CloseEvent:z6e}=eg(),{makeRequest:$6e}=Wm(),{fetching:j6e}=Pb(),{Headers:W6e,getHeadersList:J6e}=$h(),{getDecodeSplit:Y6e}=$s(),{WebsocketFrameSend:K6e}=aN(),kU;try{kU=require("node:crypto")}catch{}function X6e(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=$6e({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let f=J6e(new W6e(s.headers));c.headersList=f}let l=kU.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let f of e)c.headersList.append("sec-websocket-protocol",f);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),j6e({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(f){if(f.type==="error"||f.status!==101){Yd(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!f.headersList.get("Sec-WebSocket-Protocol")){Yd(n,"Server did not respond with sent protocols.");return}if(f.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Yd(n,'Server did not set Upgrade header to "websocket".');return}if(f.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Yd(n,'Server did not set Connection header to "upgrade".');return}let h=f.headersList.get("Sec-WebSocket-Accept"),p=kU.createHash("sha1").update(l+L6e).digest("base64");if(h!==p){Yd(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let g=f.headersList.get("Sec-WebSocket-Extensions"),m;if(g!==null&&(m=V6e(g),!m.has("permessage-deflate"))){Yd(n,"Sec-WebSocket-Extensions header does not match.");return}let E=f.headersList.get("Sec-WebSocket-Protocol");if(E!==null&&!Y6e("sec-websocket-protocol",c.headersList).includes(E)){Yd(n,"Protocol was not set in the opening handshake.");return}f.socket.on("data",Eae),f.socket.on("close",Cae),f.socket.on("error",bae),rg.open.hasSubscribers&&rg.open.publish({address:f.socket.address(),protocol:E,extensions:g}),i(f,m)}})}o(X6e,"establishWebSocketConnection");function Z6e(t,e,r,n){if(!(q6e(t)||G6e(t)))if(!H6e(t))Yd(t,"Connection was closed before it was established."),t[zb]=Vb.CLOSING;else if(t[lN]===cN.NOT_SENT){t[lN]=cN.PROCESSING;let i=new K6e;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=F6e,t[yae].socket.write(i.createFrame(M6e.CLOSE)),t[lN]=cN.SENT,t[zb]=Vb.CLOSING}else t[zb]=Vb.CLOSING}o(Z6e,"closeWebSocketConnection");function Eae(t){this.ws[gae].write(t)||this.pause()}o(Eae,"onSocketData");function Cae(){let{ws:t}=this,{[yae]:e}=t;e.socket.off("data",Eae),e.socket.off("close",Cae),e.socket.off("error",bae);let r=t[lN]===cN.SENT&&t[mae],n=1005,i="",s=t[gae].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[mae]||(n=1006),t[zb]=Vb.CLOSED,U6e("close",t,(a,c)=>new z6e(a,c),{wasClean:r,code:n,reason:i}),rg.close.hasSubscribers&&rg.close.publish({websocket:t,code:n,reason:i})}o(Cae,"onSocketClose");function bae(t){let{ws:e}=this;e[zb]=Vb.CLOSING,rg.socketError.hasSubscribers&&rg.socketError.publish(t),this.destroy()}o(bae,"onSocketError");Iae.exports={establishWebSocketConnection:X6e,closeWebSocketConnection:Z6e}});var Sae=A((yjt,wae)=>{"use strict";var{createInflateRaw:eWe,Z_DEFAULT_WINDOWBITS:tWe}=require("node:zlib"),{isValidClientWindowBits:rWe}=Gb(),{MessageSizeExceededError:nWe}=Rt(),iWe=Buffer.from([0,0,255,255]),uN=Symbol("kBuffer"),$b=Symbol("kLength"),OU=class{static{o(this,"PerMessageDeflate")}#e;#t={};#n=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#n=r.maxPayloadSize}decompress(e,r,n){if(!this.#e){let i=tWe;if(this.#t.serverMaxWindowBits){if(!rWe(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=eWe({windowBits:i})}catch(s){n(s);return}this.#e[uN]=[],this.#e[$b]=0,this.#e.on("data",s=>{if(this.#e[$b]+=s.length,this.#n>0&&this.#e[$b]>this.#n){n(new nWe),this.#e.removeAllListeners(),this.#e=null;return}this.#e[uN].push(s)}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(iWe),this.#e.flush(()=>{if(!this.#e)return;let i=Buffer.concat(this.#e[uN],this.#e[$b]);this.#e[uN].length=0,this.#e[$b]=0,n(null,i)})}};wae.exports={PerMessageDeflate:OU}});var kae=A((Cjt,Qae)=>{"use strict";var{Writable:sWe}=require("node:stream"),oWe=require("node:assert"),{parserStates:bs,opcodes:ng,states:aWe,emptyBuffer:Bae,sentCloseFrameState:xae}=Xh(),{kReadyState:cWe,kSentClose:vae,kResponse:Nae,kReceivedClose:_ae}=Mb(),{channels:dN}=fm(),{isValidStatusCode:lWe,isValidOpcode:uWe,failWebsocketConnection:eo,websocketMessageReceived:Tae,utf8Decode:dWe,isControlFrame:LU,isTextBinaryFrame:FU,isContinuationFrame:fWe}=Gb(),{WebsocketFrameSend:Rae}=aN(),{closeWebSocketConnection:Dae}=PU(),{PerMessageDeflate:hWe}=Sae(),{MessageSizeExceededError:MU}=Rt();function jb(t,e,r){Dae(t,e,r,Buffer.byteLength(r)),eo(t,r)}o(jb,"failWebsocketConnectionWithCode");var UU=class extends sWe{static{o(this,"ByteParser")}#e=[];#t=0;#n=0;#r=!1;#i=bs.INFO;#s={};#l=[];#a;#c;#o;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#c=n.maxFragments??0,this.#o=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new hWe(r,n))}_write(e,r,n){this.#e.push(e),this.#n+=e.length,this.#r=!0,this.run(n)}#f(){return this.#o>0&&!LU(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#o?(jb(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#r;)if(this.#i===bs.INFO){if(this.#n<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==ng.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,d=r[0]&16;if(!uWe(i))return eo(this.ws,"Invalid opcode received"),e();if(s)return eo(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){eo(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||d!==0){eo(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!FU(i)){eo(this.ws,"Invalid frame type was fragmented.");return}if(FU(i)&&this.#l.length>0){eo(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){eo(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&LU(i)){eo(this.ws,"Control frame either too large or fragmented");return}if(fWe(i)&&this.#l.length===0&&!this.#s.compressed){eo(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#s.payloadLength=c,this.#i=bs.READ_DATA,!this.#f())return}else c===126?this.#i=bs.PAYLOADLENGTH_16:c===127&&(this.#i=bs.PAYLOADLENGTH_64);FU(i)&&(this.#s.binaryType=i,this.#s.compressed=l!==0),this.#s.opcode=i,this.#s.masked=s,this.#s.fin=n,this.#s.fragmented=a}else if(this.#i===bs.PAYLOADLENGTH_16){if(this.#n<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#i=bs.READ_DATA,!this.#f())return}else if(this.#i===bs.PAYLOADLENGTH_64){if(this.#n<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),i=r.readUInt32BE(4);if(n!==0||i>2**31-1){eo(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=i,this.#i=bs.READ_DATA,!this.#f())return}else if(this.#i===bs.READ_DATA){if(this.#n{if(n){let s=n instanceof MU?1009:1007;jb(this.ws,s,n.message);return}if(this.writeFragments(i)){if(this.#o>0&&this.#t>this.#o){jb(this.ws,1009,new MU().message);return}if(!this.#s.fin){this.#i=bs.INFO,this.#r=!0,this.run(e);return}Tae(this.ws,this.#s.binaryType,this.consumeFragments()),this.#r=!0,this.#i=bs.INFO,this.run(e)}}),this.#r=!1;break}else{if(!this.writeFragments(r))return;if(this.#o>0&&this.#t>this.#o){jb(this.ws,1009,new MU().message);return}!this.#s.fragmented&&this.#s.fin&&Tae(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=bs.INFO}}}consume(e){if(e>this.#n)throw new Error("Called consume() before buffers satiated.");if(e===0)return Bae;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#n-=e,r}writeFragments(e){return this.#c>0&&this.#l.length===this.#c?(jb(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#l.push(e),!0)}consumeFragments(){let e=this.#l;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#l=[],this.#t=0,r}parseCloseBody(e){oWe(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!lWe(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=dWe(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#s;if(r===ng.CLOSE){if(n===1)return eo(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#s.closeInfo=this.parseCloseBody(e),this.#s.closeInfo.error){let{code:i,reason:s}=this.#s.closeInfo;return Dae(this.ws,i,s,s.length),eo(this.ws,s),!1}if(this.ws[vae]!==xae.SENT){let i=Bae;this.#s.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#s.closeInfo.code,0));let s=new Rae(i);this.ws[Nae].socket.write(s.createFrame(ng.CLOSE),a=>{a||(this.ws[vae]=xae.SENT)})}return this.ws[cWe]=aWe.CLOSING,this.ws[_ae]=!0,!1}else if(r===ng.PING){if(!this.ws[_ae]){let i=new Rae(e);this.ws[Nae].socket.write(i.createFrame(ng.PONG)),dN.ping.hasSubscribers&&dN.ping.publish({payload:e})}}else r===ng.PONG&&dN.pong.hasSubscribers&&dN.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Qae.exports={ByteParser:UU}});var Mae=A((Ijt,Fae)=>{"use strict";var{WebsocketFrameSend:pWe}=aN(),{opcodes:Pae,sendHints:ig}=Xh(),AWe=$F(),Oae=Buffer[Symbol.species],qU=class{static{o(this,"SendQueue")}#e=new AWe;#t=!1;#n;constructor(e){this.#n=e}add(e,r,n){if(n!==ig.blob){let s=Lae(e,n);if(!this.#t)this.#n.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=Lae(s,n)}),callback:r,frame:null};this.#e.push(i),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.#n.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function Lae(t,e){return new pWe(mWe(t,e)).createFrame(e===ig.string?Pae.TEXT:Pae.BINARY)}o(Lae,"createFrame");function mWe(t,e){switch(e){case ig.string:return Buffer.from(t);case ig.arrayBuffer:case ig.blob:return new Oae(t);case ig.typedArray:return new Oae(t.buffer,t.byteOffset,t.byteLength)}}o(mWe,"toBuffer");Fae.exports={SendQueue:qU}});var Jae=A((Sjt,Wae)=>{"use strict";var{webidl:He}=ai(),{URLSerializer:gWe}=ms(),{environmentSettingsObject:Uae}=$s(),{staticPropertyDescriptors:Kd,states:Wb,sentCloseFrameState:yWe,sendHints:fN}=Xh(),{kWebSocketURL:qae,kReadyState:GU,kController:Gae,kBinaryType:hN,kResponse:Hae,kSentClose:EWe,kByteParser:CWe}=Mb(),{isConnecting:bWe,isEstablished:IWe,isClosing:wWe,isValidSubprotocol:SWe,fireEvent:Vae}=Gb(),{establishWebSocketConnection:BWe,closeWebSocketConnection:zae}=PU(),{ByteParser:xWe}=kae(),{kEnumerableProperty:Mo,isBlobLike:$ae}=at(),{getGlobalDispatcher:vWe}=Nv(),{types:jae}=require("node:util"),{ErrorEvent:NWe,CloseEvent:_We}=eg(),{SendQueue:TWe}=Mae(),to=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#n="";#r="";#i;constructor(e,r=[]){super(),He.util.markAsUncloneable(this);let n="WebSocket constructor";He.argumentLengthCheck(arguments,1,n);let i=He.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=He.converters.USVString(e,n,"url"),r=i.protocols;let s=Uae.settingsObject.baseUrl,a;try{a=new URL(e,s)}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=>SWe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[qae]=new URL(a.href);let c=Uae.settingsObject;this[Gae]=BWe(a,r,c,this,(l,u)=>this.#s(l,u),i),this[GU]=t.CONNECTING,this[EWe]=yWe.NOT_SENT,this[hN]="blob"}close(e=void 0,r=void 0){He.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=He.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=He.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");zae(this,e,r,i)}send(e){He.brandCheck(this,t);let r="WebSocket.send";if(He.argumentLengthCheck(arguments,1,r),e=He.converters.WebSocketSendData(e,r,"data"),bWe(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!IWe(this)||wWe(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#i.add(e,()=>{this.#t-=n},fN.string)}else jae.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},fN.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},fN.typedArray)):$ae(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},fN.blob))}get readyState(){return He.brandCheck(this,t),this[GU]}get bufferedAmount(){return He.brandCheck(this,t),this.#t}get url(){return He.brandCheck(this,t),gWe(this[qae])}get extensions(){return He.brandCheck(this,t),this.#r}get protocol(){return He.brandCheck(this,t),this.#n}get onopen(){return He.brandCheck(this,t),this.#e.open}set onopen(e){He.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 He.brandCheck(this,t),this.#e.error}set onerror(e){He.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 He.brandCheck(this,t),this.#e.close}set onclose(e){He.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 He.brandCheck(this,t),this.#e.message}set onmessage(e){He.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 He.brandCheck(this,t),this[hN]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[hN]="blob":this[hN]=e}#s(e,r){this[Hae]=e;let n=this[Gae]?.dispatcher?.webSocketOptions,i=n?.maxFragments,s=n?.maxPayloadSize,a=new xWe(this,r,{maxFragments:i,maxPayloadSize:s});a.on("drain",RWe),a.on("error",DWe.bind(this)),e.socket.ws=this,this[CWe]=a,this.#i=new TWe(e.socket),this[GU]=Wb.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.#n=l),Vae("open",this)}};to.CONNECTING=to.prototype.CONNECTING=Wb.CONNECTING;to.OPEN=to.prototype.OPEN=Wb.OPEN;to.CLOSING=to.prototype.CLOSING=Wb.CLOSING;to.CLOSED=to.prototype.CLOSED=Wb.CLOSED;Object.defineProperties(to.prototype,{CONNECTING:Kd,OPEN:Kd,CLOSING:Kd,CLOSED:Kd,url:Mo,readyState:Mo,bufferedAmount:Mo,onopen:Mo,onerror:Mo,onclose:Mo,close:Mo,onmessage:Mo,binaryType:Mo,send:Mo,extensions:Mo,protocol:Mo,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(to,{CONNECTING:Kd,OPEN:Kd,CLOSING:Kd,CLOSED:Kd});He.converters["sequence"]=He.sequenceConverter(He.converters.DOMString);He.converters["DOMString or sequence"]=function(t,e,r){return He.util.Type(t)==="Object"&&Symbol.iterator in t?He.converters["sequence"](t):He.converters.DOMString(t,e,r)};He.converters.WebSocketInit=He.dictionaryConverter([{key:"protocols",converter:He.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:He.converters.any,defaultValue:o(()=>vWe(),"defaultValue")},{key:"headers",converter:He.nullableConverter(He.converters.HeadersInit)}]);He.converters["DOMString or sequence or WebSocketInit"]=function(t){return He.util.Type(t)==="Object"&&!(Symbol.iterator in t)?He.converters.WebSocketInit(t):{protocols:He.converters["DOMString or sequence"](t)}};He.converters.WebSocketSendData=function(t){if(He.util.Type(t)==="Object"){if($ae(t))return He.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||jae.isArrayBuffer(t))return He.converters.BufferSource(t)}return He.converters.USVString(t)};function RWe(){this.ws[Hae].socket.resume()}o(RWe,"onParserDrain");function DWe(t){let e,r;t instanceof _We?(e=t.reason,r=t.code):e=t.message,Vae("error",this,()=>new NWe("error",{error:t,message:e})),zae(this,r)}o(DWe,"onParserError");Wae.exports={WebSocket:to}});var HU=A((xjt,Yae)=>{"use strict";function QWe(t){return t.indexOf("\0")===-1}o(QWe,"isValidLastEventId");function kWe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(kWe,"isASCIINumber");function PWe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(PWe,"delay");Yae.exports={isValidLastEventId:QWe,isASCIINumber:kWe,delay:PWe}});var ece=A((Njt,Zae)=>{"use strict";var{Transform:OWe}=require("node:stream"),{isASCIINumber:Kae,isValidLastEventId:Xae}=HU(),Nu=[239,187,191],VU=10,pN=13,LWe=58,FWe=32,zU=class extends OWe{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Nu[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Nu[0]&&this.buffer[1]===Nu[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Nu[0]&&this.buffer[1]===Nu[1]&&this.buffer[2]===Nu[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Nu[0]&&this.buffer[1]===Nu[1]&&this.buffer[2]===Nu[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&Kae(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Xae(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,event:void 0,id:void 0,retry:void 0}}};Zae.exports={EventSourceStream:zU}});var cce=A((Tjt,ace)=>{"use strict";var{pipeline:MWe}=require("node:stream"),{fetching:UWe}=Pb(),{makeRequest:qWe}=Wm(),{webidl:_u}=ai(),{EventSourceStream:GWe}=ece(),{parseMIMEType:HWe}=ms(),{createFastMessageEvent:VWe}=eg(),{isNetworkError:tce}=Qb(),{delay:zWe}=HU(),{kEnumerableProperty:Zh}=at(),{environmentSettingsObject:rce}=$s(),nce=!1,ice=3e3,Jb=0,sce=1,Yb=2,$We="anonymous",jWe="use-credentials",sg=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=Jb;#i=null;#s=null;#l;#a;constructor(e,r={}){super(),_u.util.markAsUncloneable(this);let n="EventSource constructor";_u.argumentLengthCheck(arguments,1,n),nce||(nce=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=_u.converters.USVString(e,n,"url"),r=_u.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#l=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:ice};let i=rce,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=$We;r.withCredentials&&(a=jWe,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=rce.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#i=qWe(c),this.#c()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#c(){if(this.#r===Yb)return;this.#r=Jb;let e={request:this.#i,dispatcher:this.#l},r=o(n=>{tce(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#o()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(tce(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#o();return}let i=n.headersList.get("content-type",!0),s=i!==null?HWe(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=sce,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new GWe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(VWe(l.type,l.options))},"push")});MWe(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=UWe(e)}async#o(){this.#r!==Yb&&(this.#r=Jb,this.dispatchEvent(new Event("error")),await zWe(this.#a.reconnectionTime),this.#r===Jb&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){_u.brandCheck(this,t),this.#r!==Yb&&(this.#r=Yb,this.#s.abort(),this.#i=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}},oce={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Jb,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:sce,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Yb,writable:!1}};Object.defineProperties(sg,oce);Object.defineProperties(sg.prototype,oce);Object.defineProperties(sg.prototype,{close:Zh,onerror:Zh,onmessage:Zh,onopen:Zh,readyState:Zh,url:Zh,withCredentials:Zh});_u.converters.EventSourceInitDict=_u.dictionaryConverter([{key:"withCredentials",converter:_u.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:_u.converters.any}]);ace.exports={EventSource:sg,defaultReconnectionTime:ice}});var Xd=A((Djt,Ue)=>{"use strict";var WWe=Dm(),lce=eb(),JWe=Qm(),YWe=one(),KWe=km(),XWe=fM(),ZWe=Tne(),eJe=Lne(),uce=Rt(),mN=at(),{InvalidArgumentError:AN}=uce,og=wie(),tJe=rb(),rJe=jM(),nJe=sse(),iJe=YM(),sJe=kM(),oJe=yv(),{getGlobalDispatcher:dce,setGlobalDispatcher:aJe}=Nv(),cJe=_v(),lJe=av(),uJe=cv();Object.assign(lce.prototype,og);Ue.exports.Dispatcher=lce;Ue.exports.Client=WWe;Ue.exports.Pool=JWe;Ue.exports.BalancedPool=YWe;Ue.exports.Agent=KWe;Ue.exports.ProxyAgent=XWe;Ue.exports.EnvHttpProxyAgent=ZWe;Ue.exports.RetryAgent=eJe;Ue.exports.RetryHandler=oJe;Ue.exports.DecoratorHandler=cJe;Ue.exports.RedirectHandler=lJe;Ue.exports.createRedirectInterceptor=uJe;Ue.exports.interceptors={redirect:fse(),retry:pse(),dump:mse(),dns:Ese()};Ue.exports.buildConnector=tJe;Ue.exports.errors=uce;Ue.exports.util={parseHeaders:mN.parseHeaders,headerNameToString:mN.headerNameToString};function Kb(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new AN("invalid url");if(r!=null&&typeof r!="object")throw new AN("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new AN("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(mN.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=mN.parseURL(e);let{agent:i,dispatcher:s=dce()}=r;if(i)throw new AN("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(Kb,"makeDispatcher");Ue.exports.setGlobalDispatcher=aJe;Ue.exports.getGlobalDispatcher=dce;var dJe=Pb().fetch;Ue.exports.fetch=o(async function(e,r=void 0){try{return await dJe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Ue.exports.Headers=$h().Headers;Ue.exports.Response=Qb().Response;Ue.exports.Request=Wm().Request;Ue.exports.FormData=lb().FormData;Ue.exports.File=globalThis.File??require("node:buffer").File;Ue.exports.FileReader=Poe().FileReader;var{setGlobalOrigin:fJe,getGlobalOrigin:hJe}=hF();Ue.exports.setGlobalOrigin=fJe;Ue.exports.getGlobalOrigin=hJe;var{CacheStorage:pJe}=Voe(),{kConstruct:AJe}=Yv();Ue.exports.caches=new pJe(AJe);var{deleteCookie:mJe,getCookies:gJe,getSetCookies:yJe,setCookie:EJe}=tae();Ue.exports.deleteCookie=mJe;Ue.exports.getCookies=gJe;Ue.exports.getSetCookies=yJe;Ue.exports.setCookie=EJe;var{parseMIMEType:CJe,serializeAMimeType:bJe}=ms();Ue.exports.parseMIMEType=CJe;Ue.exports.serializeAMimeType=bJe;var{CloseEvent:IJe,ErrorEvent:wJe,MessageEvent:SJe}=eg();Ue.exports.WebSocket=Jae().WebSocket;Ue.exports.CloseEvent=IJe;Ue.exports.ErrorEvent=wJe;Ue.exports.MessageEvent=SJe;Ue.exports.request=Kb(og.request);Ue.exports.stream=Kb(og.stream);Ue.exports.pipeline=Kb(og.pipeline);Ue.exports.connect=Kb(og.connect);Ue.exports.upgrade=Kb(og.upgrade);Ue.exports.MockClient=rJe;Ue.exports.MockPool=iJe;Ue.exports.MockAgent=nJe;Ue.exports.mockErrors=sJe;var{EventSource:BJe}=cce();Ue.exports.EventSource=BJe});var s0=A((r6t,Hce)=>{"use strict";var KJe="2.0.0",XJe=Number.MAX_SAFE_INTEGER||9007199254740991,ZJe=16,e9e=250,t9e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Hce.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ZJe,MAX_SAFE_BUILD_LENGTH:e9e,MAX_SAFE_INTEGER:XJe,RELEASE_TYPES:t9e,SEMVER_SPEC_VERSION:KJe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var o0=A((n6t,Vce)=>{"use strict";var r9e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Vce.exports=r9e});var fg=A((Mc,zce)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Aq,MAX_SAFE_BUILD_LENGTH:n9e,MAX_LENGTH:i9e}=s0(),s9e=o0();Mc=zce.exports={};var o9e=Mc.re=[],a9e=Mc.safeRe=[],ce=Mc.src=[],c9e=Mc.safeSrc=[],le=Mc.t={},l9e=0,mq="[a-zA-Z0-9-]",u9e=[["\\s",1],["\\d",i9e],[mq,n9e]],d9e=o(t=>{for(let[e,r]of u9e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),je=o((t,e,r)=>{let n=d9e(e),i=l9e++;s9e(t,i,e),le[t]=i,ce[i]=e,c9e[i]=n,o9e[i]=new RegExp(e,r?"g":void 0),a9e[i]=new RegExp(n,r?"g":void 0)},"createToken");je("NUMERICIDENTIFIER","0|[1-9]\\d*");je("NUMERICIDENTIFIERLOOSE","\\d+");je("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${mq}*`);je("MAINVERSION",`(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})`);je("MAINVERSIONLOOSE",`(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})`);je("PRERELEASEIDENTIFIER",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIER]})`);je("PRERELEASEIDENTIFIERLOOSE",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIERLOOSE]})`);je("PRERELEASE",`(?:-(${ce[le.PRERELEASEIDENTIFIER]}(?:\\.${ce[le.PRERELEASEIDENTIFIER]})*))`);je("PRERELEASELOOSE",`(?:-?(${ce[le.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ce[le.PRERELEASEIDENTIFIERLOOSE]})*))`);je("BUILDIDENTIFIER",`${mq}+`);je("BUILD",`(?:\\+(${ce[le.BUILDIDENTIFIER]}(?:\\.${ce[le.BUILDIDENTIFIER]})*))`);je("FULLPLAIN",`v?${ce[le.MAINVERSION]}${ce[le.PRERELEASE]}?${ce[le.BUILD]}?`);je("FULL",`^${ce[le.FULLPLAIN]}$`);je("LOOSEPLAIN",`[v=\\s]*${ce[le.MAINVERSIONLOOSE]}${ce[le.PRERELEASELOOSE]}?${ce[le.BUILD]}?`);je("LOOSE",`^${ce[le.LOOSEPLAIN]}$`);je("GTLT","((?:<|>)?=?)");je("XRANGEIDENTIFIERLOOSE",`${ce[le.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);je("XRANGEIDENTIFIER",`${ce[le.NUMERICIDENTIFIER]}|x|X|\\*`);je("XRANGEPLAIN",`[v=\\s]*(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:${ce[le.PRERELEASE]})?${ce[le.BUILD]}?)?)?`);je("XRANGEPLAINLOOSE",`[v=\\s]*(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:${ce[le.PRERELEASELOOSE]})?${ce[le.BUILD]}?)?)?`);je("XRANGE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAIN]}$`);je("XRANGELOOSE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAINLOOSE]}$`);je("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Aq}})(?:\\.(\\d{1,${Aq}}))?(?:\\.(\\d{1,${Aq}}))?`);je("COERCE",`${ce[le.COERCEPLAIN]}(?:$|[^\\d])`);je("COERCEFULL",ce[le.COERCEPLAIN]+`(?:${ce[le.PRERELEASE]})?(?:${ce[le.BUILD]})?(?:$|[^\\d])`);je("COERCERTL",ce[le.COERCE],!0);je("COERCERTLFULL",ce[le.COERCEFULL],!0);je("LONETILDE","(?:~>?)");je("TILDETRIM",`(\\s*)${ce[le.LONETILDE]}\\s+`,!0);Mc.tildeTrimReplace="$1~";je("TILDE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAIN]}$`);je("TILDELOOSE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAINLOOSE]}$`);je("LONECARET","(?:\\^)");je("CARETTRIM",`(\\s*)${ce[le.LONECARET]}\\s+`,!0);Mc.caretTrimReplace="$1^";je("CARET",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAIN]}$`);je("CARETLOOSE",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAINLOOSE]}$`);je("COMPARATORLOOSE",`^${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]})$|^$`);je("COMPARATOR",`^${ce[le.GTLT]}\\s*(${ce[le.FULLPLAIN]})$|^$`);je("COMPARATORTRIM",`(\\s*)${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]}|${ce[le.XRANGEPLAIN]})`,!0);Mc.comparatorTrimReplace="$1$2$3";je("HYPHENRANGE",`^\\s*(${ce[le.XRANGEPLAIN]})\\s+-\\s+(${ce[le.XRANGEPLAIN]})\\s*$`);je("HYPHENRANGELOOSE",`^\\s*(${ce[le.XRANGEPLAINLOOSE]})\\s+-\\s+(${ce[le.XRANGEPLAINLOOSE]})\\s*$`);je("STAR","(<|>)?=?\\s*\\*");je("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");je("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var SN=A((s6t,$ce)=>{"use strict";var f9e=Object.freeze({loose:!0}),h9e=Object.freeze({}),p9e=o(t=>t?typeof t!="object"?f9e:t:h9e,"parseOptions");$ce.exports=p9e});var gq=A((a6t,Jce)=>{"use strict";var jce=/^[0-9]+$/,Wce=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tWce(e,t),"rcompareIdentifiers");Jce.exports={compareIdentifiers:Wce,rcompareIdentifiers:A9e}});var Bi=A((l6t,Kce)=>{"use strict";var BN=o0(),{MAX_LENGTH:Yce,MAX_SAFE_INTEGER:xN}=s0(),{safeRe:vN,t:NN}=fg(),m9e=SN(),{compareIdentifiers:yq}=gq(),Eq=class t{static{o(this,"SemVer")}constructor(e,r){if(r=m9e(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>Yce)throw new TypeError(`version is longer than ${Yce} characters`);BN("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?vN[NN.LOOSE]:vN[NN.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>xN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>xN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>xN||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&se.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 n=this.prerelease[r],i=e.prerelease[r];if(BN("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return yq(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(BN("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return yq(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?vN[NN.PRERELEASELOOSE]:vN[NN.PRERELEASE]);if(!i||i[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),yq(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Kce.exports=Eq});var ip=A((d6t,Zce)=>{"use strict";var Xce=Bi(),g9e=o((t,e,r=!1)=>{if(t instanceof Xce)return t;try{return new Xce(t,e)}catch(n){if(!r)return null;throw n}},"parse");Zce.exports=g9e});var tle=A((h6t,ele)=>{"use strict";var y9e=ip(),E9e=o((t,e)=>{let r=y9e(t,e);return r?r.version:null},"valid");ele.exports=E9e});var nle=A((A6t,rle)=>{"use strict";var C9e=ip(),b9e=o((t,e)=>{let r=C9e(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");rle.exports=b9e});var ole=A((g6t,sle)=>{"use strict";var ile=Bi(),I9e=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new ile(t instanceof ile?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");sle.exports=I9e});var lle=A((E6t,cle)=>{"use strict";var ale=ip(),w9e=o((t,e)=>{let r=ale(t,null,!0),n=ale(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n: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 d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"},"diff");cle.exports=w9e});var dle=A((b6t,ule)=>{"use strict";var S9e=Bi(),B9e=o((t,e)=>new S9e(t,e).major,"major");ule.exports=B9e});var hle=A((w6t,fle)=>{"use strict";var x9e=Bi(),v9e=o((t,e)=>new x9e(t,e).minor,"minor");fle.exports=v9e});var Ale=A((B6t,ple)=>{"use strict";var N9e=Bi(),_9e=o((t,e)=>new N9e(t,e).patch,"patch");ple.exports=_9e});var gle=A((v6t,mle)=>{"use strict";var T9e=ip(),R9e=o((t,e)=>{let r=T9e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");mle.exports=R9e});var qo=A((_6t,Ele)=>{"use strict";var yle=Bi(),D9e=o((t,e,r)=>new yle(t,r).compare(new yle(e,r)),"compare");Ele.exports=D9e});var ble=A((R6t,Cle)=>{"use strict";var Q9e=qo(),k9e=o((t,e,r)=>Q9e(e,t,r),"rcompare");Cle.exports=k9e});var wle=A((Q6t,Ile)=>{"use strict";var P9e=qo(),O9e=o((t,e)=>P9e(t,e,!0),"compareLoose");Ile.exports=O9e});var _N=A((P6t,Ble)=>{"use strict";var Sle=Bi(),L9e=o((t,e,r)=>{let n=new Sle(t,r),i=new Sle(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");Ble.exports=L9e});var vle=A((L6t,xle)=>{"use strict";var F9e=_N(),M9e=o((t,e)=>t.sort((r,n)=>F9e(r,n,e)),"sort");xle.exports=M9e});var _le=A((M6t,Nle)=>{"use strict";var U9e=_N(),q9e=o((t,e)=>t.sort((r,n)=>U9e(n,r,e)),"rsort");Nle.exports=q9e});var a0=A((q6t,Tle)=>{"use strict";var G9e=qo(),H9e=o((t,e,r)=>G9e(t,e,r)>0,"gt");Tle.exports=H9e});var TN=A((H6t,Rle)=>{"use strict";var V9e=qo(),z9e=o((t,e,r)=>V9e(t,e,r)<0,"lt");Rle.exports=z9e});var Cq=A((z6t,Dle)=>{"use strict";var $9e=qo(),j9e=o((t,e,r)=>$9e(t,e,r)===0,"eq");Dle.exports=j9e});var bq=A((j6t,Qle)=>{"use strict";var W9e=qo(),J9e=o((t,e,r)=>W9e(t,e,r)!==0,"neq");Qle.exports=J9e});var RN=A((J6t,kle)=>{"use strict";var Y9e=qo(),K9e=o((t,e,r)=>Y9e(t,e,r)>=0,"gte");kle.exports=K9e});var DN=A((K6t,Ple)=>{"use strict";var X9e=qo(),Z9e=o((t,e,r)=>X9e(t,e,r)<=0,"lte");Ple.exports=Z9e});var Iq=A((Z6t,Ole)=>{"use strict";var eYe=Cq(),tYe=bq(),rYe=a0(),nYe=RN(),iYe=TN(),sYe=DN(),oYe=o((t,e,r,n)=>{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 eYe(t,r,n);case"!=":return tYe(t,r,n);case">":return rYe(t,r,n);case">=":return nYe(t,r,n);case"<":return iYe(t,r,n);case"<=":return sYe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Ole.exports=oYe});var Fle=A((tWt,Lle)=>{"use strict";var aYe=Bi(),cYe=ip(),{safeRe:QN,t:kN}=fg(),lYe=o((t,e)=>{if(t instanceof aYe)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?QN[kN.COERCEFULL]:QN[kN.COERCE]);else{let l=e.includePrerelease?QN[kN.COERCERTLFULL]:QN[kN.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 n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return cYe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");Lle.exports=lYe});var Ule=A((nWt,Mle)=>{"use strict";var wq=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 i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};Mle.exports=wq});var Go=A((sWt,Vle)=>{"use strict";var uYe=/\s+/g,Sq=class t{static{o(this,"Range")}constructor(e,r){if(r=fYe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Bq)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(uYe," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!Gle(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&EYe(i[0])){this.set=[i];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&gYe)|(this.options.loose&&yYe))+":"+e,i=qle.get(n);if(i)return i;let s=this.options.loose,a=s?Vi[xi.HYPHENRANGELOOSE]:Vi[xi.HYPHENRANGE];e=e.replace(a,_Ye(this.options.includePrerelease)),ir("hyphen replace",e),e=e.replace(Vi[xi.COMPARATORTRIM],pYe),ir("comparator trim",e),e=e.replace(Vi[xi.TILDETRIM],AYe),ir("tilde trim",e),e=e.replace(Vi[xi.CARETTRIM],mYe),ir("caret trim",e);let c=e.split(" ").map(f=>CYe(f,this.options)).join(" ").split(/\s+/).map(f=>NYe(f,this.options));s&&(c=c.filter(f=>(ir("loose invalid filter",f,this.options),!!f.match(Vi[xi.COMPARATORLOOSE])))),ir("range list",c);let l=new Map,u=c.map(f=>new Bq(f,this.options));for(let f of u){if(Gle(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return qle.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Hle(n,r)&&e.set.some(i=>Hle(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new hYe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),EYe=o(t=>t.value==="","isAny"),Hle=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),CYe=o((t,e)=>(t=t.replace(Vi[xi.BUILD],""),ir("comp",t,e),t=wYe(t,e),ir("caret",t),t=bYe(t,e),ir("tildes",t),t=BYe(t,e),ir("xrange",t),t=vYe(t,e),ir("stars",t),t),"parseComparator"),zi=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),bYe=o((t,e)=>t.trim().split(/\s+/).map(r=>IYe(r,e)).join(" "),"replaceTildes"),IYe=o((t,e)=>{let r=e.loose?Vi[xi.TILDELOOSE]:Vi[xi.TILDE];return t.replace(r,(n,i,s,a,c)=>{ir("tilde",t,n,i,s,a,c);let l;return zi(i)?l="":zi(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:zi(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:c?(ir("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,ir("tilde return",l),l})},"replaceTilde"),wYe=o((t,e)=>t.trim().split(/\s+/).map(r=>SYe(r,e)).join(" "),"replaceCarets"),SYe=o((t,e)=>{ir("caret",t,e);let r=e.loose?Vi[xi.CARETLOOSE]:Vi[xi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{ir("caret",t,i,s,a,c,l);let u;return zi(s)?u="":zi(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:zi(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(ir("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(ir("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),ir("caret return",u),u})},"replaceCaret"),BYe=o((t,e)=>(ir("replaceXRanges",t,e),t.split(/\s+/).map(r=>xYe(r,e)).join(" ")),"replaceXRanges"),xYe=o((t,e)=>{t=t.trim();let r=e.loose?Vi[xi.XRANGELOOSE]:Vi[xi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{ir("xRange",t,n,i,s,a,c,l);let u=zi(s),d=u||zi(a),f=d||zi(c),h=f;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(d&&(a=0),c=0,i===">"?(i=">=",d?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",d?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):d?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:f&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),ir("xRange return",n),n})},"replaceXRange"),vYe=o((t,e)=>(ir("replaceStars",t,e),t.trim().replace(Vi[xi.STAR],"")),"replaceStars"),NYe=o((t,e)=>(ir("replaceGTE0",t,e),t.trim().replace(Vi[e.includePrerelease?xi.GTE0PRE:xi.GTE0],"")),"replaceGTE0"),_Ye=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(zi(n)?r="":zi(i)?r=`>=${n}.0.0${t?"-0":""}`:zi(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,zi(u)?l="":zi(d)?l=`<${+u+1}.0.0-0`:zi(f)?l=`<${u}.${+d+1}.0-0`:h?l=`<=${u}.${d}.${f}-${h}`:t?l=`<${u}.${d}.${+f+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),TYe=o((t,e,r)=>{for(let n=0;n0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var c0=A((aWt,Yle)=>{"use strict";var l0=Symbol("SemVer ANY"),Nq=class t{static{o(this,"Comparator")}static get ANY(){return l0}constructor(e,r){if(r=zle(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),vq("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===l0?this.value="":this.value=this.operator+this.semver.version,vq("comp",this)}parse(e){let r=this.options.loose?$le[jle.COMPARATORLOOSE]:$le[jle.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Wle(n[2],this.options.loose):this.semver=l0}toString(){return this.value}test(e){if(vq("Comparator.test",e,this.options.loose),this.semver===l0||e===l0)return!0;if(typeof e=="string")try{e=new Wle(e,this.options)}catch{return!1}return xq(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 Jle(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Jle(this.value,r).test(e.semver):(r=zle(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("=")||xq(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||xq(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Yle.exports=Nq;var zle=SN(),{safeRe:$le,t:jle}=fg(),xq=Iq(),vq=o0(),Wle=Bi(),Jle=Go()});var u0=A((lWt,Kle)=>{"use strict";var RYe=Go(),DYe=o((t,e,r)=>{try{e=new RYe(e,r)}catch{return!1}return e.test(t)},"satisfies");Kle.exports=DYe});var Zle=A((dWt,Xle)=>{"use strict";var QYe=Go(),kYe=o((t,e)=>new QYe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Xle.exports=kYe});var tue=A((hWt,eue)=>{"use strict";var PYe=Bi(),OYe=Go(),LYe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new OYe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new PYe(n,r))}),n},"maxSatisfying");eue.exports=LYe});var nue=A((AWt,rue)=>{"use strict";var FYe=Bi(),MYe=Go(),UYe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new MYe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new FYe(n,r))}),n},"minSatisfying");rue.exports=UYe});var oue=A((gWt,sue)=>{"use strict";var _q=Bi(),qYe=Go(),iue=a0(),GYe=o((t,e)=>{t=new qYe(t,e);let r=new _q("0.0.0");if(t.test(r)||(r=new _q("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new _q(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||iue(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||iue(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");sue.exports=GYe});var cue=A((EWt,aue)=>{"use strict";var HYe=Go(),VYe=o((t,e)=>{try{return new HYe(t,e).range||"*"}catch{return null}},"validRange");aue.exports=VYe});var PN=A((bWt,fue)=>{"use strict";var zYe=Bi(),due=c0(),{ANY:$Ye}=due,jYe=Go(),WYe=u0(),lue=a0(),uue=TN(),JYe=DN(),YYe=RN(),KYe=o((t,e,r,n)=>{t=new zYe(t,n),e=new jYe(e,n);let i,s,a,c,l;switch(r){case">":i=lue,s=JYe,a=uue,c=">",l=">=";break;case"<":i=uue,s=YYe,a=lue,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(WYe(t,e,n))return!1;for(let u=0;u{p.semver===$Ye&&(p=new due(">=0.0.0")),f=f||p,h=h||p,i(p.semver,f.semver,n)?f=p:a(p.semver,h.semver,n)&&(h=p)}),f.operator===c||f.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");fue.exports=KYe});var pue=A((wWt,hue)=>{"use strict";var XYe=PN(),ZYe=o((t,e,r)=>XYe(t,e,">",r),"gtr");hue.exports=ZYe});var mue=A((BWt,Aue)=>{"use strict";var eKe=PN(),tKe=o((t,e,r)=>eKe(t,e,"<",r),"ltr");Aue.exports=tKe});var Eue=A((vWt,yue)=>{"use strict";var gue=Go(),rKe=o((t,e,r)=>(t=new gue(t,r),e=new gue(e,r),t.intersects(e,r)),"intersects");yue.exports=rKe});var bue=A((_Wt,Cue)=>{"use strict";var nKe=u0(),iKe=qo();Cue.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>iKe(d,f,r));for(let d of a)nKe(d,e,r)?(s=d,i||(i=d)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[d,f]of n)d===f?c.push(d):!f&&d===a[0]?c.push("*"):f?d===a[0]?c.push(`<=${f}`):c.push(`${d} - ${f}`):c.push(`>=${d}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var Iue=Go(),Rq=c0(),{ANY:Tq}=Rq,d0=u0(),Dq=qo(),sKe=o((t,e,r={})=>{if(t===e)return!0;t=new Iue(t,r),e=new Iue(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=aKe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),oKe=[new Rq(">=0.0.0-0")],wue=[new Rq(">=0.0.0")],aKe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Tq){if(e.length===1&&e[0].semver===Tq)return!0;r.includePrerelease?t=oKe:t=wue}if(e.length===1&&e[0].semver===Tq){if(r.includePrerelease)return!0;e=wue}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Sue(i,p,r):p.operator==="<"||p.operator==="<="?s=Bue(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=Dq(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!d0(p,String(i),r)||s&&!d0(p,String(s),r))return null;for(let g of e)if(!d0(p,String(g),r))return!1;return!0}let c,l,u,d,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let p of e){if(d=d||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=Sue(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!d0(i.semver,String(p),r))return!1}if(s){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=Bue(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!d0(s.semver,String(p),r))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&d&&!i&&a!==0||h||f)},"simpleSubset"),Sue=o((t,e,r)=>{if(!t)return e;let n=Dq(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Bue=o((t,e,r)=>{if(!t)return e;let n=Dq(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");xue.exports=sKe});var kq=A((DWt,Tue)=>{"use strict";var Qq=fg(),Nue=s0(),cKe=Bi(),_ue=gq(),lKe=ip(),uKe=tle(),dKe=nle(),fKe=ole(),hKe=lle(),pKe=dle(),AKe=hle(),mKe=Ale(),gKe=gle(),yKe=qo(),EKe=ble(),CKe=wle(),bKe=_N(),IKe=vle(),wKe=_le(),SKe=a0(),BKe=TN(),xKe=Cq(),vKe=bq(),NKe=RN(),_Ke=DN(),TKe=Iq(),RKe=Fle(),DKe=c0(),QKe=Go(),kKe=u0(),PKe=Zle(),OKe=tue(),LKe=nue(),FKe=oue(),MKe=cue(),UKe=PN(),qKe=pue(),GKe=mue(),HKe=Eue(),VKe=bue(),zKe=vue();Tue.exports={parse:lKe,valid:uKe,clean:dKe,inc:fKe,diff:hKe,major:pKe,minor:AKe,patch:mKe,prerelease:gKe,compare:yKe,rcompare:EKe,compareLoose:CKe,compareBuild:bKe,sort:IKe,rsort:wKe,gt:SKe,lt:BKe,eq:xKe,neq:vKe,gte:NKe,lte:_Ke,cmp:TKe,coerce:RKe,Comparator:DKe,Range:QKe,satisfies:kKe,toComparators:PKe,maxSatisfying:OKe,minSatisfying:LKe,minVersion:FKe,validRange:MKe,outside:UKe,gtr:qKe,ltr:GKe,intersects:HKe,simplifyRange:VKe,subset:zKe,SemVer:cKe,re:Qq.re,src:Qq.src,tokens:Qq.t,SEMVER_SPEC_VERSION:Nue.SEMVER_SPEC_VERSION,RELEASE_TYPES:Nue.RELEASE_TYPES,compareIdentifiers:_ue.compareIdentifiers,rcompareIdentifiers:_ue.rcompareIdentifiers}});var Xue=A((QJt,Kue)=>{Kue.exports=function(t,e){for(var r=[],n=0;n{"use strict";rde.exports=ede;function ede(t,e,r){t instanceof RegExp&&(t=Zue(t,r)),e instanceof RegExp&&(e=Zue(e,r));var n=tde(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(ede,"balanced");function Zue(t,e){var r=e.match(t);return r?r[0]:null}o(Zue,"maybeMatch");ede.range=tde;function tde(t,e,r){var n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),d=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;d>=0&&!c;)d==l?(n.push(d),l=r.indexOf(t,d+1)):n.length==1?c=[n.pop(),u]:(i=n.pop(),i=0?l:u;n.length&&(c=[s,a])}return c}o(tde,"range")});var ude=A((LJt,lde)=>{var OJt=Xue(),nde=$q();lde.exports=A7e;var ide="\0SLASH"+Math.random()+"\0",sde="\0OPEN"+Math.random()+"\0",Jq="\0CLOSE"+Math.random()+"\0",ode="\0COMMA"+Math.random()+"\0",ade="\0PERIOD"+Math.random()+"\0",d7e=1e5,f7e=4e6;function jq(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(jq,"numeric");function h7e(t){return t.split("\\\\").join(ide).split("\\{").join(sde).split("\\}").join(Jq).split("\\,").join(ode).split("\\.").join(ade)}o(h7e,"escapeBraces");function p7e(t){return t.split(ide).join("\\").split(sde).join("{").split(Jq).join("}").split(ode).join(",").split(ade).join(".")}o(p7e,"unescapeBraces");function cde(t){if(!t)return[""];var e=[],r=nde("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=cde(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(cde,"parseCommaParts");function A7e(t,e){if(!t)return[];e=e||{};var r=e.max==null?d7e:e.max,n=e.maxLength==null?f7e:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Wq(h7e(t),r,n,!0).map(p7e)}o(A7e,"expandTop");function m7e(t){return"{"+t+"}"}o(m7e,"embrace");function g7e(t){return/^-?0\d/.test(t)}o(g7e,"isPadded");function y7e(t,e){return t<=e}o(y7e,"lte");function E7e(t,e){return t>=e}o(E7e,"gte");function m0(t,e,r,n,i,s,a,c){for(var l=[],u=0,d=0;d=i)return l;var h=t[d]+r+n[f];if(!(a&&h.length===e[d])){if(u+h.length>s)return l;l.push(h),c.push(e[d]),u+=h.length}}return l}o(m0,"combine");function C7e(t,e,r,n){var i=t.split(/\.\./),s=[];if(i[0]===void 0||i[1]===void 0)return s;var a=jq(i[0]),c=jq(i[1]),l=Math.max(i[0].length,i[1].length),u=i.length===3&&i[2]!==void 0?Math.max(Math.abs(jq(i[2])),1):1,d=y7e,f=c0){var y=new Array(E+1).join("0");g<0?m="-"+y+m.slice(1):m=y+m}}if(p+m.length>n)break;s.push(m),p+=m.length}return s}o(C7e,"expandSequence");function Wq(t,e,r,n){for(var i=[""],s=[0],a=!1,c=!0,l;;){var u=nde("{","}",t);if(!u)return m0(i,s,t,[""],e,r,a,[]);var d=u.pre;if(/\$$/.test(d))return m0(i,s,t,[""],e,r,a,[]);var f=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(u.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(u.body),p=f||h,g=u.body.indexOf(",")>=0;if(!p&&!g){if(u.post.match(/,(?!,).*\}/)){t=u.pre+"{"+u.body+Jq+u.post,n=!0,c=!0,a=!1,s=[];for(var m=0;m=e||B+$.length>r)break e;E.push($),B+=$.length}}}if(l=[],i=m0(i,s,d,E,e,r,a&&!u.post.length,l),s=l,!u.post.length)break;t=u.post}return i}o(Wq,"expand")});var mde=A((MJt,Ade)=>{Ade.exports=io;io.Minimatch=yn;var g0=(function(){try{return require("path")}catch{}})()||{sep:"/"};io.sep=g0.sep;var sp=io.GLOBSTAR=yn.GLOBSTAR={},b7e=ude(),dde={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Yq="[^/]",Kq=Yq+"*?",I7e="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",w7e="(?:(?!(?:\\/|^)\\.).)*?",fde=S7e("().*{}+?[]^$\\!");function S7e(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(S7e,"charSet");var hde=/\/+/;io.filter=B7e;function B7e(t,e){return e=e||{},function(r,n,i){return io(r,t,e)}}o(B7e,"filter");function sf(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(sf,"ext");io.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return io;var e=io,r=o(function(i,s,a){return e(i,s,sf(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,sf(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(sf(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,sf(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(sf(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,sf(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,sf(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,sf(t,s))},r};yn.defaults=function(t){return io.defaults(t).Minimatch};function io(t,e,r){return GN(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new yn(e,r).match(t)}o(io,"minimatch");function yn(t,e){if(!(this instanceof yn))return new yn(t,e);GN(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&g0.sep!=="/"&&(t=t.split(g0.sep).join("/")),this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion!==void 0?e.maxGlobstarRecursion:200,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(yn,"Minimatch");yn.prototype.debug=function(){};yn.prototype.make=x7e;function x7e(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(hde)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(x7e,"make");yn.prototype.parseNegate=v7e;function v7e(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i"u"?this.pattern:t,GN(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:b7e(t)}o(pde,"braceExpand");var N7e=1024*64,GN=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>N7e)throw new TypeError("pattern is too long")},"assertValidPattern");yn.prototype.parse=_7e;var qN={};function _7e(t,e){GN(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return sp;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,u=!1,d=-1,f=-1,h=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function g(){if(l){switch(l){case"*":n+=Kq,i=!0;break;case"?":n+=Yq,i=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(g,"clearStateChar");for(var m=0,E=t.length,y;m-1;$--){var D=c[$],H=n.slice(0,D.reStart),V=n.slice(D.reStart,D.reEnd-8),J=n.slice(D.reEnd-8,D.reEnd),ee=n.slice(D.reEnd);J+=ee;var ae=H.split("(").length-1,Ae=ee;for(m=0;m"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;g0.sep!=="/"&&(e=e.split(g0.sep).join("/")),e=e.split(hde),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a=0;s--)if(e[s]===sp){c=s;break}var l=e.slice(i,a),u=r?e.slice(a+1):e.slice(a+1,c),d=r?[]:e.slice(c+1);if(l.length){var f=t.slice(n,n+l.length);if(!this._matchOne(f,l,r,0,0))return!1;n+=l.length}var h=0;if(d.length){if(d.length+n>t.length)return!1;var p=t.length-d.length;if(this._matchOne(t,d,r,p,0))h=d.length;else{if(t[t.length-1]!==""||n+d.length===t.length||(p--,!this._matchOne(t,d,r,p,0)))return!1;h=d.length+1}}if(!u.length){var g=!!h;for(s=n;s{"use strict";var U7e="2.0.0",q7e=Number.MAX_SAFE_INTEGER||9007199254740991,G7e=16,H7e=250,V7e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Cde.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:G7e,MAX_SAFE_BUILD_LENGTH:H7e,MAX_SAFE_INTEGER:q7e,RELEASE_TYPES:V7e,SEMVER_SPEC_VERSION:U7e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var C0=A((c9t,bde)=>{"use strict";var z7e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};bde.exports=z7e});var Eg=A((qc,Ide)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Zq,MAX_SAFE_BUILD_LENGTH:$7e,MAX_LENGTH:j7e}=yg(),W7e=C0();qc=Ide.exports={};var J7e=qc.re=[],Y7e=qc.safeRe=[],ue=qc.src=[],K7e=qc.safeSrc=[],de=qc.t={},X7e=0,e3="[a-zA-Z0-9-]",Z7e=[["\\s",1],["\\d",j7e],[e3,$7e]],eXe=o(t=>{for(let[e,r]of Z7e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),We=o((t,e,r)=>{let n=eXe(e),i=X7e++;W7e(t,i,e),de[t]=i,ue[i]=e,K7e[i]=n,J7e[i]=new RegExp(e,r?"g":void 0),Y7e[i]=new RegExp(n,r?"g":void 0)},"createToken");We("NUMERICIDENTIFIER","0|[1-9]\\d*");We("NUMERICIDENTIFIERLOOSE","\\d+");We("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${e3}*`);We("MAINVERSION",`(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})`);We("MAINVERSIONLOOSE",`(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})`);We("PRERELEASEIDENTIFIER",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIER]})`);We("PRERELEASEIDENTIFIERLOOSE",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIERLOOSE]})`);We("PRERELEASE",`(?:-(${ue[de.PRERELEASEIDENTIFIER]}(?:\\.${ue[de.PRERELEASEIDENTIFIER]})*))`);We("PRERELEASELOOSE",`(?:-?(${ue[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ue[de.PRERELEASEIDENTIFIERLOOSE]})*))`);We("BUILDIDENTIFIER",`${e3}+`);We("BUILD",`(?:\\+(${ue[de.BUILDIDENTIFIER]}(?:\\.${ue[de.BUILDIDENTIFIER]})*))`);We("FULLPLAIN",`v?${ue[de.MAINVERSION]}${ue[de.PRERELEASE]}?${ue[de.BUILD]}?`);We("FULL",`^${ue[de.FULLPLAIN]}$`);We("LOOSEPLAIN",`[v=\\s]*${ue[de.MAINVERSIONLOOSE]}${ue[de.PRERELEASELOOSE]}?${ue[de.BUILD]}?`);We("LOOSE",`^${ue[de.LOOSEPLAIN]}$`);We("GTLT","((?:<|>)?=?)");We("XRANGEIDENTIFIERLOOSE",`${ue[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);We("XRANGEIDENTIFIER",`${ue[de.NUMERICIDENTIFIER]}|x|X|\\*`);We("XRANGEPLAIN",`[v=\\s]*(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:${ue[de.PRERELEASE]})?${ue[de.BUILD]}?)?)?`);We("XRANGEPLAINLOOSE",`[v=\\s]*(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:${ue[de.PRERELEASELOOSE]})?${ue[de.BUILD]}?)?)?`);We("XRANGE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAIN]}$`);We("XRANGELOOSE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAINLOOSE]}$`);We("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Zq}})(?:\\.(\\d{1,${Zq}}))?(?:\\.(\\d{1,${Zq}}))?`);We("COERCE",`${ue[de.COERCEPLAIN]}(?:$|[^\\d])`);We("COERCEFULL",ue[de.COERCEPLAIN]+`(?:${ue[de.PRERELEASE]})?(?:${ue[de.BUILD]})?(?:$|[^\\d])`);We("COERCERTL",ue[de.COERCE],!0);We("COERCERTLFULL",ue[de.COERCEFULL],!0);We("LONETILDE","(?:~>?)");We("TILDETRIM",`(\\s*)${ue[de.LONETILDE]}\\s+`,!0);qc.tildeTrimReplace="$1~";We("TILDE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAIN]}$`);We("TILDELOOSE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAINLOOSE]}$`);We("LONECARET","(?:\\^)");We("CARETTRIM",`(\\s*)${ue[de.LONECARET]}\\s+`,!0);qc.caretTrimReplace="$1^";We("CARET",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAIN]}$`);We("CARETLOOSE",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAINLOOSE]}$`);We("COMPARATORLOOSE",`^${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]})$|^$`);We("COMPARATOR",`^${ue[de.GTLT]}\\s*(${ue[de.FULLPLAIN]})$|^$`);We("COMPARATORTRIM",`(\\s*)${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]}|${ue[de.XRANGEPLAIN]})`,!0);qc.comparatorTrimReplace="$1$2$3";We("HYPHENRANGE",`^\\s*(${ue[de.XRANGEPLAIN]})\\s+-\\s+(${ue[de.XRANGEPLAIN]})\\s*$`);We("HYPHENRANGELOOSE",`^\\s*(${ue[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ue[de.XRANGEPLAINLOOSE]})\\s*$`);We("STAR","(<|>)?=?\\s*\\*");We("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");We("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var zN=A((u9t,wde)=>{"use strict";var tXe=Object.freeze({loose:!0}),rXe=Object.freeze({}),nXe=o(t=>t?typeof t!="object"?tXe:t:rXe,"parseOptions");wde.exports=nXe});var t3=A((f9t,xde)=>{"use strict";var Sde=/^[0-9]+$/,Bde=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tBde(e,t),"rcompareIdentifiers");xde.exports={compareIdentifiers:Bde,rcompareIdentifiers:iXe}});var ui=A((p9t,Nde)=>{"use strict";var $N=C0(),{MAX_LENGTH:vde,MAX_SAFE_INTEGER:jN}=yg(),{safeRe:WN,t:JN}=Eg(),sXe=zN(),{compareIdentifiers:r3}=t3(),n3=class t{static{o(this,"SemVer")}constructor(e,r){if(r=sXe(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>vde)throw new TypeError(`version is longer than ${vde} characters`);$N("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?WN[JN.LOOSE]:WN[JN.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>jN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>jN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>jN||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&se.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 n=this.prerelease[r],i=e.prerelease[r];if($N("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return r3(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if($N("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return r3(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?WN[JN.PRERELEASELOOSE]:WN[JN.PRERELEASE]);if(!i||i[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),r3(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Nde.exports=n3});var cf=A((m9t,Tde)=>{"use strict";var _de=ui(),oXe=o((t,e,r=!1)=>{if(t instanceof _de)return t;try{return new _de(t,e)}catch(n){if(!r)return null;throw n}},"parse");Tde.exports=oXe});var Dde=A((y9t,Rde)=>{"use strict";var aXe=cf(),cXe=o((t,e)=>{let r=aXe(t,e);return r?r.version:null},"valid");Rde.exports=cXe});var kde=A((C9t,Qde)=>{"use strict";var lXe=cf(),uXe=o((t,e)=>{let r=lXe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Qde.exports=uXe});var Lde=A((I9t,Ode)=>{"use strict";var Pde=ui(),dXe=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Pde(t instanceof Pde?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");Ode.exports=dXe});var Ude=A((S9t,Mde)=>{"use strict";var Fde=cf(),fXe=o((t,e)=>{let r=Fde(t,null,!0),n=Fde(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n: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 d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"},"diff");Mde.exports=fXe});var Gde=A((x9t,qde)=>{"use strict";var hXe=ui(),pXe=o((t,e)=>new hXe(t,e).major,"major");qde.exports=pXe});var Vde=A((N9t,Hde)=>{"use strict";var AXe=ui(),mXe=o((t,e)=>new AXe(t,e).minor,"minor");Hde.exports=mXe});var $de=A((T9t,zde)=>{"use strict";var gXe=ui(),yXe=o((t,e)=>new gXe(t,e).patch,"patch");zde.exports=yXe});var Wde=A((D9t,jde)=>{"use strict";var EXe=cf(),CXe=o((t,e)=>{let r=EXe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");jde.exports=CXe});var $o=A((k9t,Yde)=>{"use strict";var Jde=ui(),bXe=o((t,e,r)=>new Jde(t,r).compare(new Jde(e,r)),"compare");Yde.exports=bXe});var Xde=A((O9t,Kde)=>{"use strict";var IXe=$o(),wXe=o((t,e,r)=>IXe(e,t,r),"rcompare");Kde.exports=wXe});var efe=A((F9t,Zde)=>{"use strict";var SXe=$o(),BXe=o((t,e)=>SXe(t,e,!0),"compareLoose");Zde.exports=BXe});var YN=A((U9t,rfe)=>{"use strict";var tfe=ui(),xXe=o((t,e,r)=>{let n=new tfe(t,r),i=new tfe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");rfe.exports=xXe});var ife=A((G9t,nfe)=>{"use strict";var vXe=YN(),NXe=o((t,e)=>t.sort((r,n)=>vXe(r,n,e)),"sort");nfe.exports=NXe});var ofe=A((V9t,sfe)=>{"use strict";var _Xe=YN(),TXe=o((t,e)=>t.sort((r,n)=>_Xe(n,r,e)),"rsort");sfe.exports=TXe});var b0=A(($9t,afe)=>{"use strict";var RXe=$o(),DXe=o((t,e,r)=>RXe(t,e,r)>0,"gt");afe.exports=DXe});var KN=A((W9t,cfe)=>{"use strict";var QXe=$o(),kXe=o((t,e,r)=>QXe(t,e,r)<0,"lt");cfe.exports=kXe});var i3=A((Y9t,lfe)=>{"use strict";var PXe=$o(),OXe=o((t,e,r)=>PXe(t,e,r)===0,"eq");lfe.exports=OXe});var s3=A((X9t,ufe)=>{"use strict";var LXe=$o(),FXe=o((t,e,r)=>LXe(t,e,r)!==0,"neq");ufe.exports=FXe});var XN=A((eYt,dfe)=>{"use strict";var MXe=$o(),UXe=o((t,e,r)=>MXe(t,e,r)>=0,"gte");dfe.exports=UXe});var ZN=A((rYt,ffe)=>{"use strict";var qXe=$o(),GXe=o((t,e,r)=>qXe(t,e,r)<=0,"lte");ffe.exports=GXe});var o3=A((iYt,hfe)=>{"use strict";var HXe=i3(),VXe=s3(),zXe=b0(),$Xe=XN(),jXe=KN(),WXe=ZN(),JXe=o((t,e,r,n)=>{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 HXe(t,r,n);case"!=":return VXe(t,r,n);case">":return zXe(t,r,n);case">=":return $Xe(t,r,n);case"<":return jXe(t,r,n);case"<=":return WXe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");hfe.exports=JXe});var Afe=A((oYt,pfe)=>{"use strict";var YXe=ui(),KXe=cf(),{safeRe:e_,t:t_}=Eg(),XXe=o((t,e)=>{if(t instanceof YXe)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?e_[t_.COERCEFULL]:e_[t_.COERCE]);else{let l=e.includePrerelease?e_[t_.COERCERTLFULL]:e_[t_.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 n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return KXe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");pfe.exports=XXe});var gfe=A((cYt,mfe)=>{"use strict";var ZXe=cf(),eZe=yg(),tZe=ui(),rZe=o((t,e,r)=>{if(!eZe.RELEASE_TYPES.includes(e))return null;let n=nZe(t,r);return n&&iZe(n,e)},"truncate"),nZe=o((t,e)=>{let r=t instanceof tZe?t.version:t;return ZXe(r,e)},"cloneInputVersion"),iZe=o((t,e)=>{if(sZe(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"),sZe=o(t=>t.startsWith("pre"),"isPrerelease");mfe.exports=rZe});var Efe=A((uYt,yfe)=>{"use strict";var a3=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 i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};yfe.exports=a3});var jo=A((fYt,wfe)=>{"use strict";var oZe=/\s+/g,c3=class t{static{o(this,"Range")}constructor(e,r){if(r=cZe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof l3)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(oZe," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!bfe(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&gZe(i[0])){this.set=[i];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(mZe,"");let n=((this.options.includePrerelease&&pZe)|(this.options.loose&&AZe))+":"+e,i=Cfe.get(n);if(i)return i;let s=this.options.loose,a=s?$i[di.HYPHENRANGELOOSE]:$i[di.HYPHENRANGE];e=e.replace(a,vZe(this.options.includePrerelease)),sr("hyphen replace",e),e=e.replace($i[di.COMPARATORTRIM],dZe),sr("comparator trim",e),e=e.replace($i[di.TILDETRIM],fZe),sr("tilde trim",e),e=e.replace($i[di.CARETTRIM],hZe),sr("caret trim",e);let c=e.split(" ").map(f=>yZe(f,this.options)).join(" ").split(/\s+/).map(f=>xZe(f,this.options));s&&(c=c.filter(f=>(sr("loose invalid filter",f,this.options),!!f.match($i[di.COMPARATORLOOSE])))),sr("range list",c);let l=new Map,u=c.map(f=>new l3(f,this.options));for(let f of u){if(bfe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return Cfe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Ife(n,r)&&e.set.some(i=>Ife(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new lZe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),gZe=o(t=>t.value==="","isAny"),Ife=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),yZe=o((t,e)=>(t=t.replace($i[di.BUILD],""),sr("comp",t,e),t=bZe(t,e),sr("caret",t),t=EZe(t,e),sr("tildes",t),t=wZe(t,e),sr("xrange",t),t=BZe(t,e),sr("stars",t),t),"parseComparator"),ji=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),EZe=o((t,e)=>t.trim().split(/\s+/).map(r=>CZe(r,e)).join(" "),"replaceTildes"),CZe=o((t,e)=>{let r=e.loose?$i[di.TILDELOOSE]:$i[di.TILDE];return t.replace(r,(n,i,s,a,c)=>{sr("tilde",t,n,i,s,a,c);let l;return ji(i)?l="":ji(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:ji(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:c?(sr("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,sr("tilde return",l),l})},"replaceTilde"),bZe=o((t,e)=>t.trim().split(/\s+/).map(r=>IZe(r,e)).join(" "),"replaceCarets"),IZe=o((t,e)=>{sr("caret",t,e);let r=e.loose?$i[di.CARETLOOSE]:$i[di.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{sr("caret",t,i,s,a,c,l);let u;return ji(s)?u="":ji(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:ji(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(sr("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(sr("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),sr("caret return",u),u})},"replaceCaret"),wZe=o((t,e)=>(sr("replaceXRanges",t,e),t.split(/\s+/).map(r=>SZe(r,e)).join(" ")),"replaceXRanges"),SZe=o((t,e)=>{t=t.trim();let r=e.loose?$i[di.XRANGELOOSE]:$i[di.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{sr("xRange",t,n,i,s,a,c,l);let u=ji(s),d=u||ji(a),f=d||ji(c),h=f;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(d&&(a=0),c=0,i===">"?(i=">=",d?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",d?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):d?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:f&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),sr("xRange return",n),n})},"replaceXRange"),BZe=o((t,e)=>(sr("replaceStars",t,e),t.trim().replace($i[di.STAR],"")),"replaceStars"),xZe=o((t,e)=>(sr("replaceGTE0",t,e),t.trim().replace($i[e.includePrerelease?di.GTE0PRE:di.GTE0],"")),"replaceGTE0"),vZe=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(ji(n)?r="":ji(i)?r=`>=${n}.0.0${t?"-0":""}`:ji(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,ji(u)?l="":ji(d)?l=`<${+u+1}.0.0-0`:ji(f)?l=`<${u}.${+d+1}.0-0`:h?l=`<=${u}.${d}.${f}-${h}`:t?l=`<${u}.${d}.${+f+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),NZe=o((t,e,r)=>{for(let n=0;n0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var I0=A((pYt,_fe)=>{"use strict";var w0=Symbol("SemVer ANY"),f3=class t{static{o(this,"Comparator")}static get ANY(){return w0}constructor(e,r){if(r=Sfe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),d3("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===w0?this.value="":this.value=this.operator+this.semver.version,d3("comp",this)}parse(e){let r=this.options.loose?Bfe[xfe.COMPARATORLOOSE]:Bfe[xfe.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new vfe(n[2],this.options.loose):this.semver=w0}toString(){return this.value}test(e){if(d3("Comparator.test",e,this.options.loose),this.semver===w0||e===w0)return!0;if(typeof e=="string")try{e=new vfe(e,this.options)}catch{return!1}return u3(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 Nfe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Nfe(this.value,r).test(e.semver):(r=Sfe(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("=")||u3(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||u3(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};_fe.exports=f3;var Sfe=zN(),{safeRe:Bfe,t:xfe}=Eg(),u3=o3(),d3=C0(),vfe=ui(),Nfe=jo()});var S0=A((mYt,Tfe)=>{"use strict";var _Ze=jo(),TZe=o((t,e,r)=>{try{e=new _Ze(e,r)}catch{return!1}return e.test(t)},"satisfies");Tfe.exports=TZe});var Dfe=A((yYt,Rfe)=>{"use strict";var RZe=jo(),DZe=o((t,e)=>new RZe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Rfe.exports=DZe});var kfe=A((CYt,Qfe)=>{"use strict";var QZe=ui(),kZe=jo(),PZe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new kZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new QZe(n,r))}),n},"maxSatisfying");Qfe.exports=PZe});var Ofe=A((IYt,Pfe)=>{"use strict";var OZe=ui(),LZe=jo(),FZe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new LZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new OZe(n,r))}),n},"minSatisfying");Pfe.exports=FZe});var Mfe=A((SYt,Ffe)=>{"use strict";var h3=ui(),MZe=jo(),Lfe=b0(),UZe=o((t,e)=>{t=new MZe(t,e);let r=new h3("0.0.0");if(t.test(r)||(r=new h3("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new h3(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Lfe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Lfe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");Ffe.exports=UZe});var qfe=A((xYt,Ufe)=>{"use strict";var qZe=jo(),GZe=o((t,e)=>{try{return new qZe(t,e).range||"*"}catch{return null}},"validRange");Ufe.exports=GZe});var r_=A((NYt,zfe)=>{"use strict";var HZe=ui(),Vfe=I0(),{ANY:VZe}=Vfe,zZe=jo(),$Ze=S0(),Gfe=b0(),Hfe=KN(),jZe=ZN(),WZe=XN(),JZe=o((t,e,r,n)=>{t=new HZe(t,n),e=new zZe(e,n);let i,s,a,c,l;switch(r){case">":i=Gfe,s=jZe,a=Hfe,c=">",l=">=";break;case"<":i=Hfe,s=WZe,a=Gfe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if($Ze(t,e,n))return!1;for(let u=0;u{p.semver===VZe&&(p=new Vfe(">=0.0.0")),f=f||p,h=h||p,i(p.semver,f.semver,n)?f=p:a(p.semver,h.semver,n)&&(h=p)}),f.operator===c||f.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");zfe.exports=JZe});var jfe=A((TYt,$fe)=>{"use strict";var YZe=r_(),KZe=o((t,e,r)=>YZe(t,e,">",r),"gtr");$fe.exports=KZe});var Jfe=A((DYt,Wfe)=>{"use strict";var XZe=r_(),ZZe=o((t,e,r)=>XZe(t,e,"<",r),"ltr");Wfe.exports=ZZe});var Xfe=A((kYt,Kfe)=>{"use strict";var Yfe=jo(),eet=o((t,e,r)=>(t=new Yfe(t,r),e=new Yfe(e,r),t.intersects(e,r)),"intersects");Kfe.exports=eet});var ehe=A((OYt,Zfe)=>{"use strict";var tet=S0(),ret=$o();Zfe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>ret(d,f,r));for(let d of a)tet(d,e,r)?(s=d,i||(i=d)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[d,f]of n)d===f?c.push(d):!f&&d===a[0]?c.push("*"):f?d===a[0]?c.push(`<=${f}`):c.push(`${d} - ${f}`):c.push(`>=${d}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var the=jo(),m3=I0(),{ANY:p3}=m3,A3=S0(),g3=$o(),net=o((t,e,r={})=>{if(t===e)return!0;t=new the(t,r),e=new the(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=set(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),iet=[new m3(">=0.0.0-0")],rhe=[new m3(">=0.0.0")],set=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===p3){if(e.length===1&&e[0].semver===p3)return!0;r.includePrerelease?t=iet:t=rhe}if(e.length===1&&e[0].semver===p3){if(r.includePrerelease)return!0;e=rhe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=nhe(i,p,r):p.operator==="<"||p.operator==="<="?s=ihe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=g3(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!A3(p,String(i),r)||s&&!A3(p,String(s),r))return null;for(let g of e)if(!A3(p,String(g),r))return!1;return!0}let c,l,u,d,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let p of e){if(d=d||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=nhe(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(s){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=ihe(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!p.test(s.semver))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&d&&!i&&a!==0||h||f)},"simpleSubset"),nhe=o((t,e,r)=>{if(!t)return e;let n=g3(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),ihe=o((t,e,r)=>{if(!t)return e;let n=g3(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");she.exports=net});var uhe=A((MYt,lhe)=>{"use strict";var y3=Eg(),ahe=yg(),oet=ui(),che=t3(),aet=cf(),cet=Dde(),uet=kde(),det=Lde(),fet=Ude(),het=Gde(),pet=Vde(),Aet=$de(),met=Wde(),get=$o(),yet=Xde(),Eet=efe(),Cet=YN(),bet=ife(),Iet=ofe(),wet=b0(),Bet=KN(),xet=i3(),vet=s3(),Net=XN(),_et=ZN(),Tet=o3(),Ret=Afe(),Det=gfe(),Qet=I0(),ket=jo(),Pet=S0(),Oet=Dfe(),Let=kfe(),Fet=Ofe(),Met=Mfe(),Uet=qfe(),qet=r_(),Get=jfe(),Het=Jfe(),Vet=Xfe(),zet=ehe(),$et=ohe();lhe.exports={parse:aet,valid:cet,clean:uet,inc:det,diff:fet,major:het,minor:pet,patch:Aet,prerelease:met,compare:get,rcompare:yet,compareLoose:Eet,compareBuild:Cet,sort:bet,rsort:Iet,gt:wet,lt:Bet,eq:xet,neq:vet,gte:Net,lte:_et,cmp:Tet,coerce:Ret,truncate:Det,Comparator:Qet,Range:ket,satisfies:Pet,toComparators:Oet,maxSatisfying:Let,minSatisfying:Fet,minVersion:Met,validRange:Uet,outside:qet,gtr:Get,ltr:Het,intersects:Vet,simplifyRange:zet,subset:$et,SemVer:oet,re:y3.re,src:y3.src,tokens:y3.t,SEMVER_SPEC_VERSION:ahe.SEMVER_SPEC_VERSION,RELEASE_TYPES:ahe.RELEASE_TYPES,compareIdentifiers:che.compareIdentifiers,rcompareIdentifiers:che.rcompareIdentifiers}});var Xhe=A((V7t,Khe)=>{var xg=1e3,vg=xg*60,Ng=vg*60,pp=Ng*24,Ntt=pp*7,_tt=pp*365.25;Khe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Ttt(t);if(r==="number"&&isFinite(t))return e.long?Dtt(t):Rtt(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Ttt(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]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*_tt;case"weeks":case"week":case"w":return r*Ntt;case"days":case"day":case"d":return r*pp;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Ng;case"minutes":case"minute":case"mins":case"min":case"m":return r*vg;case"seconds":case"second":case"secs":case"sec":case"s":return r*xg;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Ttt,"parse");function Rtt(t){var e=Math.abs(t);return e>=pp?Math.round(t/pp)+"d":e>=Ng?Math.round(t/Ng)+"h":e>=vg?Math.round(t/vg)+"m":e>=xg?Math.round(t/xg)+"s":t+"ms"}o(Rtt,"fmtShort");function Dtt(t){var e=Math.abs(t);return e>=pp?N_(t,e,pp,"day"):e>=Ng?N_(t,e,Ng,"hour"):e>=vg?N_(t,e,vg,"minute"):e>=xg?N_(t,e,xg,"second"):t+" ms"}o(Dtt,"fmtLong");function N_(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(N_,"plural")});var H3=A(($7t,Zhe)=>{function Qtt(t){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=a,r.humanize=Xhe(),r.destroy=u,Object.keys(t).forEach(d=>{r[d]=t[d]}),r.names=[],r.skips=[],r.formatters={};function e(d){let f=0;for(let h=0;h{if(M==="%%")return"%";B++;let $=r.formatters[v];if(typeof $=="function"){let D=E[B];M=$.call(y,D),E.splice(B,1),B--}return M}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(m,"debug"),m.namespace=d,m.useColors=r.useColors(),m.color=r.selectColor(d),m.extend=n,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:o(()=>h!==null?h:(p!==r.namespaces&&(p=r.namespaces,g=r.enabled(d)),g),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(m),m}o(r,"createDebug");function n(d,f){let h=r(this.namespace+(typeof f>"u"?":":f)+d);return h.log=this.log,h}o(n,"extend");function i(d){r.save(d),r.namespaces=d,r.names=[],r.skips=[];let f,h=(typeof d=="string"?d:"").split(/[\s,]+/),p=h.length;for(f=0;f"-"+f)].join(",");return r.enable(""),d}o(s,"disable");function a(d){if(d[d.length-1]==="*")return!0;let f,h;for(f=0,h=r.skips.length;f{ao.formatArgs=Ptt;ao.save=Ott;ao.load=Ltt;ao.useColors=ktt;ao.storage=Ftt();ao.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`."))}})();ao.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 ktt(){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(ktt,"useColors");function Ptt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+__.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(Ptt,"formatArgs");ao.log=console.debug||console.log||(()=>{});function Ott(t){try{t?ao.storage.setItem("debug",t):ao.storage.removeItem("debug")}catch{}}o(Ott,"save");function Ltt(){let t;try{t=ao.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Ltt,"load");function Ftt(){try{return localStorage}catch{}}o(Ftt,"localstorage");__.exports=H3()(ao);var{formatters:Mtt}=__.exports;Mtt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var rpe=A((J7t,tpe)=>{"use strict";tpe.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n{"use strict";var Utt=require("os"),npe=require("tty"),Jo=rpe(),{env:Vn}=process,df;Jo("no-color")||Jo("no-colors")||Jo("color=false")||Jo("color=never")?df=0:(Jo("color")||Jo("colors")||Jo("color=true")||Jo("color=always"))&&(df=1);"FORCE_COLOR"in Vn&&(Vn.FORCE_COLOR==="true"?df=1:Vn.FORCE_COLOR==="false"?df=0:df=Vn.FORCE_COLOR.length===0?1:Math.min(parseInt(Vn.FORCE_COLOR,10),3));function V3(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(V3,"translateLevel");function z3(t,e){if(df===0)return 0;if(Jo("color=16m")||Jo("color=full")||Jo("color=truecolor"))return 3;if(Jo("color=256"))return 2;if(t&&!e&&df===void 0)return 0;let r=df||0;if(Vn.TERM==="dumb")return r;if(process.platform==="win32"){let n=Utt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Vn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Vn)||Vn.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Vn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Vn.TEAMCITY_VERSION)?1:0;if(Vn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Vn){let n=parseInt((Vn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Vn.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Vn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Vn.TERM)||"COLORTERM"in Vn?1:r}o(z3,"supportsColor");function qtt(t){let e=z3(t,t&&t.isTTY);return V3(e)}o(qtt,"getSupportLevel");ipe.exports={supportsColor:qtt,stdout:V3(z3(!0,npe.isatty(1))),stderr:V3(z3(!0,npe.isatty(2)))}});var ope=A((fi,R_)=>{var Gtt=require("tty"),T_=require("util");fi.init=Jtt;fi.log=$tt;fi.formatArgs=Vtt;fi.save=jtt;fi.load=Wtt;fi.useColors=Htt;fi.destroy=T_.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");fi.colors=[6,2,3,4,5,1];try{let t=$3();t&&(t.stderr||t).level>=2&&(fi.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{}fi.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function Htt(){return"colors"in fi.inspectOpts?!!fi.inspectOpts.colors:Gtt.isatty(process.stderr.fd)}o(Htt,"useColors");function Vtt(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` +`.trim())}};Yoe.exports=lq});var s2=m((fJt,tae)=>{"use strict";var Xoe=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Pje}=Tt(),Oje=XA();eae()===void 0&&Zoe(new Oje);function Zoe(t){if(!t||typeof t.dispatch!="function")throw new Pje("Argument agent must implement Agent");Object.defineProperty(globalThis,Xoe,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(Zoe,"setGlobalDispatcher");function eae(){return globalThis[Xoe]}o(eae,"getGlobalDispatcher");tae.exports={setGlobalDispatcher:Zoe,getGlobalDispatcher:eae}});var o2=m((pJt,rae)=>{"use strict";rae.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 iae=m((AJt,nae)=>{"use strict";var Lje=Fx();nae.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new Lje(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var oae=m((yJt,sae)=>{"use strict";var Fje=Jx();sae.exports=t=>e=>o(function(n,i){return e(n,new Fje({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var cae=m((CJt,aae)=>{"use strict";var Mje=at(),{InvalidArgumentError:Uje,RequestAbortedError:qje}=Tt(),Gje=o2(),uq=class extends Gje{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#n=!1;#r=!1;#i=0;#s=null;#l=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Uje("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#l=r}onConnect(e){this.#t=e,this.#l.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#s=e}onHeaders(e,r,n,i){let a=Mje.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new qje(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#l.onHeaders(e,r,n,i)}onError(e){this.#n||(e=this.#s??e,this.#l.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#n=!0,this.#r?this.#l.onError(this.#s):this.#l.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#l.onError(this.reason);return}this.#l.onComplete(e)}}};function Hje({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new uq({maxSize:s},i);return e(n,a)},"Intercept")}o(Hje,"createDumpInterceptor");aae.exports=Hje});var fae=m((wJt,uae)=>{"use strict";var{isIP:Vje}=require("node:net"),{lookup:zje}=require("node:dns"),jje=o2(),{InvalidArgumentError:lg,InformationalError:$je}=Tt(),lae=Math.pow(2,31)-1,fq=class{static{o(this,"DNSInstance")}#e=0;#t=0;#n=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.#i}get full(){return this.#n.size===this.#t}runLookup(e,r,n){let i=this.#n.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new $je("No DNS entries found"));return}this.setRecords(e,c);let l=this.#n.get(e.hostname),u=this.pick(e,l,s.affinity),f;typeof u.port=="number"?f=`:${u.port}`:e.port!==""?f=`:${e.port}`:f="",n(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${f}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,n){zje(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#i(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===lae?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===lae?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#n.set(e.hostname,i)}getHandler(e,r){return new dq(this,e,r)}},dq=class extends jje{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#n=null;#r=null;#i=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#i=r,this.#r=n,this.#t={...s},this.#e=e,this.#n=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(r,n)=>{if(r)return this.#r.onError(r);let i={...this.#t,origin:n};this.#n(i,this)});return}this.#r.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#r.onError(e);break}}};uae.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new lg("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new lg("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new lg("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new lg("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new lg("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new lg("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new fq(n);return s=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return Vje(u.hostname)!==0?s(c,l):(i.runLookup(u,c,(f,d)=>{if(f)return l.onError(f);let h=null;h={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},s(h,i.getHandler({origin:u,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var sp=m((SJt,yae)=>{"use strict";var{kConstruct:Wje}=Ar(),{kEnumerableProperty:ug}=at(),{iteratorMixin:Jje,isValidHeaderName:r0,isValidHeaderValue:hae}=Ws(),{webidl:xt}=ci(),hq=require("node:assert"),a2=require("node:util"),gn=Symbol("headers map"),Xs=Symbol("headers map sorted");function dae(t){return t===10||t===13||t===9||t===32}o(dae,"isHTTPWhiteSpaceCharCode");function pae(t){let e=0,r=t.length;for(;r>e&&dae(t.charCodeAt(r-1));)--r;for(;r>e&&dae(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(pae,"headerValueNormalize");function mae(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(mae,"fill");function pq(t,e,r){if(r=pae(r),r0(e)){if(!hae(r))throw xt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw xt.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(gae(t)==="immutable")throw new TypeError("immutable");return mq(t).append(e,r,!1)}o(pq,"appendHeader");function Aae(t,e){return t[0]>1),r[u][0]<=f[0]?l=u+1:c=u;if(s!==u){for(a=s;a>l;)r[a]=r[--a];r[l]=f}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[gn])r[n++]=[i,s],hq(s!==null);return r.sort(Aae)}}},Ja=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){xt.util.markAsUncloneable(this),e!==Wje&&(this.#t=new c2,this.#e="none",e!==void 0&&(e=xt.converters.HeadersInit(e,"Headers contructor","init"),mae(this,e)))}append(e,r){xt.brandCheck(this,t),xt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=xt.converters.ByteString(e,n,"name"),r=xt.converters.ByteString(r,n,"value"),pq(this,e,r)}delete(e){if(xt.brandCheck(this,t),xt.argumentLengthCheck(arguments,1,"Headers.delete"),e=xt.converters.ByteString(e,"Headers.delete","name"),!r0(e))throw xt.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){xt.brandCheck(this,t),xt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=xt.converters.ByteString(e,r,"name"),!r0(e))throw xt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){xt.brandCheck(this,t),xt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=xt.converters.ByteString(e,r,"name"),!r0(e))throw xt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){xt.brandCheck(this,t),xt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=xt.converters.ByteString(e,n,"name"),r=xt.converters.ByteString(r,n,"value"),r=pae(r),r0(e)){if(!hae(r))throw xt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw xt.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){xt.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Xs](){if(this.#t[Xs])return this.#t[Xs];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Xs]=r;for(let i=0;i>"](t,e,r,n.bind(t)):xt.converters["record"](t,e,r)}throw xt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};yae.exports={fill:mae,compareHeaderName:Aae,Headers:Ja,HeadersList:c2,getHeadersGuard:gae,setHeadersGuard:Yje,setHeadersList:Kje,getHeadersList:mq}});var i0=m((vJt,Rae)=>{"use strict";var{Headers:Sae,HeadersList:Eae,fill:Xje,getHeadersGuard:Zje,setHeadersGuard:Bae,setHeadersList:vae}=sp(),{extractBody:Cae,cloneBody:e$e,mixinBody:t$e,hasFinalizationRegistry:xae,streamRegistry:_ae,bodyUnusable:r$e}=HA(),Aq=at(),bae=require("node:util"),{kEnumerableProperty:Zs}=Aq,{isValidReasonPhrase:n$e,isCancelled:i$e,isAborted:s$e,isBlobLike:o$e,serializeJavascriptValueToJSONString:a$e,isErrorLike:c$e,isomorphicEncode:l$e,environmentSettingsObject:u$e}=Ws(),{redirectStatusSet:f$e,nullBodyStatus:d$e}=_b(),{kState:yr,kHeaders:ku}=jf(),{webidl:tt}=ci(),{FormData:h$e}=kb(),{URLSerializer:wae}=ys(),{kConstruct:u2}=Ar(),gq=require("node:assert"),{types:p$e}=require("node:util"),m$e=new TextEncoder("utf-8"),op=class t{static{o(this,"Response")}static error(){return n0(f2(),"immutable")}static json(e,r={}){tt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=tt.converters.ResponseInit(r));let n=m$e.encode(a$e(e)),i=Cae(n),s=n0(fg({}),"response");return Iae(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){tt.argumentLengthCheck(arguments,1,"Response.redirect"),e=tt.converters.USVString(e),r=tt.converters["unsigned short"](r);let n;try{n=new URL(e,u$e.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!f$e.has(r))throw new RangeError(`Invalid status code ${r}`);let i=n0(fg({}),"immutable");i[yr].status=r;let s=l$e(wae(n));return i[yr].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(tt.util.markAsUncloneable(this),e===u2)return;e!==null&&(e=tt.converters.BodyInit(e)),r=tt.converters.ResponseInit(r),this[yr]=fg({}),this[ku]=new Sae(u2),Bae(this[ku],"response"),vae(this[ku],this[yr].headersList);let n=null;if(e!=null){let[i,s]=Cae(e);n={body:i,type:s}}Iae(this,r,n)}get type(){return tt.brandCheck(this,t),this[yr].type}get url(){tt.brandCheck(this,t);let e=this[yr].urlList,r=e[e.length-1]??null;return r===null?"":wae(r,!0)}get redirected(){return tt.brandCheck(this,t),this[yr].urlList.length>1}get status(){return tt.brandCheck(this,t),this[yr].status}get ok(){return tt.brandCheck(this,t),this[yr].status>=200&&this[yr].status<=299}get statusText(){return tt.brandCheck(this,t),this[yr].statusText}get headers(){return tt.brandCheck(this,t),this[ku]}get body(){return tt.brandCheck(this,t),this[yr].body?this[yr].body.stream:null}get bodyUsed(){return tt.brandCheck(this,t),!!this[yr].body&&Aq.isDisturbed(this[yr].body.stream)}clone(){if(tt.brandCheck(this,t),r$e(this))throw tt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=yq(this[yr]);return xae&&this[yr].body?.stream&&_ae.register(this,new WeakRef(this[yr].body.stream)),n0(e,Zje(this[ku]))}[bae.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={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 ${bae.formatWithOptions(r,n)}`}};t$e(op);Object.defineProperties(op.prototype,{type:Zs,url:Zs,status:Zs,ok:Zs,redirected:Zs,statusText:Zs,headers:Zs,clone:Zs,body:Zs,bodyUsed:Zs,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(op,{json:Zs,redirect:Zs,error:Zs});function yq(t){if(t.internalResponse)return Nae(yq(t.internalResponse),t.type);let e=fg({...t,body:null});return t.body!=null&&(e.body=e$e(e,t.body)),e}o(yq,"cloneResponse");function fg(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new Eae(t?.headersList):new Eae,urlList:t?.urlList?[...t.urlList]:[]}}o(fg,"makeResponse");function f2(t){let e=c$e(t);return fg({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(f2,"makeNetworkError");function A$e(t){return t.type==="error"&&t.status===0}o(A$e,"isNetworkError");function l2(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return gq(!(n in e)),r[n]=i,!0}})}o(l2,"makeFilteredResponse");function Nae(t,e){if(e==="basic")return l2(t,{type:"basic",headersList:t.headersList});if(e==="cors")return l2(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return l2(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return l2(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});gq(!1)}o(Nae,"filterResponse");function g$e(t,e=null){return gq(i$e(t)),s$e(t)?f2(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):f2(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(g$e,"makeAppropriateNetworkError");function Iae(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&&!n$e(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[yr].status=e.status),"statusText"in e&&e.statusText!=null&&(t[yr].statusText=e.statusText),"headers"in e&&e.headers!=null&&Xje(t[ku],e.headers),r){if(d$e.includes(t.status))throw tt.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[yr].body=r.body,r.type!=null&&!t[yr].headersList.contains("content-type",!0)&&t[yr].headersList.append("content-type",r.type,!0)}}o(Iae,"initializeResponse");function n0(t,e){let r=new op(u2);return r[yr]=t,r[ku]=new Sae(u2),vae(r[ku],t.headersList),Bae(r[ku],e),xae&&t.body?.stream&&_ae.register(r,new WeakRef(t.body.stream)),r}o(n0,"fromInnerResponse");tt.converters.ReadableStream=tt.interfaceConverter(ReadableStream);tt.converters.FormData=tt.interfaceConverter(h$e);tt.converters.URLSearchParams=tt.interfaceConverter(URLSearchParams);tt.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?tt.converters.USVString(t,e,r):o$e(t)?tt.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||p$e.isArrayBuffer(t)?tt.converters.BufferSource(t,e,r):Aq.isFormDataLike(t)?tt.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?tt.converters.URLSearchParams(t,e,r):tt.converters.DOMString(t,e,r)};tt.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?tt.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:tt.converters.XMLHttpRequestBodyInit(t,e,r)};tt.converters.ResponseInit=tt.dictionaryConverter([{key:"status",converter:tt.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:tt.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:tt.converters.HeadersInit}]);Rae.exports={isNetworkError:A$e,makeNetworkError:f2,makeResponse:fg,makeAppropriateNetworkError:g$e,filterResponse:Nae,Response:op,cloneResponse:yq,fromInnerResponse:n0}});var kae=m((_Jt,Qae)=>{"use strict";var{kConnected:Tae,kSize:Dae}=Ar(),Eq=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Tae]===0&&this.value[Dae]===0?void 0:this.value}},Cq=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Tae]===0&&e[Dae]===0&&this.finalizer(r)})}unregister(e){}};Qae.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:Eq,FinalizationRegistry:Cq}):{WeakRef,FinalizationRegistry}}});var dg=m((RJt,Jae)=>{"use strict";var{extractBody:y$e,mixinBody:E$e,cloneBody:C$e,bodyUnusable:Pae}=HA(),{Headers:Vae,fill:b$e,HeadersList:m2,setHeadersGuard:wq,getHeadersGuard:w$e,setHeadersList:zae,getHeadersList:Oae}=sp(),{FinalizationRegistry:I$e}=kae()(),h2=at(),Lae=require("node:util"),{isValidHTTPToken:S$e,sameOrigin:Fae,environmentSettingsObject:d2}=Ws(),{forbiddenMethodsSet:B$e,corsSafeListedMethodsSet:v$e,referrerPolicy:x$e,requestRedirect:_$e,requestMode:N$e,requestCredentials:R$e,requestCache:T$e,requestDuplex:D$e}=_b(),{kEnumerableProperty:yn,normalizedMethodRecordsBase:Q$e,normalizedMethodRecords:k$e}=h2,{kHeaders:eo,kSignal:p2,kState:nr,kDispatcher:bq}=jf(),{webidl:Me}=ci(),{URLSerializer:P$e}=ys(),{kConstruct:A2}=Ar(),O$e=require("node:assert"),{getMaxListeners:Mae,setMaxListeners:Uae,getEventListeners:L$e,defaultMaxListeners:qae}=require("node:events"),F$e=Symbol("abortController"),jae=new I$e(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),g2=new WeakMap;function Gae(t){return e;function e(){let r=t.deref();if(r!==void 0){jae.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=g2.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}g2.delete(r.signal)}}}}o(Gae,"buildAbort");var Hae=!1,nd=class t{static{o(this,"Request")}constructor(e,r={}){if(Me.util.markAsUncloneable(this),e===A2)return;let n="Request constructor";Me.argumentLengthCheck(arguments,1,n),e=Me.converters.RequestInfo(e,n,"input"),r=Me.converters.RequestInit(r,n,"init");let i=null,s=null,a=d2.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[bq]=r.dispatcher;let y;try{y=new URL(e,a)}catch(C){throw new TypeError("Failed to parse URL from "+e,{cause:C})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=y2({urlList:[y]}),s="cors"}else this[bq]=r.dispatcher||e[bq],O$e(e instanceof t),i=e[nr],c=e[p2];let l=d2.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&Fae(i.window,l)&&(u=i.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),i=y2({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:d2.settingsObject,window:u,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let f=Object.keys(r).length!==0;if(f&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")i.referrer="no-referrer";else{let C;try{C=new URL(y,a)}catch(w){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:w})}C.protocol==="about:"&&C.hostname==="client"||l&&!Fae(C,d2.settingsObject.baseUrl)?i.referrer="client":i.referrer=C}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=s,d==="navigate")throw Me.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,C=k$e[y];if(C!==void 0)i.method=C;else{if(!S$e(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let w=y.toUpperCase();if(B$e.has(w))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=Q$e[w]??y,i.method=y}!Hae&&i.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"}),Hae=!0)}r.signal!==void 0&&(c=r.signal),this[nr]=i;let h=new AbortController;if(this[p2]=h.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)h.abort(c.reason);else{this[F$e]=h;let y=new WeakRef(h),C=Gae(y);try{(typeof Mae=="function"&&Mae(c)===qae||L$e(c,"abort").length>=qae)&&Uae(1500,c)}catch{}h2.addAbortListener(c,C),jae.register(h,{signal:c,abort:C},C)}}if(this[eo]=new Vae(A2),zae(this[eo],i.headersList),wq(this[eo],"request"),d==="no-cors"){if(!v$e.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);wq(this[eo],"request-no-cors")}if(f){let y=Oae(this[eo]),C=r.headers!==void 0?r.headers:new m2(y);if(y.clear(),C instanceof m2){for(let{name:w,value:S}of C.rawValues())y.append(w,S,!1);y.cookies=C.cookies}else b$e(this[eo],C)}let p=e instanceof t?e[nr].body:null;if((r.body!=null||p!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let A=null;if(r.body!=null){let[y,C]=y$e(r.body,i.keepalive);A=y,C&&!Oae(this[eo]).contains("content-type",!0)&&this[eo].append("content-type",C)}let g=A??p;if(g!=null&&g.source==null){if(A!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let E=g;if(A==null&&p!=null){if(Pae(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;p.stream.pipeThrough(y),E={source:p.source,length:p.length,stream:y.readable}}this[nr].body=E}get method(){return Me.brandCheck(this,t),this[nr].method}get url(){return Me.brandCheck(this,t),P$e(this[nr].url)}get headers(){return Me.brandCheck(this,t),this[eo]}get destination(){return Me.brandCheck(this,t),this[nr].destination}get referrer(){return Me.brandCheck(this,t),this[nr].referrer==="no-referrer"?"":this[nr].referrer==="client"?"about:client":this[nr].referrer.toString()}get referrerPolicy(){return Me.brandCheck(this,t),this[nr].referrerPolicy}get mode(){return Me.brandCheck(this,t),this[nr].mode}get credentials(){return this[nr].credentials}get cache(){return Me.brandCheck(this,t),this[nr].cache}get redirect(){return Me.brandCheck(this,t),this[nr].redirect}get integrity(){return Me.brandCheck(this,t),this[nr].integrity}get keepalive(){return Me.brandCheck(this,t),this[nr].keepalive}get isReloadNavigation(){return Me.brandCheck(this,t),this[nr].reloadNavigation}get isHistoryNavigation(){return Me.brandCheck(this,t),this[nr].historyNavigation}get signal(){return Me.brandCheck(this,t),this[p2]}get body(){return Me.brandCheck(this,t),this[nr].body?this[nr].body.stream:null}get bodyUsed(){return Me.brandCheck(this,t),!!this[nr].body&&h2.isDisturbed(this[nr].body.stream)}get duplex(){return Me.brandCheck(this,t),"half"}clone(){if(Me.brandCheck(this,t),Pae(this))throw new TypeError("unusable");let e=$ae(this[nr]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=g2.get(this.signal);n===void 0&&(n=new Set,g2.set(this.signal,n));let i=new WeakRef(r);n.add(i),h2.addAbortListener(r.signal,Gae(i))}return Wae(e,r.signal,w$e(this[eo]))}[Lae.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={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 ${Lae.formatWithOptions(r,n)}`}};E$e(nd);function y2(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 m2(t.headersList):new m2}}o(y2,"makeRequest");function $ae(t){let e=y2({...t,body:null});return t.body!=null&&(e.body=C$e(e,t.body)),e}o($ae,"cloneRequest");function Wae(t,e,r){let n=new nd(A2);return n[nr]=t,n[p2]=e,n[eo]=new Vae(A2),zae(n[eo],t.headersList),wq(n[eo],r),n}o(Wae,"fromInnerRequest");Object.defineProperties(nd.prototype,{method:yn,url:yn,headers:yn,redirect:yn,clone:yn,signal:yn,duplex:yn,destination:yn,body:yn,bodyUsed:yn,isHistoryNavigation:yn,isReloadNavigation:yn,keepalive:yn,integrity:yn,cache:yn,credentials:yn,attribute:yn,referrerPolicy:yn,referrer:yn,mode:yn,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Me.converters.Request=Me.interfaceConverter(nd);Me.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Me.converters.USVString(t,e,r):t instanceof nd?Me.converters.Request(t,e,r):Me.converters.USVString(t,e,r)};Me.converters.AbortSignal=Me.interfaceConverter(AbortSignal);Me.converters.RequestInit=Me.dictionaryConverter([{key:"method",converter:Me.converters.ByteString},{key:"headers",converter:Me.converters.HeadersInit},{key:"body",converter:Me.nullableConverter(Me.converters.BodyInit)},{key:"referrer",converter:Me.converters.USVString},{key:"referrerPolicy",converter:Me.converters.DOMString,allowedValues:x$e},{key:"mode",converter:Me.converters.DOMString,allowedValues:N$e},{key:"credentials",converter:Me.converters.DOMString,allowedValues:R$e},{key:"cache",converter:Me.converters.DOMString,allowedValues:T$e},{key:"redirect",converter:Me.converters.DOMString,allowedValues:_$e},{key:"integrity",converter:Me.converters.DOMString},{key:"keepalive",converter:Me.converters.boolean},{key:"signal",converter:Me.nullableConverter(t=>Me.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Me.converters.any},{key:"duplex",converter:Me.converters.DOMString,allowedValues:D$e},{key:"dispatcher",converter:Me.converters.any}]);Jae.exports={Request:nd,makeRequest:y2,fromInnerRequest:Wae,cloneRequest:$ae}});var o0=m((DJt,uce)=>{"use strict";var{makeNetworkError:Ht,makeAppropriateNetworkError:E2,filterResponse:Iq,makeResponse:C2,fromInnerResponse:M$e}=i0(),{HeadersList:Yae}=sp(),{Request:U$e,cloneRequest:q$e}=dg(),id=require("node:zlib"),{bytesMatch:G$e,makePolicyContainer:H$e,clonePolicyContainer:V$e,requestBadPort:z$e,TAOCheck:j$e,appendRequestOriginHeader:$$e,responseLocationURL:W$e,requestCurrentURL:qc,setRequestReferrerPolicyOnRedirect:J$e,tryUpgradeRequestToAPotentiallyTrustworthyURL:Y$e,createOpaqueTimingInfo:_q,appendFetchMetadata:K$e,corsCheck:X$e,crossOriginResourcePolicyCheck:Z$e,determineRequestsReferrer:eWe,coarsenedSharedCurrentTime:s0,createDeferredPromise:tWe,isBlobLike:rWe,sameOrigin:xq,isCancelled:ap,isAborted:Kae,isErrorLike:nWe,fullyReadBody:iWe,readableStreamClose:sWe,isomorphicEncode:b2,urlIsLocal:oWe,urlIsHttpHttpsScheme:Nq,urlHasHttpsScheme:aWe,clampAndCoarsenConnectionTimingInfo:cWe,simpleRangeHeaderValue:lWe,buildContentRange:uWe,createInflate:fWe,extractMimeType:dWe}=Ws(),{kState:tce,kDispatcher:hWe}=jf(),cp=require("node:assert"),{safelyExtractBody:Rq,extractBody:Xae}=HA(),{redirectStatusSet:rce,nullBodyStatus:nce,safeMethodsSet:pWe,requestBodyHeader:mWe,subresourceSet:AWe}=_b(),gWe=require("node:events"),{Readable:yWe,pipeline:EWe,finished:CWe}=require("node:stream"),{addAbortListener:bWe,isErrored:wWe,isReadable:w2,bufferToLowerCasedHeaderName:Zae}=at(),{dataURLProcessor:IWe,serializeAMimeType:SWe,minimizeSupportedMimeType:BWe}=ys(),{getGlobalDispatcher:vWe}=s2(),{webidl:xWe}=ci(),{STATUS_CODES:_We}=require("node:http"),NWe=["GET","HEAD"],RWe=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",Sq,I2=class extends gWe{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 TWe(t){ice(t,"fetch")}o(TWe,"handleFetchDone");function DWe(t,e=void 0){xWe.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=tWe(),n;try{n=new U$e(t,e)}catch(f){return r.reject(f),r.promise}let i=n[tce];if(n.signal.aborted)return Bq(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return bWe(n.signal,()=>{c=!0,cp(l!=null),l.abort(n.signal.reason);let f=a?.deref();Bq(r,i,f,n.signal.reason)}),l=oce({request:i,processResponseEndOfBody:TWe,processResponse:o(f=>{if(!c){if(f.aborted){Bq(r,i,a,l.serializedAbortReason);return}if(f.type==="error"){r.reject(new TypeError("fetch failed",{cause:f.error}));return}a=new WeakRef(M$e(f,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[hWe]}),r.promise}o(DWe,"fetch");function ice(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;Nq(r)&&n!==null&&(t.timingAllowPassed||(n=_q({startTime:n.startTime}),i=""),n.endTime=s0(),t.timingInfo=n,sce(n,r.href,e,globalThis,i))}o(ice,"finalizeAndReportTiming");var sce=performance.markResourceTiming;function Bq(t,e,r,n){if(t&&t.reject(n),e.body!=null&&w2(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[tce];i.body!=null&&w2(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(Bq,"abortFetch");function oce({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=vWe()}){cp(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let f=s0(u),d=_q({startTime:f}),h={controller:new I2(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:u};return cp(!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=V$e(t.client.policyContainer):t.policyContainer=H$e()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,AWe.has(t.destination),ace(h).catch(p=>{h.controller.terminate(p)}),h.controller}o(oce,"fetching");async function ace(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!oWe(qc(r))&&(n=Ht("local URLs only")),Y$e(r),z$e(r)==="blocked"&&(n=Ht("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=eWe(r)),n===null&&(n=await(async()=>{let s=qc(r);return xq(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await ece(t)):r.mode==="same-origin"?Ht('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Ht('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await ece(t)):Nq(qc(r))?(r.responseTainting="cors",await cce(t)):Ht("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=Iq(n,"basic"):r.responseTainting==="cors"?n=Iq(n,"cors"):r.responseTainting==="opaque"?n=Iq(n,"opaque"):cp(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=Ht()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||nce.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>vq(t,Ht(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!G$e(c,r.integrity)){s("integrity mismatch");return}n.body=Rq(c)[0],vq(t,n)},"processBody");await iWe(n.body,a,s)}else vq(t,n)}o(ace,"mainFetch");function ece(t){if(ap(t)&&t.request.redirectCount===0)return Promise.resolve(E2(t));let{request:e}=t,{protocol:r}=qc(e);switch(r){case"about:":return Promise.resolve(Ht("about scheme is not supported"));case"blob:":{Sq||(Sq=require("node:buffer").resolveObjectURL);let n=qc(e);if(n.search.length!==0)return Promise.resolve(Ht("NetworkError when attempting to fetch resource."));let i=Sq(n.toString());if(e.method!=="GET"||!rWe(i))return Promise.resolve(Ht("invalid method"));let s=C2(),a=i.size,c=b2(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let u=e.headersList.get("range",!0),f=lWe(u,!0);if(f==="failure")return Promise.resolve(Ht("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:h}=f;if(d===null)d=a-h,h=d+h-1;else{if(d>=a)return Promise.resolve(Ht("Range start is greater than the blob's size."));(h===null||h>=a)&&(h=a-1)}let p=i.slice(d,h,l),A=Xae(p);s.body=A[0];let g=b2(`${p.size}`),E=uWe(d,h,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",g,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",E,!0)}else{let u=Xae(i);s.statusText="OK",s.body=u[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=qc(e),i=IWe(n);if(i==="failure")return Promise.resolve(Ht("failed to fetch the data URL"));let s=SWe(i.mimeType);return Promise.resolve(C2({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:Rq(i.body)[0]}))}case"file:":return Promise.resolve(Ht("not implemented... yet..."));case"http:":case"https:":return cce(t).catch(n=>Ht(n));default:return Promise.resolve(Ht("unknown scheme"))}}o(ece,"schemeFetch");function QWe(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(QWe,"finalizeResponse");function vq(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=_q(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let f=dWe(e.headersList);f!=="failure"&&(l.contentType=BWe(f))}t.request.initiatorType!=null&&sce(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 i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():CWe(i.body.stream,()=>{n()})}o(vq,"fetchFinale");async function cce(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await lce(t),e.responseTainting==="cors"&&X$e(e,r)==="failure")return Ht("cors failure");j$e(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Z$e(e.origin,e.client,e.destination,n)==="blocked"?Ht("blocked"):(rce.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Ht("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await kWe(t,r):cp(!1)),r.timingInfo=i,r)}o(cce,"httpFetch");function kWe(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=W$e(n,qc(r).hash),i==null)return e}catch(a){return Promise.resolve(Ht(a))}if(!Nq(i))return Promise.resolve(Ht("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Ht("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!xq(r,i))return Promise.resolve(Ht('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Ht('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Ht());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!NWe.includes(r.method)){r.method="GET",r.body=null;for(let a of mWe)r.headersList.delete(a)}xq(qc(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(cp(r.body.source!=null),r.body=Rq(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=s0(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),J$e(r,n),ace(t,!0)}o(kWe,"httpRedirectFetch");async function lce(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=q$e(n),i={...t},i.request=s);let u=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",f=s.body?s.body.length:null,d=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(d="0"),f!=null&&(d=b2(`${f}`)),d!=null&&s.headersList.append("content-length",d,!0),f!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",b2(s.referrer.href),!0),$$e(s),K$e(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",RWe),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(aWe(qc(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return Ht("only if cached");let h=await PWe(i,u,r);!pWe.has(s.method)&&h.status>=200&&h.status<=399,l&&h.status,a==null&&(a=h)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return n.window==="no-window"?Ht():ap(t)?E2(t):Ht("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(ap(t))return E2(t);t.controller.connection.destroy(),a=await lce(t,e,!0)}return a}o(lce,"httpNetworkOrCacheFetch");async function PWe(t,e=!1,r=!1){cp(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(A,g=!0){this.destroyed||(this.destroyed=!0,g&&this.abort?.(A??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let A=o(async function*(y){ap(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),g=o(()=>{ap(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),E=o(y=>{ap(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*A(y);g()}catch(y){E(y)}})()}try{let{body:A,status:g,statusText:E,headersList:y,socket:C}=await p({body:l});if(C)i=C2({status:g,statusText:E,headersList:y,socket:C});else{let w=A[Symbol.asyncIterator]();t.controller.next=()=>w.next(),i=C2({status:g,statusText:E,headersList:y})}}catch(A){return A.name==="AbortError"?(t.controller.connection.destroy(),E2(t,A)):Ht(A)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),f=o(A=>{ap(t)||t.controller.abort(A)},"cancelAlgorithm"),d=new ReadableStream({async start(A){t.controller.controller=A},async pull(A){await u(A)},async cancel(A){await f(A)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=h,t.controller.on("terminated",h),t.controller.resume=async()=>{for(;;){let A,g;try{let{done:y,value:C}=await t.controller.next();if(Kae(t))break;A=y?void 0:C}catch(y){t.controller.ended&&!s.encodedBodySize?A=void 0:(A=y,g=!0)}if(A===void 0){sWe(t.controller.controller),QWe(t,i);return}if(s.decodedBodySize+=A?.byteLength??0,g){t.controller.terminate(A);return}let E=new Uint8Array(A);if(E.byteLength&&t.controller.controller.enqueue(E),wWe(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function h(A){Kae(t)?(i.aborted=!0,w2(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):w2(d)&&t.controller.controller.error(new TypeError("terminated",{cause:nWe(A)?A:void 0})),t.controller.connection.destroy()}return o(h,"onAborted"),i;function p({body:A}){let g=qc(n),E=t.controller.dispatcher;return new Promise((y,C)=>E.dispatch({path:g.pathname+g.search,origin:g.origin,method:n.method,body:E.isMockActive?n.body&&(n.body.source||n.body.stream):A,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(w){let{connection:S}=t.controller;s.finalConnectionTimingInfo=cWe(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),S.destroyed?w(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",w),this.abort=S.abort=w),s.finalNetworkRequestStartTime=s0(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=s0(t.crossOriginIsolatedCapability)},onHeaders(w,S,Q,F){if(w<200)return;let x="",j=new Yae;for(let W=0;Wte)return C(new Error(`too many content-encodings in response: ${ee.length}, maximum allowed is ${te}`)),!0;for(let ce=ee.length-1;ce>=0;--ce){let J=ee[ce].trim();if(J==="x-gzip"||J==="gzip")T.push(id.createGunzip({flush:id.constants.Z_SYNC_FLUSH,finishFlush:id.constants.Z_SYNC_FLUSH}));else if(J==="deflate")T.push(fWe({flush:id.constants.Z_SYNC_FLUSH,finishFlush:id.constants.Z_SYNC_FLUSH}));else if(J==="br")T.push(id.createBrotliDecompress({flush:id.constants.BROTLI_OPERATION_FLUSH,finishFlush:id.constants.BROTLI_OPERATION_FLUSH}));else{T.length=0;break}}}let H=this.onError.bind(this);return y({status:w,statusText:F,headersList:j,body:T.length?EWe(this.body,...T,W=>{W&&this.onError(W)}).on("error",H):this.body.on("error",H)}),!0},onData(w){if(t.controller.dump)return;let S=w;return s.encodedBodySize+=S.byteLength,this.body.push(S)},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(w){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(w),t.controller.terminate(w),C(w)},onUpgrade(w,S,Q){if(w!==101)return;let F=new Yae;for(let x=0;x{"use strict";fce.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 hce=m((PJt,dce)=>{"use strict";var{webidl:to}=ci(),S2=Symbol("ProgressEvent state"),Dq=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=to.converters.DOMString(e,"ProgressEvent constructor","type"),r=to.converters.ProgressEventInit(r??{}),super(e,r),this[S2]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return to.brandCheck(this,t),this[S2].lengthComputable}get loaded(){return to.brandCheck(this,t),this[S2].loaded}get total(){return to.brandCheck(this,t),this[S2].total}};to.converters.ProgressEventInit=to.dictionaryConverter([{key:"lengthComputable",converter:to.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:to.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:to.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:to.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:to.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:to.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);dce.exports={ProgressEvent:Dq}});var mce=m((LJt,pce)=>{"use strict";function OWe(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(OWe,"getEncoding");pce.exports={getEncoding:OWe}});var Ice=m((MJt,wce)=>{"use strict";var{kState:hg,kError:Qq,kResult:Ace,kAborted:a0,kLastProgressEventFired:kq}=Tq(),{ProgressEvent:LWe}=hce(),{getEncoding:gce}=mce(),{serializeAMimeType:FWe,parseMIMEType:yce}=ys(),{types:MWe}=require("node:util"),{StringDecoder:Ece}=require("string_decoder"),{btoa:Cce}=require("node:buffer"),UWe={enumerable:!0,writable:!1,configurable:!1};function qWe(t,e,r,n){if(t[hg]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[hg]="loading",t[Ace]=null,t[Qq]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[a0];)try{let{done:u,value:f}=await c;if(l&&!t[a0]&&queueMicrotask(()=>{sd("loadstart",t)}),l=!1,!u&&MWe.isUint8Array(f))a.push(f),(t[kq]===void 0||Date.now()-t[kq]>=50)&&!t[a0]&&(t[kq]=Date.now(),queueMicrotask(()=>{sd("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[hg]="done";try{let d=GWe(a,r,e.type,n);if(t[a0])return;t[Ace]=d,sd("load",t)}catch(d){t[Qq]=d,sd("error",t)}t[hg]!=="loading"&&sd("loadend",t)});break}}catch(u){if(t[a0])return;queueMicrotask(()=>{t[hg]="done",t[Qq]=u,sd("error",t),t[hg]!=="loading"&&sd("loadend",t)});break}})()}o(qWe,"readOperation");function sd(t,e){let r=new LWe(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(sd,"fireAProgressEvent");function GWe(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=yce(r||"application/octet-stream");s!=="failure"&&(i+=FWe(s)),i+=";base64,";let a=new Ece("latin1");for(let c of t)i+=Cce(a.write(c));return i+=Cce(a.end()),i}case"Text":{let i="failure";if(n&&(i=gce(n)),i==="failure"&&r){let s=yce(r);s!=="failure"&&(i=gce(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),HWe(t,i)}case"ArrayBuffer":return bce(t).buffer;case"BinaryString":{let i="",s=new Ece("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(GWe,"packageData");function HWe(t,e){let r=bce(t),n=VWe(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(HWe,"decode");function VWe(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(VWe,"BOMSniffing");function bce(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(bce,"combineByteSequences");wce.exports={staticPropertyDescriptors:UWe,readOperation:qWe,fireAProgressEvent:sd}});var xce=m((qJt,vce)=>{"use strict";var{staticPropertyDescriptors:pg,readOperation:B2,fireAProgressEvent:Sce}=Ice(),{kState:lp,kError:Bce,kResult:v2,kEvents:Ot,kAborted:zWe}=Tq(),{webidl:zt}=ci(),{kEnumerableProperty:bs}=at(),Ya=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[lp]="empty",this[v2]=null,this[Bce]=null,this[Ot]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=zt.converters.Blob(e,{strict:!1}),B2(this,e,"ArrayBuffer")}readAsBinaryString(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=zt.converters.Blob(e,{strict:!1}),B2(this,e,"BinaryString")}readAsText(e,r=void 0){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=zt.converters.Blob(e,{strict:!1}),r!==void 0&&(r=zt.converters.DOMString(r,"FileReader.readAsText","encoding")),B2(this,e,"Text",r)}readAsDataURL(e){zt.brandCheck(this,t),zt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=zt.converters.Blob(e,{strict:!1}),B2(this,e,"DataURL")}abort(){if(this[lp]==="empty"||this[lp]==="done"){this[v2]=null;return}this[lp]==="loading"&&(this[lp]="done",this[v2]=null),this[zWe]=!0,Sce("abort",this),this[lp]!=="loading"&&Sce("loadend",this)}get readyState(){switch(zt.brandCheck(this,t),this[lp]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return zt.brandCheck(this,t),this[v2]}get error(){return zt.brandCheck(this,t),this[Bce]}get onloadend(){return zt.brandCheck(this,t),this[Ot].loadend}set onloadend(e){zt.brandCheck(this,t),this[Ot].loadend&&this.removeEventListener("loadend",this[Ot].loadend),typeof e=="function"?(this[Ot].loadend=e,this.addEventListener("loadend",e)):this[Ot].loadend=null}get onerror(){return zt.brandCheck(this,t),this[Ot].error}set onerror(e){zt.brandCheck(this,t),this[Ot].error&&this.removeEventListener("error",this[Ot].error),typeof e=="function"?(this[Ot].error=e,this.addEventListener("error",e)):this[Ot].error=null}get onloadstart(){return zt.brandCheck(this,t),this[Ot].loadstart}set onloadstart(e){zt.brandCheck(this,t),this[Ot].loadstart&&this.removeEventListener("loadstart",this[Ot].loadstart),typeof e=="function"?(this[Ot].loadstart=e,this.addEventListener("loadstart",e)):this[Ot].loadstart=null}get onprogress(){return zt.brandCheck(this,t),this[Ot].progress}set onprogress(e){zt.brandCheck(this,t),this[Ot].progress&&this.removeEventListener("progress",this[Ot].progress),typeof e=="function"?(this[Ot].progress=e,this.addEventListener("progress",e)):this[Ot].progress=null}get onload(){return zt.brandCheck(this,t),this[Ot].load}set onload(e){zt.brandCheck(this,t),this[Ot].load&&this.removeEventListener("load",this[Ot].load),typeof e=="function"?(this[Ot].load=e,this.addEventListener("load",e)):this[Ot].load=null}get onabort(){return zt.brandCheck(this,t),this[Ot].abort}set onabort(e){zt.brandCheck(this,t),this[Ot].abort&&this.removeEventListener("abort",this[Ot].abort),typeof e=="function"?(this[Ot].abort=e,this.addEventListener("abort",e)):this[Ot].abort=null}};Ya.EMPTY=Ya.prototype.EMPTY=0;Ya.LOADING=Ya.prototype.LOADING=1;Ya.DONE=Ya.prototype.DONE=2;Object.defineProperties(Ya.prototype,{EMPTY:pg,LOADING:pg,DONE:pg,readAsArrayBuffer:bs,readAsBinaryString:bs,readAsText:bs,readAsDataURL:bs,abort:bs,readyState:bs,result:bs,error:bs,onloadstart:bs,onprogress:bs,onload:bs,onabort:bs,onerror:bs,onloadend:bs,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Ya,{EMPTY:pg,LOADING:pg,DONE:pg});vce.exports={FileReader:Ya}});var x2=m((HJt,_ce)=>{"use strict";_ce.exports={kConstruct:Ar().kConstruct}});var Tce=m((VJt,Rce)=>{"use strict";var jWe=require("node:assert"),{URLSerializer:Nce}=ys(),{isValidHeaderName:$We}=Ws();function WWe(t,e,r=!1){let n=Nce(t,r),i=Nce(e,r);return n===i}o(WWe,"urlEquals");function JWe(t){jWe(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),$We(r)&&e.push(r);return e}o(JWe,"getFieldValues");Rce.exports={urlEquals:WWe,getFieldValues:JWe}});var kce=m((jJt,Qce)=>{"use strict";var{kConstruct:YWe}=x2(),{urlEquals:KWe,getFieldValues:Pq}=Tce(),{kEnumerableProperty:up,isDisturbed:XWe}=at(),{webidl:xe}=ci(),{Response:ZWe,cloneResponse:eJe,fromInnerResponse:tJe}=i0(),{Request:Pu,fromInnerRequest:rJe}=dg(),{kState:Ka}=jf(),{fetching:nJe}=o0(),{urlIsHttpHttpsScheme:_2,createDeferredPromise:mg,readAllBytes:iJe}=Ws(),Oq=require("node:assert"),N2=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==YWe&&xe.illegalConstructor(),xe.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){xe.brandCheck(this,t);let n="Cache.match";xe.argumentLengthCheck(arguments,1,n),e=xe.converters.RequestInfo(e,n,"request"),r=xe.converters.CacheQueryOptions(r,n,"options");let i=this.#i(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){xe.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=xe.converters.RequestInfo(e,n,"request")),r=xe.converters.CacheQueryOptions(r,n,"options"),this.#i(e,r)}async add(e){xe.brandCheck(this,t);let r="Cache.add";xe.argumentLengthCheck(arguments,1,r),e=xe.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){xe.brandCheck(this,t);let r="Cache.addAll";xe.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let h of e){if(h===void 0)throw xe.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(h=xe.converters.RequestInfo(h),typeof h=="string")continue;let p=h[Ka];if(!_2(p.url)||p.method!=="GET")throw xe.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let h of e){let p=new Pu(h)[Ka];if(!_2(p.url))throw xe.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",i.push(p);let A=mg();s.push(nJe({request:p,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)A.reject(xe.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let E=Pq(g.headersList.get("vary"));for(let y of E)if(y==="*"){A.reject(xe.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of s)C.abort();return}}},processResponseEndOfBody(g){if(g.aborted){A.reject(new DOMException("aborted","AbortError"));return}A.resolve(g)}})),n.push(A.promise)}let c=await Promise.all(n),l=[],u=0;for(let h of c){let p={type:"put",request:i[u],response:h};l.push(p),u++}let f=mg(),d=null;try{this.#t(l)}catch(h){d=h}return queueMicrotask(()=>{d===null?f.resolve(void 0):f.reject(d)}),f.promise}async put(e,r){xe.brandCheck(this,t);let n="Cache.put";xe.argumentLengthCheck(arguments,2,n),e=xe.converters.RequestInfo(e,n,"request"),r=xe.converters.Response(r,n,"response");let i=null;if(e instanceof Pu?i=e[Ka]:i=new Pu(e)[Ka],!_2(i.url)||i.method!=="GET")throw xe.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[Ka];if(s.status===206)throw xe.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let p=Pq(s.headersList.get("vary"));for(let A of p)if(A==="*")throw xe.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(XWe(s.body.stream)||s.body.stream.locked))throw xe.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=eJe(s),c=mg();if(s.body!=null){let A=s.body.stream.getReader();iJe(A).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:i,response:a};l.push(u);let f=await c.promise;a.body!=null&&(a.body.source=f);let d=mg(),h=null;try{this.#t(l)}catch(p){h=p}return queueMicrotask(()=>{h===null?d.resolve():d.reject(h)}),d.promise}async delete(e,r={}){xe.brandCheck(this,t);let n="Cache.delete";xe.argumentLengthCheck(arguments,1,n),e=xe.converters.RequestInfo(e,n,"request"),r=xe.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof Pu){if(i=e[Ka],i.method!=="GET"&&!r.ignoreMethod)return!1}else Oq(typeof e=="string"),i=new Pu(e)[Ka];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=mg(),l=null,u;try{u=this.#t(s)}catch(f){l=f}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){xe.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=xe.converters.RequestInfo(e,n,"request")),r=xe.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof Pu){if(i=e[Ka],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Pu(e)[Ka]);let s=mg(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#n(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=rJe(l,new AbortController().signal,"immutable");c.push(u)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw xe.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw xe.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#n(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);Oq(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw xe.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!_2(l.url))throw xe.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw xe.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw xe.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let u of c){let f=r.indexOf(u);Oq(f!==-1),r.splice(f,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#n(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#r(e,c,l,r)&&i.push(a)}return i}#r(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!KWe(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=Pq(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),f=e.headersList.get(l);if(u!==f)return!1}return!0}#i(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof Pu){if(i=e[Ka],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Pu(e)[Ka]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#n(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=tJe(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(N2.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:up,matchAll:up,add:up,addAll:up,put:up,delete:up,keys:up});var Dce=[{key:"ignoreSearch",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:xe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];xe.converters.CacheQueryOptions=xe.dictionaryConverter(Dce);xe.converters.MultiCacheQueryOptions=xe.dictionaryConverter([...Dce,{key:"cacheName",converter:xe.converters.DOMString}]);xe.converters.Response=xe.interfaceConverter(ZWe);xe.converters["sequence"]=xe.sequenceConverter(xe.converters.RequestInfo);Qce.exports={Cache:N2}});var Oce=m((WJt,Pce)=>{"use strict";var{kConstruct:c0}=x2(),{Cache:R2}=kce(),{webidl:Bi}=ci(),{kEnumerableProperty:l0}=at(),T2=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==c0&&Bi.illegalConstructor(),Bi.util.markAsUncloneable(this)}async match(e,r={}){if(Bi.brandCheck(this,t),Bi.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Bi.converters.RequestInfo(e),r=Bi.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new R2(c0,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new R2(c0,n).match(e,r);if(s!==void 0)return s}}async has(e){Bi.brandCheck(this,t);let r="CacheStorage.has";return Bi.argumentLengthCheck(arguments,1,r),e=Bi.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Bi.brandCheck(this,t);let r="CacheStorage.open";if(Bi.argumentLengthCheck(arguments,1,r),e=Bi.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new R2(c0,i)}let n=[];return this.#e.set(e,n),new R2(c0,n)}async delete(e){Bi.brandCheck(this,t);let r="CacheStorage.delete";return Bi.argumentLengthCheck(arguments,1,r),e=Bi.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Bi.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:l0,has:l0,open:l0,delete:l0,keys:l0});Pce.exports={CacheStorage:T2}});var Fce=m((YJt,Lce)=>{"use strict";Lce.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var Mq=m((KJt,Gce)=>{"use strict";function sJe(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(sJe,"isCTLExcludingHtab");function Lq(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(Lq,"validateCookieName");function Fq(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||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(Fq,"validateCookieValue");function Uce(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(Uce,"validateCookiePath");function Mce(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(Mce,"isLetterOrDigit");function oJe(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(oJe,"validateCookieDomain");var aJe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],cJe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],D2=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function qce(t){return typeof t=="number"&&(t=new Date(t)),`${aJe[t.getUTCDay()]}, ${D2[t.getUTCDate()]} ${cJe[t.getUTCMonth()]} ${t.getUTCFullYear()} ${D2[t.getUTCHours()]}:${D2[t.getUTCMinutes()]}:${D2[t.getUTCSeconds()]} GMT`}o(qce,"toIMFDate");function lJe(t){if(t<0)throw new Error("Invalid cookie max-age")}o(lJe,"validateCookieMaxAge");function uJe(t){if(t.name.length===0)return null;Lq(t.name),Fq(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"&&(lJe(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(oJe(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(Uce(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${qce(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("="),s=n.trim(),a=i.join("=");Lq(s),Fq(a),e.push(`${s}=${a}`)}return e.join("; ")}o(uJe,"stringify");Gce.exports={isCTLExcludingHtab:sJe,validateCookieName:Lq,validateCookiePath:Uce,validateCookieValue:Fq,toIMFDate:qce,stringify:uJe}});var Vce=m((ZJt,Hce)=>{"use strict";var{maxNameValuePairSize:fJe,maxAttributeValueSize:dJe}=Fce(),{isCTLExcludingHtab:hJe}=Mq(),{collectASequenceOfCodePointsFast:Q2}=ys(),pJe=require("node:assert");function mJe(t){if(hJe(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=Q2(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=Q2("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>fJe?null:{name:n,value:i,...Ag(r)}}o(mJe,"parseSetCookie");function Ag(t,e={}){if(t.length===0)return e;pJe(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Q2(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=Q2("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>dJe)return Ag(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return Ag(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a=i.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return Ag(t,e)}o(Ag,"parseUnparsedAttributes");Hce.exports={parseSetCookie:mJe,parseUnparsedAttributes:Ag}});var $ce=m((tYt,jce)=>{"use strict";var{parseSetCookie:AJe}=Vce(),{stringify:gJe}=Mq(),{webidl:At}=ci(),{Headers:k2}=sp();function yJe(t){At.argumentLengthCheck(arguments,1,"getCookies"),At.brandCheck(t,k2,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(yJe,"getCookies");function EJe(t,e,r){At.brandCheck(t,k2,{strict:!1});let n="deleteCookie";At.argumentLengthCheck(arguments,2,n),e=At.converters.DOMString(e,n,"name"),r=At.converters.DeleteCookieAttributes(r),zce(t,{name:e,value:"",expires:new Date(0),...r})}o(EJe,"deleteCookie");function CJe(t){At.argumentLengthCheck(arguments,1,"getSetCookies"),At.brandCheck(t,k2,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>AJe(r)):[]}o(CJe,"getSetCookies");function zce(t,e){At.argumentLengthCheck(arguments,2,"setCookie"),At.brandCheck(t,k2,{strict:!1}),e=At.converters.Cookie(e);let r=gJe(e);r&&t.append("Set-Cookie",r)}o(zce,"setCookie");At.converters.DeleteCookieAttributes=At.dictionaryConverter([{converter:At.nullableConverter(At.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:At.nullableConverter(At.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);At.converters.Cookie=At.dictionaryConverter([{converter:At.converters.DOMString,key:"name"},{converter:At.converters.DOMString,key:"value"},{converter:At.nullableConverter(t=>typeof t=="number"?At.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:At.nullableConverter(At.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:At.nullableConverter(At.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:At.nullableConverter(At.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:At.nullableConverter(At.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:At.nullableConverter(At.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:At.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:At.sequenceConverter(At.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);jce.exports={getCookies:yJe,deleteCookie:EJe,getSetCookies:CJe,setCookie:zce}});var yg=m((nYt,Jce)=>{"use strict";var{webidl:ve}=ci(),{kEnumerableProperty:ws}=at(),{kConstruct:Wce}=Ar(),{MessagePort:bJe}=require("node:worker_threads"),gg=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Wce){super(arguments[1],arguments[2]),ve.util.markAsUncloneable(this);return}let n="MessageEvent constructor";ve.argumentLengthCheck(arguments,1,n),e=ve.converters.DOMString(e,n,"type"),r=ve.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,ve.util.markAsUncloneable(this)}get data(){return ve.brandCheck(this,t),this.#e.data}get origin(){return ve.brandCheck(this,t),this.#e.origin}get lastEventId(){return ve.brandCheck(this,t),this.#e.lastEventId}get source(){return ve.brandCheck(this,t),this.#e.source}get ports(){return ve.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(Wce,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:wJe}=gg;delete gg.createFastMessageEvent;var P2=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";ve.argumentLengthCheck(arguments,1,n),e=ve.converters.DOMString(e,n,"type"),r=ve.converters.CloseEventInit(r),super(e,r),this.#e=r,ve.util.markAsUncloneable(this)}get wasClean(){return ve.brandCheck(this,t),this.#e.wasClean}get code(){return ve.brandCheck(this,t),this.#e.code}get reason(){return ve.brandCheck(this,t),this.#e.reason}},O2=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";ve.argumentLengthCheck(arguments,1,n),super(e,r),ve.util.markAsUncloneable(this),e=ve.converters.DOMString(e,n,"type"),r=ve.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return ve.brandCheck(this,t),this.#e.message}get filename(){return ve.brandCheck(this,t),this.#e.filename}get lineno(){return ve.brandCheck(this,t),this.#e.lineno}get colno(){return ve.brandCheck(this,t),this.#e.colno}get error(){return ve.brandCheck(this,t),this.#e.error}};Object.defineProperties(gg.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:ws,origin:ws,lastEventId:ws,source:ws,ports:ws,initMessageEvent:ws});Object.defineProperties(P2.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:ws,code:ws,wasClean:ws});Object.defineProperties(O2.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:ws,filename:ws,lineno:ws,colno:ws,error:ws});ve.converters.MessagePort=ve.interfaceConverter(bJe);ve.converters["sequence"]=ve.sequenceConverter(ve.converters.MessagePort);var Uq=[{key:"bubbles",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];ve.converters.MessageEventInit=ve.dictionaryConverter([...Uq,{key:"data",converter:ve.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:ve.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:ve.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:ve.nullableConverter(ve.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:ve.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);ve.converters.CloseEventInit=ve.dictionaryConverter([...Uq,{key:"wasClean",converter:ve.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:ve.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:ve.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);ve.converters.ErrorEventInit=ve.dictionaryConverter([...Uq,{key:"message",converter:ve.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:ve.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:ve.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:ve.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:ve.converters.any}]);Jce.exports={MessageEvent:gg,CloseEvent:P2,ErrorEvent:O2,createFastMessageEvent:wJe}});var fp=m((sYt,Yce)=>{"use strict";var IJe="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",SJe={enumerable:!0,writable:!1,configurable:!1},BJe={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},vJe={NOT_SENT:0,PROCESSING:1,SENT:2},xJe={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},_Je=2**16-1,NJe={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},RJe=Buffer.allocUnsafe(0),TJe={string:1,typedArray:2,arrayBuffer:3,blob:4};Yce.exports={uid:IJe,sentCloseFrameState:vJe,staticPropertyDescriptors:SJe,states:BJe,opcodes:xJe,maxUnsigned16Bit:_Je,parserStates:NJe,emptyBuffer:RJe,sendHints:TJe}});var u0=m((oYt,Kce)=>{"use strict";Kce.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 h0=m((aYt,ole)=>{"use strict";var{kReadyState:f0,kController:DJe,kResponse:QJe,kBinaryType:kJe,kWebSocketURL:PJe}=u0(),{states:d0,opcodes:od}=fp(),{ErrorEvent:OJe,createFastMessageEvent:LJe}=yg(),{isUtf8:FJe}=require("node:buffer"),{collectASequenceOfCodePointsFast:MJe,removeHTTPWhitespace:Xce}=ys();function UJe(t){return t[f0]===d0.CONNECTING}o(UJe,"isConnecting");function qJe(t){return t[f0]===d0.OPEN}o(qJe,"isEstablished");function GJe(t){return t[f0]===d0.CLOSING}o(GJe,"isClosing");function HJe(t){return t[f0]===d0.CLOSED}o(HJe,"isClosed");function qq(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(qq,"fireEvent");function VJe(t,e,r){if(t[f0]!==d0.OPEN)return;let n;if(e===od.TEXT)try{n=sle(r)}catch{ele(t,"Received invalid UTF-8 in text frame.");return}else e===od.BINARY&&(t[kJe]==="blob"?n=new Blob([r]):n=zJe(r));qq("message",t,LJe,{origin:t[PJe].origin,data:n})}o(VJe,"websocketMessageReceived");function zJe(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(zJe,"toArrayBuffer");function jJe(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(jJe,"isValidSubprotocol");function $Je(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o($Je,"isValidStatusCode");function ele(t,e){let{[DJe]:r,[QJe]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&qq("error",t,(i,s)=>new OJe(i,s),{error:new Error(e),message:e})}o(ele,"failWebsocketConnection");function tle(t){return t===od.CLOSE||t===od.PING||t===od.PONG}o(tle,"isControlFrame");function rle(t){return t===od.CONTINUATION}o(rle,"isContinuationFrame");function nle(t){return t===od.TEXT||t===od.BINARY}o(nle,"isTextBinaryFrame");function WJe(t){return nle(t)||rle(t)||tle(t)}o(WJe,"isValidOpcode");function JJe(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(YJe,"isValidClientWindowBits");var ile=typeof process.versions.icu=="string",Zce=ile?new TextDecoder("utf-8",{fatal:!0}):void 0,sle=ile?Zce.decode.bind(Zce):function(t){if(FJe(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};ole.exports={isConnecting:UJe,isEstablished:qJe,isClosing:GJe,isClosed:HJe,fireEvent:qq,isValidSubprotocol:jJe,isValidStatusCode:$Je,failWebsocketConnection:ele,websocketMessageReceived:VJe,utf8Decode:sle,isControlFrame:tle,isContinuationFrame:rle,isTextBinaryFrame:nle,isValidOpcode:WJe,parseExtensions:JJe,isValidClientWindowBits:YJe}});var F2=m((lYt,ale)=>{"use strict";var{maxUnsigned16Bit:KJe}=fp(),L2=16386,Gq,p0=null,Eg=L2;try{Gq=require("node:crypto")}catch{Gq={randomFillSync:o(function(e,r,n){for(let i=0;iKJe?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:ZJe,states:m0,sentCloseFrameState:M2,emptyBuffer:eYe,opcodes:tYe}=fp(),{kReadyState:A0,kSentClose:U2,kByteParser:lle,kReceivedClose:cle,kResponse:ule}=u0(),{fireEvent:rYe,failWebsocketConnection:ad,isClosing:nYe,isClosed:iYe,isEstablished:sYe,parseExtensions:oYe}=h0(),{channels:Cg}=RA(),{CloseEvent:aYe}=yg(),{makeRequest:cYe}=dg(),{fetching:lYe}=o0(),{Headers:uYe,getHeadersList:fYe}=sp(),{getDecodeSplit:dYe}=Ws(),{WebsocketFrameSend:hYe}=F2(),Vq;try{Vq=require("node:crypto")}catch{}function pYe(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=cYe({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=fYe(new uYe(s.headers));c.headersList=d}let l=Vq.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"),lYe({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){ad(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){ad(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ad(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ad(n,'Server did not set Connection header to "upgrade".');return}let h=d.headersList.get("Sec-WebSocket-Accept"),p=Vq.createHash("sha1").update(l+ZJe).digest("base64");if(h!==p){ad(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let A=d.headersList.get("Sec-WebSocket-Extensions"),g;if(A!==null&&(g=oYe(A),!g.has("permessage-deflate"))){ad(n,"Sec-WebSocket-Extensions header does not match.");return}let E=d.headersList.get("Sec-WebSocket-Protocol");if(E!==null&&!dYe("sec-websocket-protocol",c.headersList).includes(E)){ad(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",fle),d.socket.on("close",dle),d.socket.on("error",hle),Cg.open.hasSubscribers&&Cg.open.publish({address:d.socket.address(),protocol:E,extensions:A}),i(d,g)}})}o(pYe,"establishWebSocketConnection");function mYe(t,e,r,n){if(!(nYe(t)||iYe(t)))if(!sYe(t))ad(t,"Connection was closed before it was established."),t[A0]=m0.CLOSING;else if(t[U2]===M2.NOT_SENT){t[U2]=M2.PROCESSING;let i=new hYe;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=eYe,t[ule].socket.write(i.createFrame(tYe.CLOSE)),t[U2]=M2.SENT,t[A0]=m0.CLOSING}else t[A0]=m0.CLOSING}o(mYe,"closeWebSocketConnection");function fle(t){this.ws[lle].write(t)||this.pause()}o(fle,"onSocketData");function dle(){let{ws:t}=this,{[ule]:e}=t;e.socket.off("data",fle),e.socket.off("close",dle),e.socket.off("error",hle);let r=t[U2]===M2.SENT&&t[cle],n=1005,i="",s=t[lle].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[cle]||(n=1006),t[A0]=m0.CLOSED,rYe("close",t,(a,c)=>new aYe(a,c),{wasClean:r,code:n,reason:i}),Cg.close.hasSubscribers&&Cg.close.publish({websocket:t,code:n,reason:i})}o(dle,"onSocketClose");function hle(t){let{ws:e}=this;e[A0]=m0.CLOSING,Cg.socketError.hasSubscribers&&Cg.socketError.publish(t),this.destroy()}o(hle,"onSocketError");ple.exports={establishWebSocketConnection:pYe,closeWebSocketConnection:mYe}});var Ale=m((hYt,mle)=>{"use strict";var{createInflateRaw:AYe,Z_DEFAULT_WINDOWBITS:gYe}=require("node:zlib"),{isValidClientWindowBits:yYe}=h0(),{MessageSizeExceededError:EYe}=Tt(),CYe=Buffer.from([0,0,255,255]),q2=Symbol("kBuffer"),g0=Symbol("kLength"),jq=class{static{o(this,"PerMessageDeflate")}#e;#t={};#n=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#n=r.maxPayloadSize}decompress(e,r,n){if(!this.#e){let i=gYe;if(this.#t.serverMaxWindowBits){if(!yYe(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=AYe({windowBits:i})}catch(s){n(s);return}this.#e[q2]=[],this.#e[g0]=0,this.#e.on("data",s=>{if(this.#e[g0]+=s.length,this.#n>0&&this.#e[g0]>this.#n){n(new EYe),this.#e.removeAllListeners(),this.#e=null;return}this.#e[q2].push(s)}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(CYe),this.#e.flush(()=>{if(!this.#e)return;let i=Buffer.concat(this.#e[q2],this.#e[g0]);this.#e[q2].length=0,this.#e[g0]=0,n(null,i)})}};mle.exports={PerMessageDeflate:jq}});var vle=m((mYt,Ble)=>{"use strict";var{Writable:bYe}=require("node:stream"),wYe=require("node:assert"),{parserStates:Is,opcodes:bg,states:IYe,emptyBuffer:gle,sentCloseFrameState:yle}=fp(),{kReadyState:SYe,kSentClose:Ele,kResponse:Cle,kReceivedClose:ble}=u0(),{channels:G2}=RA(),{isValidStatusCode:BYe,isValidOpcode:vYe,failWebsocketConnection:ro,websocketMessageReceived:wle,utf8Decode:xYe,isControlFrame:$q,isTextBinaryFrame:Wq,isContinuationFrame:_Ye}=h0(),{WebsocketFrameSend:Ile}=F2(),{closeWebSocketConnection:Sle}=zq(),{PerMessageDeflate:NYe}=Ale(),{MessageSizeExceededError:Jq}=Tt();function y0(t,e,r){Sle(t,e,r,Buffer.byteLength(r)),ro(t,r)}o(y0,"failWebsocketConnectionWithCode");var Yq=class extends bYe{static{o(this,"ByteParser")}#e=[];#t=0;#n=0;#r=!1;#i=Is.INFO;#s={};#l=[];#a;#c;#o;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#c=n.maxFragments??0,this.#o=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new NYe(r,n))}_write(e,r,n){this.#e.push(e),this.#n+=e.length,this.#r=!0,this.run(n)}#d(){return this.#o>0&&!$q(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#o?(y0(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#r;)if(this.#i===Is.INFO){if(this.#n<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==bg.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,f=r[0]&16;if(!vYe(i))return ro(this.ws,"Invalid opcode received"),e();if(s)return ro(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){ro(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||f!==0){ro(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!Wq(i)){ro(this.ws,"Invalid frame type was fragmented.");return}if(Wq(i)&&this.#l.length>0){ro(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){ro(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&$q(i)){ro(this.ws,"Control frame either too large or fragmented");return}if(_Ye(i)&&this.#l.length===0&&!this.#s.compressed){ro(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#s.payloadLength=c,this.#i=Is.READ_DATA,!this.#d())return}else c===126?this.#i=Is.PAYLOADLENGTH_16:c===127&&(this.#i=Is.PAYLOADLENGTH_64);Wq(i)&&(this.#s.binaryType=i,this.#s.compressed=l!==0),this.#s.opcode=i,this.#s.masked=s,this.#s.fin=n,this.#s.fragmented=a}else if(this.#i===Is.PAYLOADLENGTH_16){if(this.#n<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#i=Is.READ_DATA,!this.#d())return}else if(this.#i===Is.PAYLOADLENGTH_64){if(this.#n<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),i=r.readUInt32BE(4);if(n!==0||i>2**31-1){ro(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=i,this.#i=Is.READ_DATA,!this.#d())return}else if(this.#i===Is.READ_DATA){if(this.#n{if(n){let s=n instanceof Jq?1009:1007;y0(this.ws,s,n.message);return}if(this.writeFragments(i)){if(this.#o>0&&this.#t>this.#o){y0(this.ws,1009,new Jq().message);return}if(!this.#s.fin){this.#i=Is.INFO,this.#r=!0,this.run(e);return}wle(this.ws,this.#s.binaryType,this.consumeFragments()),this.#r=!0,this.#i=Is.INFO,this.run(e)}}),this.#r=!1;break}else{if(!this.writeFragments(r))return;if(this.#o>0&&this.#t>this.#o){y0(this.ws,1009,new Jq().message);return}!this.#s.fragmented&&this.#s.fin&&wle(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=Is.INFO}}}consume(e){if(e>this.#n)throw new Error("Called consume() before buffers satiated.");if(e===0)return gle;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#n-=e,r}writeFragments(e){return this.#c>0&&this.#l.length===this.#c?(y0(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#l.push(e),!0)}consumeFragments(){let e=this.#l;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#l=[],this.#t=0,r}parseCloseBody(e){wYe(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!BYe(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=xYe(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#s;if(r===bg.CLOSE){if(n===1)return ro(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#s.closeInfo=this.parseCloseBody(e),this.#s.closeInfo.error){let{code:i,reason:s}=this.#s.closeInfo;return Sle(this.ws,i,s,s.length),ro(this.ws,s),!1}if(this.ws[Ele]!==yle.SENT){let i=gle;this.#s.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#s.closeInfo.code,0));let s=new Ile(i);this.ws[Cle].socket.write(s.createFrame(bg.CLOSE),a=>{a||(this.ws[Ele]=yle.SENT)})}return this.ws[SYe]=IYe.CLOSING,this.ws[ble]=!0,!1}else if(r===bg.PING){if(!this.ws[ble]){let i=new Ile(e);this.ws[Cle].socket.write(i.createFrame(bg.PONG)),G2.ping.hasSubscribers&&G2.ping.publish({payload:e})}}else r===bg.PONG&&G2.pong.hasSubscribers&&G2.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Ble.exports={ByteParser:Yq}});var Tle=m((gYt,Rle)=>{"use strict";var{WebsocketFrameSend:RYe}=F2(),{opcodes:xle,sendHints:wg}=fp(),TYe=rU(),_le=Buffer[Symbol.species],Kq=class{static{o(this,"SendQueue")}#e=new TYe;#t=!1;#n;constructor(e){this.#n=e}add(e,r,n){if(n!==wg.blob){let s=Nle(e,n);if(!this.#t)this.#n.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=Nle(s,n)}),callback:r,frame:null};this.#e.push(i),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.#n.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function Nle(t,e){return new RYe(DYe(t,e)).createFrame(e===wg.string?xle.TEXT:xle.BINARY)}o(Nle,"createFrame");function DYe(t,e){switch(e){case wg.string:return Buffer.from(t);case wg.arrayBuffer:case wg.blob:return new _le(t);case wg.typedArray:return new _le(t.buffer,t.byteOffset,t.byteLength)}}o(DYe,"toBuffer");Rle.exports={SendQueue:Kq}});var qle=m((EYt,Ule)=>{"use strict";var{webidl:He}=ci(),{URLSerializer:QYe}=ys(),{environmentSettingsObject:Dle}=Ws(),{staticPropertyDescriptors:cd,states:E0,sentCloseFrameState:kYe,sendHints:H2}=fp(),{kWebSocketURL:Qle,kReadyState:Xq,kController:kle,kBinaryType:V2,kResponse:Ple,kSentClose:PYe,kByteParser:OYe}=u0(),{isConnecting:LYe,isEstablished:FYe,isClosing:MYe,isValidSubprotocol:UYe,fireEvent:Ole}=h0(),{establishWebSocketConnection:qYe,closeWebSocketConnection:Lle}=zq(),{ByteParser:GYe}=vle(),{kEnumerableProperty:Go,isBlobLike:Fle}=at(),{getGlobalDispatcher:HYe}=s2(),{types:Mle}=require("node:util"),{ErrorEvent:VYe,CloseEvent:zYe}=yg(),{SendQueue:jYe}=Tle(),no=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#n="";#r="";#i;constructor(e,r=[]){super(),He.util.markAsUncloneable(this);let n="WebSocket constructor";He.argumentLengthCheck(arguments,1,n);let i=He.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=He.converters.USVString(e,n,"url"),r=i.protocols;let s=Dle.settingsObject.baseUrl,a;try{a=new URL(e,s)}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=>UYe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Qle]=new URL(a.href);let c=Dle.settingsObject;this[kle]=qYe(a,r,c,this,(l,u)=>this.#s(l,u),i),this[Xq]=t.CONNECTING,this[PYe]=kYe.NOT_SENT,this[V2]="blob"}close(e=void 0,r=void 0){He.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=He.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=He.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");Lle(this,e,r,i)}send(e){He.brandCheck(this,t);let r="WebSocket.send";if(He.argumentLengthCheck(arguments,1,r),e=He.converters.WebSocketSendData(e,r,"data"),LYe(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!FYe(this)||MYe(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#i.add(e,()=>{this.#t-=n},H2.string)}else Mle.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},H2.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},H2.typedArray)):Fle(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},H2.blob))}get readyState(){return He.brandCheck(this,t),this[Xq]}get bufferedAmount(){return He.brandCheck(this,t),this.#t}get url(){return He.brandCheck(this,t),QYe(this[Qle])}get extensions(){return He.brandCheck(this,t),this.#r}get protocol(){return He.brandCheck(this,t),this.#n}get onopen(){return He.brandCheck(this,t),this.#e.open}set onopen(e){He.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 He.brandCheck(this,t),this.#e.error}set onerror(e){He.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 He.brandCheck(this,t),this.#e.close}set onclose(e){He.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 He.brandCheck(this,t),this.#e.message}set onmessage(e){He.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 He.brandCheck(this,t),this[V2]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[V2]="blob":this[V2]=e}#s(e,r){this[Ple]=e;let n=this[kle]?.dispatcher?.webSocketOptions,i=n?.maxFragments,s=n?.maxPayloadSize,a=new GYe(this,r,{maxFragments:i,maxPayloadSize:s});a.on("drain",$Ye),a.on("error",WYe.bind(this)),e.socket.ws=this,this[OYe]=a,this.#i=new jYe(e.socket),this[Xq]=E0.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.#n=l),Ole("open",this)}};no.CONNECTING=no.prototype.CONNECTING=E0.CONNECTING;no.OPEN=no.prototype.OPEN=E0.OPEN;no.CLOSING=no.prototype.CLOSING=E0.CLOSING;no.CLOSED=no.prototype.CLOSED=E0.CLOSED;Object.defineProperties(no.prototype,{CONNECTING:cd,OPEN:cd,CLOSING:cd,CLOSED:cd,url:Go,readyState:Go,bufferedAmount:Go,onopen:Go,onerror:Go,onclose:Go,close:Go,onmessage:Go,binaryType:Go,send:Go,extensions:Go,protocol:Go,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(no,{CONNECTING:cd,OPEN:cd,CLOSING:cd,CLOSED:cd});He.converters["sequence"]=He.sequenceConverter(He.converters.DOMString);He.converters["DOMString or sequence"]=function(t,e,r){return He.util.Type(t)==="Object"&&Symbol.iterator in t?He.converters["sequence"](t):He.converters.DOMString(t,e,r)};He.converters.WebSocketInit=He.dictionaryConverter([{key:"protocols",converter:He.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:He.converters.any,defaultValue:o(()=>HYe(),"defaultValue")},{key:"headers",converter:He.nullableConverter(He.converters.HeadersInit)}]);He.converters["DOMString or sequence or WebSocketInit"]=function(t){return He.util.Type(t)==="Object"&&!(Symbol.iterator in t)?He.converters.WebSocketInit(t):{protocols:He.converters["DOMString or sequence"](t)}};He.converters.WebSocketSendData=function(t){if(He.util.Type(t)==="Object"){if(Fle(t))return He.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Mle.isArrayBuffer(t))return He.converters.BufferSource(t)}return He.converters.USVString(t)};function $Ye(){this.ws[Ple].socket.resume()}o($Ye,"onParserDrain");function WYe(t){let e,r;t instanceof zYe?(e=t.reason,r=t.code):e=t.message,Ole("error",this,()=>new VYe("error",{error:t,message:e})),Lle(this,r)}o(WYe,"onParserError");Ule.exports={WebSocket:no}});var Zq=m((bYt,Gle)=>{"use strict";function JYe(t){return t.indexOf("\0")===-1}o(JYe,"isValidLastEventId");function YYe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(YYe,"isASCIINumber");function KYe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(KYe,"delay");Gle.exports={isValidLastEventId:JYe,isASCIINumber:YYe,delay:KYe}});var jle=m((IYt,zle)=>{"use strict";var{Transform:XYe}=require("node:stream"),{isASCIINumber:Hle,isValidLastEventId:Vle}=Zq(),Ou=[239,187,191],e3=10,z2=13,ZYe=58,e7e=32,t3=class extends XYe{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Ou[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Ou[0]&&this.buffer[1]===Ou[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Ou[0]&&this.buffer[1]===Ou[1]&&this.buffer[2]===Ou[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Ou[0]&&this.buffer[1]===Ou[1]&&this.buffer[2]===Ou[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&Hle(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Vle(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,event:void 0,id:void 0,retry:void 0}}};zle.exports={EventSourceStream:t3}});var eue=m((BYt,Zle)=>{"use strict";var{pipeline:t7e}=require("node:stream"),{fetching:r7e}=o0(),{makeRequest:n7e}=dg(),{webidl:Lu}=ci(),{EventSourceStream:i7e}=jle(),{parseMIMEType:s7e}=ys(),{createFastMessageEvent:o7e}=yg(),{isNetworkError:$le}=i0(),{delay:a7e}=Zq(),{kEnumerableProperty:dp}=at(),{environmentSettingsObject:Wle}=Ws(),Jle=!1,Yle=3e3,C0=0,Kle=1,b0=2,c7e="anonymous",l7e="use-credentials",Ig=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=C0;#i=null;#s=null;#l;#a;constructor(e,r={}){super(),Lu.util.markAsUncloneable(this);let n="EventSource constructor";Lu.argumentLengthCheck(arguments,1,n),Jle||(Jle=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Lu.converters.USVString(e,n,"url"),r=Lu.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#l=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Yle};let i=Wle,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=c7e;r.withCredentials&&(a=l7e,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Wle.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#i=n7e(c),this.#c()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#c(){if(this.#r===b0)return;this.#r=C0;let e={request:this.#i,dispatcher:this.#l},r=o(n=>{$le(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#o()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if($le(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#o();return}let i=n.headersList.get("content-type",!0),s=i!==null?s7e(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=Kle,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new i7e({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(o7e(l.type,l.options))},"push")});t7e(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=r7e(e)}async#o(){this.#r!==b0&&(this.#r=C0,this.dispatchEvent(new Event("error")),await a7e(this.#a.reconnectionTime),this.#r===C0&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Lu.brandCheck(this,t),this.#r!==b0&&(this.#r=b0,this.#s.abort(),this.#i=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}},Xle={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:C0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Kle,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:b0,writable:!1}};Object.defineProperties(Ig,Xle);Object.defineProperties(Ig.prototype,Xle);Object.defineProperties(Ig.prototype,{close:dp,onerror:dp,onmessage:dp,onopen:dp,readyState:dp,url:dp,withCredentials:dp});Lu.converters.EventSourceInitDict=Lu.dictionaryConverter([{key:"withCredentials",converter:Lu.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Lu.converters.any}]);Zle.exports={EventSource:Ig,defaultReconnectionTime:Yle}});var ld=m((xYt,Ue)=>{"use strict";var u7e=YA(),tue=Bb(),f7e=KA(),d7e=Xie(),h7e=XA(),p7e=wU(),m7e=wse(),A7e=Nse(),rue=Tt(),$2=at(),{InvalidArgumentError:j2}=rue,Sg=moe(),g7e=xb(),y7e=nq(),E7e=Koe(),C7e=oq(),b7e=VU(),w7e=Jx(),{getGlobalDispatcher:nue,setGlobalDispatcher:I7e}=s2(),S7e=o2(),B7e=Fx(),v7e=Mx();Object.assign(tue.prototype,Sg);Ue.exports.Dispatcher=tue;Ue.exports.Client=u7e;Ue.exports.Pool=f7e;Ue.exports.BalancedPool=d7e;Ue.exports.Agent=h7e;Ue.exports.ProxyAgent=p7e;Ue.exports.EnvHttpProxyAgent=m7e;Ue.exports.RetryAgent=A7e;Ue.exports.RetryHandler=w7e;Ue.exports.DecoratorHandler=S7e;Ue.exports.RedirectHandler=B7e;Ue.exports.createRedirectInterceptor=v7e;Ue.exports.interceptors={redirect:iae(),retry:oae(),dump:cae(),dns:fae()};Ue.exports.buildConnector=g7e;Ue.exports.errors=rue;Ue.exports.util={parseHeaders:$2.parseHeaders,headerNameToString:$2.headerNameToString};function w0(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new j2("invalid url");if(r!=null&&typeof r!="object")throw new j2("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new j2("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL($2.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=$2.parseURL(e);let{agent:i,dispatcher:s=nue()}=r;if(i)throw new j2("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(w0,"makeDispatcher");Ue.exports.setGlobalDispatcher=I7e;Ue.exports.getGlobalDispatcher=nue;var x7e=o0().fetch;Ue.exports.fetch=o(async function(e,r=void 0){try{return await x7e(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Ue.exports.Headers=sp().Headers;Ue.exports.Response=i0().Response;Ue.exports.Request=dg().Request;Ue.exports.FormData=kb().FormData;Ue.exports.File=globalThis.File??require("node:buffer").File;Ue.exports.FileReader=xce().FileReader;var{setGlobalOrigin:_7e,getGlobalOrigin:N7e}=IM();Ue.exports.setGlobalOrigin=_7e;Ue.exports.getGlobalOrigin=N7e;var{CacheStorage:R7e}=Oce(),{kConstruct:T7e}=x2();Ue.exports.caches=new R7e(T7e);var{deleteCookie:D7e,getCookies:Q7e,getSetCookies:k7e,setCookie:P7e}=$ce();Ue.exports.deleteCookie=D7e;Ue.exports.getCookies=Q7e;Ue.exports.getSetCookies=k7e;Ue.exports.setCookie=P7e;var{parseMIMEType:O7e,serializeAMimeType:L7e}=ys();Ue.exports.parseMIMEType=O7e;Ue.exports.serializeAMimeType=L7e;var{CloseEvent:F7e,ErrorEvent:M7e,MessageEvent:U7e}=yg();Ue.exports.WebSocket=qle().WebSocket;Ue.exports.CloseEvent=F7e;Ue.exports.ErrorEvent=M7e;Ue.exports.MessageEvent=U7e;Ue.exports.request=w0(Sg.request);Ue.exports.stream=w0(Sg.stream);Ue.exports.pipeline=w0(Sg.pipeline);Ue.exports.connect=w0(Sg.connect);Ue.exports.upgrade=w0(Sg.upgrade);Ue.exports.MockClient=y7e;Ue.exports.MockPool=C7e;Ue.exports.MockAgent=E7e;Ue.exports.mockErrors=b7e;var{EventSource:q7e}=eue();Ue.exports.EventSource=q7e});var R0=m((K7t,Pue)=>{"use strict";var hKe="2.0.0",pKe=Number.MAX_SAFE_INTEGER||9007199254740991,mKe=16,AKe=250,gKe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Pue.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:mKe,MAX_SAFE_BUILD_LENGTH:AKe,MAX_SAFE_INTEGER:pKe,RELEASE_TYPES:gKe,SEMVER_SPEC_VERSION:hKe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var T0=m((X7t,Oue)=>{"use strict";var yKe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Oue.exports=yKe});var Rg=m((zc,Lue)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:B3,MAX_SAFE_BUILD_LENGTH:EKe,MAX_LENGTH:CKe}=R0(),bKe=T0();zc=Lue.exports={};var wKe=zc.re=[],IKe=zc.safeRe=[],le=zc.src=[],SKe=zc.safeSrc=[],ue=zc.t={},BKe=0,v3="[a-zA-Z0-9-]",vKe=[["\\s",1],["\\d",CKe],[v3,EKe]],xKe=o(t=>{for(let[e,r]of vKe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),$e=o((t,e,r)=>{let n=xKe(e),i=BKe++;bKe(t,i,e),ue[t]=i,le[i]=e,SKe[i]=n,wKe[i]=new RegExp(e,r?"g":void 0),IKe[i]=new RegExp(n,r?"g":void 0)},"createToken");$e("NUMERICIDENTIFIER","0|[1-9]\\d*");$e("NUMERICIDENTIFIERLOOSE","\\d+");$e("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${v3}*`);$e("MAINVERSION",`(${le[ue.NUMERICIDENTIFIER]})\\.(${le[ue.NUMERICIDENTIFIER]})\\.(${le[ue.NUMERICIDENTIFIER]})`);$e("MAINVERSIONLOOSE",`(${le[ue.NUMERICIDENTIFIERLOOSE]})\\.(${le[ue.NUMERICIDENTIFIERLOOSE]})\\.(${le[ue.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASEIDENTIFIER",`(?:${le[ue.NONNUMERICIDENTIFIER]}|${le[ue.NUMERICIDENTIFIER]})`);$e("PRERELEASEIDENTIFIERLOOSE",`(?:${le[ue.NONNUMERICIDENTIFIER]}|${le[ue.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASE",`(?:-(${le[ue.PRERELEASEIDENTIFIER]}(?:\\.${le[ue.PRERELEASEIDENTIFIER]})*))`);$e("PRERELEASELOOSE",`(?:-?(${le[ue.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${le[ue.PRERELEASEIDENTIFIERLOOSE]})*))`);$e("BUILDIDENTIFIER",`${v3}+`);$e("BUILD",`(?:\\+(${le[ue.BUILDIDENTIFIER]}(?:\\.${le[ue.BUILDIDENTIFIER]})*))`);$e("FULLPLAIN",`v?${le[ue.MAINVERSION]}${le[ue.PRERELEASE]}?${le[ue.BUILD]}?`);$e("FULL",`^${le[ue.FULLPLAIN]}$`);$e("LOOSEPLAIN",`[v=\\s]*${le[ue.MAINVERSIONLOOSE]}${le[ue.PRERELEASELOOSE]}?${le[ue.BUILD]}?`);$e("LOOSE",`^${le[ue.LOOSEPLAIN]}$`);$e("GTLT","((?:<|>)?=?)");$e("XRANGEIDENTIFIERLOOSE",`${le[ue.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$e("XRANGEIDENTIFIER",`${le[ue.NUMERICIDENTIFIER]}|x|X|\\*`);$e("XRANGEPLAIN",`[v=\\s]*(${le[ue.XRANGEIDENTIFIER]})(?:\\.(${le[ue.XRANGEIDENTIFIER]})(?:\\.(${le[ue.XRANGEIDENTIFIER]})(?:${le[ue.PRERELEASE]})?${le[ue.BUILD]}?)?)?`);$e("XRANGEPLAINLOOSE",`[v=\\s]*(${le[ue.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[ue.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[ue.XRANGEIDENTIFIERLOOSE]})(?:${le[ue.PRERELEASELOOSE]})?${le[ue.BUILD]}?)?)?`);$e("XRANGE",`^${le[ue.GTLT]}\\s*${le[ue.XRANGEPLAIN]}$`);$e("XRANGELOOSE",`^${le[ue.GTLT]}\\s*${le[ue.XRANGEPLAINLOOSE]}$`);$e("COERCEPLAIN",`(^|[^\\d])(\\d{1,${B3}})(?:\\.(\\d{1,${B3}}))?(?:\\.(\\d{1,${B3}}))?`);$e("COERCE",`${le[ue.COERCEPLAIN]}(?:$|[^\\d])`);$e("COERCEFULL",le[ue.COERCEPLAIN]+`(?:${le[ue.PRERELEASE]})?(?:${le[ue.BUILD]})?(?:$|[^\\d])`);$e("COERCERTL",le[ue.COERCE],!0);$e("COERCERTLFULL",le[ue.COERCEFULL],!0);$e("LONETILDE","(?:~>?)");$e("TILDETRIM",`(\\s*)${le[ue.LONETILDE]}\\s+`,!0);zc.tildeTrimReplace="$1~";$e("TILDE",`^${le[ue.LONETILDE]}${le[ue.XRANGEPLAIN]}$`);$e("TILDELOOSE",`^${le[ue.LONETILDE]}${le[ue.XRANGEPLAINLOOSE]}$`);$e("LONECARET","(?:\\^)");$e("CARETTRIM",`(\\s*)${le[ue.LONECARET]}\\s+`,!0);zc.caretTrimReplace="$1^";$e("CARET",`^${le[ue.LONECARET]}${le[ue.XRANGEPLAIN]}$`);$e("CARETLOOSE",`^${le[ue.LONECARET]}${le[ue.XRANGEPLAINLOOSE]}$`);$e("COMPARATORLOOSE",`^${le[ue.GTLT]}\\s*(${le[ue.LOOSEPLAIN]})$|^$`);$e("COMPARATOR",`^${le[ue.GTLT]}\\s*(${le[ue.FULLPLAIN]})$|^$`);$e("COMPARATORTRIM",`(\\s*)${le[ue.GTLT]}\\s*(${le[ue.LOOSEPLAIN]}|${le[ue.XRANGEPLAIN]})`,!0);zc.comparatorTrimReplace="$1$2$3";$e("HYPHENRANGE",`^\\s*(${le[ue.XRANGEPLAIN]})\\s+-\\s+(${le[ue.XRANGEPLAIN]})\\s*$`);$e("HYPHENRANGELOOSE",`^\\s*(${le[ue.XRANGEPLAINLOOSE]})\\s+-\\s+(${le[ue.XRANGEPLAINLOOSE]})\\s*$`);$e("STAR","(<|>)?=?\\s*\\*");$e("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$e("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var t_=m((eKt,Fue)=>{"use strict";var _Ke=Object.freeze({loose:!0}),NKe=Object.freeze({}),RKe=o(t=>t?typeof t!="object"?_Ke:t:NKe,"parseOptions");Fue.exports=RKe});var x3=m((rKt,que)=>{"use strict";var Mue=/^[0-9]+$/,Uue=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tUue(e,t),"rcompareIdentifiers");que.exports={compareIdentifiers:Uue,rcompareIdentifiers:TKe}});var vi=m((iKt,Hue)=>{"use strict";var r_=T0(),{MAX_LENGTH:Gue,MAX_SAFE_INTEGER:n_}=R0(),{safeRe:i_,t:s_}=Rg(),DKe=t_(),{compareIdentifiers:_3}=x3(),N3=class t{static{o(this,"SemVer")}constructor(e,r){if(r=DKe(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>Gue)throw new TypeError(`version is longer than ${Gue} characters`);r_("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?i_[s_.LOOSE]:i_[s_.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>n_||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n_||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n_||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&se.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 n=this.prerelease[r],i=e.prerelease[r];if(r_("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return _3(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(r_("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return _3(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?i_[s_.PRERELEASELOOSE]:i_[s_.PRERELEASE]);if(!i||i[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),_3(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Hue.exports=N3});var gp=m((oKt,zue)=>{"use strict";var Vue=vi(),QKe=o((t,e,r=!1)=>{if(t instanceof Vue)return t;try{return new Vue(t,e)}catch(n){if(!r)return null;throw n}},"parse");zue.exports=QKe});var $ue=m((cKt,jue)=>{"use strict";var kKe=gp(),PKe=o((t,e)=>{let r=kKe(t,e);return r?r.version:null},"valid");jue.exports=PKe});var Jue=m((uKt,Wue)=>{"use strict";var OKe=gp(),LKe=o((t,e)=>{let r=OKe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Wue.exports=LKe});var Xue=m((dKt,Kue)=>{"use strict";var Yue=vi(),FKe=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Yue(t instanceof Yue?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");Kue.exports=FKe});var tfe=m((pKt,efe)=>{"use strict";var Zue=gp(),MKe=o((t,e)=>{let r=Zue(t,null,!0),n=Zue(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n: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 f=l?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"},"diff");efe.exports=MKe});var nfe=m((AKt,rfe)=>{"use strict";var UKe=vi(),qKe=o((t,e)=>new UKe(t,e).major,"major");rfe.exports=qKe});var sfe=m((yKt,ife)=>{"use strict";var GKe=vi(),HKe=o((t,e)=>new GKe(t,e).minor,"minor");ife.exports=HKe});var afe=m((CKt,ofe)=>{"use strict";var VKe=vi(),zKe=o((t,e)=>new VKe(t,e).patch,"patch");ofe.exports=zKe});var lfe=m((wKt,cfe)=>{"use strict";var jKe=gp(),$Ke=o((t,e)=>{let r=jKe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");cfe.exports=$Ke});var Vo=m((SKt,ffe)=>{"use strict";var ufe=vi(),WKe=o((t,e,r)=>new ufe(t,r).compare(new ufe(e,r)),"compare");ffe.exports=WKe});var hfe=m((vKt,dfe)=>{"use strict";var JKe=Vo(),YKe=o((t,e,r)=>JKe(e,t,r),"rcompare");dfe.exports=YKe});var mfe=m((_Kt,pfe)=>{"use strict";var KKe=Vo(),XKe=o((t,e)=>KKe(t,e,!0),"compareLoose");pfe.exports=XKe});var o_=m((RKt,gfe)=>{"use strict";var Afe=vi(),ZKe=o((t,e,r)=>{let n=new Afe(t,r),i=new Afe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");gfe.exports=ZKe});var Efe=m((DKt,yfe)=>{"use strict";var eXe=o_(),tXe=o((t,e)=>t.sort((r,n)=>eXe(r,n,e)),"sort");yfe.exports=tXe});var bfe=m((kKt,Cfe)=>{"use strict";var rXe=o_(),nXe=o((t,e)=>t.sort((r,n)=>rXe(n,r,e)),"rsort");Cfe.exports=nXe});var D0=m((OKt,wfe)=>{"use strict";var iXe=Vo(),sXe=o((t,e,r)=>iXe(t,e,r)>0,"gt");wfe.exports=sXe});var a_=m((FKt,Ife)=>{"use strict";var oXe=Vo(),aXe=o((t,e,r)=>oXe(t,e,r)<0,"lt");Ife.exports=aXe});var R3=m((UKt,Sfe)=>{"use strict";var cXe=Vo(),lXe=o((t,e,r)=>cXe(t,e,r)===0,"eq");Sfe.exports=lXe});var T3=m((GKt,Bfe)=>{"use strict";var uXe=Vo(),fXe=o((t,e,r)=>uXe(t,e,r)!==0,"neq");Bfe.exports=fXe});var c_=m((VKt,vfe)=>{"use strict";var dXe=Vo(),hXe=o((t,e,r)=>dXe(t,e,r)>=0,"gte");vfe.exports=hXe});var l_=m((jKt,xfe)=>{"use strict";var pXe=Vo(),mXe=o((t,e,r)=>pXe(t,e,r)<=0,"lte");xfe.exports=mXe});var D3=m((WKt,_fe)=>{"use strict";var AXe=R3(),gXe=T3(),yXe=D0(),EXe=c_(),CXe=a_(),bXe=l_(),wXe=o((t,e,r,n)=>{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 AXe(t,r,n);case"!=":return gXe(t,r,n);case">":return yXe(t,r,n);case">=":return EXe(t,r,n);case"<":return CXe(t,r,n);case"<=":return bXe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");_fe.exports=wXe});var Rfe=m((YKt,Nfe)=>{"use strict";var IXe=vi(),SXe=gp(),{safeRe:u_,t:f_}=Rg(),BXe=o((t,e)=>{if(t instanceof IXe)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?u_[f_.COERCEFULL]:u_[f_.COERCE]);else{let l=e.includePrerelease?u_[f_.COERCERTLFULL]:u_[f_.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 n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return SXe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");Nfe.exports=BXe});var Dfe=m((XKt,Tfe)=>{"use strict";var Q3=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 i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};Tfe.exports=Q3});var zo=m((eXt,Ofe)=>{"use strict";var vXe=/\s+/g,k3=class t{static{o(this,"Range")}constructor(e,r){if(r=_Xe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof P3)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(vXe," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!kfe(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&PXe(i[0])){this.set=[i];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&QXe)|(this.options.loose&&kXe))+":"+e,i=Qfe.get(n);if(i)return i;let s=this.options.loose,a=s?ji[xi.HYPHENRANGELOOSE]:ji[xi.HYPHENRANGE];e=e.replace(a,zXe(this.options.includePrerelease)),ir("hyphen replace",e),e=e.replace(ji[xi.COMPARATORTRIM],RXe),ir("comparator trim",e),e=e.replace(ji[xi.TILDETRIM],TXe),ir("tilde trim",e),e=e.replace(ji[xi.CARETTRIM],DXe),ir("caret trim",e);let c=e.split(" ").map(d=>OXe(d,this.options)).join(" ").split(/\s+/).map(d=>VXe(d,this.options));s&&(c=c.filter(d=>(ir("loose invalid filter",d,this.options),!!d.match(ji[xi.COMPARATORLOOSE])))),ir("range list",c);let l=new Map,u=c.map(d=>new P3(d,this.options));for(let d of u){if(kfe(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let f=[...l.values()];return Qfe.set(n,f),f}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Pfe(n,r)&&e.set.some(i=>Pfe(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new NXe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),PXe=o(t=>t.value==="","isAny"),Pfe=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),OXe=o((t,e)=>(t=t.replace(ji[xi.BUILD],""),ir("comp",t,e),t=MXe(t,e),ir("caret",t),t=LXe(t,e),ir("tildes",t),t=qXe(t,e),ir("xrange",t),t=HXe(t,e),ir("stars",t),t),"parseComparator"),$i=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),LXe=o((t,e)=>t.trim().split(/\s+/).map(r=>FXe(r,e)).join(" "),"replaceTildes"),FXe=o((t,e)=>{let r=e.loose?ji[xi.TILDELOOSE]:ji[xi.TILDE];return t.replace(r,(n,i,s,a,c)=>{ir("tilde",t,n,i,s,a,c);let l;return $i(i)?l="":$i(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:$i(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:c?(ir("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,ir("tilde return",l),l})},"replaceTilde"),MXe=o((t,e)=>t.trim().split(/\s+/).map(r=>UXe(r,e)).join(" "),"replaceCarets"),UXe=o((t,e)=>{ir("caret",t,e);let r=e.loose?ji[xi.CARETLOOSE]:ji[xi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{ir("caret",t,i,s,a,c,l);let u;return $i(s)?u="":$i(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:$i(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(ir("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(ir("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),ir("caret return",u),u})},"replaceCaret"),qXe=o((t,e)=>(ir("replaceXRanges",t,e),t.split(/\s+/).map(r=>GXe(r,e)).join(" ")),"replaceXRanges"),GXe=o((t,e)=>{t=t.trim();let r=e.loose?ji[xi.XRANGELOOSE]:ji[xi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{ir("xRange",t,n,i,s,a,c,l);let u=$i(s),f=u||$i(a),d=f||$i(c),h=d;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(f&&(a=0),c=0,i===">"?(i=">=",f?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",f?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:d&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),ir("xRange return",n),n})},"replaceXRange"),HXe=o((t,e)=>(ir("replaceStars",t,e),t.trim().replace(ji[xi.STAR],"")),"replaceStars"),VXe=o((t,e)=>(ir("replaceGTE0",t,e),t.trim().replace(ji[e.includePrerelease?xi.GTE0PRE:xi.GTE0],"")),"replaceGTE0"),zXe=o(t=>(e,r,n,i,s,a,c,l,u,f,d,h)=>($i(n)?r="":$i(i)?r=`>=${n}.0.0${t?"-0":""}`:$i(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,$i(u)?l="":$i(f)?l=`<${+u+1}.0.0-0`:$i(d)?l=`<${u}.${+f+1}.0-0`:h?l=`<=${u}.${f}.${d}-${h}`:t?l=`<${u}.${f}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),jXe=o((t,e,r)=>{for(let n=0;n0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var Q0=m((rXt,Gfe)=>{"use strict";var k0=Symbol("SemVer ANY"),F3=class t{static{o(this,"Comparator")}static get ANY(){return k0}constructor(e,r){if(r=Lfe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),L3("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===k0?this.value="":this.value=this.operator+this.semver.version,L3("comp",this)}parse(e){let r=this.options.loose?Ffe[Mfe.COMPARATORLOOSE]:Ffe[Mfe.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Ufe(n[2],this.options.loose):this.semver=k0}toString(){return this.value}test(e){if(L3("Comparator.test",e,this.options.loose),this.semver===k0||e===k0)return!0;if(typeof e=="string")try{e=new Ufe(e,this.options)}catch{return!1}return O3(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 qfe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new qfe(this.value,r).test(e.semver):(r=Lfe(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("=")||O3(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||O3(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Gfe.exports=F3;var Lfe=t_(),{safeRe:Ffe,t:Mfe}=Rg(),O3=D3(),L3=T0(),Ufe=vi(),qfe=zo()});var P0=m((iXt,Hfe)=>{"use strict";var $Xe=zo(),WXe=o((t,e,r)=>{try{e=new $Xe(e,r)}catch{return!1}return e.test(t)},"satisfies");Hfe.exports=WXe});var zfe=m((oXt,Vfe)=>{"use strict";var JXe=zo(),YXe=o((t,e)=>new JXe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Vfe.exports=YXe});var $fe=m((cXt,jfe)=>{"use strict";var KXe=vi(),XXe=zo(),ZXe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new XXe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new KXe(n,r))}),n},"maxSatisfying");jfe.exports=ZXe});var Jfe=m((uXt,Wfe)=>{"use strict";var eZe=vi(),tZe=zo(),rZe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new tZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new eZe(n,r))}),n},"minSatisfying");Wfe.exports=rZe});var Xfe=m((dXt,Kfe)=>{"use strict";var M3=vi(),nZe=zo(),Yfe=D0(),iZe=o((t,e)=>{t=new nZe(t,e);let r=new M3("0.0.0");if(t.test(r)||(r=new M3("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new M3(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Yfe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Yfe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");Kfe.exports=iZe});var ede=m((pXt,Zfe)=>{"use strict";var sZe=zo(),oZe=o((t,e)=>{try{return new sZe(t,e).range||"*"}catch{return null}},"validRange");Zfe.exports=oZe});var d_=m((AXt,ide)=>{"use strict";var aZe=vi(),nde=Q0(),{ANY:cZe}=nde,lZe=zo(),uZe=P0(),tde=D0(),rde=a_(),fZe=l_(),dZe=c_(),hZe=o((t,e,r,n)=>{t=new aZe(t,n),e=new lZe(e,n);let i,s,a,c,l;switch(r){case">":i=tde,s=fZe,a=rde,c=">",l=">=";break;case"<":i=rde,s=dZe,a=tde,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(uZe(t,e,n))return!1;for(let u=0;u{p.semver===cZe&&(p=new nde(">=0.0.0")),d=d||p,h=h||p,i(p.semver,d.semver,n)?d=p:a(p.semver,h.semver,n)&&(h=p)}),d.operator===c||d.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");ide.exports=hZe});var ode=m((yXt,sde)=>{"use strict";var pZe=d_(),mZe=o((t,e,r)=>pZe(t,e,">",r),"gtr");sde.exports=mZe});var cde=m((CXt,ade)=>{"use strict";var AZe=d_(),gZe=o((t,e,r)=>AZe(t,e,"<",r),"ltr");ade.exports=gZe});var fde=m((wXt,ude)=>{"use strict";var lde=zo(),yZe=o((t,e,r)=>(t=new lde(t,r),e=new lde(e,r),t.intersects(e,r)),"intersects");ude.exports=yZe});var hde=m((SXt,dde)=>{"use strict";var EZe=P0(),CZe=Vo();dde.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((f,d)=>CZe(f,d,r));for(let f of a)EZe(f,e,r)?(s=f,i||(i=f)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[f,d]of n)f===d?c.push(f):!d&&f===a[0]?c.push("*"):d?f===a[0]?c.push(`<=${d}`):c.push(`${f} - ${d}`):c.push(`>=${f}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var pde=zo(),q3=Q0(),{ANY:U3}=q3,O0=P0(),G3=Vo(),bZe=o((t,e,r={})=>{if(t===e)return!0;t=new pde(t,r),e=new pde(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=IZe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),wZe=[new q3(">=0.0.0-0")],mde=[new q3(">=0.0.0")],IZe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===U3){if(e.length===1&&e[0].semver===U3)return!0;r.includePrerelease?t=wZe:t=mde}if(e.length===1&&e[0].semver===U3){if(r.includePrerelease)return!0;e=mde}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Ade(i,p,r):p.operator==="<"||p.operator==="<="?s=gde(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=G3(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!O0(p,String(i),r)||s&&!O0(p,String(s),r))return null;for(let A of e)if(!O0(p,String(A),r))return!1;return!0}let c,l,u,f,d=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&s.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(f=f||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=Ade(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!O0(i.semver,String(p),r))return!1}if(s){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=gde(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!O0(s.semver,String(p),r))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&f&&!i&&a!==0||h||d)},"simpleSubset"),Ade=o((t,e,r)=>{if(!t)return e;let n=G3(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),gde=o((t,e,r)=>{if(!t)return e;let n=G3(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");yde.exports=bZe});var V3=m((xXt,wde)=>{"use strict";var H3=Rg(),Cde=R0(),SZe=vi(),bde=x3(),BZe=gp(),vZe=$ue(),xZe=Jue(),_Ze=Xue(),NZe=tfe(),RZe=nfe(),TZe=sfe(),DZe=afe(),QZe=lfe(),kZe=Vo(),PZe=hfe(),OZe=mfe(),LZe=o_(),FZe=Efe(),MZe=bfe(),UZe=D0(),qZe=a_(),GZe=R3(),HZe=T3(),VZe=c_(),zZe=l_(),jZe=D3(),$Ze=Rfe(),WZe=Q0(),JZe=zo(),YZe=P0(),KZe=zfe(),XZe=$fe(),ZZe=Jfe(),eet=Xfe(),tet=ede(),ret=d_(),net=ode(),iet=cde(),set=fde(),oet=hde(),aet=Ede();wde.exports={parse:BZe,valid:vZe,clean:xZe,inc:_Ze,diff:NZe,major:RZe,minor:TZe,patch:DZe,prerelease:QZe,compare:kZe,rcompare:PZe,compareLoose:OZe,compareBuild:LZe,sort:FZe,rsort:MZe,gt:UZe,lt:qZe,eq:GZe,neq:HZe,gte:VZe,lte:zZe,cmp:jZe,coerce:$Ze,Comparator:WZe,Range:JZe,satisfies:YZe,toComparators:KZe,maxSatisfying:XZe,minSatisfying:ZZe,minVersion:eet,validRange:tet,outside:ret,gtr:net,ltr:iet,intersects:set,simplifyRange:oet,subset:aet,SemVer:SZe,re:H3.re,src:H3.src,tokens:H3.t,SEMVER_SPEC_VERSION:Cde.SEMVER_SPEC_VERSION,RELEASE_TYPES:Cde.RELEASE_TYPES,compareIdentifiers:bde.compareIdentifiers,rcompareIdentifiers:bde.rcompareIdentifiers}});var Vde=m((_Zt,Hde)=>{Hde.exports=function(t,e){for(var r=[],n=0;n{"use strict";Wde.exports=jde;function jde(t,e,r){t instanceof RegExp&&(t=zde(t,r)),e instanceof RegExp&&(e=zde(e,r));var n=$de(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(jde,"balanced");function zde(t,e){var r=e.match(t);return r?r[0]:null}o(zde,"maybeMatch");jde.range=$de;function $de(t,e,r){var n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),f=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;f>=0&&!c;)f==l?(n.push(f),l=r.indexOf(t,f+1)):n.length==1?c=[n.pop(),u]:(i=n.pop(),i=0?l:u;n.length&&(c=[s,a])}return c}o($de,"range")});var rhe=m((DZt,the)=>{var TZt=Vde(),Jde=rG();the.exports=Qet;var Yde="\0SLASH"+Math.random()+"\0",Kde="\0OPEN"+Math.random()+"\0",sG="\0CLOSE"+Math.random()+"\0",Xde="\0COMMA"+Math.random()+"\0",Zde="\0PERIOD"+Math.random()+"\0",Net=1e5,Ret=4e6;function nG(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(nG,"numeric");function Tet(t){return t.split("\\\\").join(Yde).split("\\{").join(Kde).split("\\}").join(sG).split("\\,").join(Xde).split("\\.").join(Zde)}o(Tet,"escapeBraces");function Det(t){return t.split(Yde).join("\\").split(Kde).join("{").split(sG).join("}").split(Xde).join(",").split(Zde).join(".")}o(Det,"unescapeBraces");function ehe(t){if(!t)return[""];var e=[],r=Jde("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=ehe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(ehe,"parseCommaParts");function Qet(t,e){if(!t)return[];e=e||{};var r=e.max==null?Net:e.max,n=e.maxLength==null?Ret:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),iG(Tet(t),r,n,!0).map(Det)}o(Qet,"expandTop");function ket(t){return"{"+t+"}"}o(ket,"embrace");function Pet(t){return/^-?0\d/.test(t)}o(Pet,"isPadded");function Oet(t,e){return t<=e}o(Oet,"lte");function Let(t,e){return t>=e}o(Let,"gte");function q0(t,e,r,n,i,s,a,c){for(var l=[],u=0,f=0;f=i)return l;var h=t[f]+r+n[d];if(!(a&&h.length===e[f])){if(u+h.length>s)return l;l.push(h),c.push(e[f]),u+=h.length}}return l}o(q0,"combine");function Fet(t,e,r,n){var i=t.split(/\.\./),s=[];if(i[0]===void 0||i[1]===void 0)return s;var a=nG(i[0]),c=nG(i[1]),l=Math.max(i[0].length,i[1].length),u=i.length===3&&i[2]!==void 0?Math.max(Math.abs(nG(i[2])),1):1,f=Oet,d=c0){var y=new Array(E+1).join("0");A<0?g="-"+y+g.slice(1):g=y+g}}if(p+g.length>n)break;s.push(g),p+=g.length}return s}o(Fet,"expandSequence");function iG(t,e,r,n){for(var i=[""],s=[0],a=!1,c=!0,l;;){var u=Jde("{","}",t);if(!u)return q0(i,s,t,[""],e,r,a,[]);var f=u.pre;if(/\$$/.test(f))return q0(i,s,t,[""],e,r,a,[]);var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(u.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(u.body),p=d||h,A=u.body.indexOf(",")>=0;if(!p&&!A){if(u.post.match(/,(?!,).*\}/)){t=u.pre+"{"+u.body+sG+u.post,n=!0,c=!0,a=!1,s=[];for(var g=0;g=e||S+j.length>r)break e;E.push(j),S+=j.length}}}if(l=[],i=q0(i,s,f,E,e,r,a&&!u.post.length,l),s=l,!u.post.length)break;t=u.post}return i}o(iG,"expand")});var che=m((kZt,ahe)=>{ahe.exports=oo;oo.Minimatch=En;var G0=(function(){try{return require("path")}catch{}})()||{sep:"/"};oo.sep=G0.sep;var yp=oo.GLOBSTAR=En.GLOBSTAR={},Met=rhe(),nhe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},oG="[^/]",aG=oG+"*?",Uet="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",qet="(?:(?!(?:\\/|^)\\.).)*?",ihe=Get("().*{}+?[]^$\\!");function Get(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Get,"charSet");var she=/\/+/;oo.filter=Het;function Het(t,e){return e=e||{},function(r,n,i){return oo(r,t,e)}}o(Het,"filter");function md(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(md,"ext");oo.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return oo;var e=oo,r=o(function(i,s,a){return e(i,s,md(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,md(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(md(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,md(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(md(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,md(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,md(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,md(t,s))},r};En.defaults=function(t){return oo.defaults(t).Minimatch};function oo(t,e,r){return E_(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new En(e,r).match(t)}o(oo,"minimatch");function En(t,e){if(!(this instanceof En))return new En(t,e);E_(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&G0.sep!=="/"&&(t=t.split(G0.sep).join("/")),this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion!==void 0?e.maxGlobstarRecursion:200,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(En,"Minimatch");En.prototype.debug=function(){};En.prototype.make=Vet;function Vet(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(she)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(Vet,"make");En.prototype.parseNegate=zet;function zet(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i"u"?this.pattern:t,E_(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Met(t)}o(ohe,"braceExpand");var jet=1024*64,E_=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>jet)throw new TypeError("pattern is too long")},"assertValidPattern");En.prototype.parse=$et;var y_={};function $et(t,e){E_(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return yp;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,u=!1,f=-1,d=-1,h=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function A(){if(l){switch(l){case"*":n+=aG,i=!0;break;case"?":n+=oG,i=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(A,"clearStateChar");for(var g=0,E=t.length,y;g-1;j--){var T=c[j],q=n.slice(0,T.reStart),H=n.slice(T.reStart,T.reEnd-8),W=n.slice(T.reEnd-8,T.reEnd),ee=n.slice(T.reEnd);W+=ee;var te=q.split("(").length-1,ce=ee;for(g=0;g"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;G0.sep!=="/"&&(e=e.split(G0.sep).join("/")),e=e.split(she),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a=0;s--)if(e[s]===yp){c=s;break}var l=e.slice(i,a),u=r?e.slice(a+1):e.slice(a+1,c),f=r?[]:e.slice(c+1);if(l.length){var d=t.slice(n,n+l.length);if(!this._matchOne(d,l,r,0,0))return!1;n+=l.length}var h=0;if(f.length){if(f.length+n>t.length)return!1;var p=t.length-f.length;if(this._matchOne(t,f,r,p,0))h=f.length;else{if(t[t.length-1]!==""||n+f.length===t.length||(p--,!this._matchOne(t,f,r,p,0)))return!1;h=f.length+1}}if(!u.length){var A=!!h;for(s=n;s{"use strict";var itt="2.0.0",stt=Number.MAX_SAFE_INTEGER||9007199254740991,ott=16,att=250,ctt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];dhe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ott,MAX_SAFE_BUILD_LENGTH:att,MAX_SAFE_INTEGER:stt,RELEASE_TYPES:ctt,SEMVER_SPEC_VERSION:itt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var z0=m((ner,hhe)=>{"use strict";var ltt=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};hhe.exports=ltt});var Lg=m(($c,phe)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:lG,MAX_SAFE_BUILD_LENGTH:utt,MAX_LENGTH:ftt}=Og(),dtt=z0();$c=phe.exports={};var htt=$c.re=[],ptt=$c.safeRe=[],fe=$c.src=[],mtt=$c.safeSrc=[],de=$c.t={},Att=0,uG="[a-zA-Z0-9-]",gtt=[["\\s",1],["\\d",ftt],[uG,utt]],ytt=o(t=>{for(let[e,r]of gtt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),We=o((t,e,r)=>{let n=ytt(e),i=Att++;dtt(t,i,e),de[t]=i,fe[i]=e,mtt[i]=n,htt[i]=new RegExp(e,r?"g":void 0),ptt[i]=new RegExp(n,r?"g":void 0)},"createToken");We("NUMERICIDENTIFIER","0|[1-9]\\d*");We("NUMERICIDENTIFIERLOOSE","\\d+");We("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${uG}*`);We("MAINVERSION",`(${fe[de.NUMERICIDENTIFIER]})\\.(${fe[de.NUMERICIDENTIFIER]})\\.(${fe[de.NUMERICIDENTIFIER]})`);We("MAINVERSIONLOOSE",`(${fe[de.NUMERICIDENTIFIERLOOSE]})\\.(${fe[de.NUMERICIDENTIFIERLOOSE]})\\.(${fe[de.NUMERICIDENTIFIERLOOSE]})`);We("PRERELEASEIDENTIFIER",`(?:${fe[de.NONNUMERICIDENTIFIER]}|${fe[de.NUMERICIDENTIFIER]})`);We("PRERELEASEIDENTIFIERLOOSE",`(?:${fe[de.NONNUMERICIDENTIFIER]}|${fe[de.NUMERICIDENTIFIERLOOSE]})`);We("PRERELEASE",`(?:-(${fe[de.PRERELEASEIDENTIFIER]}(?:\\.${fe[de.PRERELEASEIDENTIFIER]})*))`);We("PRERELEASELOOSE",`(?:-?(${fe[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${fe[de.PRERELEASEIDENTIFIERLOOSE]})*))`);We("BUILDIDENTIFIER",`${uG}+`);We("BUILD",`(?:\\+(${fe[de.BUILDIDENTIFIER]}(?:\\.${fe[de.BUILDIDENTIFIER]})*))`);We("FULLPLAIN",`v?${fe[de.MAINVERSION]}${fe[de.PRERELEASE]}?${fe[de.BUILD]}?`);We("FULL",`^${fe[de.FULLPLAIN]}$`);We("LOOSEPLAIN",`[v=\\s]*${fe[de.MAINVERSIONLOOSE]}${fe[de.PRERELEASELOOSE]}?${fe[de.BUILD]}?`);We("LOOSE",`^${fe[de.LOOSEPLAIN]}$`);We("GTLT","((?:<|>)?=?)");We("XRANGEIDENTIFIERLOOSE",`${fe[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);We("XRANGEIDENTIFIER",`${fe[de.NUMERICIDENTIFIER]}|x|X|\\*`);We("XRANGEPLAIN",`[v=\\s]*(${fe[de.XRANGEIDENTIFIER]})(?:\\.(${fe[de.XRANGEIDENTIFIER]})(?:\\.(${fe[de.XRANGEIDENTIFIER]})(?:${fe[de.PRERELEASE]})?${fe[de.BUILD]}?)?)?`);We("XRANGEPLAINLOOSE",`[v=\\s]*(${fe[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${fe[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${fe[de.XRANGEIDENTIFIERLOOSE]})(?:${fe[de.PRERELEASELOOSE]})?${fe[de.BUILD]}?)?)?`);We("XRANGE",`^${fe[de.GTLT]}\\s*${fe[de.XRANGEPLAIN]}$`);We("XRANGELOOSE",`^${fe[de.GTLT]}\\s*${fe[de.XRANGEPLAINLOOSE]}$`);We("COERCEPLAIN",`(^|[^\\d])(\\d{1,${lG}})(?:\\.(\\d{1,${lG}}))?(?:\\.(\\d{1,${lG}}))?`);We("COERCE",`${fe[de.COERCEPLAIN]}(?:$|[^\\d])`);We("COERCEFULL",fe[de.COERCEPLAIN]+`(?:${fe[de.PRERELEASE]})?(?:${fe[de.BUILD]})?(?:$|[^\\d])`);We("COERCERTL",fe[de.COERCE],!0);We("COERCERTLFULL",fe[de.COERCEFULL],!0);We("LONETILDE","(?:~>?)");We("TILDETRIM",`(\\s*)${fe[de.LONETILDE]}\\s+`,!0);$c.tildeTrimReplace="$1~";We("TILDE",`^${fe[de.LONETILDE]}${fe[de.XRANGEPLAIN]}$`);We("TILDELOOSE",`^${fe[de.LONETILDE]}${fe[de.XRANGEPLAINLOOSE]}$`);We("LONECARET","(?:\\^)");We("CARETTRIM",`(\\s*)${fe[de.LONECARET]}\\s+`,!0);$c.caretTrimReplace="$1^";We("CARET",`^${fe[de.LONECARET]}${fe[de.XRANGEPLAIN]}$`);We("CARETLOOSE",`^${fe[de.LONECARET]}${fe[de.XRANGEPLAINLOOSE]}$`);We("COMPARATORLOOSE",`^${fe[de.GTLT]}\\s*(${fe[de.LOOSEPLAIN]})$|^$`);We("COMPARATOR",`^${fe[de.GTLT]}\\s*(${fe[de.FULLPLAIN]})$|^$`);We("COMPARATORTRIM",`(\\s*)${fe[de.GTLT]}\\s*(${fe[de.LOOSEPLAIN]}|${fe[de.XRANGEPLAIN]})`,!0);$c.comparatorTrimReplace="$1$2$3";We("HYPHENRANGE",`^\\s*(${fe[de.XRANGEPLAIN]})\\s+-\\s+(${fe[de.XRANGEPLAIN]})\\s*$`);We("HYPHENRANGELOOSE",`^\\s*(${fe[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${fe[de.XRANGEPLAINLOOSE]})\\s*$`);We("STAR","(<|>)?=?\\s*\\*");We("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");We("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var w_=m((ser,mhe)=>{"use strict";var Ett=Object.freeze({loose:!0}),Ctt=Object.freeze({}),btt=o(t=>t?typeof t!="object"?Ett:t:Ctt,"parseOptions");mhe.exports=btt});var fG=m((aer,yhe)=>{"use strict";var Ahe=/^[0-9]+$/,ghe=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tghe(e,t),"rcompareIdentifiers");yhe.exports={compareIdentifiers:ghe,rcompareIdentifiers:wtt}});var fi=m((ler,Che)=>{"use strict";var I_=z0(),{MAX_LENGTH:Ehe,MAX_SAFE_INTEGER:S_}=Og(),{safeRe:B_,t:v_}=Lg(),Itt=w_(),{compareIdentifiers:dG}=fG(),hG=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Itt(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>Ehe)throw new TypeError(`version is longer than ${Ehe} characters`);I_("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?B_[v_.LOOSE]:B_[v_.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>S_||this.major<0)throw new TypeError("Invalid major version");if(this.minor>S_||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>S_||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&se.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 n=this.prerelease[r],i=e.prerelease[r];if(I_("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return dG(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(I_("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return dG(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?B_[v_.PRERELEASELOOSE]:B_[v_.PRERELEASE]);if(!i||i[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),dG(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Che.exports=hG});var yd=m((fer,whe)=>{"use strict";var bhe=fi(),Stt=o((t,e,r=!1)=>{if(t instanceof bhe)return t;try{return new bhe(t,e)}catch(n){if(!r)return null;throw n}},"parse");whe.exports=Stt});var She=m((her,Ihe)=>{"use strict";var Btt=yd(),vtt=o((t,e)=>{let r=Btt(t,e);return r?r.version:null},"valid");Ihe.exports=vtt});var vhe=m((mer,Bhe)=>{"use strict";var xtt=yd(),_tt=o((t,e)=>{let r=xtt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Bhe.exports=_tt});var Nhe=m((ger,_he)=>{"use strict";var xhe=fi(),Ntt=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new xhe(t instanceof xhe?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");_he.exports=Ntt});var Dhe=m((Eer,The)=>{"use strict";var Rhe=yd(),Rtt=o((t,e)=>{let r=Rhe(t,null,!0),n=Rhe(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n: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 f=l?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"},"diff");The.exports=Rtt});var khe=m((ber,Qhe)=>{"use strict";var Ttt=fi(),Dtt=o((t,e)=>new Ttt(t,e).major,"major");Qhe.exports=Dtt});var Ohe=m((Ier,Phe)=>{"use strict";var Qtt=fi(),ktt=o((t,e)=>new Qtt(t,e).minor,"minor");Phe.exports=ktt});var Fhe=m((Ber,Lhe)=>{"use strict";var Ptt=fi(),Ott=o((t,e)=>new Ptt(t,e).patch,"patch");Lhe.exports=Ott});var Uhe=m((xer,Mhe)=>{"use strict";var Ltt=yd(),Ftt=o((t,e)=>{let r=Ltt(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");Mhe.exports=Ftt});var Jo=m((Ner,Ghe)=>{"use strict";var qhe=fi(),Mtt=o((t,e,r)=>new qhe(t,r).compare(new qhe(e,r)),"compare");Ghe.exports=Mtt});var Vhe=m((Ter,Hhe)=>{"use strict";var Utt=Jo(),qtt=o((t,e,r)=>Utt(e,t,r),"rcompare");Hhe.exports=qtt});var jhe=m((Qer,zhe)=>{"use strict";var Gtt=Jo(),Htt=o((t,e)=>Gtt(t,e,!0),"compareLoose");zhe.exports=Htt});var x_=m((Per,Whe)=>{"use strict";var $he=fi(),Vtt=o((t,e,r)=>{let n=new $he(t,r),i=new $he(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");Whe.exports=Vtt});var Yhe=m((Ler,Jhe)=>{"use strict";var ztt=x_(),jtt=o((t,e)=>t.sort((r,n)=>ztt(r,n,e)),"sort");Jhe.exports=jtt});var Xhe=m((Mer,Khe)=>{"use strict";var $tt=x_(),Wtt=o((t,e)=>t.sort((r,n)=>$tt(n,r,e)),"rsort");Khe.exports=Wtt});var j0=m((qer,Zhe)=>{"use strict";var Jtt=Jo(),Ytt=o((t,e,r)=>Jtt(t,e,r)>0,"gt");Zhe.exports=Ytt});var __=m((Her,epe)=>{"use strict";var Ktt=Jo(),Xtt=o((t,e,r)=>Ktt(t,e,r)<0,"lt");epe.exports=Xtt});var pG=m((zer,tpe)=>{"use strict";var Ztt=Jo(),ert=o((t,e,r)=>Ztt(t,e,r)===0,"eq");tpe.exports=ert});var mG=m(($er,rpe)=>{"use strict";var trt=Jo(),rrt=o((t,e,r)=>trt(t,e,r)!==0,"neq");rpe.exports=rrt});var N_=m((Jer,npe)=>{"use strict";var nrt=Jo(),irt=o((t,e,r)=>nrt(t,e,r)>=0,"gte");npe.exports=irt});var R_=m((Ker,ipe)=>{"use strict";var srt=Jo(),ort=o((t,e,r)=>srt(t,e,r)<=0,"lte");ipe.exports=ort});var AG=m((Zer,spe)=>{"use strict";var art=pG(),crt=mG(),lrt=j0(),urt=N_(),frt=__(),drt=R_(),hrt=o((t,e,r,n)=>{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 art(t,r,n);case"!=":return crt(t,r,n);case">":return lrt(t,r,n);case">=":return urt(t,r,n);case"<":return frt(t,r,n);case"<=":return drt(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");spe.exports=hrt});var ape=m((ttr,ope)=>{"use strict";var prt=fi(),mrt=yd(),{safeRe:T_,t:D_}=Lg(),Art=o((t,e)=>{if(t instanceof prt)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?T_[D_.COERCEFULL]:T_[D_.COERCE]);else{let l=e.includePrerelease?T_[D_.COERCERTLFULL]:T_[D_.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 n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return mrt(`${n}.${i}.${s}${a}${c}`,e)},"coerce");ope.exports=Art});var lpe=m((ntr,cpe)=>{"use strict";var grt=yd(),yrt=Og(),Ert=fi(),Crt=o((t,e,r)=>{if(!yrt.RELEASE_TYPES.includes(e))return null;let n=brt(t,r);return n&&wrt(n,e)},"truncate"),brt=o((t,e)=>{let r=t instanceof Ert?t.version:t;return grt(r,e)},"cloneInputVersion"),wrt=o((t,e)=>{if(Irt(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"),Irt=o(t=>t.startsWith("pre"),"isPrerelease");cpe.exports=Crt});var fpe=m((str,upe)=>{"use strict";var gG=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 i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};upe.exports=gG});var Yo=m((atr,mpe)=>{"use strict";var Srt=/\s+/g,yG=class t{static{o(this,"Range")}constructor(e,r){if(r=vrt(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof EG)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(Srt," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!hpe(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&Prt(i[0])){this.set=[i];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(krt,"");let n=((this.options.includePrerelease&&Drt)|(this.options.loose&&Qrt))+":"+e,i=dpe.get(n);if(i)return i;let s=this.options.loose,a=s?Wi[di.HYPHENRANGELOOSE]:Wi[di.HYPHENRANGE];e=e.replace(a,zrt(this.options.includePrerelease)),sr("hyphen replace",e),e=e.replace(Wi[di.COMPARATORTRIM],Nrt),sr("comparator trim",e),e=e.replace(Wi[di.TILDETRIM],Rrt),sr("tilde trim",e),e=e.replace(Wi[di.CARETTRIM],Trt),sr("caret trim",e);let c=e.split(" ").map(d=>Ort(d,this.options)).join(" ").split(/\s+/).map(d=>Vrt(d,this.options));s&&(c=c.filter(d=>(sr("loose invalid filter",d,this.options),!!d.match(Wi[di.COMPARATORLOOSE])))),sr("range list",c);let l=new Map,u=c.map(d=>new EG(d,this.options));for(let d of u){if(hpe(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let f=[...l.values()];return dpe.set(n,f),f}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>ppe(n,r)&&e.set.some(i=>ppe(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new xrt(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Prt=o(t=>t.value==="","isAny"),ppe=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),Ort=o((t,e)=>(t=t.replace(Wi[di.BUILD],""),sr("comp",t,e),t=Mrt(t,e),sr("caret",t),t=Lrt(t,e),sr("tildes",t),t=qrt(t,e),sr("xrange",t),t=Hrt(t,e),sr("stars",t),t),"parseComparator"),Ji=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Lrt=o((t,e)=>t.trim().split(/\s+/).map(r=>Frt(r,e)).join(" "),"replaceTildes"),Frt=o((t,e)=>{let r=e.loose?Wi[di.TILDELOOSE]:Wi[di.TILDE];return t.replace(r,(n,i,s,a,c)=>{sr("tilde",t,n,i,s,a,c);let l;return Ji(i)?l="":Ji(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:Ji(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:c?(sr("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,sr("tilde return",l),l})},"replaceTilde"),Mrt=o((t,e)=>t.trim().split(/\s+/).map(r=>Urt(r,e)).join(" "),"replaceCarets"),Urt=o((t,e)=>{sr("caret",t,e);let r=e.loose?Wi[di.CARETLOOSE]:Wi[di.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{sr("caret",t,i,s,a,c,l);let u;return Ji(s)?u="":Ji(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Ji(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(sr("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(sr("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),sr("caret return",u),u})},"replaceCaret"),qrt=o((t,e)=>(sr("replaceXRanges",t,e),t.split(/\s+/).map(r=>Grt(r,e)).join(" ")),"replaceXRanges"),Grt=o((t,e)=>{t=t.trim();let r=e.loose?Wi[di.XRANGELOOSE]:Wi[di.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{sr("xRange",t,n,i,s,a,c,l);let u=Ji(s),f=u||Ji(a),d=f||Ji(c),h=d;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(f&&(a=0),c=0,i===">"?(i=">=",f?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",f?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:d&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),sr("xRange return",n),n})},"replaceXRange"),Hrt=o((t,e)=>(sr("replaceStars",t,e),t.trim().replace(Wi[di.STAR],"")),"replaceStars"),Vrt=o((t,e)=>(sr("replaceGTE0",t,e),t.trim().replace(Wi[e.includePrerelease?di.GTE0PRE:di.GTE0],"")),"replaceGTE0"),zrt=o(t=>(e,r,n,i,s,a,c,l,u,f,d,h)=>(Ji(n)?r="":Ji(i)?r=`>=${n}.0.0${t?"-0":""}`:Ji(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Ji(u)?l="":Ji(f)?l=`<${+u+1}.0.0-0`:Ji(d)?l=`<${u}.${+f+1}.0-0`:h?l=`<=${u}.${f}.${d}-${h}`:t?l=`<${u}.${f}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),jrt=o((t,e,r)=>{for(let n=0;n0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var $0=m((ltr,bpe)=>{"use strict";var W0=Symbol("SemVer ANY"),wG=class t{static{o(this,"Comparator")}static get ANY(){return W0}constructor(e,r){if(r=Ape(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),bG("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===W0?this.value="":this.value=this.operator+this.semver.version,bG("comp",this)}parse(e){let r=this.options.loose?gpe[ype.COMPARATORLOOSE]:gpe[ype.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Epe(n[2],this.options.loose):this.semver=W0}toString(){return this.value}test(e){if(bG("Comparator.test",e,this.options.loose),this.semver===W0||e===W0)return!0;if(typeof e=="string")try{e=new Epe(e,this.options)}catch{return!1}return CG(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 Cpe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Cpe(this.value,r).test(e.semver):(r=Ape(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("=")||CG(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||CG(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};bpe.exports=wG;var Ape=w_(),{safeRe:gpe,t:ype}=Lg(),CG=AG(),bG=z0(),Epe=fi(),Cpe=Yo()});var J0=m((ftr,wpe)=>{"use strict";var $rt=Yo(),Wrt=o((t,e,r)=>{try{e=new $rt(e,r)}catch{return!1}return e.test(t)},"satisfies");wpe.exports=Wrt});var Spe=m((htr,Ipe)=>{"use strict";var Jrt=Yo(),Yrt=o((t,e)=>new Jrt(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Ipe.exports=Yrt});var vpe=m((mtr,Bpe)=>{"use strict";var Krt=fi(),Xrt=Yo(),Zrt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new Xrt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Krt(n,r))}),n},"maxSatisfying");Bpe.exports=Zrt});var _pe=m((gtr,xpe)=>{"use strict";var ent=fi(),tnt=Yo(),rnt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new tnt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new ent(n,r))}),n},"minSatisfying");xpe.exports=rnt});var Tpe=m((Etr,Rpe)=>{"use strict";var IG=fi(),nnt=Yo(),Npe=j0(),int=o((t,e)=>{t=new nnt(t,e);let r=new IG("0.0.0");if(t.test(r)||(r=new IG("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new IG(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Npe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Npe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");Rpe.exports=int});var Qpe=m((btr,Dpe)=>{"use strict";var snt=Yo(),ont=o((t,e)=>{try{return new snt(t,e).range||"*"}catch{return null}},"validRange");Dpe.exports=ont});var Q_=m((Itr,Lpe)=>{"use strict";var ant=fi(),Ope=$0(),{ANY:cnt}=Ope,lnt=Yo(),unt=J0(),kpe=j0(),Ppe=__(),fnt=R_(),dnt=N_(),hnt=o((t,e,r,n)=>{t=new ant(t,n),e=new lnt(e,n);let i,s,a,c,l;switch(r){case">":i=kpe,s=fnt,a=Ppe,c=">",l=">=";break;case"<":i=Ppe,s=dnt,a=kpe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(unt(t,e,n))return!1;for(let u=0;u{p.semver===cnt&&(p=new Ope(">=0.0.0")),d=d||p,h=h||p,i(p.semver,d.semver,n)?d=p:a(p.semver,h.semver,n)&&(h=p)}),d.operator===c||d.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");Lpe.exports=hnt});var Mpe=m((Btr,Fpe)=>{"use strict";var pnt=Q_(),mnt=o((t,e,r)=>pnt(t,e,">",r),"gtr");Fpe.exports=mnt});var qpe=m((xtr,Upe)=>{"use strict";var Ant=Q_(),gnt=o((t,e,r)=>Ant(t,e,"<",r),"ltr");Upe.exports=gnt});var Vpe=m((Ntr,Hpe)=>{"use strict";var Gpe=Yo(),ynt=o((t,e,r)=>(t=new Gpe(t,r),e=new Gpe(e,r),t.intersects(e,r)),"intersects");Hpe.exports=ynt});var jpe=m((Ttr,zpe)=>{"use strict";var Ent=J0(),Cnt=Jo();zpe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((f,d)=>Cnt(f,d,r));for(let f of a)Ent(f,e,r)?(s=f,i||(i=f)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[f,d]of n)f===d?c.push(f):!d&&f===a[0]?c.push("*"):d?f===a[0]?c.push(`<=${d}`):c.push(`${f} - ${d}`):c.push(`>=${f}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var $pe=Yo(),vG=$0(),{ANY:SG}=vG,BG=J0(),xG=Jo(),bnt=o((t,e,r={})=>{if(t===e)return!0;t=new $pe(t,r),e=new $pe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=Int(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),wnt=[new vG(">=0.0.0-0")],Wpe=[new vG(">=0.0.0")],Int=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===SG){if(e.length===1&&e[0].semver===SG)return!0;r.includePrerelease?t=wnt:t=Wpe}if(e.length===1&&e[0].semver===SG){if(r.includePrerelease)return!0;e=Wpe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Jpe(i,p,r):p.operator==="<"||p.operator==="<="?s=Ype(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=xG(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!BG(p,String(i),r)||s&&!BG(p,String(s),r))return null;for(let A of e)if(!BG(p,String(A),r))return!1;return!0}let c,l,u,f,d=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&s.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(f=f||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=Jpe(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(s){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=Ype(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!p.test(s.semver))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&f&&!i&&a!==0||h||d)},"simpleSubset"),Jpe=o((t,e,r)=>{if(!t)return e;let n=xG(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Ype=o((t,e,r)=>{if(!t)return e;let n=xG(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Kpe.exports=bnt});var rme=m((ktr,tme)=>{"use strict";var _G=Lg(),Zpe=Og(),Snt=fi(),eme=fG(),Bnt=yd(),vnt=She(),xnt=vhe(),_nt=Nhe(),Nnt=Dhe(),Rnt=khe(),Tnt=Ohe(),Dnt=Fhe(),Qnt=Uhe(),knt=Jo(),Pnt=Vhe(),Ont=jhe(),Lnt=x_(),Fnt=Yhe(),Mnt=Xhe(),Unt=j0(),qnt=__(),Gnt=pG(),Hnt=mG(),Vnt=N_(),znt=R_(),jnt=AG(),$nt=ape(),Wnt=lpe(),Jnt=$0(),Ynt=Yo(),Knt=J0(),Xnt=Spe(),Znt=vpe(),eit=_pe(),tit=Tpe(),rit=Qpe(),nit=Q_(),iit=Mpe(),sit=qpe(),oit=Vpe(),ait=jpe(),cit=Xpe();tme.exports={parse:Bnt,valid:vnt,clean:xnt,inc:_nt,diff:Nnt,major:Rnt,minor:Tnt,patch:Dnt,prerelease:Qnt,compare:knt,rcompare:Pnt,compareLoose:Ont,compareBuild:Lnt,sort:Fnt,rsort:Mnt,gt:Unt,lt:qnt,eq:Gnt,neq:Hnt,gte:Vnt,lte:znt,cmp:jnt,coerce:$nt,truncate:Wnt,Comparator:Jnt,Range:Ynt,satisfies:Knt,toComparators:Xnt,maxSatisfying:Znt,minSatisfying:eit,minVersion:tit,validRange:rit,outside:nit,gtr:iit,ltr:sit,intersects:oit,simplifyRange:ait,subset:cit,SemVer:Snt,re:_G.re,src:_G.src,tokens:_G.t,SEMVER_SPEC_VERSION:Zpe.SEMVER_SPEC_VERSION,RELEASE_TYPES:Zpe.RELEASE_TYPES,compareIdentifiers:eme.compareIdentifiers,rcompareIdentifiers:eme.rcompareIdentifiers}});var Vme=m((Mnr,Hme)=>{var Vg=1e3,zg=Vg*60,jg=zg*60,xp=jg*24,Vit=xp*7,zit=xp*365.25;Hme.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return jit(t);if(r==="number"&&isFinite(t))return e.long?Wit(t):$it(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function jit(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]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*zit;case"weeks":case"week":case"w":return r*Vit;case"days":case"day":case"d":return r*xp;case"hours":case"hour":case"hrs":case"hr":case"h":return r*jg;case"minutes":case"minute":case"mins":case"min":case"m":return r*zg;case"seconds":case"second":case"secs":case"sec":case"s":return r*Vg;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(jit,"parse");function $it(t){var e=Math.abs(t);return e>=xp?Math.round(t/xp)+"d":e>=jg?Math.round(t/jg)+"h":e>=zg?Math.round(t/zg)+"m":e>=Vg?Math.round(t/Vg)+"s":t+"ms"}o($it,"fmtShort");function Wit(t){var e=Math.abs(t);return e>=xp?sN(t,e,xp,"day"):e>=jg?sN(t,e,jg,"hour"):e>=zg?sN(t,e,zg,"minute"):e>=Vg?sN(t,e,Vg,"second"):t+" ms"}o(Wit,"fmtLong");function sN(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(sN,"plural")});var ZG=m((qnr,zme)=>{function Jit(t){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=a,r.humanize=Vme(),r.destroy=u,Object.keys(t).forEach(f=>{r[f]=t[f]}),r.names=[],r.skips=[],r.formatters={};function e(f){let d=0;for(let h=0;h{if(F==="%%")return"%";S++;let j=r.formatters[x];if(typeof j=="function"){let T=E[S];F=j.call(y,T),E.splice(S,1),S--}return F}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=f,g.useColors=r.useColors(),g.color=r.selectColor(f),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:o(()=>h!==null?h:(p!==r.namespaces&&(p=r.namespaces,A=r.enabled(f)),A),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}o(r,"createDebug");function n(f,d){let h=r(this.namespace+(typeof d>"u"?":":d)+f);return h.log=this.log,h}o(n,"extend");function i(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];let d,h=(typeof f=="string"?f:"").split(/[\s,]+/),p=h.length;for(d=0;d"-"+d)].join(",");return r.enable(""),f}o(s,"disable");function a(f){if(f[f.length-1]==="*")return!0;let d,h;for(d=0,h=r.skips.length;d{lo.formatArgs=Kit;lo.save=Xit;lo.load=Zit;lo.useColors=Yit;lo.storage=est();lo.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`."))}})();lo.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 Yit(){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(Yit,"useColors");function Kit(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+oN.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(Kit,"formatArgs");lo.log=console.debug||console.log||(()=>{});function Xit(t){try{t?lo.storage.setItem("debug",t):lo.storage.removeItem("debug")}catch{}}o(Xit,"save");function Zit(){let t;try{t=lo.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Zit,"load");function est(){try{return localStorage}catch{}}o(est,"localstorage");oN.exports=ZG()(lo);var{formatters:tst}=oN.exports;tst.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Wme=m((Vnr,$me)=>{"use strict";$me.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n{"use strict";var rst=require("os"),Jme=require("tty"),Xo=Wme(),{env:zn}=process,bd;Xo("no-color")||Xo("no-colors")||Xo("color=false")||Xo("color=never")?bd=0:(Xo("color")||Xo("colors")||Xo("color=true")||Xo("color=always"))&&(bd=1);"FORCE_COLOR"in zn&&(zn.FORCE_COLOR==="true"?bd=1:zn.FORCE_COLOR==="false"?bd=0:bd=zn.FORCE_COLOR.length===0?1:Math.min(parseInt(zn.FORCE_COLOR,10),3));function e4(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(e4,"translateLevel");function t4(t,e){if(bd===0)return 0;if(Xo("color=16m")||Xo("color=full")||Xo("color=truecolor"))return 3;if(Xo("color=256"))return 2;if(t&&!e&&bd===void 0)return 0;let r=bd||0;if(zn.TERM==="dumb")return r;if(process.platform==="win32"){let n=rst.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in zn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in zn)||zn.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in zn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zn.TEAMCITY_VERSION)?1:0;if(zn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in zn){let n=parseInt((zn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zn.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zn.TERM)||"COLORTERM"in zn?1:r}o(t4,"supportsColor");function nst(t){let e=t4(t,t&&t.isTTY);return e4(e)}o(nst,"getSupportLevel");Yme.exports={supportsColor:nst,stdout:e4(t4(!0,Jme.isatty(1))),stderr:e4(t4(!0,Jme.isatty(2)))}});var Xme=m((hi,cN)=>{var ist=require("tty"),aN=require("util");hi.init=fst;hi.log=cst;hi.formatArgs=ost;hi.save=lst;hi.load=ust;hi.useColors=sst;hi.destroy=aN.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");hi.colors=[6,2,3,4,5,1];try{let t=r4();t&&(t.stderr||t).level>=2&&(hi.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{}hi.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function sst(){return"colors"in hi.inspectOpts?!!hi.inspectOpts.colors:ist.isatty(process.stderr.fd)}o(sst,"useColors");function ost(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` `).join(` -`+s),t.push(i+"m+"+R_.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=ztt()+e+" "+t[0]}o(Vtt,"formatArgs");function ztt(){return fi.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(ztt,"getDate");function $tt(...t){return process.stderr.write(T_.format(...t)+` -`)}o($tt,"log");function jtt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(jtt,"save");function Wtt(){return process.env.DEBUG}o(Wtt,"load");function Jtt(t){t.inspectOpts={};let e=Object.keys(fi.inspectOpts);for(let r=0;re.trim()).join(" ")};spe.O=function(t){return this.inspectOpts.colors=this.useColors,T_.inspect(t,this.inspectOpts)}});var D_=A((Z7t,j3)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?j3.exports=epe():j3.exports=ope()});var lpe=A(ws=>{"use strict";var Ytt=ws&&ws.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Ktt=ws&&ws.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ape=ws&&ws.__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)&&Ytt(e,t,r);return Ktt(e,t),e};Object.defineProperty(ws,"__esModule",{value:!0});ws.req=ws.json=ws.toBuffer=void 0;var Xtt=ape(require("http")),Ztt=ape(require("https"));async function cpe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(cpe,"toBuffer");ws.toBuffer=cpe;async function ert(t){let r=(await cpe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(ert,"json");ws.json=ert;function trt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Ztt:Xtt).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(trt,"req");ws.req=trt});var hpe=A(co=>{"use strict";var dpe=co&&co.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),rrt=co&&co.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fpe=co&&co.__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)&&dpe(e,t,r);return rrt(e,t),e},nrt=co&&co.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&dpe(e,t,r)};Object.defineProperty(co,"__esModule",{value:!0});co.Agent=void 0;var irt=fpe(require("net")),upe=fpe(require("http")),srt=require("https");nrt(lpe(),co);var zc=Symbol("AgentBaseInternalState"),W3=class extends upe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[zc]={}}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(n=>n.indexOf("(https.js:")!==-1||n.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 irt.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?srt.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof upe.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[zc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[zc].currentSocket;if(this[zc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[zc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[zc]&&(this[zc].defaultPort=e)}get protocol(){return this[zc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[zc]&&(this[zc].protocol=e)}};co.Agent=W3});var ppe=A(_g=>{"use strict";var ort=_g&&_g.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_g,"__esModule",{value:!0});_g.parseProxyResponse=void 0;var art=ort(D_()),Q_=(0,art.default)("https-proxy-agent:parse-proxy-response");function crt(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let d=t.read();d?u(d):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),Q_("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(d){a(),Q_("onerror %o",d),r(d)}o(l,"onerror");function u(d){i.push(d),n+=d.length;let f=Buffer.concat(i,n),h=f.indexOf(`\r +`+s),t.push(i+"m+"+cN.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=ast()+e+" "+t[0]}o(ost,"formatArgs");function ast(){return hi.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(ast,"getDate");function cst(...t){return process.stderr.write(aN.format(...t)+` +`)}o(cst,"log");function lst(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(lst,"save");function ust(){return process.env.DEBUG}o(ust,"load");function fst(t){t.inspectOpts={};let e=Object.keys(hi.inspectOpts);for(let r=0;re.trim()).join(" ")};Kme.O=function(t){return this.inspectOpts.colors=this.useColors,aN.inspect(t,this.inspectOpts)}});var lN=m((Wnr,n4)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?n4.exports=jme():n4.exports=Xme()});var tAe=m(Bs=>{"use strict";var dst=Bs&&Bs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),hst=Bs&&Bs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Zme=Bs&&Bs.__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)&&dst(e,t,r);return hst(e,t),e};Object.defineProperty(Bs,"__esModule",{value:!0});Bs.req=Bs.json=Bs.toBuffer=void 0;var pst=Zme(require("http")),mst=Zme(require("https"));async function eAe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(eAe,"toBuffer");Bs.toBuffer=eAe;async function Ast(t){let r=(await eAe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Ast,"json");Bs.json=Ast;function gst(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?mst:pst).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(gst,"req");Bs.req=gst});var sAe=m(uo=>{"use strict";var nAe=uo&&uo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yst=uo&&uo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iAe=uo&&uo.__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)&&nAe(e,t,r);return yst(e,t),e},Est=uo&&uo.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&nAe(e,t,r)};Object.defineProperty(uo,"__esModule",{value:!0});uo.Agent=void 0;var Cst=iAe(require("net")),rAe=iAe(require("http")),bst=require("https");Est(tAe(),uo);var Kc=Symbol("AgentBaseInternalState"),i4=class extends rAe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Kc]={}}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(n=>n.indexOf("(https.js:")!==-1||n.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 Cst.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?bst.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof rAe.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[Kc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Kc].currentSocket;if(this[Kc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Kc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Kc]&&(this[Kc].defaultPort=e)}get protocol(){return this[Kc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Kc]&&(this[Kc].protocol=e)}};uo.Agent=i4});var oAe=m($g=>{"use strict";var wst=$g&&$g.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($g,"__esModule",{value:!0});$g.parseProxyResponse=void 0;var Ist=wst(lN()),uN=(0,Ist.default)("https-proxy-agent:parse-proxy-response");function Sst(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let f=t.read();f?u(f):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),uN("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(f){a(),uN("onerror %o",f),r(f)}o(l,"onerror");function u(f){i.push(f),n+=f.length;let d=Buffer.concat(i,n),h=d.indexOf(`\r \r -`);if(h===-1){Q_("have not received end of HTTP headers yet..."),s();return}let p=f.slice(0,h).toString("ascii").split(`\r -`),g=p.shift();if(!g)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=g.split(" "),E=+m[1],y=m.slice(2).join(" "),C={};for(let I of p){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let Q=I.slice(0,B).toLowerCase(),M=I.slice(B+1).trimStart(),v=C[Q];typeof v=="string"?C[Q]=[v,M]:Array.isArray(v)?v.push(M):C[Q]=M}Q_("got proxy server response: %o %o",g,C),a(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:f})}o(u,"ondata"),t.on("error",l),t.on("end",c),s()})}o(crt,"parseProxyResponse");_g.parseProxyResponse=crt});var Cpe=A(Yo=>{"use strict";var lrt=Yo&&Yo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),urt=Yo&&Yo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ype=Yo&&Yo.__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)&&lrt(e,t,r);return urt(e,t),e},Epe=Yo&&Yo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.HttpsProxyAgent=void 0;var k_=ype(require("net")),Ape=ype(require("tls")),drt=Epe(require("assert")),frt=Epe(D_()),hrt=hpe(),prt=require("url"),Art=ppe(),P0=(0,frt.default)("https-proxy-agent"),mpe=o(t=>t.servername===void 0&&t.host&&!k_.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),P_=class extends hrt.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new prt.URL(e):e,this.proxyHeaders=r?.headers??{},P0("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?gpe(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(P0("Creating `tls.Socket`: %o",this.connectOpts),i=Ape.connect(mpe(this.connectOpts))):(P0("Creating `net.Socket`: %o",this.connectOpts),i=k_.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=k_.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r +`);if(h===-1){uN("have not received end of HTTP headers yet..."),s();return}let p=d.slice(0,h).toString("ascii").split(`\r +`),A=p.shift();if(!A)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=A.split(" "),E=+g[1],y=g.slice(2).join(" "),C={};for(let w of p){if(!w)continue;let S=w.indexOf(":");if(S===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let Q=w.slice(0,S).toLowerCase(),F=w.slice(S+1).trimStart(),x=C[Q];typeof x=="string"?C[Q]=[x,F]:Array.isArray(x)?x.push(F):C[Q]=F}uN("got proxy server response: %o %o",A,C),a(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),s()})}o(Sst,"parseProxyResponse");$g.parseProxyResponse=Sst});var dAe=m(Zo=>{"use strict";var Bst=Zo&&Zo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vst=Zo&&Zo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uAe=Zo&&Zo.__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)&&Bst(e,t,r);return vst(e,t),e},fAe=Zo&&Zo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.HttpsProxyAgent=void 0;var fN=uAe(require("net")),aAe=uAe(require("tls")),xst=fAe(require("assert")),_st=fAe(lN()),Nst=sAe(),Rst=require("url"),Tst=oAe(),ow=(0,_st.default)("https-proxy-agent"),cAe=o(t=>t.servername===void 0&&t.host&&!fN.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),dN=class extends Nst.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Rst.URL(e):e,this.proxyHeaders=r?.headers??{},ow("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?lAe(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(ow("Creating `tls.Socket`: %o",this.connectOpts),i=aAe.connect(cAe(this.connectOpts))):(ow("Creating `net.Socket`: %o",this.connectOpts),i=fN.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=fN.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r `;if(n.username||n.password){let h=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(h).toString("base64")}`}s.Host=`${a}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let h of Object.keys(s))c+=`${h}: ${s[h]}\r -`;let l=(0,Art.parseProxyResponse)(i);i.write(`${c}\r -`);let{connect:u,buffered:d}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",mrt),r.secureEndpoint?(P0("Upgrading socket connection to TLS"),Ape.connect({...gpe(mpe(r),"host","path","port"),socket:i})):i;i.destroy();let f=new k_.Socket({writable:!1});return f.readable=!0,e.once("socket",h=>{P0("Replaying proxy buffer for failed request"),(0,drt.default)(h.listenerCount("data")>0),h.push(d),h.push(null)}),f}};P_.protocols=["http","https"];Yo.HttpsProxyAgent=P_;function mrt(t){t.resume()}o(mrt,"resume");function gpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(gpe,"omit")});var wpe=A(Ss=>{"use strict";var grt=Ss&&Ss.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yrt=Ss&&Ss.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bpe=Ss&&Ss.__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)&&grt(e,t,r);return yrt(e,t),e};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.req=Ss.json=Ss.toBuffer=void 0;var Ert=bpe(require("http")),Crt=bpe(require("https"));async function Ipe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(Ipe,"toBuffer");Ss.toBuffer=Ipe;async function brt(t){let r=(await Ipe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(brt,"json");Ss.json=brt;function Irt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Crt:Ert).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(Irt,"req");Ss.req=Irt});var vpe=A(lo=>{"use strict";var Bpe=lo&&lo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),wrt=lo&&lo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xpe=lo&&lo.__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)&&Bpe(e,t,r);return wrt(e,t),e},Srt=lo&&lo.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Bpe(e,t,r)};Object.defineProperty(lo,"__esModule",{value:!0});lo.Agent=void 0;var Brt=xpe(require("net")),Spe=xpe(require("http")),xrt=require("https");Srt(wpe(),lo);var $c=Symbol("AgentBaseInternalState"),J3=class extends Spe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[$c]={}}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(n=>n.indexOf("(https.js:")!==-1||n.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 Brt.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?xrt.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof Spe.Agent)return c.addRequest(e,i);this[$c].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[$c].currentSocket;if(this[$c].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[$c].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[$c]&&(this[$c].defaultPort=e)}get protocol(){return this[$c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[$c]&&(this[$c].protocol=e)}};lo.Agent=J3});var Tpe=A(Ko=>{"use strict";var vrt=Ko&&Ko.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Nrt=Ko&&Ko.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_pe=Ko&&Ko.__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)&&vrt(e,t,r);return Nrt(e,t),e},_rt=Ko&&Ko.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ko,"__esModule",{value:!0});Ko.HttpProxyAgent=void 0;var Trt=_pe(require("net")),Rrt=_pe(require("tls")),Drt=_rt(D_()),Qrt=require("events"),krt=vpe(),Npe=require("url"),Tg=(0,Drt.default)("http-proxy-agent"),O_=class extends krt.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new Npe.URL(e):e,this.proxyHeaders=r?.headers??{},Tg("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Prt(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new Npe.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(n.username||n.password){let u=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.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 d=l[u];d&&e.setHeader(u,d)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;Tg("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Tg("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r +`;let l=(0,Tst.parseProxyResponse)(i);i.write(`${c}\r +`);let{connect:u,buffered:f}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",Dst),r.secureEndpoint?(ow("Upgrading socket connection to TLS"),aAe.connect({...lAe(cAe(r),"host","path","port"),socket:i})):i;i.destroy();let d=new fN.Socket({writable:!1});return d.readable=!0,e.once("socket",h=>{ow("Replaying proxy buffer for failed request"),(0,xst.default)(h.listenerCount("data")>0),h.push(f),h.push(null)}),d}};dN.protocols=["http","https"];Zo.HttpsProxyAgent=dN;function Dst(t){t.resume()}o(Dst,"resume");function lAe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(lAe,"omit")});var mAe=m(vs=>{"use strict";var Qst=vs&&vs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),kst=vs&&vs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hAe=vs&&vs.__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)&&Qst(e,t,r);return kst(e,t),e};Object.defineProperty(vs,"__esModule",{value:!0});vs.req=vs.json=vs.toBuffer=void 0;var Pst=hAe(require("http")),Ost=hAe(require("https"));async function pAe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(pAe,"toBuffer");vs.toBuffer=pAe;async function Lst(t){let r=(await pAe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Lst,"json");vs.json=Lst;function Fst(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Ost:Pst).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(Fst,"req");vs.req=Fst});var EAe=m(fo=>{"use strict";var gAe=fo&&fo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Mst=fo&&fo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yAe=fo&&fo.__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)&&gAe(e,t,r);return Mst(e,t),e},Ust=fo&&fo.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&gAe(e,t,r)};Object.defineProperty(fo,"__esModule",{value:!0});fo.Agent=void 0;var qst=yAe(require("net")),AAe=yAe(require("http")),Gst=require("https");Ust(mAe(),fo);var Xc=Symbol("AgentBaseInternalState"),s4=class extends AAe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Xc]={}}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(n=>n.indexOf("(https.js:")!==-1||n.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 qst.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?Gst.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof AAe.Agent)return c.addRequest(e,i);this[Xc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Xc].currentSocket;if(this[Xc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Xc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Xc]&&(this[Xc].defaultPort=e)}get protocol(){return this[Xc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Xc]&&(this[Xc].protocol=e)}};fo.Agent=s4});var wAe=m(ea=>{"use strict";var Hst=ea&&ea.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Vst=ea&&ea.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bAe=ea&&ea.__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)&&Hst(e,t,r);return Vst(e,t),e},zst=ea&&ea.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ea,"__esModule",{value:!0});ea.HttpProxyAgent=void 0;var jst=bAe(require("net")),$st=bAe(require("tls")),Wst=zst(lN()),Jst=require("events"),Yst=EAe(),CAe=require("url"),Wg=(0,Wst.default)("http-proxy-agent"),hN=class extends Yst.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new CAe.URL(e):e,this.proxyHeaders=r?.headers??{},Wg("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Kst(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new CAe.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(n.username||n.password){let u=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.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 f=l[u];f&&e.setHeader(u,f)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;Wg("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Wg("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r \r -`)+4,e.outputData[0].data=e._header+n.substring(i),Tg("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Tg("Creating `tls.Socket`: %o",this.connectOpts),s=Rrt.connect(this.connectOpts)):(Tg("Creating `net.Socket`: %o",this.connectOpts),s=Trt.connect(this.connectOpts)),await(0,Qrt.once)(s,"connect"),s}};O_.protocols=["http","https"];Ko.HttpProxyAgent=O_;function Prt(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Prt,"omit")});var Xpe=A(Y_=>{"use strict";Object.defineProperty(Y_,"__esModule",{value:!0});Y_.state=void 0;Y_.state={instrumenterImplementation:void 0}});var AAe=A(tT=>{"use strict";Object.defineProperty(tT,"__esModule",{value:!0});tT.state=void 0;tT.state={operationRequestMap:new WeakMap}});var jge=A(Wg=>{"use strict";Object.defineProperty(Wg,"__esModule",{value:!0});var tct=require("os"),rct=require("util");function nct(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(nct,"_interopDefaultLegacy");var ict=nct(rct);function sct(t,...e){process.stderr.write(`${ict.default.format(t,...e)}${tct.EOL}`)}o(sct,"log");var Lge=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Mge,v5=[],N5=[],CR=[];Lge&&_5(Lge);var Uge=Object.assign(t=>qge(t),{enable:_5,enabled:T5,disable:oct,log:sct});function _5(t){Mge=t,v5=[],N5=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?N5.push(new RegExp(`^${n.substr(1)}$`)):v5.push(new RegExp(`^${n}$`));for(let n of CR)n.enabled=T5(n.namespace)}o(_5,"enable");function T5(t){if(t.endsWith("*"))return!0;for(let e of N5)if(e.test(t))return!1;for(let e of v5)if(e.test(t))return!0;return!1}o(T5,"enabled");function oct(){let t=Mge||"";return _5(""),t}o(oct,"disable");function qge(t){let e=Object.assign(r,{enabled:T5(t),destroy:act,log:Uge.log,namespace:t,extend:cct});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),CR.push(e),e}o(qge,"createDebugger");function act(){let t=CR.indexOf(this);return t>=0?(CR.splice(t,1),!0):!1}o(act,"destroy");function cct(t){let e=qge(`${this.namespace}:${t}`);return e.log=this.log,e}o(cct,"extend");var II=Uge,Gge=new Set,yR=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,bR,IR=II("azure");IR.log=(...t)=>{II.log(...t)};var R5=["verbose","info","warning","error"];yR&&($ge(yR)?Hge(yR):console.error(`AZURE_LOG_LEVEL set to unknown log level '${yR}'; logging is not enabled. Acceptable values: ${R5.join(", ")}.`));function Hge(t){if(t&&!$ge(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${R5.join(",")}`);bR=t;let e=[];for(let r of Gge)zge(r)&&e.push(r.namespace);II.enable(e.join(","))}o(Hge,"setLogLevel");function lct(){return bR}o(lct,"getLogLevel");var Fge={verbose:400,info:300,warning:200,error:100};function uct(t){let e=IR.extend(t);return Vge(IR,e),{error:ER(e,"error"),warning:ER(e,"warning"),info:ER(e,"info"),verbose:ER(e,"verbose")}}o(uct,"createClientLogger");function Vge(t,e){e.log=(...r)=>{t.log(...r)}}o(Vge,"patchLogMethod");function ER(t,e){let r=Object.assign(t.extend(e),{level:e});if(Vge(t,r),zge(r)){let n=II.disable();II.enable(n+","+r.namespace)}return Gge.add(r),r}o(ER,"createLogger");function zge(t){return!!(bR&&Fge[t.level]<=Fge[bR])}o(zge,"shouldEnable");function $ge(t){return R5.includes(t)}o($ge,"isAzureLogLevel");Wg.AzureLogger=IR;Wg.createClientLogger=uct;Wg.getLogLevel=lct;Wg.setLogLevel=Hge});var k5=A(SI=>{"use strict";Object.defineProperty(SI,"__esModule",{value:!0});var Jg=new WeakMap,wR=new WeakMap,wI=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Jg.set(this,[]),wR.set(this,!1)}get aborted(){if(!wR.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return wR.get(this)}static get none(){return new t}addEventListener(e,r){if(!Jg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Jg.get(this).push(r)}removeEventListener(e,r){if(!Jg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Jg.get(this),i=n.indexOf(r);i>-1&&n.splice(i,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 Wge(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Jg.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),wR.set(t,!0)}o(Wge,"abortSignal");var D5=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},Q5=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new wI,!!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(){Wge(this._signal)}static timeout(e){let r=new wI,n=setTimeout(Wge,e,r);return typeof n.unref=="function"&&n.unref(),r}};SI.AbortController=Q5;SI.AbortError=D5;SI.AbortSignal=wI});var Zge=A(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});var dct=k5(),q5=require("crypto");function Jge(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new dct.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(d=>{l(),s(d)},d=>{l(),a(d)})}catch(d){a(d)}n?.addEventListener("abort",u)})}o(Jge,"createAbortablePromise");var fct="The delay was aborted.";function hct(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return Jge(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??fct})}o(hct,"delay");function pct(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(pct,"getRandomIntegerInclusive");function Yge(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Yge,"isObject");function Kge(t){if(Yge(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Kge,"isError");function Act(t){if(Kge(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(Act,"getErrorMessage");async function mct(t,e,r){let n=Buffer.from(t,"base64");return q5.createHmac("sha256",n).update(e).digest(r)}o(mct,"computeSha256Hmac");async function gct(t,e){return q5.createHash("sha256").update(t).digest(e)}o(gct,"computeSha256Hash");function G5(t){return typeof t<"u"&&t!==null}o(G5,"isDefined");function yct(t,e){if(!G5(t)||typeof t!="object")return!1;for(let r of e)if(!Xge(t,r))return!1;return!0}o(yct,"isObjectWithProperties");function Xge(t,e){return G5(t)&&typeof t=="object"&&e in t}o(Xge,"objectHasProperty");function Ect(){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(Ect,"generateUUID");var P5,U5=typeof((P5=globalThis?.crypto)===null||P5===void 0?void 0:P5.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):q5.randomUUID;U5||(U5=Ect);function Cct(){return U5()}o(Cct,"randomUUID");var O5,L5,F5,M5,bct=typeof window<"u"&&typeof window.document<"u",Ict=typeof self=="object"&&typeof self?.importScripts=="function"&&(((O5=self.constructor)===null||O5===void 0?void 0:O5.name)==="DedicatedWorkerGlobalScope"||((L5=self.constructor)===null||L5===void 0?void 0:L5.name)==="ServiceWorkerGlobalScope"||((F5=self.constructor)===null||F5===void 0?void 0:F5.name)==="SharedWorkerGlobalScope"),wct=typeof process<"u"&&!!process.version&&!!(!((M5=process.versions)===null||M5===void 0)&&M5.node),Sct=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",Bct=typeof Bun<"u"&&typeof Bun.version<"u",xct=typeof navigator<"u"&&navigator?.product==="ReactNative";function vct(t,e){switch(e){case"utf-8":return Rct(t);case"base64":return _ct(t);case"base64url":return Tct(t)}}o(vct,"uint8ArrayToString");function Nct(t,e){switch(e){case"utf-8":return Dct(t);case"base64":return Qct(t);case"base64url":return kct(t)}}o(Nct,"stringToUint8Array");function _ct(t){return Buffer.from(t).toString("base64")}o(_ct,"uint8ArrayToBase64");function Tct(t){return Buffer.from(t).toString("base64url")}o(Tct,"uint8ArrayToBase64Url");function Rct(t){return Buffer.from(t).toString("utf-8")}o(Rct,"uint8ArrayToUtf8String");function Dct(t){return Buffer.from(t)}o(Dct,"utf8StringToUint8Array");function Qct(t){return Buffer.from(t,"base64")}o(Qct,"base64ToUint8Array");function kct(t){return Buffer.from(t,"base64url")}o(kct,"base64UrlToUint8Array");Ur.computeSha256Hash=gct;Ur.computeSha256Hmac=mct;Ur.createAbortablePromise=Jge;Ur.delay=hct;Ur.getErrorMessage=Act;Ur.getRandomIntegerInclusive=pct;Ur.isBrowser=bct;Ur.isBun=Bct;Ur.isDefined=G5;Ur.isDeno=Sct;Ur.isError=Kge;Ur.isNode=wct;Ur.isObject=Yge;Ur.isObjectWithProperties=yct;Ur.isReactNative=xct;Ur.isWebWorker=Ict;Ur.objectHasProperty=Xge;Ur.randomUUID=Cct;Ur.stringToUint8Array=Nct;Ur.uint8ArrayToString=vct});var Cye=A(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});var Pct=jge(),eye=k5(),Oct=Zge(),Dp=Pct.createClientLogger("core-lro"),rye=2e3,nye=["succeeded","canceled","failed"];function iye(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(iye,"deserializeState");function tye(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(tye,"setStateError");function Lct(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Lct,"appendReadableErrorMessage");function Fct(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=Lct(e,n.message);return{code:r,message:e}}o(Fct,"simplifyError");function sye(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),d="";if(u){let{code:h,message:p}=Fct(u);d=`. ${h}. ${p}`}let f=`The long-running operation has failed${d}`;r.setError(e,new Error(f)),r.setFailed(e),Dp.warning(f);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,Mct({response:c,state:e,processResult:s}))}o(sye,"processOperationStatus");function Mct(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(Mct,"buildResult");async function oye(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:d}=await e();c&&s?.(c,!1);let f={metadata:u,operationLocation:c,resourceLocation:l};Dp.verbose("LRO: Operation description:",f);let h=r.initState(f),p=i({response:d,state:h,operationLocation:c});return sye({state:h,status:p,stateProxy:r,response:d,setErrorAsResult:a,processResult:n}),h}o(oye,"initOperation");async function Uct(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(i,l).catch(tye({state:r,stateProxy:n,isOperationError:c})),d=s(u,r);if(Dp.verbose(`LRO: Status: +`)+4,e.outputData[0].data=e._header+n.substring(i),Wg("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Wg("Creating `tls.Socket`: %o",this.connectOpts),s=$st.connect(this.connectOpts)):(Wg("Creating `net.Socket`: %o",this.connectOpts),s=jst.connect(this.connectOpts)),await(0,Jst.once)(s,"connect"),s}};hN.protocols=["http","https"];ea.HttpProxyAgent=hN;function Kst(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Kst,"omit")});var VAe=m(xN=>{"use strict";Object.defineProperty(xN,"__esModule",{value:!0});xN.state=void 0;xN.state={instrumenterImplementation:void 0}});var age=m(DN=>{"use strict";Object.defineProperty(DN,"__esModule",{value:!0});DN.state=void 0;DN.state={operationRequestMap:new WeakMap}});var MEe=m(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});var gft=require("os"),yft=require("util");function Eft(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Eft,"_interopDefaultLegacy");var Cft=Eft(yft);function bft(t,...e){process.stderr.write(`${Cft.default.format(t,...e)}${gft.EOL}`)}o(bft,"log");var NEe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,TEe,LV=[],FV=[],KR=[];NEe&&MV(NEe);var DEe=Object.assign(t=>QEe(t),{enable:MV,enabled:UV,disable:wft,log:bft});function MV(t){TEe=t,LV=[],FV=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?FV.push(new RegExp(`^${n.substr(1)}$`)):LV.push(new RegExp(`^${n}$`));for(let n of KR)n.enabled=UV(n.namespace)}o(MV,"enable");function UV(t){if(t.endsWith("*"))return!0;for(let e of FV)if(e.test(t))return!1;for(let e of LV)if(e.test(t))return!0;return!1}o(UV,"enabled");function wft(){let t=TEe||"";return MV(""),t}o(wft,"disable");function QEe(t){let e=Object.assign(r,{enabled:UV(t),destroy:Ift,log:DEe.log,namespace:t,extend:Sft});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),KR.push(e),e}o(QEe,"createDebugger");function Ift(){let t=KR.indexOf(this);return t>=0?(KR.splice(t,1),!0):!1}o(Ift,"destroy");function Sft(t){let e=QEe(`${this.namespace}:${t}`);return e.log=this.log,e}o(Sft,"extend");var $w=DEe,kEe=new Set,JR=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,XR,ZR=$w("azure");ZR.log=(...t)=>{$w.log(...t)};var qV=["verbose","info","warning","error"];JR&&(FEe(JR)?PEe(JR):console.error(`AZURE_LOG_LEVEL set to unknown log level '${JR}'; logging is not enabled. Acceptable values: ${qV.join(", ")}.`));function PEe(t){if(t&&!FEe(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${qV.join(",")}`);XR=t;let e=[];for(let r of kEe)LEe(r)&&e.push(r.namespace);$w.enable(e.join(","))}o(PEe,"setLogLevel");function Bft(){return XR}o(Bft,"getLogLevel");var REe={verbose:400,info:300,warning:200,error:100};function vft(t){let e=ZR.extend(t);return OEe(ZR,e),{error:YR(e,"error"),warning:YR(e,"warning"),info:YR(e,"info"),verbose:YR(e,"verbose")}}o(vft,"createClientLogger");function OEe(t,e){e.log=(...r)=>{t.log(...r)}}o(OEe,"patchLogMethod");function YR(t,e){let r=Object.assign(t.extend(e),{level:e});if(OEe(t,r),LEe(r)){let n=$w.disable();$w.enable(n+","+r.namespace)}return kEe.add(r),r}o(YR,"createLogger");function LEe(t){return!!(XR&&REe[t.level]<=REe[XR])}o(LEe,"shouldEnable");function FEe(t){return qV.includes(t)}o(FEe,"isAzureLogLevel");dy.AzureLogger=ZR;dy.createClientLogger=vft;dy.getLogLevel=Bft;dy.setLogLevel=PEe});var VV=m(Jw=>{"use strict";Object.defineProperty(Jw,"__esModule",{value:!0});var hy=new WeakMap,eT=new WeakMap,Ww=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,hy.set(this,[]),eT.set(this,!1)}get aborted(){if(!eT.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return eT.get(this)}static get none(){return new t}addEventListener(e,r){if(!hy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");hy.get(this).push(r)}removeEventListener(e,r){if(!hy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=hy.get(this),i=n.indexOf(r);i>-1&&n.splice(i,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 UEe(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=hy.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),eT.set(t,!0)}o(UEe,"abortSignal");var GV=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},HV=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Ww,!!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(){UEe(this._signal)}static timeout(e){let r=new Ww,n=setTimeout(UEe,e,r);return typeof n.unref=="function"&&n.unref(),r}};Jw.AbortController=HV;Jw.AbortError=GV;Jw.AbortSignal=Ww});var zEe=m(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});var xft=VV(),KV=require("crypto");function qEe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new xft.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(f=>{l(),s(f)},f=>{l(),a(f)})}catch(f){a(f)}n?.addEventListener("abort",u)})}o(qEe,"createAbortablePromise");var _ft="The delay was aborted.";function Nft(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return qEe(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??_ft})}o(Nft,"delay");function Rft(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Rft,"getRandomIntegerInclusive");function GEe(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(GEe,"isObject");function HEe(t){if(GEe(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(HEe,"isError");function Tft(t){if(HEe(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(Tft,"getErrorMessage");async function Dft(t,e,r){let n=Buffer.from(t,"base64");return KV.createHmac("sha256",n).update(e).digest(r)}o(Dft,"computeSha256Hmac");async function Qft(t,e){return KV.createHash("sha256").update(t).digest(e)}o(Qft,"computeSha256Hash");function XV(t){return typeof t<"u"&&t!==null}o(XV,"isDefined");function kft(t,e){if(!XV(t)||typeof t!="object")return!1;for(let r of e)if(!VEe(t,r))return!1;return!0}o(kft,"isObjectWithProperties");function VEe(t,e){return XV(t)&&typeof t=="object"&&e in t}o(VEe,"objectHasProperty");function Pft(){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(Pft,"generateUUID");var zV,YV=typeof((zV=globalThis?.crypto)===null||zV===void 0?void 0:zV.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):KV.randomUUID;YV||(YV=Pft);function Oft(){return YV()}o(Oft,"randomUUID");var jV,$V,WV,JV,Lft=typeof window<"u"&&typeof window.document<"u",Fft=typeof self=="object"&&typeof self?.importScripts=="function"&&(((jV=self.constructor)===null||jV===void 0?void 0:jV.name)==="DedicatedWorkerGlobalScope"||(($V=self.constructor)===null||$V===void 0?void 0:$V.name)==="ServiceWorkerGlobalScope"||((WV=self.constructor)===null||WV===void 0?void 0:WV.name)==="SharedWorkerGlobalScope"),Mft=typeof process<"u"&&!!process.version&&!!(!((JV=process.versions)===null||JV===void 0)&&JV.node),Uft=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",qft=typeof Bun<"u"&&typeof Bun.version<"u",Gft=typeof navigator<"u"&&navigator?.product==="ReactNative";function Hft(t,e){switch(e){case"utf-8":return $ft(t);case"base64":return zft(t);case"base64url":return jft(t)}}o(Hft,"uint8ArrayToString");function Vft(t,e){switch(e){case"utf-8":return Wft(t);case"base64":return Jft(t);case"base64url":return Yft(t)}}o(Vft,"stringToUint8Array");function zft(t){return Buffer.from(t).toString("base64")}o(zft,"uint8ArrayToBase64");function jft(t){return Buffer.from(t).toString("base64url")}o(jft,"uint8ArrayToBase64Url");function $ft(t){return Buffer.from(t).toString("utf-8")}o($ft,"uint8ArrayToUtf8String");function Wft(t){return Buffer.from(t)}o(Wft,"utf8StringToUint8Array");function Jft(t){return Buffer.from(t,"base64")}o(Jft,"base64ToUint8Array");function Yft(t){return Buffer.from(t,"base64url")}o(Yft,"base64UrlToUint8Array");Ur.computeSha256Hash=Qft;Ur.computeSha256Hmac=Dft;Ur.createAbortablePromise=qEe;Ur.delay=Nft;Ur.getErrorMessage=Tft;Ur.getRandomIntegerInclusive=Rft;Ur.isBrowser=Lft;Ur.isBun=qft;Ur.isDefined=XV;Ur.isDeno=Uft;Ur.isError=HEe;Ur.isNode=Mft;Ur.isObject=GEe;Ur.isObjectWithProperties=kft;Ur.isReactNative=Gft;Ur.isWebWorker=Fft;Ur.objectHasProperty=VEe;Ur.randomUUID=Oft;Ur.stringToUint8Array=Vft;Ur.uint8ArrayToString=Hft});var dCe=m(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});var Kft=MEe(),jEe=VV(),Xft=zEe(),zp=Kft.createClientLogger("core-lro"),WEe=2e3,JEe=["succeeded","canceled","failed"];function YEe(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(YEe,"deserializeState");function $Ee(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o($Ee,"setStateError");function Zft(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Zft,"appendReadableErrorMessage");function edt(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=Zft(e,n.message);return{code:r,message:e}}o(edt,"simplifyError");function KEe(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),f="";if(u){let{code:h,message:p}=edt(u);f=`. ${h}. ${p}`}let d=`The long-running operation has failed${f}`;r.setError(e,new Error(d)),r.setFailed(e),zp.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,tdt({response:c,state:e,processResult:s}))}o(KEe,"processOperationStatus");function tdt(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(tdt,"buildResult");async function XEe(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:f}=await e();c&&s?.(c,!1);let d={metadata:u,operationLocation:c,resourceLocation:l};zp.verbose("LRO: Operation description:",d);let h=r.initState(d),p=i({response:f,state:h,operationLocation:c});return KEe({state:h,status:p,stateProxy:r,response:f,setErrorAsResult:a,processResult:n}),h}o(XEe,"initOperation");async function rdt(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(i,l).catch($Ee({state:r,stateProxy:n,isOperationError:c})),f=s(u,r);if(zp.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} - Operation status: ${d} - Polling status: ${nye.includes(d)?"Stopped":"Running"}`),d==="succeeded"){let f=a(u,r);if(f!==void 0)return{response:await e(f).catch(tye({state:r,stateProxy:n,isOperationError:c})),status:d}}return{response:u,status:d}}o(Uct,"pollOperationHelper");async function aye(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:d,processResult:f,getError:h,updateState:p,setDelay:g,isDone:m,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:I}=await Uct({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:i});if(sye({status:I,response:C,state:r,stateProxy:n,isDone:m,processResult:f,getError:h,setErrorAsResult:E}),!nye.includes(I)){let B=d?.(C);B&&g(B);let Q=c?.(C,r);if(Q!==void 0){let M=y!==Q;r.config.operationLocation=Q,u?.(Q,M)}else u?.(y,!1)}p?.(r,C)}}o(aye,"pollOperation");function cye(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(cye,"getOperationLocationPollingUrl");function lye(t){return t.headers.location}o(lye,"getLocationHeader");function uye(t){return t.headers["operation-location"]}o(uye,"getOperationLocationHeader");function dye(t){return t.headers["azure-asyncoperation"]}o(dye,"getAzureAsyncOperationHeader");function qct(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;default:return r}}o(a,"getDefault")}o(qct,"findResourceLocation");function fye(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=uye(e),a=dye(e),c=cye({operationLocation:s,azureAsyncOperation:a}),l=lye(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:qct({requestMethod:u,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(fye,"inferLroMode");function hye(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 z5(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 Dp.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(hye,"transformStatus");function Gct(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return hye({status:r,statusCode:t.statusCode})}o(Gct,"getStatus");function Hct(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return hye({status:s,statusCode:t.statusCode})}o(Hct,"getProvisioningState");function z5(t){return t===202?"running":t<300?"succeeded":"failed"}o(z5,"toOperationStatus");function pye({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Vct(new Date(e)):r*1e3}}o(pye,"parseRetryAfter");function Aye(t){let e=t.flatResponse.error;if(!e){Dp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Dp.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(Aye,"getErrorFromResponse");function Vct(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=fye({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:mye,setErrorAsResult:s})}o(zct,"initHttpOperation");function gye({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return cye({operationLocation:uye(t),azureAsyncOperation:dye(t)});case"ResourceLocation":return lye(t);default:return}}o(gye,"getOperationLocation");function $5({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return Gct(t);case"ResourceLocation":return z5(t.statusCode);case"Body":return Hct(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o($5,"getOperationStatus");function yye({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(yye,"getResourceLocation");function Eye(t){return t.name==="RestError"}o(Eye,"isOperationError");async function $ct(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return aye({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:u},d)=>i(u,d):({flatResponse:u})=>u,getError:Aye,updateState:s,getPollingInterval:pye,getOperationLocation:gye,getOperationStatus:$5,isOperationError:Eye,getResourceLocation:yye,options:n,poll:o(async(u,d)=>e.sendPollRequest(u,d),"poll"),setErrorAsResult:l})}o($ct,"pollHttpOperation");var jct=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 Wct(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:d},f)=>{let{processResult:h,updateState:p,withOperationLocation:g,intervalInMs:m=rye,restoreFrom:E}=f||{},y=jct(),C=g?(()=>{let V=!1;return(J,ee)=>{ee?g(J):V||g(J),V=!0}})():void 0,I=E?iye(E):await oye({init:u,stateProxy:y,processResult:h,getOperationStatus:r,withOperationLocation:C,setErrorAsResult:!l}),B,Q=new eye.AbortController,M=new Map,v=o(async()=>M.forEach(V=>V(I)),"handleProgressEvents"),$="Operation was canceled",D=m,H={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(()=>{Q.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(V=>{let J=Symbol();return M.set(J,V),()=>M.delete(J)},"onProgress"),pollUntilDone:o(V=>B??(B=(async()=>{let{abortSignal:J}=V||{},{signal:ee}=J?new eye.AbortController([J,Q.signal]):Q;if(!H.isDone())for(await H.poll({abortSignal:ee});!H.isDone();)await Oct.delay(D,{abortSignal:ee}),await H.poll({abortSignal:ee});if(l)return H.getResult();switch(I.status){case"succeeded":return H.getResult();case"canceled":throw new Error($);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(V){if(l){if(H.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error($);case"failed":throw I.error}if(await aye({poll:d,state:I,stateProxy:y,getOperationLocation:e,isOperationError:i,withOperationLocation:C,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:h,getError:c,updateState:p,options:V,setDelay:o(J=>{D=J},"setDelay"),setErrorAsResult:!l}),await v(),!l)switch(I.status){case"canceled":throw new Error($);case"failed":throw I.error}}};return H}}o(Wct,"buildCreatePoller");async function Jct(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Wct({getStatusFromInitialResponse:mye,getStatusFromPollResponse:$5,isOperationError:Eye,getOperationLocation:gye,getResourceLocation:yye,getPollingInterval:pye,getError:Aye,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),d=fye({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:d?.operationLocation,resourceLocation:d?.resourceLocation},d?.mode?{metadata:{mode:d.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:u},d)=>i(u,d):({flatResponse:u})=>u})}o(Jct,"createHttpPoller");var Yct=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"),H5=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=Yct();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await zct({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await $ct({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(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 Dp.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},SR=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},BR=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},xR=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),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 BR("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 SR("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()}},V5=class extends xR{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=rye,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},d=i?iye(i):{},f=new H5(d,e,!s,c,l,u,a);super(f),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},f.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Qp.LroEngine=V5;Qp.Poller=xR;Qp.PollerCancelledError=BR;Qp.PollerStoppedError=SR;Qp.createHttpPoller=Jct});var Gye=A((dgr,glt)=>{glt.exports={name:"@actions/cache",version:"6.2.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.6.1","@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.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var Vye=A((fgr,Hye)=>{var ylt=Gye();Hye.exports={version:ylt.version}});var MR=A(ey=>{"use strict";Object.defineProperty(ey,"__esModule",{value:!0});ey.isJsonObject=ey.typeofJsonValue=void 0;function xlt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(xlt,"typeofJsonValue");ey.typeofJsonValue=xlt;function vlt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(vlt,"isJsonObject");ey.isJsonObject=vlt});var qR=A(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.base64encode=ty.base64decode=void 0;var Ju="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),UR=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(Nlt,"base64decode");ty.base64decode=Nlt;function _lt(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=Ju[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=Ju[i|n>>6],e+=Ju[n&63],r=0;break}return r&&(e+=Ju[i],e+="=",r==1&&(e+="=")),e}o(_lt,"base64encode");ty.base64encode=_lt});var Yye=A(GR=>{"use strict";Object.defineProperty(GR,"__esModule",{value:!0});GR.utf8read=void 0;var nz=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function Tlt(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(nz(n)),i=0);return r.length?(i&&r.push(nz(n.slice(0,i))),r.join("")):nz(n.slice(0,i))}o(Tlt,"utf8read");GR.utf8read=Tlt});var DI=A(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.WireType=yl.mergeBinaryOptions=yl.UnknownFieldHandler=void 0;var Rlt;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(Rlt=yl.UnknownFieldHandler||(yl.UnknownFieldHandler={}));function Dlt(t,e){return Object.assign(Object.assign({},t),e)}o(Dlt,"mergeBinaryOptions");yl.mergeBinaryOptions=Dlt;var Qlt;(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"})(Qlt=yl.WireType||(yl.WireType={}))});var VR=A(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.varint32read=Rs.varint32write=Rs.int64toString=Rs.int64fromString=Rs.varint64write=Rs.varint64read=void 0;function klt(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(Plt,"varint64write");Rs.varint64write=Plt;var HR=65536*65536;function Olt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=HR&&(i=i+(n/HR|0),n=n%HR)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(Olt,"int64fromString");Rs.int64fromString=Olt;function Llt(t,e){if(e>>>0<=2097151)return""+(HR*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(d,f){let h=d?String(d):"";return f?"0000000".slice(h.length)+h:h}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(Llt,"int64toString");Rs.int64toString=Llt;function Flt(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(Flt,"varint32write");Rs.varint32write=Flt;function Mlt(){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(Mlt,"varint32read");Rs.varint32read=Mlt});var Sf=A(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.PbLong=wf.PbULong=wf.detectBi=void 0;var QI=VR(),Wt;function Kye(){let t=new DataView(new ArrayBuffer(8));Wt=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(Kye,"detectBi");wf.detectBi=Kye;Kye();function Xye(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(Xye,"assertBi");var Zye=/^-?[0-9]+$/,$R=4294967296,zR=2147483648,jR=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*$R+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},kI=class t extends jR{static{o(this,"PbULong")}static from(e){if(Wt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Wt.C(e);case"number":if(e===0)return this.ZERO;e=Wt.C(e);case"bigint":if(!e)return this.ZERO;if(eWt.UMAX)throw new Error("ulong too large");return Wt.V.setBigUint64(0,e,!0),new t(Wt.V.getInt32(0,!0),Wt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Zye.test(e))throw new Error("string is no integer");let[r,n,i]=QI.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/$R)}throw new Error("unknown value "+typeof e)}toString(){return Wt?this.toBigInt().toString():QI.int64toString(this.lo,this.hi)}toBigInt(){return Xye(Wt),Wt.V.setInt32(0,this.lo,!0),Wt.V.setInt32(4,this.hi,!0),Wt.V.getBigUint64(0,!0)}};wf.PbULong=kI;kI.ZERO=new kI(0,0);var PI=class t extends jR{static{o(this,"PbLong")}static from(e){if(Wt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Wt.C(e);case"number":if(e===0)return this.ZERO;e=Wt.C(e);case"bigint":if(!e)return this.ZERO;if(eWt.MAX)throw new Error("signed long too large");return Wt.V.setBigInt64(0,e,!0),new t(Wt.V.getInt32(0,!0),Wt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Zye.test(e))throw new Error("string is no integer");let[r,n,i]=QI.int64fromString(e);if(r){if(i>zR||i==zR&&n!=0)throw new Error("signed long too small")}else if(i>=zR)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/$R):new t(-e,-e/$R).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&zR)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Wt)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+QI.int64toString(e.lo,e.hi)}return QI.int64toString(this.lo,this.hi)}toBigInt(){return Xye(Wt),Wt.V.setInt32(0,this.lo,!0),Wt.V.setInt32(4,this.hi,!0),Wt.V.getBigInt64(0,!0)}};wf.PbLong=PI;PI.ZERO=new PI(0,0)});var iz=A(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});ny.BinaryReader=ny.binaryReadOptions=void 0;var ry=DI(),OI=Sf(),eEe=VR(),tEe={readUnknownField:!0,readerFactory:o(t=>new WR(t),"readerFactory")};function Ult(t){return t?Object.assign(Object.assign({},tEe),t):tEe}o(Ult,"binaryReadOptions");ny.binaryReadOptions=Ult;var WR=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=eEe.varint64read,this.uint32=eEe.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,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case ry.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case ry.WireType.Bit64:this.pos+=4;case ry.WireType.Bit32:this.pos+=4;break;case ry.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case ry.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==ry.WireType.EndGroup;)this.skip(i);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 OI.PbLong(...this.varint64())}uint64(){return new OI.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new OI.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 OI.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new OI.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())}};ny.BinaryReader=WR});var iy=A(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.assertFloat32=ia.assertUInt32=ia.assertInt32=ia.assertNever=ia.assert=void 0;function qlt(t,e){if(!t)throw new Error(e)}o(qlt,"assert");ia.assert=qlt;function Glt(t,e){throw new Error(e??"Unexpected object: "+t)}o(Glt,"assertNever");ia.assertNever=Glt;var Hlt=34028234663852886e22,Vlt=-34028234663852886e22,zlt=4294967295,$lt=2147483647,jlt=-2147483648;function Wlt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>$lt||tzlt||t<0)throw new Error("invalid uint 32: "+t)}o(Jlt,"assertUInt32");ia.assertUInt32=Jlt;function Ylt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>Hlt||t{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});oy.BinaryWriter=oy.binaryWriteOptions=void 0;var LI=Sf(),FI=VR(),sy=iy(),rEe={writeUnknownFields:!0,writerFactory:o(()=>new JR,"writerFactory")};function Klt(t){return t?Object.assign(Object.assign({},rEe),t):rEe}o(Klt,"binaryWriteOptions");oy.binaryWriteOptions=Klt;var JR=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 i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(sy.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return sy.assertInt32(e),FI.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){sy.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){sy.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){sy.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return sy.assertInt32(e),e=(e<<1^e>>31)>>>0,FI.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=LI.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=LI.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=LI.PbLong.from(e);return FI.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=LI.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return FI.varint64write(i,s,this.buf),this}uint64(e){let r=LI.PbULong.from(e);return FI.varint64write(r.lo,r.hi,this.buf),this}};oy.BinaryWriter=JR});var oz=A(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.mergeJsonOptions=Bf.jsonWriteOptions=Bf.jsonReadOptions=void 0;var nEe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},iEe={ignoreUnknownFields:!1};function Xlt(t){return t?Object.assign(Object.assign({},iEe),t):iEe}o(Xlt,"jsonReadOptions");Bf.jsonReadOptions=Xlt;function Zlt(t){return t?Object.assign(Object.assign({},nEe),t):nEe}o(Zlt,"jsonWriteOptions");Bf.jsonWriteOptions=Zlt;function eut(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(eut,"mergeJsonOptions");Bf.mergeJsonOptions=eut});var MI=A(YR=>{"use strict";Object.defineProperty(YR,"__esModule",{value:!0});YR.MESSAGE_TYPE=void 0;YR.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var az=A(KR=>{"use strict";Object.defineProperty(KR,"__esModule",{value:!0});KR.lowerCamelCase=void 0;function tut(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.readMessageOption=Rn.readFieldOption=Rn.readFieldOptions=Rn.normalizeFieldInfo=Rn.RepeatType=Rn.LongType=Rn.ScalarType=void 0;var sEe=az(),rut;(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"})(rut=Rn.ScalarType||(Rn.ScalarType={}));var nut;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(nut=Rn.LongType||(Rn.LongType={}));var oEe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(oEe=Rn.RepeatType||(Rn.RepeatType={}));function iut(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:sEe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:sEe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:oEe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(iut,"normalizeFieldInfo");Rn.normalizeFieldInfo=iut;function sut(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(sut,"readFieldOptions");Rn.readFieldOptions=sut;function out(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(out,"readFieldOption");Rn.readFieldOption=out;function aut(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(aut,"readMessageOption");Rn.readMessageOption=aut});var cz=A(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.getSelectedOneofValue=Ds.clearOneofValue=Ds.setUnknownOneofValue=Ds.setOneofValue=Ds.getOneofValue=Ds.isOneofGroup=void 0;function cut(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(cut,"isOneofGroup");Ds.isOneofGroup=cut;function lut(t,e){return t[e]}o(lut,"getOneofValue");Ds.getOneofValue=lut;function uut(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(uut,"setOneofValue");Ds.setOneofValue=uut;function dut(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(dut,"setUnknownOneofValue");Ds.setUnknownOneofValue=dut;function fut(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(fut,"clearOneofValue");Ds.clearOneofValue=fut;function hut(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(hut,"getSelectedOneofValue");Ds.getSelectedOneofValue=hut});var uz=A(XR=>{"use strict";Object.defineProperty(XR,"__esModule",{value:!0});XR.ReflectionTypeCheck=void 0;var qr=sc(),put=cz(),lz=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=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!put.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,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,qr.ScalarType.INT32,i):this.scalar(e,qr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),qr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case qr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,qr.LongType.STRING)}}};XR.ReflectionTypeCheck=lz});var e2=A(ZR=>{"use strict";Object.defineProperty(ZR,"__esModule",{value:!0});ZR.reflectionLongConvert=void 0;var aEe=sc();function Aut(t,e){switch(e){case aEe.LongType.BIGINT:return t.toBigInt();case aEe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(Aut,"reflectionLongConvert");ZR.reflectionLongConvert=Aut});var fz=A(n2=>{"use strict";Object.defineProperty(n2,"__esModule",{value:!0});n2.ReflectionJsonReader=void 0;var cEe=MR(),mut=qR(),Dn=sc(),t2=Sf(),Pp=iy(),r2=e2(),dz=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 n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=cEe.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(cEe.isJsonObject(a),c.name,a);let d=u[l];for(let[f,h]of Object.entries(a)){this.assert(h!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(h,n);break;case"enum":if(p=this.enum(c.V.T(),h,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(h,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",h);let g=f;c.K==Dn.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,c.K,Dn.LongType.STRING,c.name).toString(),d[g]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let d=u[l];for(let f of a){this.assert(f!==null,c.name,null);let h;switch(c.kind){case"message":h=c.T().internalJsonRead(f,n);break;case"enum":if(h=this.enum(c.T(),f,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(f,c.T,c.L,c.name);break}this.assert(h!==void 0,c.name,a),d.push(h)}}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,n,u[l]);break;case"enum":if(a===null)continue;let d=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(d===!1)continue;u[l]=d;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&Pp.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Pp.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(Pp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Pp.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Dn.ScalarType.DOUBLE:case Dn.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Dn.ScalarType.FLOAT&&Pp.assertFloat32(a),a;case Dn.ScalarType.INT32:case Dn.ScalarType.FIXED32:case Dn.ScalarType.SFIXED32:case Dn.ScalarType.SINT32:case Dn.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Dn.ScalarType.UINT32?Pp.assertUInt32(c):Pp.assertInt32(c),c;case Dn.ScalarType.INT64:case Dn.ScalarType.SFIXED64:case Dn.ScalarType.SINT64:if(e===null)return r2.reflectionLongConvert(t2.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return r2.reflectionLongConvert(t2.PbLong.from(e),n);case Dn.ScalarType.FIXED64:case Dn.ScalarType.UINT64:if(e===null)return r2.reflectionLongConvert(t2.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return r2.reflectionLongConvert(t2.PbULong.from(e),n);case Dn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Dn.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Dn.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return mut.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};n2.ReflectionJsonReader=dz});var pz=A(i2=>{"use strict";Object.defineProperty(i2,"__esModule",{value:!0});i2.ReflectionJsonWriter=void 0;var gut=qR(),lEe=Sf(),Zi=sc(),br=iy(),hz=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);br.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){br.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let d=this.scalar(e.V.T,u,e.name,!1,!0);br.assert(d!==void 0),s[l.toString()]=d}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let d=this.message(a,u,e.name,n);br.assert(d!==void 0),s[l.toString()]=d}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){br.assert(u===void 0||typeof u=="number");let d=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);br.assert(d!==void 0),s[l.toString()]=d}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){br.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){br.assert(i);return}if(!(r===0&&!s&&!i))return br.assert(typeof r=="number"),br.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){br.assert(i);return}let a=s||i;switch(e){case Zi.ScalarType.INT32:case Zi.ScalarType.SFIXED32:case Zi.ScalarType.SINT32:return r===0?a?0:void 0:(br.assertInt32(r),r);case Zi.ScalarType.FIXED32:case Zi.ScalarType.UINT32:return r===0?a?0:void 0:(br.assertUInt32(r),r);case Zi.ScalarType.FLOAT:br.assertFloat32(r);case Zi.ScalarType.DOUBLE:return r===0?a?0:void 0:(br.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Zi.ScalarType.STRING:return r===""?a?"":void 0:(br.assert(typeof r=="string"),r);case Zi.ScalarType.BOOL:return r===!1?a?!1:void 0:(br.assert(typeof r=="boolean"),r);case Zi.ScalarType.UINT64:case Zi.ScalarType.FIXED64:br.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=lEe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Zi.ScalarType.INT64:case Zi.ScalarType.SFIXED64:case Zi.ScalarType.SINT64:br.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=lEe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Zi.ScalarType.BYTES:return br.assert(r instanceof Uint8Array),r.byteLength?gut.base64encode(r):a?"":void 0}}};i2.ReflectionJsonWriter=hz});var o2=A(s2=>{"use strict";Object.defineProperty(s2,"__esModule",{value:!0});s2.reflectionScalarDefault=void 0;var oc=sc(),uEe=e2(),dEe=Sf();function yut(t,e=oc.LongType.STRING){switch(t){case oc.ScalarType.BOOL:return!1;case oc.ScalarType.UINT64:case oc.ScalarType.FIXED64:return uEe.reflectionLongConvert(dEe.PbULong.ZERO,e);case oc.ScalarType.INT64:case oc.ScalarType.SFIXED64:case oc.ScalarType.SINT64:return uEe.reflectionLongConvert(dEe.PbLong.ZERO,e);case oc.ScalarType.DOUBLE:case oc.ScalarType.FLOAT:return 0;case oc.ScalarType.BYTES:return new Uint8Array(0);case oc.ScalarType.STRING:return"";default:return 0}}o(yut,"reflectionScalarDefault");s2.reflectionScalarDefault=yut});var mz=A(a2=>{"use strict";Object.defineProperty(a2,"__esModule",{value:!0});a2.ReflectionBinaryReader=void 0;var fEe=DI(),rn=sc(),UI=e2(),hEe=o2(),Az=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(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(c2,"__esModule",{value:!0});c2.ReflectionBinaryWriter=void 0;var mo=DI(),er=sc(),ay=iy(),qI=Sf(),gz=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,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let d=e[s.oneof];if(d.oneofKind!==u)continue;a=d[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let d=s.kind=="enum"?er.ScalarType.INT32:s.T;if(l)if(ay.assert(Array.isArray(a)),l==er.RepeatType.PACKED)this.packed(r,d,s.no,a);else for(let f of a)this.scalar(r,d,s.no,f,!0);else a===void 0?ay.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){ay.assert(Array.isArray(a));for(let f of a)this.message(r,n,s.T(),s.no,f)}else this.message(r,n,s.T(),s.no,a);break;case"map":ay.assert(typeof a=="object"&&a!==null);for(let[f,h]of Object.entries(a))this.mapEntry(r,n,s,f,h);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?mo.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,mo.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case er.ScalarType.INT32:case er.ScalarType.FIXED32:case er.ScalarType.UINT32:case er.ScalarType.SFIXED32:case er.ScalarType.SINT32:a=Number.parseInt(i);break;case er.ScalarType.BOOL:ay.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,er.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,mo.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;ay.assert(r!==er.ScalarType.BYTES&&r!==er.ScalarType.STRING),e.tag(n,mo.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(l2,"__esModule",{value:!0});l2.reflectionCreate=void 0;var Eut=o2(),Cut=MI();function but(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},Cut.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=Eut.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(but,"reflectionCreate");l2.reflectionCreate=but});var Cz=A(u2=>{"use strict";Object.defineProperty(u2,"__esModule",{value:!0});u2.reflectionMergePartial=void 0;function Iut(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(f2,"__esModule",{value:!0});f2.reflectionEquals=void 0;var bz=sc();function wut(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?bz.ScalarType.INT32:n.T;if(!(n.repeat?pEe(c,s,a):mEe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?AEe(n.V.T(),d2(s),d2(a)):pEe(n.V.kind=="enum"?bz.ScalarType.INT32:n.V.T,d2(s),d2(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?AEe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(wut,"reflectionEquals");f2.reflectionEquals=wut;var d2=Object.values;function mEe(t,e,r){if(e===r)return!0;if(t!==bz.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(h2,"__esModule",{value:!0});h2.MessageType=void 0;var Sut=MI(),But=sc(),xut=uz(),vut=fz(),Nut=pz(),_ut=mz(),Tut=yz(),Rut=Ez(),wz=Cz(),Dut=MR(),gEe=oz(),Qut=Iz(),kut=sz(),Put=iz(),yEe=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),Out=yEe[Sut.MESSAGE_TYPE]={},Sz=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(But.normalizeFieldInfo),this.options=n??{},Out.value=this,this.messagePrototype=Object.create(null,yEe),this.refTypeCheck=new xut.ReflectionTypeCheck(this),this.refJsonReader=new vut.ReflectionJsonReader(this),this.refJsonWriter=new Nut.ReflectionJsonWriter(this),this.refBinReader=new _ut.ReflectionBinaryReader(this),this.refBinWriter=new Tut.ReflectionBinaryWriter(this)}create(e){let r=Rut.reflectionCreate(this);return e!==void 0&&wz.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return wz.reflectionMergePartial(this,r,e),r}equals(e,r){return Qut.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){wz.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=Put.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,gEe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,gEe.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=kut.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${Dut.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};h2.MessageType=Sz});var CEe=A(p2=>{"use strict";Object.defineProperty(p2,"__esModule",{value:!0});p2.containsMessageType=void 0;var Lut=MI();function Fut(t){return t[Lut.MESSAGE_TYPE]!=null}o(Fut,"containsMessageType");p2.containsMessageType=Fut});var IEe=A(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.listEnumNumbers=El.listEnumNames=El.listEnumValues=El.isEnumObject=void 0;function bEe(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 n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(bEe,"isEnumObject");El.isEnumObject=bEe;function Bz(t){if(!bEe(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(Bz,"listEnumValues");El.listEnumValues=Bz;function Mut(t){return Bz(t).map(e=>e.name)}o(Mut,"listEnumNames");El.listEnumNames=Mut;function Uut(t){return Bz(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(Uut,"listEnumNumbers");El.listEnumNumbers=Uut});var nn=A(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});var wEe=MR();Object.defineProperty(Re,"typeofJsonValue",{enumerable:!0,get:o(function(){return wEe.typeofJsonValue},"get")});Object.defineProperty(Re,"isJsonObject",{enumerable:!0,get:o(function(){return wEe.isJsonObject},"get")});var SEe=qR();Object.defineProperty(Re,"base64decode",{enumerable:!0,get:o(function(){return SEe.base64decode},"get")});Object.defineProperty(Re,"base64encode",{enumerable:!0,get:o(function(){return SEe.base64encode},"get")});var qut=Yye();Object.defineProperty(Re,"utf8read",{enumerable:!0,get:o(function(){return qut.utf8read},"get")});var xz=DI();Object.defineProperty(Re,"WireType",{enumerable:!0,get:o(function(){return xz.WireType},"get")});Object.defineProperty(Re,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return xz.mergeBinaryOptions},"get")});Object.defineProperty(Re,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return xz.UnknownFieldHandler},"get")});var BEe=iz();Object.defineProperty(Re,"BinaryReader",{enumerable:!0,get:o(function(){return BEe.BinaryReader},"get")});Object.defineProperty(Re,"binaryReadOptions",{enumerable:!0,get:o(function(){return BEe.binaryReadOptions},"get")});var xEe=sz();Object.defineProperty(Re,"BinaryWriter",{enumerable:!0,get:o(function(){return xEe.BinaryWriter},"get")});Object.defineProperty(Re,"binaryWriteOptions",{enumerable:!0,get:o(function(){return xEe.binaryWriteOptions},"get")});var vEe=Sf();Object.defineProperty(Re,"PbLong",{enumerable:!0,get:o(function(){return vEe.PbLong},"get")});Object.defineProperty(Re,"PbULong",{enumerable:!0,get:o(function(){return vEe.PbULong},"get")});var vz=oz();Object.defineProperty(Re,"jsonReadOptions",{enumerable:!0,get:o(function(){return vz.jsonReadOptions},"get")});Object.defineProperty(Re,"jsonWriteOptions",{enumerable:!0,get:o(function(){return vz.jsonWriteOptions},"get")});Object.defineProperty(Re,"mergeJsonOptions",{enumerable:!0,get:o(function(){return vz.mergeJsonOptions},"get")});var Gut=MI();Object.defineProperty(Re,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return Gut.MESSAGE_TYPE},"get")});var Hut=EEe();Object.defineProperty(Re,"MessageType",{enumerable:!0,get:o(function(){return Hut.MessageType},"get")});var Op=sc();Object.defineProperty(Re,"ScalarType",{enumerable:!0,get:o(function(){return Op.ScalarType},"get")});Object.defineProperty(Re,"LongType",{enumerable:!0,get:o(function(){return Op.LongType},"get")});Object.defineProperty(Re,"RepeatType",{enumerable:!0,get:o(function(){return Op.RepeatType},"get")});Object.defineProperty(Re,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Op.normalizeFieldInfo},"get")});Object.defineProperty(Re,"readFieldOptions",{enumerable:!0,get:o(function(){return Op.readFieldOptions},"get")});Object.defineProperty(Re,"readFieldOption",{enumerable:!0,get:o(function(){return Op.readFieldOption},"get")});Object.defineProperty(Re,"readMessageOption",{enumerable:!0,get:o(function(){return Op.readMessageOption},"get")});var Vut=uz();Object.defineProperty(Re,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return Vut.ReflectionTypeCheck},"get")});var zut=Ez();Object.defineProperty(Re,"reflectionCreate",{enumerable:!0,get:o(function(){return zut.reflectionCreate},"get")});var $ut=o2();Object.defineProperty(Re,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return $ut.reflectionScalarDefault},"get")});var jut=Cz();Object.defineProperty(Re,"reflectionMergePartial",{enumerable:!0,get:o(function(){return jut.reflectionMergePartial},"get")});var Wut=Iz();Object.defineProperty(Re,"reflectionEquals",{enumerable:!0,get:o(function(){return Wut.reflectionEquals},"get")});var Jut=mz();Object.defineProperty(Re,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return Jut.ReflectionBinaryReader},"get")});var Yut=yz();Object.defineProperty(Re,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return Yut.ReflectionBinaryWriter},"get")});var Kut=fz();Object.defineProperty(Re,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return Kut.ReflectionJsonReader},"get")});var Xut=pz();Object.defineProperty(Re,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Xut.ReflectionJsonWriter},"get")});var Zut=CEe();Object.defineProperty(Re,"containsMessageType",{enumerable:!0,get:o(function(){return Zut.containsMessageType},"get")});var GI=cz();Object.defineProperty(Re,"isOneofGroup",{enumerable:!0,get:o(function(){return GI.isOneofGroup},"get")});Object.defineProperty(Re,"setOneofValue",{enumerable:!0,get:o(function(){return GI.setOneofValue},"get")});Object.defineProperty(Re,"getOneofValue",{enumerable:!0,get:o(function(){return GI.getOneofValue},"get")});Object.defineProperty(Re,"clearOneofValue",{enumerable:!0,get:o(function(){return GI.clearOneofValue},"get")});Object.defineProperty(Re,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return GI.getSelectedOneofValue},"get")});var A2=IEe();Object.defineProperty(Re,"listEnumValues",{enumerable:!0,get:o(function(){return A2.listEnumValues},"get")});Object.defineProperty(Re,"listEnumNames",{enumerable:!0,get:o(function(){return A2.listEnumNames},"get")});Object.defineProperty(Re,"listEnumNumbers",{enumerable:!0,get:o(function(){return A2.listEnumNumbers},"get")});Object.defineProperty(Re,"isEnumObject",{enumerable:!0,get:o(function(){return A2.isEnumObject},"get")});var edt=az();Object.defineProperty(Re,"lowerCamelCase",{enumerable:!0,get:o(function(){return edt.lowerCamelCase},"get")});var HI=iy();Object.defineProperty(Re,"assert",{enumerable:!0,get:o(function(){return HI.assert},"get")});Object.defineProperty(Re,"assertNever",{enumerable:!0,get:o(function(){return HI.assertNever},"get")});Object.defineProperty(Re,"assertInt32",{enumerable:!0,get:o(function(){return HI.assertInt32},"get")});Object.defineProperty(Re,"assertUInt32",{enumerable:!0,get:o(function(){return HI.assertUInt32},"get")});Object.defineProperty(Re,"assertFloat32",{enumerable:!0,get:o(function(){return HI.assertFloat32},"get")})});var Nz=A(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.readServiceOption=Cl.readMethodOption=Cl.readMethodOptions=Cl.normalizeMethodInfo=void 0;var tdt=nn();function rdt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:tdt.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(rdt,"normalizeMethodInfo");Cl.normalizeMethodInfo=rdt;function ndt(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(ndt,"readMethodOptions");Cl.readMethodOptions=ndt;function idt(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(idt,"readMethodOption");Cl.readMethodOption=idt;function sdt(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(sdt,"readServiceOption");Cl.readServiceOption=sdt});var NEe=A(m2=>{"use strict";Object.defineProperty(m2,"__esModule",{value:!0});m2.ServiceType=void 0;var odt=Nz(),_z=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>odt.normalizeMethodInfo(i,this)),this.options=n??{}}};m2.ServiceType=_z});var Rz=A(g2=>{"use strict";Object.defineProperty(g2,"__esModule",{value:!0});g2.RpcError=void 0;var Tz=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}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[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` -`)}};g2.RpcError=Tz});var Dz=A(E2=>{"use strict";Object.defineProperty(E2,"__esModule",{value:!0});E2.mergeRpcOptions=void 0;var _Ee=nn();function adt(t,e){if(!e)return t;let r={};y2(t,r),y2(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=_Ee.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=_Ee.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},y2(t.meta,r.meta),y2(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(adt,"mergeRpcOptions");E2.mergeRpcOptions=adt;function y2(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(y2,"copy")});var kz=A(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.Deferred=Lp.DeferredState=void 0;var bl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(bl=Lp.DeferredState||(Lp.DeferredState={}));var Qz=class{static{o(this,"Deferred")}constructor(e=!0){this._state=bl.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==bl.PENDING)throw new Error(`cannot resolve ${bl[this.state].toLowerCase()}`);this._resolve(e),this._state=bl.RESOLVED}reject(e){if(this.state!==bl.PENDING)throw new Error(`cannot reject ${bl[this.state].toLowerCase()}`);this._reject(e),this._state=bl.REJECTED}resolvePending(e){this._state===bl.PENDING&&this.resolve(e)}rejectPending(e){this._state===bl.PENDING&&this.reject(e)}};Lp.Deferred=Qz});var Oz=A(C2=>{"use strict";Object.defineProperty(C2,"__esModule",{value:!0});C2.RpcOutputStreamController=void 0;var TEe=kz(),Fp=nn(),Pz=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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Fp.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Fp.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){Fp.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(){Fp.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;Fp.assert(e,"bad state"),Fp.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 TEe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Fp.assert(n.state==TEe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};C2.RpcOutputStreamController=Pz});var Fz=A(cy=>{"use strict";var cdt=cy&&cy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(cy,"__esModule",{value:!0});cy.UnaryCall=void 0;var Lz=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return cdt(this,void 0,void 0,function*(){let[e,r,n,i]=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:n,trailers:i}})}};cy.UnaryCall=Lz});var Uz=A(ly=>{"use strict";var ldt=ly&&ly.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(ly,"__esModule",{value:!0});ly.ServerStreamingCall=void 0;var Mz=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return ldt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};ly.ServerStreamingCall=Mz});var Gz=A(uy=>{"use strict";var udt=uy&&uy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(uy,"__esModule",{value:!0});uy.ClientStreamingCall=void 0;var qz=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return udt(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};uy.ClientStreamingCall=qz});var Vz=A(dy=>{"use strict";var ddt=dy&&dy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(dy,"__esModule",{value:!0});dy.DuplexStreamingCall=void 0;var Hz=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return ddt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};dy.DuplexStreamingCall=Hz});var DEe=A(py=>{"use strict";var fdt=py&&py.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(py,"__esModule",{value:!0});py.TestTransport=void 0;var sa=Rz(),b2=nn(),REe=Oz(),hdt=Dz(),pdt=Fz(),Adt=Uz(),mdt=Gz(),gdt=Vz(),hy=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 fy?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof fy?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 sa.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof sa.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(b2.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),b2.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return fdt(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)b2.assert(e.O.is(s)),i.push(s);else this.data.response instanceof sa.RpcError||(b2.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Jn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof sa.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Jn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof sa.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof sa.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 sa.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 sa.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return hdt.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jn(this.headerDelay,n.abort)),c=a.catch(d=>{}).then(Jn(this.responseDelay,n.abort)).then(d=>this.promiseSingleResponse(e)),l=c.catch(d=>{}).then(Jn(this.afterResponseDelay,n.abort)).then(d=>this.promiseStatus()),u=c.catch(d=>{}).then(Jn(this.afterResponseDelay,n.abort)).then(d=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new pdt.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jn(this.headerDelay,n.abort)),c=new REe.RpcOutputStreamController,l=a.then(Jn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Jn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),d=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,d),this.lastInput={single:r},new Adt.ServerStreamingCall(e,s,r,a,c,u,d)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(Jn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Jn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Jn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new fy(this.data,r.abort),new mdt.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jn(this.headerDelay,r.abort)),a=new REe.RpcOutputStreamController,c=s.then(Jn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Jn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new fy(this.data,r.abort),new gdt.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};py.TestTransport=hy;hy.defaultHeaders={responseHeader:"test"};hy.defaultStatus={code:"OK",detail:"all good"};hy.defaultTrailers={responseTrailer:"test"};function Jn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new sa.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new sa.RpcError("user cancel","CANCELLED"))})}})}o(Jn,"delay");var fy=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 sa.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(Jn(r,this.abort))}complete(){if(this.data.inputComplete instanceof sa.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(Jn(e,this.abort))}}});var QEe=A(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.stackDuplexStreamingInterceptors=oa.stackClientStreamingInterceptors=oa.stackServerStreamingInterceptors=oa.stackUnaryInterceptors=oa.stackIntercept=void 0;var ydt=nn();function VI(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((d,f,h)=>e.unary(d,f,h),"tail");for(let d of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(f=>f.interceptUnary).reverse()){let f=u;u=o((h,p,g)=>d.interceptUnary(f,h,p,g),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((d,f,h)=>e.serverStreaming(d,f,h),"tail");for(let d of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(f=>f.interceptServerStreaming).reverse()){let f=u;u=o((h,p,g)=>d.interceptServerStreaming(f,h,p,g),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((d,f)=>e.clientStreaming(d,f),"tail");for(let d of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(f=>f.interceptClientStreaming).reverse()){let f=u;u=o((h,p)=>d.interceptClientStreaming(f,h,p),"tail")}return u(r,n)}if(t=="duplex"){let u=o((d,f)=>e.duplex(d,f),"tail");for(let d of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(f=>f.interceptDuplex).reverse()){let f=u;u=o((h,p)=>d.interceptDuplex(f,h,p),"tail")}return u(r,n)}ydt.assertNever(t)}o(VI,"stackIntercept");oa.stackIntercept=VI;function Edt(t,e,r,n){return VI("unary",t,e,n,r)}o(Edt,"stackUnaryInterceptors");oa.stackUnaryInterceptors=Edt;function Cdt(t,e,r,n){return VI("serverStreaming",t,e,n,r)}o(Cdt,"stackServerStreamingInterceptors");oa.stackServerStreamingInterceptors=Cdt;function bdt(t,e,r){return VI("clientStreaming",t,e,r)}o(bdt,"stackClientStreamingInterceptors");oa.stackClientStreamingInterceptors=bdt;function Idt(t,e,r){return VI("duplex",t,e,r)}o(Idt,"stackDuplexStreamingInterceptors");oa.stackDuplexStreamingInterceptors=Idt});var kEe=A(I2=>{"use strict";Object.defineProperty(I2,"__esModule",{value:!0});I2.ServerCallContextController=void 0;var zz=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};I2.ServerCallContextController=zz});var OEe=A(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var wdt=NEe();Object.defineProperty(Gr,"ServiceType",{enumerable:!0,get:o(function(){return wdt.ServiceType},"get")});var $z=Nz();Object.defineProperty(Gr,"readMethodOptions",{enumerable:!0,get:o(function(){return $z.readMethodOptions},"get")});Object.defineProperty(Gr,"readMethodOption",{enumerable:!0,get:o(function(){return $z.readMethodOption},"get")});Object.defineProperty(Gr,"readServiceOption",{enumerable:!0,get:o(function(){return $z.readServiceOption},"get")});var Sdt=Rz();Object.defineProperty(Gr,"RpcError",{enumerable:!0,get:o(function(){return Sdt.RpcError},"get")});var Bdt=Dz();Object.defineProperty(Gr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return Bdt.mergeRpcOptions},"get")});var xdt=Oz();Object.defineProperty(Gr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return xdt.RpcOutputStreamController},"get")});var vdt=DEe();Object.defineProperty(Gr,"TestTransport",{enumerable:!0,get:o(function(){return vdt.TestTransport},"get")});var PEe=kz();Object.defineProperty(Gr,"Deferred",{enumerable:!0,get:o(function(){return PEe.Deferred},"get")});Object.defineProperty(Gr,"DeferredState",{enumerable:!0,get:o(function(){return PEe.DeferredState},"get")});var Ndt=Vz();Object.defineProperty(Gr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return Ndt.DuplexStreamingCall},"get")});var _dt=Gz();Object.defineProperty(Gr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return _dt.ClientStreamingCall},"get")});var Tdt=Uz();Object.defineProperty(Gr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return Tdt.ServerStreamingCall},"get")});var Rdt=Fz();Object.defineProperty(Gr,"UnaryCall",{enumerable:!0,get:o(function(){return Rdt.UnaryCall},"get")});var zI=QEe();Object.defineProperty(Gr,"stackIntercept",{enumerable:!0,get:o(function(){return zI.stackIntercept},"get")});Object.defineProperty(Gr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return zI.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return zI.stackClientStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return zI.stackServerStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return zI.stackUnaryInterceptors},"get")});var Ddt=kEe();Object.defineProperty(Gr,"ServerCallContextController",{enumerable:!0,get:o(function(){return Ddt.ServerCallContextController},"get")})});var my=A((FEr,ZEe)=>{"use strict";var Vdt="2.0.0",zdt=Number.MAX_SAFE_INTEGER||9007199254740991,$dt=16,jdt=250,Wdt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ZEe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:$dt,MAX_SAFE_BUILD_LENGTH:jdt,MAX_SAFE_INTEGER:zdt,RELEASE_TYPES:Wdt,SEMVER_SPEC_VERSION:Vdt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var JI=A((MEr,eCe)=>{"use strict";var Jdt=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};eCe.exports=Jdt});var gy=A((wl,tCe)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:w$,MAX_SAFE_BUILD_LENGTH:Ydt,MAX_LENGTH:Kdt}=my(),Xdt=JI();wl=tCe.exports={};var Zdt=wl.re=[],eft=wl.safeRe=[],fe=wl.src=[],tft=wl.safeSrc=[],he=wl.t={},rft=0,S$="[a-zA-Z0-9-]",nft=[["\\s",1],["\\d",Kdt],[S$,Ydt]],ift=o(t=>{for(let[e,r]of nft)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ke=o((t,e,r)=>{let n=ift(e),i=rft++;Xdt(t,i,e),he[t]=i,fe[i]=e,tft[i]=n,Zdt[i]=new RegExp(e,r?"g":void 0),eft[i]=new RegExp(n,r?"g":void 0)},"createToken");Ke("NUMERICIDENTIFIER","0|[1-9]\\d*");Ke("NUMERICIDENTIFIERLOOSE","\\d+");Ke("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${S$}*`);Ke("MAINVERSION",`(${fe[he.NUMERICIDENTIFIER]})\\.(${fe[he.NUMERICIDENTIFIER]})\\.(${fe[he.NUMERICIDENTIFIER]})`);Ke("MAINVERSIONLOOSE",`(${fe[he.NUMERICIDENTIFIERLOOSE]})\\.(${fe[he.NUMERICIDENTIFIERLOOSE]})\\.(${fe[he.NUMERICIDENTIFIERLOOSE]})`);Ke("PRERELEASEIDENTIFIER",`(?:${fe[he.NONNUMERICIDENTIFIER]}|${fe[he.NUMERICIDENTIFIER]})`);Ke("PRERELEASEIDENTIFIERLOOSE",`(?:${fe[he.NONNUMERICIDENTIFIER]}|${fe[he.NUMERICIDENTIFIERLOOSE]})`);Ke("PRERELEASE",`(?:-(${fe[he.PRERELEASEIDENTIFIER]}(?:\\.${fe[he.PRERELEASEIDENTIFIER]})*))`);Ke("PRERELEASELOOSE",`(?:-?(${fe[he.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${fe[he.PRERELEASEIDENTIFIERLOOSE]})*))`);Ke("BUILDIDENTIFIER",`${S$}+`);Ke("BUILD",`(?:\\+(${fe[he.BUILDIDENTIFIER]}(?:\\.${fe[he.BUILDIDENTIFIER]})*))`);Ke("FULLPLAIN",`v?${fe[he.MAINVERSION]}${fe[he.PRERELEASE]}?${fe[he.BUILD]}?`);Ke("FULL",`^${fe[he.FULLPLAIN]}$`);Ke("LOOSEPLAIN",`[v=\\s]*${fe[he.MAINVERSIONLOOSE]}${fe[he.PRERELEASELOOSE]}?${fe[he.BUILD]}?`);Ke("LOOSE",`^${fe[he.LOOSEPLAIN]}$`);Ke("GTLT","((?:<|>)?=?)");Ke("XRANGEIDENTIFIERLOOSE",`${fe[he.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Ke("XRANGEIDENTIFIER",`${fe[he.NUMERICIDENTIFIER]}|x|X|\\*`);Ke("XRANGEPLAIN",`[v=\\s]*(${fe[he.XRANGEIDENTIFIER]})(?:\\.(${fe[he.XRANGEIDENTIFIER]})(?:\\.(${fe[he.XRANGEIDENTIFIER]})(?:${fe[he.PRERELEASE]})?${fe[he.BUILD]}?)?)?`);Ke("XRANGEPLAINLOOSE",`[v=\\s]*(${fe[he.XRANGEIDENTIFIERLOOSE]})(?:\\.(${fe[he.XRANGEIDENTIFIERLOOSE]})(?:\\.(${fe[he.XRANGEIDENTIFIERLOOSE]})(?:${fe[he.PRERELEASELOOSE]})?${fe[he.BUILD]}?)?)?`);Ke("XRANGE",`^${fe[he.GTLT]}\\s*${fe[he.XRANGEPLAIN]}$`);Ke("XRANGELOOSE",`^${fe[he.GTLT]}\\s*${fe[he.XRANGEPLAINLOOSE]}$`);Ke("COERCEPLAIN",`(^|[^\\d])(\\d{1,${w$}})(?:\\.(\\d{1,${w$}}))?(?:\\.(\\d{1,${w$}}))?`);Ke("COERCE",`${fe[he.COERCEPLAIN]}(?:$|[^\\d])`);Ke("COERCEFULL",fe[he.COERCEPLAIN]+`(?:${fe[he.PRERELEASE]})?(?:${fe[he.BUILD]})?(?:$|[^\\d])`);Ke("COERCERTL",fe[he.COERCE],!0);Ke("COERCERTLFULL",fe[he.COERCEFULL],!0);Ke("LONETILDE","(?:~>?)");Ke("TILDETRIM",`(\\s*)${fe[he.LONETILDE]}\\s+`,!0);wl.tildeTrimReplace="$1~";Ke("TILDE",`^${fe[he.LONETILDE]}${fe[he.XRANGEPLAIN]}$`);Ke("TILDELOOSE",`^${fe[he.LONETILDE]}${fe[he.XRANGEPLAINLOOSE]}$`);Ke("LONECARET","(?:\\^)");Ke("CARETTRIM",`(\\s*)${fe[he.LONECARET]}\\s+`,!0);wl.caretTrimReplace="$1^";Ke("CARET",`^${fe[he.LONECARET]}${fe[he.XRANGEPLAIN]}$`);Ke("CARETLOOSE",`^${fe[he.LONECARET]}${fe[he.XRANGEPLAINLOOSE]}$`);Ke("COMPARATORLOOSE",`^${fe[he.GTLT]}\\s*(${fe[he.LOOSEPLAIN]})$|^$`);Ke("COMPARATOR",`^${fe[he.GTLT]}\\s*(${fe[he.FULLPLAIN]})$|^$`);Ke("COMPARATORTRIM",`(\\s*)${fe[he.GTLT]}\\s*(${fe[he.LOOSEPLAIN]}|${fe[he.XRANGEPLAIN]})`,!0);wl.comparatorTrimReplace="$1$2$3";Ke("HYPHENRANGE",`^\\s*(${fe[he.XRANGEPLAIN]})\\s+-\\s+(${fe[he.XRANGEPLAIN]})\\s*$`);Ke("HYPHENRANGELOOSE",`^\\s*(${fe[he.XRANGEPLAINLOOSE]})\\s+-\\s+(${fe[he.XRANGEPLAINLOOSE]})\\s*$`);Ke("STAR","(<|>)?=?\\s*\\*");Ke("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Ke("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var T2=A((qEr,rCe)=>{"use strict";var sft=Object.freeze({loose:!0}),oft=Object.freeze({}),aft=o(t=>t?typeof t!="object"?sft:t:oft,"parseOptions");rCe.exports=aft});var B$=A((HEr,sCe)=>{"use strict";var nCe=/^[0-9]+$/,iCe=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tiCe(e,t),"rcompareIdentifiers");sCe.exports={compareIdentifiers:iCe,rcompareIdentifiers:cft}});var hi=A((zEr,aCe)=>{"use strict";var R2=JI(),{MAX_LENGTH:oCe,MAX_SAFE_INTEGER:D2}=my(),{safeRe:Q2,t:k2}=gy(),lft=T2(),{compareIdentifiers:x$}=B$(),uft=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let n=0;noCe)throw new TypeError(`version is longer than ${oCe} characters`);R2("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Q2[k2.LOOSE]:Q2[k2.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>D2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>D2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>D2||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&se.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 n=this.prerelease[r],i=e.prerelease[r];if(R2("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return x$(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(R2("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return x$(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?Q2[k2.PRERELEASELOOSE]:Q2[k2.PRERELEASE]);if(!i||i[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];if(n===!1&&(s=[r]),uft(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=s)}else this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};aCe.exports=v$});var vf=A((jEr,lCe)=>{"use strict";var cCe=hi(),dft=o((t,e,r=!1)=>{if(t instanceof cCe)return t;try{return new cCe(t,e)}catch(n){if(!r)return null;throw n}},"parse");lCe.exports=dft});var dCe=A((JEr,uCe)=>{"use strict";var fft=vf(),hft=o((t,e)=>{let r=fft(t,e);return r?r.version:null},"valid");uCe.exports=hft});var hCe=A((KEr,fCe)=>{"use strict";var pft=vf(),Aft=o((t,e)=>{let r=pft(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");fCe.exports=Aft});var mCe=A((ZEr,ACe)=>{"use strict";var pCe=hi(),mft=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new pCe(t instanceof pCe?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");ACe.exports=mft});var ECe=A((tCr,yCe)=>{"use strict";var gCe=vf(),gft=o((t,e)=>{let r=gCe(t,null,!0),n=gCe(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n: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 d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"},"diff");yCe.exports=gft});var bCe=A((nCr,CCe)=>{"use strict";var yft=hi(),Eft=o((t,e)=>new yft(t,e).major,"major");CCe.exports=Eft});var wCe=A((sCr,ICe)=>{"use strict";var Cft=hi(),bft=o((t,e)=>new Cft(t,e).minor,"minor");ICe.exports=bft});var BCe=A((aCr,SCe)=>{"use strict";var Ift=hi(),wft=o((t,e)=>new Ift(t,e).patch,"patch");SCe.exports=wft});var vCe=A((lCr,xCe)=>{"use strict";var Sft=vf(),Bft=o((t,e)=>{let r=Sft(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");xCe.exports=Bft});var aa=A((dCr,_Ce)=>{"use strict";var NCe=hi(),xft=o((t,e,r)=>new NCe(t,r).compare(new NCe(e,r)),"compare");_Ce.exports=xft});var RCe=A((hCr,TCe)=>{"use strict";var vft=aa(),Nft=o((t,e,r)=>vft(e,t,r),"rcompare");TCe.exports=Nft});var QCe=A((ACr,DCe)=>{"use strict";var _ft=aa(),Tft=o((t,e)=>_ft(t,e,!0),"compareLoose");DCe.exports=Tft});var P2=A((gCr,PCe)=>{"use strict";var kCe=hi(),Rft=o((t,e,r)=>{let n=new kCe(t,r),i=new kCe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");PCe.exports=Rft});var LCe=A((ECr,OCe)=>{"use strict";var Dft=P2(),Qft=o((t,e)=>t.sort((r,n)=>Dft(r,n,e)),"sort");OCe.exports=Qft});var MCe=A((bCr,FCe)=>{"use strict";var kft=P2(),Pft=o((t,e)=>t.sort((r,n)=>kft(n,r,e)),"rsort");FCe.exports=Pft});var YI=A((wCr,UCe)=>{"use strict";var Oft=aa(),Lft=o((t,e,r)=>Oft(t,e,r)>0,"gt");UCe.exports=Lft});var O2=A((BCr,qCe)=>{"use strict";var Fft=aa(),Mft=o((t,e,r)=>Fft(t,e,r)<0,"lt");qCe.exports=Mft});var N$=A((vCr,GCe)=>{"use strict";var Uft=aa(),qft=o((t,e,r)=>Uft(t,e,r)===0,"eq");GCe.exports=qft});var _$=A((_Cr,HCe)=>{"use strict";var Gft=aa(),Hft=o((t,e,r)=>Gft(t,e,r)!==0,"neq");HCe.exports=Hft});var L2=A((RCr,VCe)=>{"use strict";var Vft=aa(),zft=o((t,e,r)=>Vft(t,e,r)>=0,"gte");VCe.exports=zft});var F2=A((QCr,zCe)=>{"use strict";var $ft=aa(),jft=o((t,e,r)=>$ft(t,e,r)<=0,"lte");zCe.exports=jft});var T$=A((PCr,$Ce)=>{"use strict";var Wft=N$(),Jft=_$(),Yft=YI(),Kft=L2(),Xft=O2(),Zft=F2(),eht=o((t,e,r,n)=>{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 Wft(t,r,n);case"!=":return Jft(t,r,n);case">":return Yft(t,r,n);case">=":return Kft(t,r,n);case"<":return Xft(t,r,n);case"<=":return Zft(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");$Ce.exports=eht});var WCe=A((LCr,jCe)=>{"use strict";var tht=hi(),rht=vf(),{safeRe:M2,t:U2}=gy(),nht=o((t,e)=>{if(t instanceof tht)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?M2[U2.COERCEFULL]:M2[U2.COERCE]);else{let l=e.includePrerelease?M2[U2.COERCERTLFULL]:M2[U2.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 n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return rht(`${n}.${i}.${s}${a}${c}`,e)},"coerce");jCe.exports=nht});var YCe=A((MCr,JCe)=>{"use strict";var iht=vf(),sht=my(),oht=hi(),aht=o((t,e,r)=>{if(!sht.RELEASE_TYPES.includes(e))return null;let n=cht(t,r);return n&&lht(n,e)},"truncate"),cht=o((t,e)=>{let r=t instanceof oht?t.version:t;return iht(r,e)},"cloneInputVersion"),lht=o((t,e)=>{if(uht(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"),uht=o(t=>t.startsWith("pre"),"isPrerelease");JCe.exports=aht});var XCe=A((qCr,KCe)=>{"use strict";var R$=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 i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};KCe.exports=R$});var ca=A((HCr,rbe)=>{"use strict";var dht=/\s+/g,D$=class t{static{o(this,"Range")}constructor(e,r){if(r=hht(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Q$)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(dht," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!ebe(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&Iht(i[0])){this.set=[i];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(bht,"");let n=((this.options.includePrerelease&&Eht)|(this.options.loose&&Cht))+":"+e,i=ZCe.get(n);if(i)return i;let s=this.options.loose,a=s?es[pi.HYPHENRANGELOOSE]:es[pi.HYPHENRANGE];e=e.replace(a,Qht(this.options.includePrerelease)),or("hyphen replace",e),e=e.replace(es[pi.COMPARATORTRIM],mht),or("comparator trim",e),e=e.replace(es[pi.TILDETRIM],ght),or("tilde trim",e),e=e.replace(es[pi.CARETTRIM],yht),or("caret trim",e);let c=e.split(" ").map(f=>wht(f,this.options)).join(" ").split(/\s+/).map(f=>Dht(f,this.options));s&&(c=c.filter(f=>(or("loose invalid filter",f,this.options),!!f.match(es[pi.COMPARATORLOOSE])))),or("range list",c);let l=new Map,u=c.map(f=>new Q$(f,this.options));for(let f of u){if(ebe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return ZCe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>tbe(n,r)&&e.set.some(i=>tbe(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new pht(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Iht=o(t=>t.value==="","isAny"),tbe=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),wht=o((t,e)=>(t=t.replace(es[pi.BUILD],""),or("comp",t,e),t=vht(t,e),or("caret",t),t=Bht(t,e),or("tildes",t),t=_ht(t,e),or("xrange",t),t=Rht(t,e),or("stars",t),t),"parseComparator"),Qn=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Sht=o((t,e,r)=>Qn(t)&&!Qn(e)||Qn(e)&&r&&!Qn(r),"invalidXRangeOrder"),Bht=o((t,e)=>t.trim().split(/\s+/).map(r=>xht(r,e)).join(" "),"replaceTildes"),xht=o((t,e)=>{let r=e.loose?es[pi.TILDELOOSE]:es[pi.TILDE],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{or("tilde",t,i,s,a,c,l);let u;return Qn(s)?u="":Qn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Qn(c)?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:l?(or("replaceTilde pr",l),u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`):u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`,or("tilde return",u),u})},"replaceTilde"),vht=o((t,e)=>t.trim().split(/\s+/).map(r=>Nht(r,e)).join(" "),"replaceCarets"),Nht=o((t,e)=>{or("caret",t,e);let r=e.loose?es[pi.CARETLOOSE]:es[pi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{or("caret",t,i,s,a,c,l);let u;return Qn(s)?u="":Qn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Qn(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(or("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(or("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),or("caret return",u),u})},"replaceCaret"),_ht=o((t,e)=>(or("replaceXRanges",t,e),t.split(/\s+/).map(r=>Tht(r,e)).join(" ")),"replaceXRanges"),Tht=o((t,e)=>{t=t.trim();let r=e.loose?es[pi.XRANGELOOSE]:es[pi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{if(or("xRange",t,n,i,s,a,c,l),Sht(s,a,c))return t;let u=Qn(s),d=u||Qn(a),f=d||Qn(c),h=f;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(d&&(a=0),c=0,i===">"?(i=">=",d?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",d?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):d?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:f&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),or("xRange return",n),n})},"replaceXRange"),Rht=o((t,e)=>(or("replaceStars",t,e),t.trim().replace(es[pi.STAR],"")),"replaceStars"),Dht=o((t,e)=>(or("replaceGTE0",t,e),t.trim().replace(es[e.includePrerelease?pi.GTE0PRE:pi.GTE0],"")),"replaceGTE0"),Qht=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(Qn(n)?r="":Qn(i)?r=`>=${n}.0.0${t?"-0":""}`:Qn(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Qn(u)?l="":Qn(d)?l=`<${+u+1}.0.0-0`:Qn(f)?l=`<${u}.${+d+1}.0-0`:h?l=`<=${u}.${d}.${f}-${h}`:t?l=`<${u}.${d}.${+f+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),kht=o((t,e,r)=>{for(let n=0;n0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var KI=A((zCr,cbe)=>{"use strict";var XI=Symbol("SemVer ANY"),O$=class t{static{o(this,"Comparator")}static get ANY(){return XI}constructor(e,r){if(r=nbe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),P$("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===XI?this.value="":this.value=this.operator+this.semver.version,P$("comp",this)}parse(e){let r=this.options.loose?ibe[sbe.COMPARATORLOOSE]:ibe[sbe.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new obe(n[2],this.options.loose):this.semver=XI}toString(){return this.value}test(e){if(P$("Comparator.test",e,this.options.loose),this.semver===XI||e===XI)return!0;if(typeof e=="string")try{e=new obe(e,this.options)}catch{return!1}return k$(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 abe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new abe(this.value,r).test(e.semver):(r=nbe(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("=")||k$(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||k$(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};cbe.exports=O$;var nbe=T2(),{safeRe:ibe,t:sbe}=gy(),k$=T$(),P$=JI(),obe=hi(),abe=ca()});var ZI=A((jCr,lbe)=>{"use strict";var Pht=ca(),Oht=o((t,e,r)=>{try{e=new Pht(e,r)}catch{return!1}return e.test(t)},"satisfies");lbe.exports=Oht});var dbe=A((JCr,ube)=>{"use strict";var Lht=ca(),Fht=o((t,e)=>new Lht(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");ube.exports=Fht});var hbe=A((KCr,fbe)=>{"use strict";var Mht=hi(),Uht=ca(),qht=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new Uht(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Mht(n,r))}),n},"maxSatisfying");fbe.exports=qht});var Abe=A((ZCr,pbe)=>{"use strict";var Ght=hi(),Hht=ca(),Vht=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new Hht(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Ght(n,r))}),n},"minSatisfying");pbe.exports=Vht});var ybe=A((tbr,gbe)=>{"use strict";var L$=hi(),zht=ca(),mbe=YI(),$ht=o((t,e)=>{t=new zht(t,e);let r=new L$("0.0.0");if(t.test(r)||(r=new L$("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new L$(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||mbe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||mbe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");gbe.exports=$ht});var Cbe=A((nbr,Ebe)=>{"use strict";var jht=ca(),Wht=o((t,e)=>{try{return new jht(t,e).range||"*"}catch{return null}},"validRange");Ebe.exports=Wht});var q2=A((sbr,Sbe)=>{"use strict";var Jht=hi(),wbe=KI(),{ANY:Yht}=wbe,Kht=ca(),Xht=ZI(),bbe=YI(),Ibe=O2(),Zht=F2(),ept=L2(),tpt=o((t,e,r,n)=>{t=new Jht(t,n),e=new Kht(e,n);let i,s,a,c,l;switch(r){case">":i=bbe,s=Zht,a=Ibe,c=">",l=">=";break;case"<":i=Ibe,s=ept,a=bbe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Xht(t,e,n))return!1;for(let u=0;u{p.semver===Yht&&(p=new wbe(">=0.0.0")),f=f||p,h=h||p,i(p.semver,f.semver,n)?f=p:a(p.semver,h.semver,n)&&(h=p)}),f.operator===c||f.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");Sbe.exports=tpt});var xbe=A((abr,Bbe)=>{"use strict";var rpt=q2(),npt=o((t,e,r)=>rpt(t,e,">",r),"gtr");Bbe.exports=npt});var Nbe=A((lbr,vbe)=>{"use strict";var ipt=q2(),spt=o((t,e,r)=>ipt(t,e,"<",r),"ltr");vbe.exports=spt});var Rbe=A((dbr,Tbe)=>{"use strict";var _be=ca(),opt=o((t,e,r)=>(t=new _be(t,r),e=new _be(e,r),t.intersects(e,r)),"intersects");Tbe.exports=opt});var Qbe=A((hbr,Dbe)=>{"use strict";var apt=ZI(),cpt=aa();Dbe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>cpt(d,f,r));for(let d of a)apt(d,e,r)?(s=d,i||(i=d)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[d,f]of n)d===f?c.push(d):!f&&d===a[0]?c.push("*"):f?d===a[0]?c.push(`<=${f}`):c.push(`${d} - ${f}`):c.push(`>=${d}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var kbe=ca(),U$=KI(),{ANY:F$}=U$,M$=ZI(),q$=aa(),lpt=o((t,e,r={})=>{if(t===e)return!0;t=new kbe(t,r),e=new kbe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=dpt(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),upt=[new U$(">=0.0.0-0")],Pbe=[new U$(">=0.0.0")],dpt=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===F$){if(e.length===1&&e[0].semver===F$)return!0;r.includePrerelease?t=upt:t=Pbe}if(e.length===1&&e[0].semver===F$){if(r.includePrerelease)return!0;e=Pbe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Obe(i,p,r):p.operator==="<"||p.operator==="<="?s=Lbe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=q$(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!M$(p,String(i),r)||s&&!M$(p,String(s),r))return null;for(let g of e)if(!M$(p,String(g),r))return!1;return!0}let c,l,u,d,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let p of e){if(d=d||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=Obe(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(s){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=Lbe(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!p.test(s.semver))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&d&&!i&&a!==0||h||f)},"simpleSubset"),Obe=o((t,e,r)=>{if(!t)return e;let n=q$(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Lbe=o((t,e,r)=>{if(!t)return e;let n=q$(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Fbe.exports=lpt});var cc=A((mbr,Gbe)=>{"use strict";var G$=gy(),Ube=my(),fpt=hi(),qbe=B$(),hpt=vf(),ppt=dCe(),Apt=hCe(),mpt=mCe(),gpt=ECe(),ypt=bCe(),Ept=wCe(),Cpt=BCe(),bpt=vCe(),Ipt=aa(),wpt=RCe(),Spt=QCe(),Bpt=P2(),xpt=LCe(),vpt=MCe(),Npt=YI(),_pt=O2(),Tpt=N$(),Rpt=_$(),Dpt=L2(),Qpt=F2(),kpt=T$(),Ppt=WCe(),Opt=YCe(),Lpt=KI(),Fpt=ca(),Mpt=ZI(),Upt=dbe(),qpt=hbe(),Gpt=Abe(),Hpt=ybe(),Vpt=Cbe(),zpt=q2(),$pt=xbe(),jpt=Nbe(),Wpt=Rbe(),Jpt=Qbe(),Ypt=Mbe();Gbe.exports={parse:hpt,valid:ppt,clean:Apt,inc:mpt,diff:gpt,major:ypt,minor:Ept,patch:Cpt,prerelease:bpt,compare:Ipt,rcompare:wpt,compareLoose:Spt,compareBuild:Bpt,sort:xpt,rsort:vpt,gt:Npt,lt:_pt,eq:Tpt,neq:Rpt,gte:Dpt,lte:Qpt,cmp:kpt,coerce:Ppt,truncate:Opt,Comparator:Lpt,Range:Fpt,satisfies:Mpt,toComparators:Upt,maxSatisfying:qpt,minSatisfying:Gpt,minVersion:Hpt,validRange:Vpt,outside:zpt,gtr:$pt,ltr:jpt,intersects:Wpt,simplifyRange:Jpt,subset:Ypt,SemVer:fpt,re:G$.re,src:G$.src,tokens:G$.t,SEMVER_SPEC_VERSION:Ube.SEMVER_SPEC_VERSION,RELEASE_TYPES:Ube.RELEASE_TYPES,compareIdentifiers:qbe.compareIdentifiers,rcompareIdentifiers:qbe.rcompareIdentifiers}});var Vbe=A((Ebr,Hbe)=>{function la(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(la,"RetryOperation");Hbe.exports=la;la.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};la.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};la.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 n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};la.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)};la.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};la.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};la.prototype.start=la.prototype.try;la.prototype.errors=function(){return this._errors};la.prototype.attempts=function(){return this._attempts};la.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n=r&&(e=i,r=a)}return e}});var zbe=A(Hp=>{var Kpt=Vbe();Hp.operation=function(t){var e=Hp.timeouts(t);return new Kpt(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Hp.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 n=[],i=0;i{$be.exports=zbe()});var Jbe=A((Sbr,Wbe)=>{var Xpt=jbe();function Zpt(t,e){function r(n,i){var s=e||{},a;"randomize"in s||(s.randomize=!0),a=Xpt.operation(s);function c(d){i(d||new Error("Aborted"))}o(c,"bail");function l(d,f){if(d.bail){c(d);return}a.retry(d)?s.onRetry&&s.onRetry(d,f):i(a.mainError())}o(l,"onError");function u(d){var f;try{f=t(c,d)}catch(h){l(h,d);return}Promise.resolve(f).then(n).catch(o(function(p){l(p,d)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(Zpt,"retry");Wbe.exports=Zpt});var h0e=A((xbr,Ku)=>{var $t=require("fs"),V2=require("os"),kn=require("path"),Ybe=require("crypto"),Sl={fs:$t.constants,os:V2.constants},Kbe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",t0e=/XXXXXX/,eAt=3,r0e=(Sl.O_CREAT||Sl.fs.O_CREAT)|(Sl.O_EXCL||Sl.fs.O_EXCL)|(Sl.O_RDWR||Sl.fs.O_RDWR),tAt=V2.platform()==="win32",rAt=Sl.EBADF||Sl.os.errno.EBADF,nAt=Sl.ENOENT||Sl.os.errno.ENOENT,n0e=448,i0e=384,iAt="exit",yy=[],s0e=$t.rmdirSync.bind($t),o0e=!1;function sAt(t,e){return $t.rm(t,{recursive:!0},e)}o(sAt,"rimraf");function a0e(t){return $t.rmSync(t,{recursive:!0})}o(a0e,"FN_RIMRAF_SYNC");function $$(t,e){let r=Ey(t,e),n=r[0],i=r[1];AAt(n,function(s,a){if(s)return i(s);let c=a.tries;o((function l(){try{let u=l0e(a);$t.stat(u,function(d){if(!d)return c-- >0?l():i(new Error("Could not get a unique tmp filename, max tries reached "+u));i(null,u)})}catch(u){i(u)}}),"_getUniqueName")()})}o($$,"tmpName");function j$(t){let e=Ey(t),r=e[0],n=mAt(r),i=n.tries;do{let s=l0e(n);try{$t.statSync(s)}catch{return s}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(j$,"tmpNameSync");function oAt(t,e){let r=Ey(t,e),n=r[0],i=r[1];$$(n,o(function(a,c){if(a)return i(a);$t.open(c,r0e,n.mode||i0e,o(function(u,d){if(u)return i(u);if(n.discardDescriptor)return $t.close(d,o(function(h){return i(h,c,void 0,V$(c,-1,n,!1))},"_discardCallback"));{let f=n.discardDescriptor||n.detachDescriptor;i(null,c,d,V$(c,f?-1:d,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(oAt,"file");function aAt(t){let e=Ey(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,i=j$(r),s=$t.openSync(i,r0e,r.mode||i0e);return r.discardDescriptor&&($t.closeSync(s),s=void 0),{name:i,fd:s,removeCallback:V$(i,n?-1:s,r,!0)}}o(aAt,"fileSync");function cAt(t,e){let r=Ey(t,e),n=r[0],i=r[1];$$(n,o(function(a,c){if(a)return i(a);$t.mkdir(c,n.mode||n0e,o(function(u){if(u)return i(u);i(null,c,c0e(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(cAt,"dir");function lAt(t){let e=Ey(t),r=e[0],n=j$(r);return $t.mkdirSync(n,r.mode||n0e),{name:n,removeCallback:c0e(n,r,!0)}}o(lAt,"dirSync");function uAt(t,e){let r=o(function(n){if(n&&!z$(n))return e(n);e()},"_handler");0<=t[0]?$t.close(t[0],function(){$t.unlink(t[1],r)}):$t.unlink(t[1],r)}o(uAt,"_removeFileAsync");function dAt(t){let e=null;try{0<=t[0]&&$t.closeSync(t[0])}catch(r){if(!gAt(r)&&!z$(r))throw r}finally{try{$t.unlinkSync(t[1])}catch(r){z$(r)||(e=r)}}if(e!==null)throw e}o(dAt,"_removeFileSync");function V$(t,e,r,n){let i=H2(dAt,[e,t],n),s=H2(uAt,[e,t],n,i);return r.keep||yy.unshift(i),n?i:s}o(V$,"_prepareTmpFileRemoveCallback");function c0e(t,e,r){let n=e.unsafeCleanup?sAt:$t.rmdir.bind($t),i=e.unsafeCleanup?a0e:s0e,s=H2(i,t,r),a=H2(n,t,r,s);return e.keep||yy.unshift(s),r?s:a}o(c0e,"_prepareTmpDirRemoveCallback");function H2(t,e,r,n){let i=!1;return o(function s(a){if(!i){let c=n||s,l=yy.indexOf(c);return l>=0&&yy.splice(l,1),i=!0,r||t===s0e||t===a0e?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(H2,"_prepareRemoveCallback");function fAt(){if(o0e)for(;yy.length;)try{yy[0]()}catch{}}o(fAt,"_garbageCollector");function Xbe(t){let e=[],r=null;try{r=Ybe.randomBytes(t)}catch{r=Ybe.pseudoRandomBytes(t)}for(let n=0;n"u"}o(Qs,"_isUndefined");function Ey(t,e){if(typeof t=="function")return[{},t];if(Qs(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(Ey,"_parseArguments");function hAt(t,e,r){let n=kn.isAbsolute(t)?t:kn.join(e,t);$t.stat(n,function(i){i?$t.realpath(kn.dirname(n),function(s,a){if(s)return r(s);r(null,kn.join(a,kn.basename(n)))}):$t.realpath(n,r)})}o(hAt,"_resolvePath");function pAt(t,e){let r=kn.isAbsolute(t)?t:kn.join(e,t);try{return $t.statSync(r),$t.realpathSync(r)}catch{let i=$t.realpathSync(kn.dirname(r));return kn.join(i,kn.basename(r))}}o(pAt,"_resolvePathSync");function l0e(t){let e=t.tmpdir;if(!Qs(t.name))return kn.join(e,t.dir,t.name);if(!Qs(t.template))return kn.join(e,t.dir,t.template).replace(t0e,Xbe(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",Xbe(12),t.postfix?"-"+t.postfix:""].join("");return kn.join(e,t.dir,r)}o(l0e,"_generateTmpName");function H$(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(H$,"_assertPath");function u0e(t){if(!Qs(t.name)){let e=t.name;if(kn.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=kn.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Qs(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(t0e))throw new Error(`Invalid template, found "${t.template}".`)}if(!Qs(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Qs(t.name)?t.tries||eAt:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Qs(t.prefix)?"":H$("prefix",t.prefix),t.postfix=Qs(t.postfix)?"":H$("postfix",t.postfix),t.template=Qs(t.template)?void 0:H$("template",t.template)}o(u0e,"_assertOptionsBase");function Zbe(t,e,r,n){if(Qs(e))return n(null);hAt(e,r,function(i,s){if(i)return n(i);let a=kn.relative(r,s);if(a.startsWith("..")||kn.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(Zbe,"_getRelativePath");function e0e(t,e,r){if(Qs(e))return;let n=pAt(e,r),i=kn.relative(r,n);if(i.startsWith("..")||kn.isAbsolute(i))throw new Error(`${t} option must be relative to "${r}", found "${i}".`);return i}o(e0e,"_getRelativePathSync");function AAt(t,e){EAt(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{u0e(t,n)}catch(i){return e(i)}Zbe("dir",t.dir,n,function(i,s){if(i)return e(i);t.dir=Qs(s)?"":s,Zbe("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(AAt,"_assertAndSanitizeOptions");function mAt(t){let e=t.tmpdir=f0e(t);u0e(t,e);let r=e0e("dir",t.dir,e);return t.dir=Qs(r)?"":r,t.template=e0e("template",t.template,e),t}o(mAt,"_assertAndSanitizeOptionsSync");function gAt(t){return d0e(t,-rAt,"EBADF")}o(gAt,"_isEBADF");function z$(t){return d0e(t,-nAt,"ENOENT")}o(z$,"_isENOENT");function d0e(t,e,r){return tAt?t.code===r:t.code===r&&t.errno===e}o(d0e,"_isExpectedError");function yAt(){o0e=!0}o(yAt,"setGracefulCleanup");function EAt(t,e){return $t.realpath(t&&t.tmpdir||V2.tmpdir(),e)}o(EAt,"_getTmpDir");function f0e(t){return $t.realpathSync(t&&t.tmpdir||V2.tmpdir())}o(f0e,"_getTmpDirSync");process.addListener(iAt,fAt);Object.defineProperty(Ku.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return f0e()},"get")});Ku.exports.dir=cAt;Ku.exports.dirSync=lAt;Ku.exports.file=oAt;Ku.exports.fileSync=aAt;Ku.exports.tmpName=$$;Ku.exports.tmpNameSync=j$;Ku.exports.setGracefulCleanup=yAt});var ts=A(Eo=>{"use strict";Eo.__esModule=!0;Eo.extend=g0e;Eo.indexOf=SAt;Eo.escapeExpression=BAt;Eo.isEmpty=xAt;Eo.createFrame=vAt;Eo.blockParams=NAt;Eo.appendContextPath=_At;var CAt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},bAt=/[&<>"'`=]/g,IAt=/[&<>"'`=]/;function wAt(t){return CAt[t]}o(wAt,"escapeChar");function g0e(t){for(var e=1;e{"use strict";z2.__esModule=!0;var K$=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function X$(t,e){var r=e&&e.loc,n=void 0,i=void 0,s=void 0,a=void 0;r&&(n=r.start.line,i=r.end.line,s=r.start.column,a=r.end.column,t+=" - "+n+":"+s);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";$2.__esModule=!0;var Z$=ts();$2.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(Z$.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var s=Z$.createFrame(r.data);s.contextPath=Z$.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(e,r)})};C0e.exports=$2.default});var w0e=A((j2,I0e)=>{"use strict";j2.__esModule=!0;function TAt(t){return t&&t.__esModule?t:{default:t}}o(TAt,"_interopRequireDefault");var ew=ts(),RAt=Co(),DAt=TAt(RAt);j2.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new DAt.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=ew.appendContextPath(r.data.contextPath,r.ids[0])+"."),ew.isFunction(e)&&(e=e.call(this)),r.data&&(c=ew.createFrame(r.data));function u(g,m,E){c&&(c.key=g,c.index=m,c.first=m===0,c.last=!!E,l&&(c.contextPath=l+g)),a=a+n(e[g],{data:c,blockParams:ew.blockParams([e[g],g],[l+g,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(ew.isArray(e))for(var d=e.length;s{"use strict";W2.__esModule=!0;function QAt(t){return t&&t.__esModule?t:{default:t}}o(QAt,"_interopRequireDefault");var kAt=Co(),PAt=QAt(kAt);W2.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new PAt.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};S0e.exports=W2.default});var _0e=A((J2,N0e)=>{"use strict";J2.__esModule=!0;function OAt(t){return t&&t.__esModule?t:{default:t}}o(OAt,"_interopRequireDefault");var x0e=ts(),LAt=Co(),v0e=OAt(LAt);J2.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new v0e.default("#if requires exactly one argument");return x0e.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||x0e.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new v0e.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};N0e.exports=J2.default});var R0e=A((Y2,T0e)=>{"use strict";Y2.__esModule=!0;Y2.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";K2.__esModule=!0;K2.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};D0e.exports=K2.default});var P0e=A((X2,k0e)=>{"use strict";X2.__esModule=!0;function FAt(t){return t&&t.__esModule?t:{default:t}}o(FAt,"_interopRequireDefault");var tw=ts(),MAt=Co(),UAt=FAt(MAt);X2.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new UAt.default("#with requires exactly one argument");tw.isFunction(e)&&(e=e.call(this));var n=r.fn;if(tw.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=tw.createFrame(r.data),i.contextPath=tw.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:tw.blockParams([e],[i&&i.contextPath])})})};k0e.exports=X2.default});var ej=A(Z2=>{"use strict";Z2.__esModule=!0;Z2.registerDefaultHelpers=tmt;Z2.moveHelperToHooks=rmt;function Vp(t){return t&&t.__esModule?t:{default:t}}o(Vp,"_interopRequireDefault");var qAt=b0e(),GAt=Vp(qAt),HAt=w0e(),VAt=Vp(HAt),zAt=B0e(),$At=Vp(zAt),jAt=_0e(),WAt=Vp(jAt),JAt=R0e(),YAt=Vp(JAt),KAt=Q0e(),XAt=Vp(KAt),ZAt=P0e(),emt=Vp(ZAt);function tmt(t){GAt.default(t),VAt.default(t),$At.default(t),WAt.default(t),YAt.default(t),XAt.default(t),emt.default(t)}o(tmt,"registerDefaultHelpers");function rmt(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(rmt,"moveHelperToHooks")});var L0e=A((eD,O0e)=>{"use strict";eD.__esModule=!0;var nmt=ts();eD.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var s=e;return r.partials||(r.partials={},s=o(function(a,c){var l=n.partials;n.partials=nmt.extend({},l,r.partials);var u=e(a,c);return n.partials=l,u},"ret")),r.partials[i.args[0]]=i.fn,s})};O0e.exports=eD.default});var F0e=A(tj=>{"use strict";tj.__esModule=!0;tj.registerDefaultDecorators=amt;function imt(t){return t&&t.__esModule?t:{default:t}}o(imt,"_interopRequireDefault");var smt=L0e(),omt=imt(smt);function amt(t){omt.default(t)}o(amt,"registerDefaultDecorators")});var rj=A((tD,M0e)=>{"use strict";tD.__esModule=!0;var cmt=ts(),Cy={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=cmt.indexOf(Cy.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=Cy.lookupLevel(e),typeof console<"u"&&Cy.lookupLevel(Cy.level)<=e){var r=Cy.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s{"use strict";rw.__esModule=!0;rw.createProtoAccessControl=fmt;rw.resultIsAllowed=hmt;rw.resetLoggedProperties=Amt;function lmt(t){return t&&t.__esModule?t:{default:t}}o(lmt,"_interopRequireDefault");var U0e=ts(),umt=rj(),dmt=lmt(umt),rD=Object.create(null);function fmt(t){var e=Object.create(null);e.__proto__=!1,U0e.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,U0e.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(fmt,"createProtoAccessControl");function hmt(t,e,r){return q0e(typeof t=="function"?e.methods:e.properties,r)}o(hmt,"resultIsAllowed");function q0e(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(pmt(e),!1)}o(q0e,"checkWhiteList");function pmt(t){rD[t]!==!0&&(rD[t]=!0,dmt.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent. + Operation status: ${f} + Polling status: ${JEe.includes(f)?"Stopped":"Running"}`),f==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch($Ee({state:r,stateProxy:n,isOperationError:c})),status:f}}return{response:u,status:f}}o(rdt,"pollOperationHelper");async function ZEe(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:f,processResult:d,getError:h,updateState:p,setDelay:A,isDone:g,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:w}=await rdt({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:i});if(KEe({status:w,response:C,state:r,stateProxy:n,isDone:g,processResult:d,getError:h,setErrorAsResult:E}),!JEe.includes(w)){let S=f?.(C);S&&A(S);let Q=c?.(C,r);if(Q!==void 0){let F=y!==Q;r.config.operationLocation=Q,u?.(Q,F)}else u?.(y,!1)}p?.(r,C)}}o(ZEe,"pollOperation");function eCe(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(eCe,"getOperationLocationPollingUrl");function tCe(t){return t.headers.location}o(tCe,"getLocationHeader");function rCe(t){return t.headers["operation-location"]}o(rCe,"getOperationLocationHeader");function nCe(t){return t.headers["azure-asyncoperation"]}o(nCe,"getAzureAsyncOperationHeader");function ndt(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;default:return r}}o(a,"getDefault")}o(ndt,"findResourceLocation");function iCe(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=rCe(e),a=nCe(e),c=eCe({operationLocation:s,azureAsyncOperation:a}),l=tCe(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:ndt({requestMethod:u,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(iCe,"inferLroMode");function sCe(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 tz(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 zp.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(sCe,"transformStatus");function idt(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return sCe({status:r,statusCode:t.statusCode})}o(idt,"getStatus");function sdt(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return sCe({status:s,statusCode:t.statusCode})}o(sdt,"getProvisioningState");function tz(t){return t===202?"running":t<300?"succeeded":"failed"}o(tz,"toOperationStatus");function oCe({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?odt(new Date(e)):r*1e3}}o(oCe,"parseRetryAfter");function aCe(t){let e=t.flatResponse.error;if(!e){zp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){zp.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(aCe,"getErrorFromResponse");function odt(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=iCe({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:cCe,setErrorAsResult:s})}o(adt,"initHttpOperation");function lCe({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return eCe({operationLocation:rCe(t),azureAsyncOperation:nCe(t)});case"ResourceLocation":return tCe(t);default:return}}o(lCe,"getOperationLocation");function rz({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return idt(t);case"ResourceLocation":return tz(t.statusCode);case"Body":return sdt(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(rz,"getOperationStatus");function uCe({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(uCe,"getResourceLocation");function fCe(t){return t.name==="RestError"}o(fCe,"isOperationError");async function cdt(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return ZEe({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:u},f)=>i(u,f):({flatResponse:u})=>u,getError:aCe,updateState:s,getPollingInterval:oCe,getOperationLocation:lCe,getOperationStatus:rz,isOperationError:fCe,getResourceLocation:uCe,options:n,poll:o(async(u,f)=>e.sendPollRequest(u,f),"poll"),setErrorAsResult:l})}o(cdt,"pollHttpOperation");var ldt=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 udt(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:f},d)=>{let{processResult:h,updateState:p,withOperationLocation:A,intervalInMs:g=WEe,restoreFrom:E}=d||{},y=ldt(),C=A?(()=>{let H=!1;return(W,ee)=>{ee?A(W):H||A(W),H=!0}})():void 0,w=E?YEe(E):await XEe({init:u,stateProxy:y,processResult:h,getOperationStatus:r,withOperationLocation:C,setErrorAsResult:!l}),S,Q=new jEe.AbortController,F=new Map,x=o(async()=>F.forEach(H=>H(w)),"handleProgressEvents"),j="Operation was canceled",T=g,q={getOperationState:o(()=>w,"getOperationState"),getResult:o(()=>w.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(w.status),"isDone"),isStopped:o(()=>S===void 0,"isStopped"),stopPolling:o(()=>{Q.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:w}),"toString"),onProgress:o(H=>{let W=Symbol();return F.set(W,H),()=>F.delete(W)},"onProgress"),pollUntilDone:o(H=>S??(S=(async()=>{let{abortSignal:W}=H||{},{signal:ee}=W?new jEe.AbortController([W,Q.signal]):Q;if(!q.isDone())for(await q.poll({abortSignal:ee});!q.isDone();)await Xft.delay(T,{abortSignal:ee}),await q.poll({abortSignal:ee});if(l)return q.getResult();switch(w.status){case"succeeded":return q.getResult();case"canceled":throw new Error(j);case"failed":throw w.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{S=void 0})),"pollUntilDone"),async poll(H){if(l){if(q.isDone())return}else switch(w.status){case"succeeded":return;case"canceled":throw new Error(j);case"failed":throw w.error}if(await ZEe({poll:f,state:w,stateProxy:y,getOperationLocation:e,isOperationError:i,withOperationLocation:C,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:h,getError:c,updateState:p,options:H,setDelay:o(W=>{T=W},"setDelay"),setErrorAsResult:!l}),await x(),!l)switch(w.status){case"canceled":throw new Error(j);case"failed":throw w.error}}};return q}}o(udt,"buildCreatePoller");async function fdt(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return udt({getStatusFromInitialResponse:cCe,getStatusFromPollResponse:rz,isOperationError:fCe,getOperationLocation:lCe,getResourceLocation:uCe,getPollingInterval:oCe,getError:aCe,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),f=iCe({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:f?.operationLocation,resourceLocation:f?.resourceLocation},f?.mode?{metadata:{mode:f.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:u},f)=>i(u,f):({flatResponse:u})=>u})}o(fdt,"createHttpPoller");var ddt=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"),ZV=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=ddt();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await adt({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await cdt({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(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 zp.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},tT=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},rT=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},nT=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),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 rT("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 tT("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()}},ez=class extends nT{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=WEe,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},f=i?YEe(i):{},d=new ZV(f,e,!s,c,l,u,a);super(d),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};jp.LroEngine=ez;jp.Poller=nT;jp.PollerCancelledError=rT;jp.PollerStoppedError=tT;jp.createHttpPoller=fdt});var kCe=m((owr,Qdt)=>{Qdt.exports={name:"@actions/cache",version:"6.2.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.6.1","@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.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var OCe=m((awr,PCe)=>{var kdt=kCe();PCe.exports={version:kdt.version}});var AT=m(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.isJsonObject=yy.typeofJsonValue=void 0;function Gdt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(Gdt,"typeofJsonValue");yy.typeofJsonValue=Gdt;function Hdt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(Hdt,"isJsonObject");yy.isJsonObject=Hdt});var yT=m(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.base64encode=Ey.base64decode=void 0;var nf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),gT=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(Vdt,"base64decode");Ey.base64decode=Vdt;function zdt(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=nf[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=nf[i|n>>6],e+=nf[n&63],r=0;break}return r&&(e+=nf[i],e+="=",r==1&&(e+="=")),e}o(zdt,"base64encode");Ey.base64encode=zdt});var GCe=m(ET=>{"use strict";Object.defineProperty(ET,"__esModule",{value:!0});ET.utf8read=void 0;var hz=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function jdt(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(hz(n)),i=0);return r.length?(i&&r.push(hz(n.slice(0,i))),r.join("")):hz(n.slice(0,i))}o(jdt,"utf8read");ET.utf8read=jdt});var nI=m(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.WireType=Sl.mergeBinaryOptions=Sl.UnknownFieldHandler=void 0;var $dt;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})($dt=Sl.UnknownFieldHandler||(Sl.UnknownFieldHandler={}));function Wdt(t,e){return Object.assign(Object.assign({},t),e)}o(Wdt,"mergeBinaryOptions");Sl.mergeBinaryOptions=Wdt;var Jdt;(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"})(Jdt=Sl.WireType||(Sl.WireType={}))});var bT=m(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.varint32read=Qs.varint32write=Qs.int64toString=Qs.int64fromString=Qs.varint64write=Qs.varint64read=void 0;function Ydt(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(Kdt,"varint64write");Qs.varint64write=Kdt;var CT=65536*65536;function Xdt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=CT&&(i=i+(n/CT|0),n=n%CT)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(Xdt,"int64fromString");Qs.int64fromString=Xdt;function Zdt(t,e){if(e>>>0<=2097151)return""+(CT*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(f,d){let h=f?String(f):"";return d?"0000000".slice(h.length)+h:h}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(Zdt,"int64toString");Qs.int64toString=Zdt;function eht(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(eht,"varint32write");Qs.varint32write=eht;function tht(){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(tht,"varint32read");Qs.varint32read=tht});var kd=m(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.PbLong=Qd.PbULong=Qd.detectBi=void 0;var iI=bT(),Wt;function HCe(){let t=new DataView(new ArrayBuffer(8));Wt=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(HCe,"detectBi");Qd.detectBi=HCe;HCe();function VCe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(VCe,"assertBi");var zCe=/^-?[0-9]+$/,IT=4294967296,wT=2147483648,ST=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*IT+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},sI=class t extends ST{static{o(this,"PbULong")}static from(e){if(Wt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Wt.C(e);case"number":if(e===0)return this.ZERO;e=Wt.C(e);case"bigint":if(!e)return this.ZERO;if(eWt.UMAX)throw new Error("ulong too large");return Wt.V.setBigUint64(0,e,!0),new t(Wt.V.getInt32(0,!0),Wt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!zCe.test(e))throw new Error("string is no integer");let[r,n,i]=iI.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/IT)}throw new Error("unknown value "+typeof e)}toString(){return Wt?this.toBigInt().toString():iI.int64toString(this.lo,this.hi)}toBigInt(){return VCe(Wt),Wt.V.setInt32(0,this.lo,!0),Wt.V.setInt32(4,this.hi,!0),Wt.V.getBigUint64(0,!0)}};Qd.PbULong=sI;sI.ZERO=new sI(0,0);var oI=class t extends ST{static{o(this,"PbLong")}static from(e){if(Wt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Wt.C(e);case"number":if(e===0)return this.ZERO;e=Wt.C(e);case"bigint":if(!e)return this.ZERO;if(eWt.MAX)throw new Error("signed long too large");return Wt.V.setBigInt64(0,e,!0),new t(Wt.V.getInt32(0,!0),Wt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!zCe.test(e))throw new Error("string is no integer");let[r,n,i]=iI.int64fromString(e);if(r){if(i>wT||i==wT&&n!=0)throw new Error("signed long too small")}else if(i>=wT)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/IT):new t(-e,-e/IT).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&wT)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Wt)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+iI.int64toString(e.lo,e.hi)}return iI.int64toString(this.lo,this.hi)}toBigInt(){return VCe(Wt),Wt.V.setInt32(0,this.lo,!0),Wt.V.setInt32(4,this.hi,!0),Wt.V.getBigInt64(0,!0)}};Qd.PbLong=oI;oI.ZERO=new oI(0,0)});var pz=m(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.BinaryReader=by.binaryReadOptions=void 0;var Cy=nI(),aI=kd(),jCe=bT(),$Ce={readUnknownField:!0,readerFactory:o(t=>new BT(t),"readerFactory")};function rht(t){return t?Object.assign(Object.assign({},$Ce),t):$Ce}o(rht,"binaryReadOptions");by.binaryReadOptions=rht;var BT=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=jCe.varint64read,this.uint32=jCe.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,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case Cy.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Cy.WireType.Bit64:this.pos+=4;case Cy.WireType.Bit32:this.pos+=4;break;case Cy.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Cy.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Cy.WireType.EndGroup;)this.skip(i);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 aI.PbLong(...this.varint64())}uint64(){return new aI.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new aI.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 aI.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new aI.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())}};by.BinaryReader=BT});var wy=m(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.assertFloat32=aa.assertUInt32=aa.assertInt32=aa.assertNever=aa.assert=void 0;function nht(t,e){if(!t)throw new Error(e)}o(nht,"assert");aa.assert=nht;function iht(t,e){throw new Error(e??"Unexpected object: "+t)}o(iht,"assertNever");aa.assertNever=iht;var sht=34028234663852886e22,oht=-34028234663852886e22,aht=4294967295,cht=2147483647,lht=-2147483648;function uht(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>cht||taht||t<0)throw new Error("invalid uint 32: "+t)}o(fht,"assertUInt32");aa.assertUInt32=fht;function dht(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>sht||t{"use strict";Object.defineProperty(Sy,"__esModule",{value:!0});Sy.BinaryWriter=Sy.binaryWriteOptions=void 0;var cI=kd(),lI=bT(),Iy=wy(),WCe={writeUnknownFields:!0,writerFactory:o(()=>new vT,"writerFactory")};function hht(t){return t?Object.assign(Object.assign({},WCe),t):WCe}o(hht,"binaryWriteOptions");Sy.binaryWriteOptions=hht;var vT=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 i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Iy.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Iy.assertInt32(e),lI.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){Iy.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){Iy.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Iy.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Iy.assertInt32(e),e=(e<<1^e>>31)>>>0,lI.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=cI.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=cI.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=cI.PbLong.from(e);return lI.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=cI.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return lI.varint64write(i,s,this.buf),this}uint64(e){let r=cI.PbULong.from(e);return lI.varint64write(r.lo,r.hi,this.buf),this}};Sy.BinaryWriter=vT});var Az=m(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.mergeJsonOptions=Pd.jsonWriteOptions=Pd.jsonReadOptions=void 0;var JCe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},YCe={ignoreUnknownFields:!1};function pht(t){return t?Object.assign(Object.assign({},YCe),t):YCe}o(pht,"jsonReadOptions");Pd.jsonReadOptions=pht;function mht(t){return t?Object.assign(Object.assign({},JCe),t):JCe}o(mht,"jsonWriteOptions");Pd.jsonWriteOptions=mht;function Aht(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(Aht,"mergeJsonOptions");Pd.mergeJsonOptions=Aht});var uI=m(xT=>{"use strict";Object.defineProperty(xT,"__esModule",{value:!0});xT.MESSAGE_TYPE=void 0;xT.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var gz=m(_T=>{"use strict";Object.defineProperty(_T,"__esModule",{value:!0});_T.lowerCamelCase=void 0;function ght(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.readMessageOption=Dn.readFieldOption=Dn.readFieldOptions=Dn.normalizeFieldInfo=Dn.RepeatType=Dn.LongType=Dn.ScalarType=void 0;var KCe=gz(),yht;(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"})(yht=Dn.ScalarType||(Dn.ScalarType={}));var Eht;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(Eht=Dn.LongType||(Dn.LongType={}));var XCe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(XCe=Dn.RepeatType||(Dn.RepeatType={}));function Cht(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:KCe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:KCe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:XCe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(Cht,"normalizeFieldInfo");Dn.normalizeFieldInfo=Cht;function bht(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(bht,"readFieldOptions");Dn.readFieldOptions=bht;function wht(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(wht,"readFieldOption");Dn.readFieldOption=wht;function Iht(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(Iht,"readMessageOption");Dn.readMessageOption=Iht});var yz=m(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.getSelectedOneofValue=ks.clearOneofValue=ks.setUnknownOneofValue=ks.setOneofValue=ks.getOneofValue=ks.isOneofGroup=void 0;function Sht(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(Sht,"isOneofGroup");ks.isOneofGroup=Sht;function Bht(t,e){return t[e]}o(Bht,"getOneofValue");ks.getOneofValue=Bht;function vht(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(vht,"setOneofValue");ks.setOneofValue=vht;function xht(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(xht,"setUnknownOneofValue");ks.setUnknownOneofValue=xht;function _ht(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(_ht,"clearOneofValue");ks.clearOneofValue=_ht;function Nht(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(Nht,"getSelectedOneofValue");ks.getSelectedOneofValue=Nht});var Cz=m(NT=>{"use strict";Object.defineProperty(NT,"__esModule",{value:!0});NT.ReflectionTypeCheck=void 0;var qr=uc(),Rht=yz(),Ez=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=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!Rht.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,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,qr.ScalarType.INT32,i):this.scalar(e,qr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),qr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case qr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,qr.LongType.STRING)}}};NT.ReflectionTypeCheck=Ez});var TT=m(RT=>{"use strict";Object.defineProperty(RT,"__esModule",{value:!0});RT.reflectionLongConvert=void 0;var ZCe=uc();function Tht(t,e){switch(e){case ZCe.LongType.BIGINT:return t.toBigInt();case ZCe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(Tht,"reflectionLongConvert");RT.reflectionLongConvert=Tht});var wz=m(kT=>{"use strict";Object.defineProperty(kT,"__esModule",{value:!0});kT.ReflectionJsonReader=void 0;var ebe=AT(),Dht=yT(),Qn=uc(),DT=kd(),Wp=wy(),QT=TT(),bz=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 n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=ebe.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(ebe.isJsonObject(a),c.name,a);let f=u[l];for(let[d,h]of Object.entries(a)){this.assert(h!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(h,n);break;case"enum":if(p=this.enum(c.V.T(),h,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(h,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",h);let A=d;c.K==Qn.ScalarType.BOOL&&(A=A=="true"?!0:A=="false"?!1:A),A=this.scalar(A,c.K,Qn.LongType.STRING,c.name).toString(),f[A]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let f=u[l];for(let d of a){this.assert(d!==null,c.name,null);let h;switch(c.kind){case"message":h=c.T().internalJsonRead(d,n);break;case"enum":if(h=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(d,c.T,c.L,c.name);break}this.assert(h!==void 0,c.name,a),f.push(h)}}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,n,u[l]);break;case"enum":if(a===null)continue;let f=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(f===!1)continue;u[l]=f;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&Wp.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Wp.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(Wp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Wp.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Qn.ScalarType.DOUBLE:case Qn.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Qn.ScalarType.FLOAT&&Wp.assertFloat32(a),a;case Qn.ScalarType.INT32:case Qn.ScalarType.FIXED32:case Qn.ScalarType.SFIXED32:case Qn.ScalarType.SINT32:case Qn.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Qn.ScalarType.UINT32?Wp.assertUInt32(c):Wp.assertInt32(c),c;case Qn.ScalarType.INT64:case Qn.ScalarType.SFIXED64:case Qn.ScalarType.SINT64:if(e===null)return QT.reflectionLongConvert(DT.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return QT.reflectionLongConvert(DT.PbLong.from(e),n);case Qn.ScalarType.FIXED64:case Qn.ScalarType.UINT64:if(e===null)return QT.reflectionLongConvert(DT.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return QT.reflectionLongConvert(DT.PbULong.from(e),n);case Qn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Qn.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Qn.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return Dht.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};kT.ReflectionJsonReader=bz});var Sz=m(PT=>{"use strict";Object.defineProperty(PT,"__esModule",{value:!0});PT.ReflectionJsonWriter=void 0;var Qht=yT(),tbe=kd(),ts=uc(),br=wy(),Iz=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);br.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){br.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let f=this.scalar(e.V.T,u,e.name,!1,!0);br.assert(f!==void 0),s[l.toString()]=f}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let f=this.message(a,u,e.name,n);br.assert(f!==void 0),s[l.toString()]=f}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){br.assert(u===void 0||typeof u=="number");let f=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);br.assert(f!==void 0),s[l.toString()]=f}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){br.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){br.assert(i);return}if(!(r===0&&!s&&!i))return br.assert(typeof r=="number"),br.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){br.assert(i);return}let a=s||i;switch(e){case ts.ScalarType.INT32:case ts.ScalarType.SFIXED32:case ts.ScalarType.SINT32:return r===0?a?0:void 0:(br.assertInt32(r),r);case ts.ScalarType.FIXED32:case ts.ScalarType.UINT32:return r===0?a?0:void 0:(br.assertUInt32(r),r);case ts.ScalarType.FLOAT:br.assertFloat32(r);case ts.ScalarType.DOUBLE:return r===0?a?0:void 0:(br.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case ts.ScalarType.STRING:return r===""?a?"":void 0:(br.assert(typeof r=="string"),r);case ts.ScalarType.BOOL:return r===!1?a?!1:void 0:(br.assert(typeof r=="boolean"),r);case ts.ScalarType.UINT64:case ts.ScalarType.FIXED64:br.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=tbe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ts.ScalarType.INT64:case ts.ScalarType.SFIXED64:case ts.ScalarType.SINT64:br.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=tbe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ts.ScalarType.BYTES:return br.assert(r instanceof Uint8Array),r.byteLength?Qht.base64encode(r):a?"":void 0}}};PT.ReflectionJsonWriter=Iz});var LT=m(OT=>{"use strict";Object.defineProperty(OT,"__esModule",{value:!0});OT.reflectionScalarDefault=void 0;var fc=uc(),rbe=TT(),nbe=kd();function kht(t,e=fc.LongType.STRING){switch(t){case fc.ScalarType.BOOL:return!1;case fc.ScalarType.UINT64:case fc.ScalarType.FIXED64:return rbe.reflectionLongConvert(nbe.PbULong.ZERO,e);case fc.ScalarType.INT64:case fc.ScalarType.SFIXED64:case fc.ScalarType.SINT64:return rbe.reflectionLongConvert(nbe.PbLong.ZERO,e);case fc.ScalarType.DOUBLE:case fc.ScalarType.FLOAT:return 0;case fc.ScalarType.BYTES:return new Uint8Array(0);case fc.ScalarType.STRING:return"";default:return 0}}o(kht,"reflectionScalarDefault");OT.reflectionScalarDefault=kht});var vz=m(FT=>{"use strict";Object.defineProperty(FT,"__esModule",{value:!0});FT.ReflectionBinaryReader=void 0;var ibe=nI(),nn=uc(),fI=TT(),sbe=LT(),Bz=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(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(MT,"__esModule",{value:!0});MT.ReflectionBinaryWriter=void 0;var yo=nI(),er=uc(),By=wy(),dI=kd(),xz=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,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let f=e[s.oneof];if(f.oneofKind!==u)continue;a=f[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let f=s.kind=="enum"?er.ScalarType.INT32:s.T;if(l)if(By.assert(Array.isArray(a)),l==er.RepeatType.PACKED)this.packed(r,f,s.no,a);else for(let d of a)this.scalar(r,f,s.no,d,!0);else a===void 0?By.assert(s.opt):this.scalar(r,f,s.no,a,c||s.opt);break;case"message":if(l){By.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":By.assert(typeof a=="object"&&a!==null);for(let[d,h]of Object.entries(a))this.mapEntry(r,n,s,d,h);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?yo.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,yo.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case er.ScalarType.INT32:case er.ScalarType.FIXED32:case er.ScalarType.UINT32:case er.ScalarType.SFIXED32:case er.ScalarType.SINT32:a=Number.parseInt(i);break;case er.ScalarType.BOOL:By.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,er.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,yo.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;By.assert(r!==er.ScalarType.BYTES&&r!==er.ScalarType.STRING),e.tag(n,yo.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(UT,"__esModule",{value:!0});UT.reflectionCreate=void 0;var Pht=LT(),Oht=uI();function Lht(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},Oht.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=Pht.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(Lht,"reflectionCreate");UT.reflectionCreate=Lht});var Rz=m(qT=>{"use strict";Object.defineProperty(qT,"__esModule",{value:!0});qT.reflectionMergePartial=void 0;function Fht(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(HT,"__esModule",{value:!0});HT.reflectionEquals=void 0;var Tz=uc();function Mht(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?Tz.ScalarType.INT32:n.T;if(!(n.repeat?obe(c,s,a):cbe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?abe(n.V.T(),GT(s),GT(a)):obe(n.V.kind=="enum"?Tz.ScalarType.INT32:n.V.T,GT(s),GT(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?abe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(Mht,"reflectionEquals");HT.reflectionEquals=Mht;var GT=Object.values;function cbe(t,e,r){if(e===r)return!0;if(t!==Tz.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(VT,"__esModule",{value:!0});VT.MessageType=void 0;var Uht=uI(),qht=uc(),Ght=Cz(),Hht=wz(),Vht=Sz(),zht=vz(),jht=_z(),$ht=Nz(),Qz=Rz(),Wht=AT(),lbe=Az(),Jht=Dz(),Yht=mz(),Kht=pz(),ube=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),Xht=ube[Uht.MESSAGE_TYPE]={},kz=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(qht.normalizeFieldInfo),this.options=n??{},Xht.value=this,this.messagePrototype=Object.create(null,ube),this.refTypeCheck=new Ght.ReflectionTypeCheck(this),this.refJsonReader=new Hht.ReflectionJsonReader(this),this.refJsonWriter=new Vht.ReflectionJsonWriter(this),this.refBinReader=new zht.ReflectionBinaryReader(this),this.refBinWriter=new jht.ReflectionBinaryWriter(this)}create(e){let r=$ht.reflectionCreate(this);return e!==void 0&&Qz.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Qz.reflectionMergePartial(this,r,e),r}equals(e,r){return Jht.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){Qz.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=Kht.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,lbe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,lbe.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=Yht.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${Wht.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};VT.MessageType=kz});var dbe=m(zT=>{"use strict";Object.defineProperty(zT,"__esModule",{value:!0});zT.containsMessageType=void 0;var Zht=uI();function ept(t){return t[Zht.MESSAGE_TYPE]!=null}o(ept,"containsMessageType");zT.containsMessageType=ept});var pbe=m(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.listEnumNumbers=Bl.listEnumNames=Bl.listEnumValues=Bl.isEnumObject=void 0;function hbe(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 n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(hbe,"isEnumObject");Bl.isEnumObject=hbe;function Pz(t){if(!hbe(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(Pz,"listEnumValues");Bl.listEnumValues=Pz;function tpt(t){return Pz(t).map(e=>e.name)}o(tpt,"listEnumNames");Bl.listEnumNames=tpt;function rpt(t){return Pz(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(rpt,"listEnumNumbers");Bl.listEnumNumbers=rpt});var sn=m(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});var mbe=AT();Object.defineProperty(Te,"typeofJsonValue",{enumerable:!0,get:o(function(){return mbe.typeofJsonValue},"get")});Object.defineProperty(Te,"isJsonObject",{enumerable:!0,get:o(function(){return mbe.isJsonObject},"get")});var Abe=yT();Object.defineProperty(Te,"base64decode",{enumerable:!0,get:o(function(){return Abe.base64decode},"get")});Object.defineProperty(Te,"base64encode",{enumerable:!0,get:o(function(){return Abe.base64encode},"get")});var npt=GCe();Object.defineProperty(Te,"utf8read",{enumerable:!0,get:o(function(){return npt.utf8read},"get")});var Oz=nI();Object.defineProperty(Te,"WireType",{enumerable:!0,get:o(function(){return Oz.WireType},"get")});Object.defineProperty(Te,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return Oz.mergeBinaryOptions},"get")});Object.defineProperty(Te,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return Oz.UnknownFieldHandler},"get")});var gbe=pz();Object.defineProperty(Te,"BinaryReader",{enumerable:!0,get:o(function(){return gbe.BinaryReader},"get")});Object.defineProperty(Te,"binaryReadOptions",{enumerable:!0,get:o(function(){return gbe.binaryReadOptions},"get")});var ybe=mz();Object.defineProperty(Te,"BinaryWriter",{enumerable:!0,get:o(function(){return ybe.BinaryWriter},"get")});Object.defineProperty(Te,"binaryWriteOptions",{enumerable:!0,get:o(function(){return ybe.binaryWriteOptions},"get")});var Ebe=kd();Object.defineProperty(Te,"PbLong",{enumerable:!0,get:o(function(){return Ebe.PbLong},"get")});Object.defineProperty(Te,"PbULong",{enumerable:!0,get:o(function(){return Ebe.PbULong},"get")});var Lz=Az();Object.defineProperty(Te,"jsonReadOptions",{enumerable:!0,get:o(function(){return Lz.jsonReadOptions},"get")});Object.defineProperty(Te,"jsonWriteOptions",{enumerable:!0,get:o(function(){return Lz.jsonWriteOptions},"get")});Object.defineProperty(Te,"mergeJsonOptions",{enumerable:!0,get:o(function(){return Lz.mergeJsonOptions},"get")});var ipt=uI();Object.defineProperty(Te,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return ipt.MESSAGE_TYPE},"get")});var spt=fbe();Object.defineProperty(Te,"MessageType",{enumerable:!0,get:o(function(){return spt.MessageType},"get")});var Jp=uc();Object.defineProperty(Te,"ScalarType",{enumerable:!0,get:o(function(){return Jp.ScalarType},"get")});Object.defineProperty(Te,"LongType",{enumerable:!0,get:o(function(){return Jp.LongType},"get")});Object.defineProperty(Te,"RepeatType",{enumerable:!0,get:o(function(){return Jp.RepeatType},"get")});Object.defineProperty(Te,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Jp.normalizeFieldInfo},"get")});Object.defineProperty(Te,"readFieldOptions",{enumerable:!0,get:o(function(){return Jp.readFieldOptions},"get")});Object.defineProperty(Te,"readFieldOption",{enumerable:!0,get:o(function(){return Jp.readFieldOption},"get")});Object.defineProperty(Te,"readMessageOption",{enumerable:!0,get:o(function(){return Jp.readMessageOption},"get")});var opt=Cz();Object.defineProperty(Te,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return opt.ReflectionTypeCheck},"get")});var apt=Nz();Object.defineProperty(Te,"reflectionCreate",{enumerable:!0,get:o(function(){return apt.reflectionCreate},"get")});var cpt=LT();Object.defineProperty(Te,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return cpt.reflectionScalarDefault},"get")});var lpt=Rz();Object.defineProperty(Te,"reflectionMergePartial",{enumerable:!0,get:o(function(){return lpt.reflectionMergePartial},"get")});var upt=Dz();Object.defineProperty(Te,"reflectionEquals",{enumerable:!0,get:o(function(){return upt.reflectionEquals},"get")});var fpt=vz();Object.defineProperty(Te,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return fpt.ReflectionBinaryReader},"get")});var dpt=_z();Object.defineProperty(Te,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return dpt.ReflectionBinaryWriter},"get")});var hpt=wz();Object.defineProperty(Te,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return hpt.ReflectionJsonReader},"get")});var ppt=Sz();Object.defineProperty(Te,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return ppt.ReflectionJsonWriter},"get")});var mpt=dbe();Object.defineProperty(Te,"containsMessageType",{enumerable:!0,get:o(function(){return mpt.containsMessageType},"get")});var hI=yz();Object.defineProperty(Te,"isOneofGroup",{enumerable:!0,get:o(function(){return hI.isOneofGroup},"get")});Object.defineProperty(Te,"setOneofValue",{enumerable:!0,get:o(function(){return hI.setOneofValue},"get")});Object.defineProperty(Te,"getOneofValue",{enumerable:!0,get:o(function(){return hI.getOneofValue},"get")});Object.defineProperty(Te,"clearOneofValue",{enumerable:!0,get:o(function(){return hI.clearOneofValue},"get")});Object.defineProperty(Te,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return hI.getSelectedOneofValue},"get")});var jT=pbe();Object.defineProperty(Te,"listEnumValues",{enumerable:!0,get:o(function(){return jT.listEnumValues},"get")});Object.defineProperty(Te,"listEnumNames",{enumerable:!0,get:o(function(){return jT.listEnumNames},"get")});Object.defineProperty(Te,"listEnumNumbers",{enumerable:!0,get:o(function(){return jT.listEnumNumbers},"get")});Object.defineProperty(Te,"isEnumObject",{enumerable:!0,get:o(function(){return jT.isEnumObject},"get")});var Apt=gz();Object.defineProperty(Te,"lowerCamelCase",{enumerable:!0,get:o(function(){return Apt.lowerCamelCase},"get")});var pI=wy();Object.defineProperty(Te,"assert",{enumerable:!0,get:o(function(){return pI.assert},"get")});Object.defineProperty(Te,"assertNever",{enumerable:!0,get:o(function(){return pI.assertNever},"get")});Object.defineProperty(Te,"assertInt32",{enumerable:!0,get:o(function(){return pI.assertInt32},"get")});Object.defineProperty(Te,"assertUInt32",{enumerable:!0,get:o(function(){return pI.assertUInt32},"get")});Object.defineProperty(Te,"assertFloat32",{enumerable:!0,get:o(function(){return pI.assertFloat32},"get")})});var Fz=m(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.readServiceOption=vl.readMethodOption=vl.readMethodOptions=vl.normalizeMethodInfo=void 0;var gpt=sn();function ypt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:gpt.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(ypt,"normalizeMethodInfo");vl.normalizeMethodInfo=ypt;function Ept(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(Ept,"readMethodOptions");vl.readMethodOptions=Ept;function Cpt(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(Cpt,"readMethodOption");vl.readMethodOption=Cpt;function bpt(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(bpt,"readServiceOption");vl.readServiceOption=bpt});var Cbe=m($T=>{"use strict";Object.defineProperty($T,"__esModule",{value:!0});$T.ServiceType=void 0;var wpt=Fz(),Mz=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>wpt.normalizeMethodInfo(i,this)),this.options=n??{}}};$T.ServiceType=Mz});var qz=m(WT=>{"use strict";Object.defineProperty(WT,"__esModule",{value:!0});WT.RpcError=void 0;var Uz=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}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[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` +`)}};WT.RpcError=Uz});var Gz=m(YT=>{"use strict";Object.defineProperty(YT,"__esModule",{value:!0});YT.mergeRpcOptions=void 0;var bbe=sn();function Ipt(t,e){if(!e)return t;let r={};JT(t,r),JT(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=bbe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=bbe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},JT(t.meta,r.meta),JT(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(Ipt,"mergeRpcOptions");YT.mergeRpcOptions=Ipt;function JT(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(JT,"copy")});var Vz=m(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.Deferred=Yp.DeferredState=void 0;var xl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(xl=Yp.DeferredState||(Yp.DeferredState={}));var Hz=class{static{o(this,"Deferred")}constructor(e=!0){this._state=xl.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==xl.PENDING)throw new Error(`cannot resolve ${xl[this.state].toLowerCase()}`);this._resolve(e),this._state=xl.RESOLVED}reject(e){if(this.state!==xl.PENDING)throw new Error(`cannot reject ${xl[this.state].toLowerCase()}`);this._reject(e),this._state=xl.REJECTED}resolvePending(e){this._state===xl.PENDING&&this.resolve(e)}rejectPending(e){this._state===xl.PENDING&&this.reject(e)}};Yp.Deferred=Hz});var jz=m(KT=>{"use strict";Object.defineProperty(KT,"__esModule",{value:!0});KT.RpcOutputStreamController=void 0;var wbe=Vz(),Kp=sn(),zz=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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Kp.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Kp.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){Kp.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(){Kp.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;Kp.assert(e,"bad state"),Kp.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 wbe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Kp.assert(n.state==wbe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};KT.RpcOutputStreamController=zz});var Wz=m(vy=>{"use strict";var Spt=vy&&vy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(vy,"__esModule",{value:!0});vy.UnaryCall=void 0;var $z=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Spt(this,void 0,void 0,function*(){let[e,r,n,i]=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:n,trailers:i}})}};vy.UnaryCall=$z});var Yz=m(xy=>{"use strict";var Bpt=xy&&xy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(xy,"__esModule",{value:!0});xy.ServerStreamingCall=void 0;var Jz=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Bpt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};xy.ServerStreamingCall=Jz});var Xz=m(_y=>{"use strict";var vpt=_y&&_y.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(_y,"__esModule",{value:!0});_y.ClientStreamingCall=void 0;var Kz=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return vpt(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};_y.ClientStreamingCall=Kz});var e6=m(Ny=>{"use strict";var xpt=Ny&&Ny.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ny,"__esModule",{value:!0});Ny.DuplexStreamingCall=void 0;var Zz=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return xpt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Ny.DuplexStreamingCall=Zz});var Sbe=m(Dy=>{"use strict";var _pt=Dy&&Dy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Dy,"__esModule",{value:!0});Dy.TestTransport=void 0;var ca=qz(),XT=sn(),Ibe=jz(),Npt=Gz(),Rpt=Wz(),Tpt=Yz(),Dpt=Xz(),Qpt=e6(),Ty=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 Ry?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Ry?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 ca.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ca.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(XT.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),XT.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return _pt(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)XT.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ca.RpcError||(XT.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Yn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof ca.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Yn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof ca.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ca.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 ca.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 ca.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Npt.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Yn(this.headerDelay,n.abort)),c=a.catch(f=>{}).then(Yn(this.responseDelay,n.abort)).then(f=>this.promiseSingleResponse(e)),l=c.catch(f=>{}).then(Yn(this.afterResponseDelay,n.abort)).then(f=>this.promiseStatus()),u=c.catch(f=>{}).then(Yn(this.afterResponseDelay,n.abort)).then(f=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new Rpt.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Yn(this.headerDelay,n.abort)),c=new Ibe.RpcOutputStreamController,l=a.then(Yn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Yn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),f=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,f),this.lastInput={single:r},new Tpt.ServerStreamingCall(e,s,r,a,c,u,f)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Yn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(Yn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Yn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Yn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Ry(this.data,r.abort),new Dpt.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Yn(this.headerDelay,r.abort)),a=new Ibe.RpcOutputStreamController,c=s.then(Yn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Yn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new Ry(this.data,r.abort),new Qpt.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};Dy.TestTransport=Ty;Ty.defaultHeaders={responseHeader:"test"};Ty.defaultStatus={code:"OK",detail:"all good"};Ty.defaultTrailers={responseTrailer:"test"};function Yn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ca.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ca.RpcError("user cancel","CANCELLED"))})}})}o(Yn,"delay");var Ry=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 ca.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(Yn(r,this.abort))}complete(){if(this.data.inputComplete instanceof ca.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(Yn(e,this.abort))}}});var Bbe=m(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.stackDuplexStreamingInterceptors=la.stackClientStreamingInterceptors=la.stackServerStreamingInterceptors=la.stackUnaryInterceptors=la.stackIntercept=void 0;var kpt=sn();function mI(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((f,d,h)=>e.unary(f,d,h),"tail");for(let f of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((h,p,A)=>f.interceptUnary(d,h,p,A),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((f,d,h)=>e.serverStreaming(f,d,h),"tail");for(let f of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((h,p,A)=>f.interceptServerStreaming(d,h,p,A),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((f,d)=>e.clientStreaming(f,d),"tail");for(let f of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((h,p)=>f.interceptClientStreaming(d,h,p),"tail")}return u(r,n)}if(t=="duplex"){let u=o((f,d)=>e.duplex(f,d),"tail");for(let f of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((h,p)=>f.interceptDuplex(d,h,p),"tail")}return u(r,n)}kpt.assertNever(t)}o(mI,"stackIntercept");la.stackIntercept=mI;function Ppt(t,e,r,n){return mI("unary",t,e,n,r)}o(Ppt,"stackUnaryInterceptors");la.stackUnaryInterceptors=Ppt;function Opt(t,e,r,n){return mI("serverStreaming",t,e,n,r)}o(Opt,"stackServerStreamingInterceptors");la.stackServerStreamingInterceptors=Opt;function Lpt(t,e,r){return mI("clientStreaming",t,e,r)}o(Lpt,"stackClientStreamingInterceptors");la.stackClientStreamingInterceptors=Lpt;function Fpt(t,e,r){return mI("duplex",t,e,r)}o(Fpt,"stackDuplexStreamingInterceptors");la.stackDuplexStreamingInterceptors=Fpt});var vbe=m(ZT=>{"use strict";Object.defineProperty(ZT,"__esModule",{value:!0});ZT.ServerCallContextController=void 0;var t6=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};ZT.ServerCallContextController=t6});var _be=m(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var Mpt=Cbe();Object.defineProperty(Gr,"ServiceType",{enumerable:!0,get:o(function(){return Mpt.ServiceType},"get")});var r6=Fz();Object.defineProperty(Gr,"readMethodOptions",{enumerable:!0,get:o(function(){return r6.readMethodOptions},"get")});Object.defineProperty(Gr,"readMethodOption",{enumerable:!0,get:o(function(){return r6.readMethodOption},"get")});Object.defineProperty(Gr,"readServiceOption",{enumerable:!0,get:o(function(){return r6.readServiceOption},"get")});var Upt=qz();Object.defineProperty(Gr,"RpcError",{enumerable:!0,get:o(function(){return Upt.RpcError},"get")});var qpt=Gz();Object.defineProperty(Gr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return qpt.mergeRpcOptions},"get")});var Gpt=jz();Object.defineProperty(Gr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return Gpt.RpcOutputStreamController},"get")});var Hpt=Sbe();Object.defineProperty(Gr,"TestTransport",{enumerable:!0,get:o(function(){return Hpt.TestTransport},"get")});var xbe=Vz();Object.defineProperty(Gr,"Deferred",{enumerable:!0,get:o(function(){return xbe.Deferred},"get")});Object.defineProperty(Gr,"DeferredState",{enumerable:!0,get:o(function(){return xbe.DeferredState},"get")});var Vpt=e6();Object.defineProperty(Gr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return Vpt.DuplexStreamingCall},"get")});var zpt=Xz();Object.defineProperty(Gr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return zpt.ClientStreamingCall},"get")});var jpt=Yz();Object.defineProperty(Gr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return jpt.ServerStreamingCall},"get")});var $pt=Wz();Object.defineProperty(Gr,"UnaryCall",{enumerable:!0,get:o(function(){return $pt.UnaryCall},"get")});var AI=Bbe();Object.defineProperty(Gr,"stackIntercept",{enumerable:!0,get:o(function(){return AI.stackIntercept},"get")});Object.defineProperty(Gr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return AI.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return AI.stackClientStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return AI.stackServerStreamingInterceptors},"get")});Object.defineProperty(Gr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return AI.stackUnaryInterceptors},"get")});var Wpt=vbe();Object.defineProperty(Gr,"ServerCallContextController",{enumerable:!0,get:o(function(){return Wpt.ServerCallContextController},"get")})});var ky=m((QSr,zbe)=>{"use strict";var omt="2.0.0",amt=Number.MAX_SAFE_INTEGER||9007199254740991,cmt=16,lmt=250,umt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];zbe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:cmt,MAX_SAFE_BUILD_LENGTH:lmt,MAX_SAFE_INTEGER:amt,RELEASE_TYPES:umt,SEMVER_SPEC_VERSION:omt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var CI=m((kSr,jbe)=>{"use strict";var fmt=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};jbe.exports=fmt});var Py=m((Nl,$be)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Q6,MAX_SAFE_BUILD_LENGTH:dmt,MAX_LENGTH:hmt}=ky(),pmt=CI();Nl=$be.exports={};var mmt=Nl.re=[],Amt=Nl.safeRe=[],he=Nl.src=[],gmt=Nl.safeSrc=[],pe=Nl.t={},ymt=0,k6="[a-zA-Z0-9-]",Emt=[["\\s",1],["\\d",hmt],[k6,dmt]],Cmt=o(t=>{for(let[e,r]of Emt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ke=o((t,e,r)=>{let n=Cmt(e),i=ymt++;pmt(t,i,e),pe[t]=i,he[i]=e,gmt[i]=n,mmt[i]=new RegExp(e,r?"g":void 0),Amt[i]=new RegExp(n,r?"g":void 0)},"createToken");Ke("NUMERICIDENTIFIER","0|[1-9]\\d*");Ke("NUMERICIDENTIFIERLOOSE","\\d+");Ke("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${k6}*`);Ke("MAINVERSION",`(${he[pe.NUMERICIDENTIFIER]})\\.(${he[pe.NUMERICIDENTIFIER]})\\.(${he[pe.NUMERICIDENTIFIER]})`);Ke("MAINVERSIONLOOSE",`(${he[pe.NUMERICIDENTIFIERLOOSE]})\\.(${he[pe.NUMERICIDENTIFIERLOOSE]})\\.(${he[pe.NUMERICIDENTIFIERLOOSE]})`);Ke("PRERELEASEIDENTIFIER",`(?:${he[pe.NONNUMERICIDENTIFIER]}|${he[pe.NUMERICIDENTIFIER]})`);Ke("PRERELEASEIDENTIFIERLOOSE",`(?:${he[pe.NONNUMERICIDENTIFIER]}|${he[pe.NUMERICIDENTIFIERLOOSE]})`);Ke("PRERELEASE",`(?:-(${he[pe.PRERELEASEIDENTIFIER]}(?:\\.${he[pe.PRERELEASEIDENTIFIER]})*))`);Ke("PRERELEASELOOSE",`(?:-?(${he[pe.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${he[pe.PRERELEASEIDENTIFIERLOOSE]})*))`);Ke("BUILDIDENTIFIER",`${k6}+`);Ke("BUILD",`(?:\\+(${he[pe.BUILDIDENTIFIER]}(?:\\.${he[pe.BUILDIDENTIFIER]})*))`);Ke("FULLPLAIN",`v?${he[pe.MAINVERSION]}${he[pe.PRERELEASE]}?${he[pe.BUILD]}?`);Ke("FULL",`^${he[pe.FULLPLAIN]}$`);Ke("LOOSEPLAIN",`[v=\\s]*${he[pe.MAINVERSIONLOOSE]}${he[pe.PRERELEASELOOSE]}?${he[pe.BUILD]}?`);Ke("LOOSE",`^${he[pe.LOOSEPLAIN]}$`);Ke("GTLT","((?:<|>)?=?)");Ke("XRANGEIDENTIFIERLOOSE",`${he[pe.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Ke("XRANGEIDENTIFIER",`${he[pe.NUMERICIDENTIFIER]}|x|X|\\*`);Ke("XRANGEPLAIN",`[v=\\s]*(${he[pe.XRANGEIDENTIFIER]})(?:\\.(${he[pe.XRANGEIDENTIFIER]})(?:\\.(${he[pe.XRANGEIDENTIFIER]})(?:${he[pe.PRERELEASE]})?${he[pe.BUILD]}?)?)?`);Ke("XRANGEPLAINLOOSE",`[v=\\s]*(${he[pe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${he[pe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${he[pe.XRANGEIDENTIFIERLOOSE]})(?:${he[pe.PRERELEASELOOSE]})?${he[pe.BUILD]}?)?)?`);Ke("XRANGE",`^${he[pe.GTLT]}\\s*${he[pe.XRANGEPLAIN]}$`);Ke("XRANGELOOSE",`^${he[pe.GTLT]}\\s*${he[pe.XRANGEPLAINLOOSE]}$`);Ke("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Q6}})(?:\\.(\\d{1,${Q6}}))?(?:\\.(\\d{1,${Q6}}))?`);Ke("COERCE",`${he[pe.COERCEPLAIN]}(?:$|[^\\d])`);Ke("COERCEFULL",he[pe.COERCEPLAIN]+`(?:${he[pe.PRERELEASE]})?(?:${he[pe.BUILD]})?(?:$|[^\\d])`);Ke("COERCERTL",he[pe.COERCE],!0);Ke("COERCERTLFULL",he[pe.COERCEFULL],!0);Ke("LONETILDE","(?:~>?)");Ke("TILDETRIM",`(\\s*)${he[pe.LONETILDE]}\\s+`,!0);Nl.tildeTrimReplace="$1~";Ke("TILDE",`^${he[pe.LONETILDE]}${he[pe.XRANGEPLAIN]}$`);Ke("TILDELOOSE",`^${he[pe.LONETILDE]}${he[pe.XRANGEPLAINLOOSE]}$`);Ke("LONECARET","(?:\\^)");Ke("CARETTRIM",`(\\s*)${he[pe.LONECARET]}\\s+`,!0);Nl.caretTrimReplace="$1^";Ke("CARET",`^${he[pe.LONECARET]}${he[pe.XRANGEPLAIN]}$`);Ke("CARETLOOSE",`^${he[pe.LONECARET]}${he[pe.XRANGEPLAINLOOSE]}$`);Ke("COMPARATORLOOSE",`^${he[pe.GTLT]}\\s*(${he[pe.LOOSEPLAIN]})$|^$`);Ke("COMPARATOR",`^${he[pe.GTLT]}\\s*(${he[pe.FULLPLAIN]})$|^$`);Ke("COMPARATORTRIM",`(\\s*)${he[pe.GTLT]}\\s*(${he[pe.LOOSEPLAIN]}|${he[pe.XRANGEPLAIN]})`,!0);Nl.comparatorTrimReplace="$1$2$3";Ke("HYPHENRANGE",`^\\s*(${he[pe.XRANGEPLAIN]})\\s+-\\s+(${he[pe.XRANGEPLAIN]})\\s*$`);Ke("HYPHENRANGELOOSE",`^\\s*(${he[pe.XRANGEPLAINLOOSE]})\\s+-\\s+(${he[pe.XRANGEPLAINLOOSE]})\\s*$`);Ke("STAR","(<|>)?=?\\s*\\*");Ke("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Ke("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var aD=m((OSr,Wbe)=>{"use strict";var bmt=Object.freeze({loose:!0}),wmt=Object.freeze({}),Imt=o(t=>t?typeof t!="object"?bmt:t:wmt,"parseOptions");Wbe.exports=Imt});var P6=m((FSr,Kbe)=>{"use strict";var Jbe=/^[0-9]+$/,Ybe=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tYbe(e,t),"rcompareIdentifiers");Kbe.exports={compareIdentifiers:Ybe,rcompareIdentifiers:Smt}});var pi=m((USr,Zbe)=>{"use strict";var cD=CI(),{MAX_LENGTH:Xbe,MAX_SAFE_INTEGER:lD}=ky(),{safeRe:uD,t:fD}=Py(),Bmt=aD(),{compareIdentifiers:O6}=P6(),vmt=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let n=0;nXbe)throw new TypeError(`version is longer than ${Xbe} characters`);cD("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?uD[fD.LOOSE]:uD[fD.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>lD||this.major<0)throw new TypeError("Invalid major version");if(this.minor>lD||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>lD||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&se.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 n=this.prerelease[r],i=e.prerelease[r];if(cD("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return O6(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(cD("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return O6(n,i)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?uD[fD.PRERELEASELOOSE]:uD[fD.PRERELEASE]);if(!i||i[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];if(n===!1&&(s=[r]),vmt(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=s)}else this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Zbe.exports=L6});var Ld=m((GSr,t0e)=>{"use strict";var e0e=pi(),xmt=o((t,e,r=!1)=>{if(t instanceof e0e)return t;try{return new e0e(t,e)}catch(n){if(!r)return null;throw n}},"parse");t0e.exports=xmt});var n0e=m((VSr,r0e)=>{"use strict";var _mt=Ld(),Nmt=o((t,e)=>{let r=_mt(t,e);return r?r.version:null},"valid");r0e.exports=Nmt});var s0e=m((jSr,i0e)=>{"use strict";var Rmt=Ld(),Tmt=o((t,e)=>{let r=Rmt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");i0e.exports=Tmt});var c0e=m((WSr,a0e)=>{"use strict";var o0e=pi(),Dmt=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new o0e(t instanceof o0e?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");a0e.exports=Dmt});var f0e=m((YSr,u0e)=>{"use strict";var l0e=Ld(),Qmt=o((t,e)=>{let r=l0e(t,null,!0),n=l0e(e,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,c=s?n: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 f=l?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"},"diff");u0e.exports=Qmt});var h0e=m((XSr,d0e)=>{"use strict";var kmt=pi(),Pmt=o((t,e)=>new kmt(t,e).major,"major");d0e.exports=Pmt});var m0e=m((eBr,p0e)=>{"use strict";var Omt=pi(),Lmt=o((t,e)=>new Omt(t,e).minor,"minor");p0e.exports=Lmt});var g0e=m((rBr,A0e)=>{"use strict";var Fmt=pi(),Mmt=o((t,e)=>new Fmt(t,e).patch,"patch");A0e.exports=Mmt});var E0e=m((iBr,y0e)=>{"use strict";var Umt=Ld(),qmt=o((t,e)=>{let r=Umt(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");y0e.exports=qmt});var ua=m((oBr,b0e)=>{"use strict";var C0e=pi(),Gmt=o((t,e,r)=>new C0e(t,r).compare(new C0e(e,r)),"compare");b0e.exports=Gmt});var I0e=m((cBr,w0e)=>{"use strict";var Hmt=ua(),Vmt=o((t,e,r)=>Hmt(e,t,r),"rcompare");w0e.exports=Vmt});var B0e=m((uBr,S0e)=>{"use strict";var zmt=ua(),jmt=o((t,e)=>zmt(t,e,!0),"compareLoose");S0e.exports=jmt});var dD=m((dBr,x0e)=>{"use strict";var v0e=pi(),$mt=o((t,e,r)=>{let n=new v0e(t,r),i=new v0e(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");x0e.exports=$mt});var N0e=m((pBr,_0e)=>{"use strict";var Wmt=dD(),Jmt=o((t,e)=>t.sort((r,n)=>Wmt(r,n,e)),"sort");_0e.exports=Jmt});var T0e=m((ABr,R0e)=>{"use strict";var Ymt=dD(),Kmt=o((t,e)=>t.sort((r,n)=>Ymt(n,r,e)),"rsort");R0e.exports=Kmt});var bI=m((yBr,D0e)=>{"use strict";var Xmt=ua(),Zmt=o((t,e,r)=>Xmt(t,e,r)>0,"gt");D0e.exports=Zmt});var hD=m((CBr,Q0e)=>{"use strict";var eAt=ua(),tAt=o((t,e,r)=>eAt(t,e,r)<0,"lt");Q0e.exports=tAt});var F6=m((wBr,k0e)=>{"use strict";var rAt=ua(),nAt=o((t,e,r)=>rAt(t,e,r)===0,"eq");k0e.exports=nAt});var M6=m((SBr,P0e)=>{"use strict";var iAt=ua(),sAt=o((t,e,r)=>iAt(t,e,r)!==0,"neq");P0e.exports=sAt});var pD=m((vBr,O0e)=>{"use strict";var oAt=ua(),aAt=o((t,e,r)=>oAt(t,e,r)>=0,"gte");O0e.exports=aAt});var mD=m((_Br,L0e)=>{"use strict";var cAt=ua(),lAt=o((t,e,r)=>cAt(t,e,r)<=0,"lte");L0e.exports=lAt});var U6=m((RBr,F0e)=>{"use strict";var uAt=F6(),fAt=M6(),dAt=bI(),hAt=pD(),pAt=hD(),mAt=mD(),AAt=o((t,e,r,n)=>{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 uAt(t,r,n);case"!=":return fAt(t,r,n);case">":return dAt(t,r,n);case">=":return hAt(t,r,n);case"<":return pAt(t,r,n);case"<=":return mAt(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");F0e.exports=AAt});var U0e=m((DBr,M0e)=>{"use strict";var gAt=pi(),yAt=Ld(),{safeRe:AD,t:gD}=Py(),EAt=o((t,e)=>{if(t instanceof gAt)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?AD[gD.COERCEFULL]:AD[gD.COERCE]);else{let l=e.includePrerelease?AD[gD.COERCERTLFULL]:AD[gD.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 n=r[2],i=r[3]||"0",s=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return yAt(`${n}.${i}.${s}${a}${c}`,e)},"coerce");M0e.exports=EAt});var G0e=m((kBr,q0e)=>{"use strict";var CAt=Ld(),bAt=ky(),wAt=pi(),IAt=o((t,e,r)=>{if(!bAt.RELEASE_TYPES.includes(e))return null;let n=SAt(t,r);return n&&BAt(n,e)},"truncate"),SAt=o((t,e)=>{let r=t instanceof wAt?t.version:t;return CAt(r,e)},"cloneInputVersion"),BAt=o((t,e)=>{if(vAt(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"),vAt=o(t=>t.startsWith("pre"),"isPrerelease");q0e.exports=IAt});var V0e=m((OBr,H0e)=>{"use strict";var q6=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 i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};H0e.exports=q6});var fa=m((FBr,W0e)=>{"use strict";var xAt=/\s+/g,G6=class t{static{o(this,"Range")}constructor(e,r){if(r=NAt(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof H6)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(xAt," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!j0e(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&FAt(i[0])){this.set=[i];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(LAt,"");let n=((this.options.includePrerelease&&PAt)|(this.options.loose&&OAt))+":"+e,i=z0e.get(n);if(i)return i;let s=this.options.loose,a=s?rs[mi.HYPHENRANGELOOSE]:rs[mi.HYPHENRANGE];e=e.replace(a,JAt(this.options.includePrerelease)),or("hyphen replace",e),e=e.replace(rs[mi.COMPARATORTRIM],DAt),or("comparator trim",e),e=e.replace(rs[mi.TILDETRIM],QAt),or("tilde trim",e),e=e.replace(rs[mi.CARETTRIM],kAt),or("caret trim",e);let c=e.split(" ").map(d=>MAt(d,this.options)).join(" ").split(/\s+/).map(d=>WAt(d,this.options));s&&(c=c.filter(d=>(or("loose invalid filter",d,this.options),!!d.match(rs[mi.COMPARATORLOOSE])))),or("range list",c);let l=new Map,u=c.map(d=>new H6(d,this.options));for(let d of u){if(j0e(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let f=[...l.values()];return z0e.set(n,f),f}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>$0e(n,r)&&e.set.some(i=>$0e(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new RAt(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),FAt=o(t=>t.value==="","isAny"),$0e=o((t,e)=>{let r=!0,n=t.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,e)),i=n.pop();return r},"isSatisfiable"),MAt=o((t,e)=>(t=t.replace(rs[mi.BUILD],""),or("comp",t,e),t=HAt(t,e),or("caret",t),t=qAt(t,e),or("tildes",t),t=zAt(t,e),or("xrange",t),t=$At(t,e),or("stars",t),t),"parseComparator"),kn=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),UAt=o((t,e,r)=>kn(t)&&!kn(e)||kn(e)&&r&&!kn(r),"invalidXRangeOrder"),qAt=o((t,e)=>t.trim().split(/\s+/).map(r=>GAt(r,e)).join(" "),"replaceTildes"),GAt=o((t,e)=>{let r=e.loose?rs[mi.TILDELOOSE]:rs[mi.TILDE],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{or("tilde",t,i,s,a,c,l);let u;return kn(s)?u="":kn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:kn(c)?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:l?(or("replaceTilde pr",l),u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`):u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`,or("tilde return",u),u})},"replaceTilde"),HAt=o((t,e)=>t.trim().split(/\s+/).map(r=>VAt(r,e)).join(" "),"replaceCarets"),VAt=o((t,e)=>{or("caret",t,e);let r=e.loose?rs[mi.CARETLOOSE]:rs[mi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{or("caret",t,i,s,a,c,l);let u;return kn(s)?u="":kn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:kn(c)?s==="0"?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(or("replaceCaret pr",l),s==="0"?a==="0"?u=`>=${s}.${a}.${c}-${l} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c}-${l} <${+s+1}.0.0-0`):(or("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${c} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),or("caret return",u),u})},"replaceCaret"),zAt=o((t,e)=>(or("replaceXRanges",t,e),t.split(/\s+/).map(r=>jAt(r,e)).join(" ")),"replaceXRanges"),jAt=o((t,e)=>{t=t.trim();let r=e.loose?rs[mi.XRANGELOOSE]:rs[mi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{if(or("xRange",t,n,i,s,a,c,l),UAt(s,a,c))return t;let u=kn(s),f=u||kn(a),d=f||kn(c),h=d;return i==="="&&h&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(f&&(a=0),c=0,i===">"?(i=">=",f?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",f?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${c}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:d&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),or("xRange return",n),n})},"replaceXRange"),$At=o((t,e)=>(or("replaceStars",t,e),t.trim().replace(rs[mi.STAR],"")),"replaceStars"),WAt=o((t,e)=>(or("replaceGTE0",t,e),t.trim().replace(rs[e.includePrerelease?mi.GTE0PRE:mi.GTE0],"")),"replaceGTE0"),JAt=o(t=>(e,r,n,i,s,a,c,l,u,f,d,h)=>(kn(n)?r="":kn(i)?r=`>=${n}.0.0${t?"-0":""}`:kn(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,kn(u)?l="":kn(f)?l=`<${+u+1}.0.0-0`:kn(d)?l=`<${u}.${+f+1}.0-0`:h?l=`<=${u}.${f}.${d}-${h}`:t?l=`<${u}.${f}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),YAt=o((t,e,r)=>{for(let n=0;n0){let i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var wI=m((UBr,ewe)=>{"use strict";var II=Symbol("SemVer ANY"),j6=class t{static{o(this,"Comparator")}static get ANY(){return II}constructor(e,r){if(r=J0e(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),z6("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===II?this.value="":this.value=this.operator+this.semver.version,z6("comp",this)}parse(e){let r=this.options.loose?Y0e[K0e.COMPARATORLOOSE]:Y0e[K0e.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new X0e(n[2],this.options.loose):this.semver=II}toString(){return this.value}test(e){if(z6("Comparator.test",e,this.options.loose),this.semver===II||e===II)return!0;if(typeof e=="string")try{e=new X0e(e,this.options)}catch{return!1}return V6(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 Z0e(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Z0e(this.value,r).test(e.semver):(r=J0e(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("=")||V6(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||V6(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};ewe.exports=j6;var J0e=aD(),{safeRe:Y0e,t:K0e}=Py(),V6=U6(),z6=CI(),X0e=pi(),Z0e=fa()});var SI=m((GBr,twe)=>{"use strict";var KAt=fa(),XAt=o((t,e,r)=>{try{e=new KAt(e,r)}catch{return!1}return e.test(t)},"satisfies");twe.exports=XAt});var nwe=m((VBr,rwe)=>{"use strict";var ZAt=fa(),egt=o((t,e)=>new ZAt(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");rwe.exports=egt});var swe=m((jBr,iwe)=>{"use strict";var tgt=pi(),rgt=fa(),ngt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new rgt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new tgt(n,r))}),n},"maxSatisfying");iwe.exports=ngt});var awe=m((WBr,owe)=>{"use strict";var igt=pi(),sgt=fa(),ogt=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new sgt(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new igt(n,r))}),n},"minSatisfying");owe.exports=ogt});var uwe=m((YBr,lwe)=>{"use strict";var $6=pi(),agt=fa(),cwe=bI(),cgt=o((t,e)=>{t=new agt(t,e);let r=new $6("0.0.0");if(t.test(r)||(r=new $6("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new $6(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||cwe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||cwe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");lwe.exports=cgt});var dwe=m((XBr,fwe)=>{"use strict";var lgt=fa(),ugt=o((t,e)=>{try{return new lgt(t,e).range||"*"}catch{return null}},"validRange");fwe.exports=ugt});var yD=m((evr,Awe)=>{"use strict";var fgt=pi(),mwe=wI(),{ANY:dgt}=mwe,hgt=fa(),pgt=SI(),hwe=bI(),pwe=hD(),mgt=mD(),Agt=pD(),ggt=o((t,e,r,n)=>{t=new fgt(t,n),e=new hgt(e,n);let i,s,a,c,l;switch(r){case">":i=hwe,s=mgt,a=pwe,c=">",l=">=";break;case"<":i=pwe,s=Agt,a=hwe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(pgt(t,e,n))return!1;for(let u=0;u{p.semver===dgt&&(p=new mwe(">=0.0.0")),d=d||p,h=h||p,i(p.semver,d.semver,n)?d=p:a(p.semver,h.semver,n)&&(h=p)}),d.operator===c||d.operator===l||(!h.operator||h.operator===c)&&s(t,h.semver))return!1;if(h.operator===l&&a(t,h.semver))return!1}return!0},"outside");Awe.exports=ggt});var ywe=m((rvr,gwe)=>{"use strict";var ygt=yD(),Egt=o((t,e,r)=>ygt(t,e,">",r),"gtr");gwe.exports=Egt});var Cwe=m((ivr,Ewe)=>{"use strict";var Cgt=yD(),bgt=o((t,e,r)=>Cgt(t,e,"<",r),"ltr");Ewe.exports=bgt});var Iwe=m((ovr,wwe)=>{"use strict";var bwe=fa(),wgt=o((t,e,r)=>(t=new bwe(t,r),e=new bwe(e,r),t.intersects(e,r)),"intersects");wwe.exports=wgt});var Bwe=m((cvr,Swe)=>{"use strict";var Igt=SI(),Sgt=ua();Swe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((f,d)=>Sgt(f,d,r));for(let f of a)Igt(f,e,r)?(s=f,i||(i=f)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let c=[];for(let[f,d]of n)f===d?c.push(f):!d&&f===a[0]?c.push("*"):d?f===a[0]?c.push(`<=${d}`):c.push(`${f} - ${d}`):c.push(`>=${f}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var vwe=fa(),Y6=wI(),{ANY:W6}=Y6,J6=SI(),K6=ua(),Bgt=o((t,e,r={})=>{if(t===e)return!0;t=new vwe(t,r),e=new vwe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=xgt(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),vgt=[new Y6(">=0.0.0-0")],xwe=[new Y6(">=0.0.0")],xgt=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===W6){if(e.length===1&&e[0].semver===W6)return!0;r.includePrerelease?t=vgt:t=xwe}if(e.length===1&&e[0].semver===W6){if(r.includePrerelease)return!0;e=xwe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=_we(i,p,r):p.operator==="<"||p.operator==="<="?s=Nwe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=K6(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!J6(p,String(i),r)||s&&!J6(p,String(s),r))return null;for(let A of e)if(!J6(p,String(A),r))return!1;return!0}let c,l,u,f,d=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&s.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(f=f||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(c=_we(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(s){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=Nwe(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!p.test(s.semver))return!1}if(!p.operator&&(s||i)&&a!==0)return!1}return!(i&&u&&!s&&a!==0||s&&f&&!i&&a!==0||h||d)},"simpleSubset"),_we=o((t,e,r)=>{if(!t)return e;let n=K6(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Nwe=o((t,e,r)=>{if(!t)return e;let n=K6(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Rwe.exports=Bgt});var hc=m((fvr,kwe)=>{"use strict";var X6=Py(),Dwe=ky(),_gt=pi(),Qwe=P6(),Ngt=Ld(),Rgt=n0e(),Tgt=s0e(),Dgt=c0e(),Qgt=f0e(),kgt=h0e(),Pgt=m0e(),Ogt=g0e(),Lgt=E0e(),Fgt=ua(),Mgt=I0e(),Ugt=B0e(),qgt=dD(),Ggt=N0e(),Hgt=T0e(),Vgt=bI(),zgt=hD(),jgt=F6(),$gt=M6(),Wgt=pD(),Jgt=mD(),Ygt=U6(),Kgt=U0e(),Xgt=G0e(),Zgt=wI(),eyt=fa(),tyt=SI(),ryt=nwe(),nyt=swe(),iyt=awe(),syt=uwe(),oyt=dwe(),ayt=yD(),cyt=ywe(),lyt=Cwe(),uyt=Iwe(),fyt=Bwe(),dyt=Twe();kwe.exports={parse:Ngt,valid:Rgt,clean:Tgt,inc:Dgt,diff:Qgt,major:kgt,minor:Pgt,patch:Ogt,prerelease:Lgt,compare:Fgt,rcompare:Mgt,compareLoose:Ugt,compareBuild:qgt,sort:Ggt,rsort:Hgt,gt:Vgt,lt:zgt,eq:jgt,neq:$gt,gte:Wgt,lte:Jgt,cmp:Ygt,coerce:Kgt,truncate:Xgt,Comparator:Zgt,Range:eyt,satisfies:tyt,toComparators:ryt,maxSatisfying:nyt,minSatisfying:iyt,minVersion:syt,validRange:oyt,outside:ayt,gtr:cyt,ltr:lyt,intersects:uyt,simplifyRange:fyt,subset:dyt,SemVer:_gt,re:X6.re,src:X6.src,tokens:X6.t,SEMVER_SPEC_VERSION:Dwe.SEMVER_SPEC_VERSION,RELEASE_TYPES:Dwe.RELEASE_TYPES,compareIdentifiers:Qwe.compareIdentifiers,rcompareIdentifiers:Qwe.rcompareIdentifiers}});var Owe=m((pvr,Pwe)=>{function da(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(da,"RetryOperation");Pwe.exports=da;da.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};da.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};da.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 n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};da.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)};da.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};da.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};da.prototype.start=da.prototype.try;da.prototype.errors=function(){return this._errors};da.prototype.attempts=function(){return this._attempts};da.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n=r&&(e=i,r=a)}return e}});var Lwe=m(rm=>{var hyt=Owe();rm.operation=function(t){var e=rm.timeouts(t);return new hyt(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};rm.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 n=[],i=0;i{Fwe.exports=Lwe()});var qwe=m((Evr,Uwe)=>{var pyt=Mwe();function myt(t,e){function r(n,i){var s=e||{},a;"randomize"in s||(s.randomize=!0),a=pyt.operation(s);function c(f){i(f||new Error("Aborted"))}o(c,"bail");function l(f,d){if(f.bail){c(f);return}a.retry(f)?s.onRetry&&s.onRetry(f,d):i(a.mainError())}o(l,"onError");function u(f){var d;try{d=t(c,f)}catch(h){l(h,f);return}Promise.resolve(d).then(n).catch(o(function(p){l(p,f)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(myt,"retry");Uwe.exports=myt});var sIe=m((bvr,of)=>{var jt=require("fs"),bD=require("os"),Pn=require("path"),Gwe=require("crypto"),Rl={fs:jt.constants,os:bD.constants},Hwe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",$we=/XXXXXX/,Ayt=3,Wwe=(Rl.O_CREAT||Rl.fs.O_CREAT)|(Rl.O_EXCL||Rl.fs.O_EXCL)|(Rl.O_RDWR||Rl.fs.O_RDWR),gyt=bD.platform()==="win32",yyt=Rl.EBADF||Rl.os.errno.EBADF,Eyt=Rl.ENOENT||Rl.os.errno.ENOENT,Jwe=448,Ywe=384,Cyt="exit",Oy=[],Kwe=jt.rmdirSync.bind(jt),Xwe=!1;function byt(t,e){return jt.rm(t,{recursive:!0},e)}o(byt,"rimraf");function Zwe(t){return jt.rmSync(t,{recursive:!0})}o(Zwe,"FN_RIMRAF_SYNC");function r9(t,e){let r=Ly(t,e),n=r[0],i=r[1];Tyt(n,function(s,a){if(s)return i(s);let c=a.tries;o((function l(){try{let u=tIe(a);jt.stat(u,function(f){if(!f)return c-- >0?l():i(new Error("Could not get a unique tmp filename, max tries reached "+u));i(null,u)})}catch(u){i(u)}}),"_getUniqueName")()})}o(r9,"tmpName");function n9(t){let e=Ly(t),r=e[0],n=Dyt(r),i=n.tries;do{let s=tIe(n);try{jt.statSync(s)}catch{return s}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(n9,"tmpNameSync");function wyt(t,e){let r=Ly(t,e),n=r[0],i=r[1];r9(n,o(function(a,c){if(a)return i(a);jt.open(c,Wwe,n.mode||Ywe,o(function(u,f){if(u)return i(u);if(n.discardDescriptor)return jt.close(f,o(function(h){return i(h,c,void 0,e9(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;i(null,c,f,e9(c,d?-1:f,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(wyt,"file");function Iyt(t){let e=Ly(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,i=n9(r),s=jt.openSync(i,Wwe,r.mode||Ywe);return r.discardDescriptor&&(jt.closeSync(s),s=void 0),{name:i,fd:s,removeCallback:e9(i,n?-1:s,r,!0)}}o(Iyt,"fileSync");function Syt(t,e){let r=Ly(t,e),n=r[0],i=r[1];r9(n,o(function(a,c){if(a)return i(a);jt.mkdir(c,n.mode||Jwe,o(function(u){if(u)return i(u);i(null,c,eIe(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Syt,"dir");function Byt(t){let e=Ly(t),r=e[0],n=n9(r);return jt.mkdirSync(n,r.mode||Jwe),{name:n,removeCallback:eIe(n,r,!0)}}o(Byt,"dirSync");function vyt(t,e){let r=o(function(n){if(n&&!t9(n))return e(n);e()},"_handler");0<=t[0]?jt.close(t[0],function(){jt.unlink(t[1],r)}):jt.unlink(t[1],r)}o(vyt,"_removeFileAsync");function xyt(t){let e=null;try{0<=t[0]&&jt.closeSync(t[0])}catch(r){if(!Qyt(r)&&!t9(r))throw r}finally{try{jt.unlinkSync(t[1])}catch(r){t9(r)||(e=r)}}if(e!==null)throw e}o(xyt,"_removeFileSync");function e9(t,e,r,n){let i=CD(xyt,[e,t],n),s=CD(vyt,[e,t],n,i);return r.keep||Oy.unshift(i),n?i:s}o(e9,"_prepareTmpFileRemoveCallback");function eIe(t,e,r){let n=e.unsafeCleanup?byt:jt.rmdir.bind(jt),i=e.unsafeCleanup?Zwe:Kwe,s=CD(i,t,r),a=CD(n,t,r,s);return e.keep||Oy.unshift(s),r?s:a}o(eIe,"_prepareTmpDirRemoveCallback");function CD(t,e,r,n){let i=!1;return o(function s(a){if(!i){let c=n||s,l=Oy.indexOf(c);return l>=0&&Oy.splice(l,1),i=!0,r||t===Kwe||t===Zwe?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(CD,"_prepareRemoveCallback");function _yt(){if(Xwe)for(;Oy.length;)try{Oy[0]()}catch{}}o(_yt,"_garbageCollector");function Vwe(t){let e=[],r=null;try{r=Gwe.randomBytes(t)}catch{r=Gwe.pseudoRandomBytes(t)}for(let n=0;n"u"}o(Ps,"_isUndefined");function Ly(t,e){if(typeof t=="function")return[{},t];if(Ps(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(Ly,"_parseArguments");function Nyt(t,e,r){let n=Pn.isAbsolute(t)?t:Pn.join(e,t);jt.stat(n,function(i){i?jt.realpath(Pn.dirname(n),function(s,a){if(s)return r(s);r(null,Pn.join(a,Pn.basename(n)))}):jt.realpath(n,r)})}o(Nyt,"_resolvePath");function Ryt(t,e){let r=Pn.isAbsolute(t)?t:Pn.join(e,t);try{return jt.statSync(r),jt.realpathSync(r)}catch{let i=jt.realpathSync(Pn.dirname(r));return Pn.join(i,Pn.basename(r))}}o(Ryt,"_resolvePathSync");function tIe(t){let e=t.tmpdir;if(!Ps(t.name))return Pn.join(e,t.dir,t.name);if(!Ps(t.template))return Pn.join(e,t.dir,t.template).replace($we,Vwe(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",Vwe(12),t.postfix?"-"+t.postfix:""].join("");return Pn.join(e,t.dir,r)}o(tIe,"_generateTmpName");function Z6(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(Z6,"_assertPath");function rIe(t){if(!Ps(t.name)){let e=t.name;if(Pn.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Pn.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Ps(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match($we))throw new Error(`Invalid template, found "${t.template}".`)}if(!Ps(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Ps(t.name)?t.tries||Ayt:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Ps(t.prefix)?"":Z6("prefix",t.prefix),t.postfix=Ps(t.postfix)?"":Z6("postfix",t.postfix),t.template=Ps(t.template)?void 0:Z6("template",t.template)}o(rIe,"_assertOptionsBase");function zwe(t,e,r,n){if(Ps(e))return n(null);Nyt(e,r,function(i,s){if(i)return n(i);let a=Pn.relative(r,s);if(a.startsWith("..")||Pn.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(zwe,"_getRelativePath");function jwe(t,e,r){if(Ps(e))return;let n=Ryt(e,r),i=Pn.relative(r,n);if(i.startsWith("..")||Pn.isAbsolute(i))throw new Error(`${t} option must be relative to "${r}", found "${i}".`);return i}o(jwe,"_getRelativePathSync");function Tyt(t,e){Pyt(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{rIe(t,n)}catch(i){return e(i)}zwe("dir",t.dir,n,function(i,s){if(i)return e(i);t.dir=Ps(s)?"":s,zwe("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Tyt,"_assertAndSanitizeOptions");function Dyt(t){let e=t.tmpdir=iIe(t);rIe(t,e);let r=jwe("dir",t.dir,e);return t.dir=Ps(r)?"":r,t.template=jwe("template",t.template,e),t}o(Dyt,"_assertAndSanitizeOptionsSync");function Qyt(t){return nIe(t,-yyt,"EBADF")}o(Qyt,"_isEBADF");function t9(t){return nIe(t,-Eyt,"ENOENT")}o(t9,"_isENOENT");function nIe(t,e,r){return gyt?t.code===r:t.code===r&&t.errno===e}o(nIe,"_isExpectedError");function kyt(){Xwe=!0}o(kyt,"setGracefulCleanup");function Pyt(t,e){return jt.realpath(t&&t.tmpdir||bD.tmpdir(),e)}o(Pyt,"_getTmpDir");function iIe(t){return jt.realpathSync(t&&t.tmpdir||bD.tmpdir())}o(iIe,"_getTmpDirSync");process.addListener(Cyt,_yt);Object.defineProperty(of.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return iIe()},"get")});of.exports.dir=Syt;of.exports.dirSync=Byt;of.exports.file=wyt;of.exports.fileSync=Iyt;of.exports.tmpName=r9;of.exports.tmpNameSync=n9;of.exports.setGracefulCleanup=kyt});var ns=m(bo=>{"use strict";bo.__esModule=!0;bo.extend=lIe;bo.indexOf=Uyt;bo.escapeExpression=qyt;bo.isEmpty=Gyt;bo.createFrame=Hyt;bo.blockParams=Vyt;bo.appendContextPath=zyt;var Oyt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Lyt=/[&<>"'`=]/g,Fyt=/[&<>"'`=]/;function Myt(t){return Oyt[t]}o(Myt,"escapeChar");function lIe(t){for(var e=1;e{"use strict";wD.__esModule=!0;var a9=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function c9(t,e){var r=e&&e.loc,n=void 0,i=void 0,s=void 0,a=void 0;r&&(n=r.start.line,i=r.end.line,s=r.start.column,a=r.end.column,t+=" - "+n+":"+s);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";ID.__esModule=!0;var l9=ns();ID.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(l9.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var s=l9.createFrame(r.data);s.contextPath=l9.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(e,r)})};dIe.exports=ID.default});var mIe=m((SD,pIe)=>{"use strict";SD.__esModule=!0;function jyt(t){return t&&t.__esModule?t:{default:t}}o(jyt,"_interopRequireDefault");var BI=ns(),$yt=wo(),Wyt=jyt($yt);SD.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new Wyt.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=BI.appendContextPath(r.data.contextPath,r.ids[0])+"."),BI.isFunction(e)&&(e=e.call(this)),r.data&&(c=BI.createFrame(r.data));function u(A,g,E){c&&(c.key=A,c.index=g,c.first=g===0,c.last=!!E,l&&(c.contextPath=l+A)),a=a+n(e[A],{data:c,blockParams:BI.blockParams([e[A],A],[l+A,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(BI.isArray(e))for(var f=e.length;s{"use strict";BD.__esModule=!0;function Jyt(t){return t&&t.__esModule?t:{default:t}}o(Jyt,"_interopRequireDefault");var Yyt=wo(),Kyt=Jyt(Yyt);BD.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Kyt.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};AIe.exports=BD.default});var bIe=m((vD,CIe)=>{"use strict";vD.__esModule=!0;function Xyt(t){return t&&t.__esModule?t:{default:t}}o(Xyt,"_interopRequireDefault");var yIe=ns(),Zyt=wo(),EIe=Xyt(Zyt);vD.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new EIe.default("#if requires exactly one argument");return yIe.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||yIe.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new EIe.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};CIe.exports=vD.default});var IIe=m((xD,wIe)=>{"use strict";xD.__esModule=!0;xD.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";_D.__esModule=!0;_D.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};SIe.exports=_D.default});var xIe=m((ND,vIe)=>{"use strict";ND.__esModule=!0;function eEt(t){return t&&t.__esModule?t:{default:t}}o(eEt,"_interopRequireDefault");var vI=ns(),tEt=wo(),rEt=eEt(tEt);ND.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new rEt.default("#with requires exactly one argument");vI.isFunction(e)&&(e=e.call(this));var n=r.fn;if(vI.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=vI.createFrame(r.data),i.contextPath=vI.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:vI.blockParams([e],[i&&i.contextPath])})})};vIe.exports=ND.default});var u9=m(RD=>{"use strict";RD.__esModule=!0;RD.registerDefaultHelpers=gEt;RD.moveHelperToHooks=yEt;function nm(t){return t&&t.__esModule?t:{default:t}}o(nm,"_interopRequireDefault");var nEt=hIe(),iEt=nm(nEt),sEt=mIe(),oEt=nm(sEt),aEt=gIe(),cEt=nm(aEt),lEt=bIe(),uEt=nm(lEt),fEt=IIe(),dEt=nm(fEt),hEt=BIe(),pEt=nm(hEt),mEt=xIe(),AEt=nm(mEt);function gEt(t){iEt.default(t),oEt.default(t),cEt.default(t),uEt.default(t),dEt.default(t),pEt.default(t),AEt.default(t)}o(gEt,"registerDefaultHelpers");function yEt(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(yEt,"moveHelperToHooks")});var NIe=m((TD,_Ie)=>{"use strict";TD.__esModule=!0;var EEt=ns();TD.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var s=e;return r.partials||(r.partials={},s=o(function(a,c){var l=n.partials;n.partials=EEt.extend({},l,r.partials);var u=e(a,c);return n.partials=l,u},"ret")),r.partials[i.args[0]]=i.fn,s})};_Ie.exports=TD.default});var RIe=m(f9=>{"use strict";f9.__esModule=!0;f9.registerDefaultDecorators=IEt;function CEt(t){return t&&t.__esModule?t:{default:t}}o(CEt,"_interopRequireDefault");var bEt=NIe(),wEt=CEt(bEt);function IEt(t){wEt.default(t)}o(IEt,"registerDefaultDecorators")});var d9=m((DD,TIe)=>{"use strict";DD.__esModule=!0;var SEt=ns(),Fy={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=SEt.indexOf(Fy.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=Fy.lookupLevel(e),typeof console<"u"&&Fy.lookupLevel(Fy.level)<=e){var r=Fy.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s{"use strict";xI.__esModule=!0;xI.createProtoAccessControl=_Et;xI.resultIsAllowed=NEt;xI.resetLoggedProperties=TEt;function BEt(t){return t&&t.__esModule?t:{default:t}}o(BEt,"_interopRequireDefault");var DIe=ns(),vEt=d9(),xEt=BEt(vEt),QD=Object.create(null);function _Et(t){var e=Object.create(null);e.__proto__=!1,DIe.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,DIe.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(_Et,"createProtoAccessControl");function NEt(t,e,r){return QIe(typeof t=="function"?e.methods:e.properties,r)}o(NEt,"resultIsAllowed");function QIe(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(REt(e),!1)}o(QIe,"checkWhiteList");function REt(t){QD[t]!==!0&&(QD[t]=!0,xEt.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(pmt,"logUnexpecedPropertyAccessOnce");function Amt(){Object.keys(rD).forEach(function(t){delete rD[t]})}o(Amt,"resetLoggedProperties")});var iD=A(Bl=>{"use strict";Bl.__esModule=!0;Bl.HandlebarsEnvironment=oj;function G0e(t){return t&&t.__esModule?t:{default:t}}o(G0e,"_interopRequireDefault");var zp=ts(),mmt=Co(),ij=G0e(mmt),gmt=ej(),ymt=F0e(),Emt=rj(),nD=G0e(Emt),Cmt=nj(),bmt="4.7.9";Bl.VERSION=bmt;var Imt=8;Bl.COMPILER_REVISION=Imt;var wmt=7;Bl.LAST_COMPATIBLE_COMPILER_REVISION=wmt;var Smt={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"};Bl.REVISION_CHANGES=Smt;var sj="[object Object]";function oj(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},gmt.registerDefaultHelpers(this),ymt.registerDefaultDecorators(this)}o(oj,"HandlebarsEnvironment");oj.prototype={constructor:oj,logger:nD.default,log:nD.default.log,registerHelper:o(function(e,r){if(zp.toString.call(e)===sj){if(r)throw new ij.default("Arg not supported with multiple helpers");zp.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(zp.toString.call(e)===sj)zp.extend(this.partials,e);else{if(typeof r>"u")throw new ij.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(zp.toString.call(e)===sj){if(r)throw new ij.default("Arg not supported with multiple decorators");zp.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Cmt.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var Bmt=nD.default.log;Bl.log=Bmt;Bl.createFrame=zp.createFrame;Bl.logger=nD.default});var V0e=A((sD,H0e)=>{"use strict";sD.__esModule=!0;function aj(t){this.string=t}o(aj,"SafeString");aj.prototype.toString=aj.prototype.toHTML=function(){return""+this.string};sD.default=aj;H0e.exports=sD.default});var z0e=A(cj=>{"use strict";cj.__esModule=!0;cj.wrapHelper=xmt;function xmt(t,e){if(typeof t!="function")return t;var r=o(function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)},"wrapper");return r}o(xmt,"wrapHelper")});var K0e=A(Nf=>{"use strict";Nf.__esModule=!0;Nf.checkRevision=Dmt;Nf.template=Qmt;Nf.wrapProgram=oD;Nf.resolvePartial=kmt;Nf.invokePartial=Pmt;Nf.noop=J0e;function vmt(t){return t&&t.__esModule?t:{default:t}}o(vmt,"_interopRequireDefault");function Nmt(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(Nmt,"_interopRequireWildcard");var _mt=ts(),by=Nmt(_mt),Tmt=Co(),Xu=vmt(Tmt),Zu=iD(),$0e=ej(),Rmt=z0e(),j0e=nj();function Dmt(t){var e=t&&t[0]||1,r=Zu.COMPILER_REVISION;if(!(e>=Zu.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Zu.COMPILER_REVISION))if(e{"use strict";cD.__esModule=!0;cD.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}};X0e.exports=cD.default});var nIe=A((lD,rIe)=>{"use strict";lD.__esModule=!0;function dj(t){return t&&t.__esModule?t:{default:t}}o(dj,"_interopRequireDefault");function fj(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(fj,"_interopRequireWildcard");var Fmt=iD(),Z0e=fj(Fmt),Mmt=V0e(),Umt=dj(Mmt),qmt=Co(),Gmt=dj(qmt),Hmt=ts(),uj=fj(Hmt),Vmt=K0e(),eIe=fj(Vmt),zmt=lj(),$mt=dj(zmt);function tIe(){var t=new Z0e.HandlebarsEnvironment;return uj.extend(t,Z0e),t.SafeString=Umt.default,t.Exception=Gmt.default,t.Utils=uj,t.escapeExpression=uj.escapeExpression,t.VM=eIe,t.template=function(e){return eIe.template(e,t)},t}o(tIe,"create");var nw=tIe();nw.create=tIe;$mt.default(nw);nw.default=nw;lD.default=nw;rIe.exports=lD.default});var hj=A((uD,sIe)=>{"use strict";uD.__esModule=!0;var iIe={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&&!iIe.helpers.scopedId(e)&&!e.depth},"simpleId")}};uD.default=iIe;sIe.exports=uD.default});var aIe=A((dD,oIe)=>{"use strict";dD.__esModule=!0;var jmt=(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(i,s,a,c,l,u,d){var f=u.length-1;switch(l){case 1:return u[f-1];case 2:this.$=c.prepareProgram(u[f]);break;case 3:this.$=u[f];break;case 4:this.$=u[f];break;case 5:this.$=u[f];break;case 6:this.$=u[f];break;case 7:this.$=u[f];break;case 8:this.$=u[f];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(u[f]),strip:c.stripFlags(u[f],u[f]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[f],value:u[f],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(u[f-2],u[f-1],u[f],this._$);break;case 12:this.$={path:u[f-3],params:u[f-2],hash:u[f-1]};break;case 13:this.$=c.prepareBlock(u[f-3],u[f-2],u[f-1],u[f],!1,this._$);break;case 14:this.$=c.prepareBlock(u[f-3],u[f-2],u[f-1],u[f],!0,this._$);break;case 15:this.$={open:u[f-5],path:u[f-4],params:u[f-3],hash:u[f-2],blockParams:u[f-1],strip:c.stripFlags(u[f-5],u[f])};break;case 16:this.$={path:u[f-4],params:u[f-3],hash:u[f-2],blockParams:u[f-1],strip:c.stripFlags(u[f-5],u[f])};break;case 17:this.$={path:u[f-4],params:u[f-3],hash:u[f-2],blockParams:u[f-1],strip:c.stripFlags(u[f-5],u[f])};break;case 18:this.$={strip:c.stripFlags(u[f-1],u[f-1]),program:u[f]};break;case 19:var h=c.prepareBlock(u[f-2],u[f-1],u[f],u[f],!1,this._$),p=c.prepareProgram([h],u[f-1].loc);p.chained=!0,this.$={strip:u[f-2].strip,program:p,chain:!0};break;case 20:this.$=u[f];break;case 21:this.$={path:u[f-1],strip:c.stripFlags(u[f-2],u[f])};break;case 22:this.$=c.prepareMustache(u[f-3],u[f-2],u[f-1],u[f-4],c.stripFlags(u[f-4],u[f]),this._$);break;case 23:this.$=c.prepareMustache(u[f-3],u[f-2],u[f-1],u[f-4],c.stripFlags(u[f-4],u[f]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[f-3],params:u[f-2],hash:u[f-1],indent:"",strip:c.stripFlags(u[f-4],u[f]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(u[f-2],u[f-1],u[f],this._$);break;case 26:this.$={path:u[f-3],params:u[f-2],hash:u[f-1],strip:c.stripFlags(u[f-4],u[f])};break;case 27:this.$=u[f];break;case 28:this.$=u[f];break;case 29:this.$={type:"SubExpression",path:u[f-3],params:u[f-2],hash:u[f-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[f],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(u[f-2]),value:u[f],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(u[f-1]);break;case 33:this.$=u[f];break;case 34:this.$=u[f];break;case 35:this.$={type:"StringLiteral",value:u[f],original:u[f],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[f]),original:Number(u[f]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[f]==="true",original:u[f]==="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[f];break;case 41:this.$=u[f];break;case 42:this.$=c.preparePath(!0,u[f],this._$);break;case 43:this.$=c.preparePath(!1,u[f],this._$);break;case 44:u[f-2].push({part:c.id(u[f]),original:u[f],separator:u[f-1]}),this.$=u[f-2];break;case 45:this.$=[{part:c.id(u[f]),original:u[f]}];break;case 46:this.$=[];break;case 47:u[f-1].push(u[f]);break;case 48:this.$=[];break;case 49:u[f-1].push(u[f]);break;case 50:this.$=[];break;case 51:u[f-1].push(u[f]);break;case 58:this.$=[];break;case 59:u[f-1].push(u[f]);break;case 64:this.$=[];break;case 65:u[f-1].push(u[f]);break;case 70:this.$=[];break;case 71:u[f-1].push(u[f]);break;case 78:this.$=[];break;case 79:u[f-1].push(u[f]);break;case 82:this.$=[];break;case 83:u[f-1].push(u[f]);break;case 86:this.$=[];break;case 87:u[f-1].push(u[f]);break;case 90:this.$=[];break;case 91:u[f-1].push(u[f]);break;case 94:this.$=[];break;case 95:u[f-1].push(u[f]);break;case 98:this.$=[u[f]];break;case 99:u[f-1].push(u[f]);break;case 100:this.$=[u[f]];break;case 101:u[f-1].push(u[f]);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(i,s){throw new Error(i)},"parseError"),parse:o(function(i){var s=this,a=[0],c=[null],l=[],u=this.table,d="",f=0,h=0,p=0,g=2,m=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var E=this.lexer.yylloc;l.push(E);var y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function C(Y){a.length=a.length-2*Y,c.length=c.length-Y,l.length=l.length-Y}o(C,"popStack");function I(){var Y;return Y=s.lexer.lex()||1,typeof Y!="number"&&(Y=s.symbols_[Y]||Y),Y}o(I,"lex");for(var B,Q,M,v,$,D,H={},V,J,ee,ae;;){if(M=a[a.length-1],this.defaultActions[M]?v=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=I()),v=u[M]&&u[M][B]),typeof v>"u"||!v.length||!v[0]){var Ae="";if(!p){ae=[];for(V in u[M])this.terminals_[V]&&V>2&&ae.push("'"+this.terminals_[V]+"'");this.lexer.showPosition?Ae="Parse error on line "+(f+1)+`: +See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(REt,"logUnexpecedPropertyAccessOnce");function TEt(){Object.keys(QD).forEach(function(t){delete QD[t]})}o(TEt,"resetLoggedProperties")});var PD=m(Tl=>{"use strict";Tl.__esModule=!0;Tl.HandlebarsEnvironment=A9;function kIe(t){return t&&t.__esModule?t:{default:t}}o(kIe,"_interopRequireDefault");var im=ns(),DEt=wo(),p9=kIe(DEt),QEt=u9(),kEt=RIe(),PEt=d9(),kD=kIe(PEt),OEt=h9(),LEt="4.7.9";Tl.VERSION=LEt;var FEt=8;Tl.COMPILER_REVISION=FEt;var MEt=7;Tl.LAST_COMPATIBLE_COMPILER_REVISION=MEt;var UEt={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"};Tl.REVISION_CHANGES=UEt;var m9="[object Object]";function A9(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},QEt.registerDefaultHelpers(this),kEt.registerDefaultDecorators(this)}o(A9,"HandlebarsEnvironment");A9.prototype={constructor:A9,logger:kD.default,log:kD.default.log,registerHelper:o(function(e,r){if(im.toString.call(e)===m9){if(r)throw new p9.default("Arg not supported with multiple helpers");im.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(im.toString.call(e)===m9)im.extend(this.partials,e);else{if(typeof r>"u")throw new p9.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(im.toString.call(e)===m9){if(r)throw new p9.default("Arg not supported with multiple decorators");im.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){OEt.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var qEt=kD.default.log;Tl.log=qEt;Tl.createFrame=im.createFrame;Tl.logger=kD.default});var OIe=m((OD,PIe)=>{"use strict";OD.__esModule=!0;function g9(t){this.string=t}o(g9,"SafeString");g9.prototype.toString=g9.prototype.toHTML=function(){return""+this.string};OD.default=g9;PIe.exports=OD.default});var LIe=m(y9=>{"use strict";y9.__esModule=!0;y9.wrapHelper=GEt;function GEt(t,e){if(typeof t!="function")return t;var r=o(function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)},"wrapper");return r}o(GEt,"wrapHelper")});var HIe=m(Fd=>{"use strict";Fd.__esModule=!0;Fd.checkRevision=WEt;Fd.template=JEt;Fd.wrapProgram=LD;Fd.resolvePartial=YEt;Fd.invokePartial=KEt;Fd.noop=qIe;function HEt(t){return t&&t.__esModule?t:{default:t}}o(HEt,"_interopRequireDefault");function VEt(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(VEt,"_interopRequireWildcard");var zEt=ns(),My=VEt(zEt),jEt=wo(),af=HEt(jEt),cf=PD(),FIe=u9(),$Et=LIe(),MIe=h9();function WEt(t){var e=t&&t[0]||1,r=cf.COMPILER_REVISION;if(!(e>=cf.LAST_COMPATIBLE_COMPILER_REVISION&&e<=cf.COMPILER_REVISION))if(e{"use strict";MD.__esModule=!0;MD.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}};VIe.exports=MD.default});var JIe=m((UD,WIe)=>{"use strict";UD.__esModule=!0;function b9(t){return t&&t.__esModule?t:{default:t}}o(b9,"_interopRequireDefault");function w9(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(w9,"_interopRequireWildcard");var eCt=PD(),zIe=w9(eCt),tCt=OIe(),rCt=b9(tCt),nCt=wo(),iCt=b9(nCt),sCt=ns(),C9=w9(sCt),oCt=HIe(),jIe=w9(oCt),aCt=E9(),cCt=b9(aCt);function $Ie(){var t=new zIe.HandlebarsEnvironment;return C9.extend(t,zIe),t.SafeString=rCt.default,t.Exception=iCt.default,t.Utils=C9,t.escapeExpression=C9.escapeExpression,t.VM=jIe,t.template=function(e){return jIe.template(e,t)},t}o($Ie,"create");var _I=$Ie();_I.create=$Ie;cCt.default(_I);_I.default=_I;UD.default=_I;WIe.exports=UD.default});var I9=m((qD,KIe)=>{"use strict";qD.__esModule=!0;var YIe={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&&!YIe.helpers.scopedId(e)&&!e.depth},"simpleId")}};qD.default=YIe;KIe.exports=qD.default});var ZIe=m((GD,XIe)=>{"use strict";GD.__esModule=!0;var lCt=(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(i,s,a,c,l,u,f){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 h=c.prepareBlock(u[d-2],u[d-1],u[d],u[d],!1,this._$),p=c.prepareProgram([h],u[d-1].loc);p.chained=!0,this.$={strip:u[d-2].strip,program:p,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(i,s){throw new Error(i)},"parseError"),parse:o(function(i){var s=this,a=[0],c=[null],l=[],u=this.table,f="",d=0,h=0,p=0,A=2,g=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var E=this.lexer.yylloc;l.push(E);var y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function C(J){a.length=a.length-2*J,c.length=c.length-J,l.length=l.length-J}o(C,"popStack");function w(){var J;return J=s.lexer.lex()||1,typeof J!="number"&&(J=s.symbols_[J]||J),J}o(w,"lex");for(var S,Q,F,x,j,T,q={},H,W,ee,te;;){if(F=a[a.length-1],this.defaultActions[F]?x=this.defaultActions[F]:((S===null||typeof S>"u")&&(S=w()),x=u[F]&&u[F][S]),typeof x>"u"||!x.length||!x[0]){var ce="";if(!p){te=[];for(H in u[F])this.terminals_[H]&&H>2&&te.push("'"+this.terminals_[H]+"'");this.lexer.showPosition?ce="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` -Expecting `+ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ae="Parse error on line "+(f+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ae,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:E,expected:ae})}}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+B);switch(v[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(v[1]),B=null,Q?(B=Q,Q=null):(h=this.lexer.yyleng,d=this.lexer.yytext,f=this.lexer.yylineno,E=this.lexer.yylloc,p>0&&p--);break;case 2:if(J=this.productions_[v[1]][1],H.$=c[c.length-J],H._$={first_line:l[l.length-(J||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(J||1)].first_column,last_column:l[l.length-1].last_column},y&&(H._$.range=[l[l.length-(J||1)].range[0],l[l.length-1].range[1]]),D=this.performAction.call(H,d,h,f,this.yy,v[1],c,l),typeof D<"u")return D;J&&(a=a.slice(0,-1*J*2),c=c.slice(0,-1*J),l=l.slice(0,-1*J)),a.push(this.productions_[v[1]][0]),c.push(H.$),l.push(H._$),ee=u[a[a.length-2]][a[a.length-1]],a.push(ee);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:o(function(s,a){if(this.yy.parser)this.yy.parser.parseError(s,a);else throw new Error(s)},"parseError"),setInput:o(function(s){return this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.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),s},"input"),unput:o(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+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(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+` -`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,c,l,u,d;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),h=0;ha[0].length)&&(a=c,l=h,!this.options.flex)));h++);return a?(d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.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],s=this.performAction.call(this,this.yy,this,f[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||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 s=this.next();return typeof s<"u"?s:this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"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(s){this.begin(s)},"begin")};return n.options={},n.performAction=o(function(s,a,c,l){function u(f,h){return a.yytext=a.yytext.substring(f,a.yyleng-h+f)}o(u,"strip");var d=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"),n.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();dD.default=jmt;oIe.exports=dD.default});var AD=A((pD,uIe)=>{"use strict";pD.__esModule=!0;function Wmt(t){return t&&t.__esModule?t:{default:t}}o(Wmt,"_interopRequireDefault");var Jmt=Co(),pj=Wmt(Jmt);function fD(){this.parents=[]}o(fD,"Visitor");fD.prototype={constructor:fD,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!fD.prototype[n.type])throw new pj.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new pj.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";mD.__esModule=!0;function Ymt(t){return t&&t.__esModule?t:{default:t}}o(Ymt,"_interopRequireDefault");var Kmt=AD(),Xmt=Ymt(Kmt);function xl(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(xl,"WhitespaceControl");xl.prototype=new Xmt.default;xl.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,s=n.length;i{"use strict";ua.__esModule=!0;ua.SourceLocation=tgt;ua.id=rgt;ua.stripFlags=ngt;ua.stripComment=igt;ua.preparePath=sgt;ua.prepareMustache=ogt;ua.prepareRawBlock=agt;ua.prepareBlock=cgt;ua.prepareProgram=lgt;ua.preparePartialBlock=ugt;function Zmt(t){return t&&t.__esModule?t:{default:t}}o(Zmt,"_interopRequireDefault");var egt=Co(),gj=Zmt(egt);function yj(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new gj.default(t.path.original+" doesn't match "+e,r)}}o(yj,"validateClose");function tgt(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(tgt,"SourceLocation");function rgt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(rgt,"id");function ngt(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(ngt,"stripFlags");function igt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(igt,"stripComment");function sgt(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,c=e.length;a0)throw new gj.default("Invalid path: "+n,{loc:r});l===".."&&s++}else i.push(l)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}o(sgt,"preparePath");function ogt(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:i,loc:this.locInfo(s)}}o(ogt,"prepareMustache");function agt(t,e,r,n){yj(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(agt,"prepareRawBlock");function cgt(t,e,r,n,i,s){n&&n.path&&yj(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new gj.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return i&&(i=c,c=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}o(cgt,"prepareBlock");function lgt(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(lgt,"prepareProgram");function ugt(t,e,r,n){return yj(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(n)}}o(ugt,"preparePartialBlock")});var AIe=A(sw=>{"use strict";sw.__esModule=!0;sw.parseWithoutProcessing=pIe;sw.parse=Egt;function dgt(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(dgt,"_interopRequireWildcard");function bj(t){return t&&t.__esModule?t:{default:t}}o(bj,"_interopRequireDefault");var fgt=aIe(),Ej=bj(fgt),hgt=fIe(),pgt=bj(hgt),Agt=hIe(),mgt=dgt(Agt),ggt=Co(),iw=bj(ggt),ygt=ts();sw.parser=Ej.default;var gD={};ygt.extend(gD,mgt);function pIe(t,e){if(t.type==="Program")return Cgt(t),t;Ej.default.yy=gD,gD.locInfo=function(n){return new gD.SourceLocation(e&&e.srcName,n)};var r=Ej.default.parse(t);return r}o(pIe,"parseWithoutProcessing");function Egt(t,e){var r=pIe(t,e),n=new pgt.default(e);return n.accept(r)}o(Egt,"parse");function Cgt(t){Cj(t)}o(Cgt,"validateInputAst");function Cj(t){if(t!=null){if(Array.isArray(t)){t.forEach(Cj);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!bgt(t.depth))throw new iw.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new iw.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(bgt,"isValidDepth")});var EIe=A(lw=>{"use strict";lw.__esModule=!0;lw.Compiler=Ij;lw.precompile=Bgt;lw.compile=xgt;function gIe(t){return t&&t.__esModule?t:{default:t}}o(gIe,"_interopRequireDefault");var Igt=Co(),aw=gIe(Igt),cw=ts(),wgt=hj(),ow=gIe(wgt),Sgt=[].slice;function Ij(){}o(Ij,"Compiler");Ij.prototype={compiler:Ij,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new aw.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,s=e.name.type==="SubExpression";s&&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",s,i,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){e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){mIe(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,n){var i=e.path,s=i.parts[0],a=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",s,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,n){var i=this.setupFullMustacheParams(e,r,n),s=e.path,a=s.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new aw.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,ow.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=ow.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(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,n=0,i=r.length;for(this.opcode("pushHash");n=0)return[r,s]}},"blockParamIndex")};function Bgt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new aw.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 n=r.parse(t,e),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}o(Bgt,"precompile");function xgt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new aw.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=cw.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){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(i,"compileInput");function s(a,c){return n||(n=i()),n.call(this,a,c)}return o(s,"ret"),s._setup=function(a){return n||(n=i()),n._setup(a)},s._child=function(a,c,l,u){return n||(n=i()),n._child(a,c,l,u)},s}o(xgt,"compile");function yIe(t,e){if(t===e)return!0;if(cw.isArray(t)&&cw.isArray(e)&&t.length===e.length){for(var r=0;r{var CIe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");wj.encode=function(t){if(0<=t&&t{var IIe=bIe(),Sj=5,wIe=1<>1;return e?-r:r}o(Ngt,"fromVLQSigned");Bj.encode=o(function(e){var r="",n,i=vgt(e);do n=i&SIe,i>>>=Sj,i>0&&(n|=BIe),r+=IIe.encode(n);while(i>0);return r},"base64VLQ_encode");Bj.decode=o(function(e,r,n){var i=e.length,s=0,a=0,c,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=IIe.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&BIe),l&=SIe,s=s+(l<{function _gt(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(_gt,"getArg");_i.getArg=_gt;var xIe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Tgt=/^data:.+\,.+$/;function uw(t){var e=t.match(xIe);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(uw,"urlParse");_i.urlParse=uw;function Iy(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(Iy,"urlGenerate");_i.urlGenerate=Iy;function vj(t){var e=t,r=uw(t);if(r){if(!r.path)return t;e=r.path}for(var n=_i.isAbsolute(e),i=e.split(/\/+/),s,a=0,c=i.length-1;c>=0;c--)s=i[c],s==="."?i.splice(c,1):s===".."?a++:a>0&&(s===""?(i.splice(c+1,a),a=0):(i.splice(c,2),a--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,Iy(r)):e}o(vj,"normalize");_i.normalize=vj;function vIe(t,e){t===""&&(t="."),e===""&&(e=".");var r=uw(e),n=uw(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Iy(r);if(r||e.match(Tgt))return e;if(n&&!n.host&&!n.path)return n.host=e,Iy(n);var i=e.charAt(0)==="/"?e:vj(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Iy(n)):i}o(vIe,"join");_i.join=vIe;_i.isAbsolute=function(t){return t.charAt(0)==="/"||xIe.test(t)};function Rgt(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(Rgt,"relative");_i.relative=Rgt;var NIe=(function(){var t=Object.create(null);return!("__proto__"in t)})();function _Ie(t){return t}o(_Ie,"identity");function Dgt(t){return TIe(t)?"$"+t:t}o(Dgt,"toSetString");_i.toSetString=NIe?_Ie:Dgt;function Qgt(t){return TIe(t)?t.slice(1):t}o(Qgt,"fromSetString");_i.fromSetString=NIe?_Ie:Qgt;function TIe(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(TIe,"isProtoString");function kgt(t,e,r){var n=wy(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:wy(t.name,e.name)}o(kgt,"compareByOriginalPositions");_i.compareByOriginalPositions=kgt;function Pgt(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=wy(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:wy(t.name,e.name)}o(Pgt,"compareByGeneratedPositionsDeflated");_i.compareByGeneratedPositionsDeflated=Pgt;function wy(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(wy,"strcmp");function Ogt(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=wy(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:wy(t.name,e.name)}o(Ogt,"compareByGeneratedPositionsInflated");_i.compareByGeneratedPositionsInflated=Ogt;function Lgt(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(Lgt,"parseSourceMapInput");_i.parseSourceMapInput=Lgt;function Fgt(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=uw(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=vIe(Iy(n),e)}return vj(e)}o(Fgt,"computeSourceURL");_i.computeSourceURL=Fgt});var Tj=A(RIe=>{var Nj=Sy(),_j=Object.prototype.hasOwnProperty,jp=typeof Map<"u";function ed(){this._array=[],this._set=jp?new Map:Object.create(null)}o(ed,"ArraySet");ed.fromArray=o(function(e,r){for(var n=new ed,i=0,s=e.length;i=0)return r}else{var n=Nj.toSetString(e);if(_j.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");ed.prototype.at=o(function(e){if(e>=0&&e{var DIe=Sy();function Mgt(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||DIe.compareByGeneratedPositionsInflated(t,e)<=0}o(Mgt,"generatedPositionAfter");function yD(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(yD,"MappingList");yD.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");yD.prototype.add=o(function(e){Mgt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");yD.prototype.toArray=o(function(){return this._sorted||(this._array.sort(DIe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");QIe.MappingList=yD});var Rj=A(PIe=>{var dw=xj(),Cn=Sy(),ED=Tj().ArraySet,Ugt=kIe().MappingList;function da(t){t||(t={}),this._file=Cn.getArg(t,"file",null),this._sourceRoot=Cn.getArg(t,"sourceRoot",null),this._skipValidation=Cn.getArg(t,"skipValidation",!1),this._sources=new ED,this._names=new ED,this._mappings=new Ugt,this._sourcesContents=null}o(da,"SourceMapGenerator");da.prototype._version=3;da.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new da({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Cn.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=Cn.relative(r,i)),n._sources.has(s)||n._sources.add(s);var a=e.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n},"SourceMapGenerator_fromSourceMap");da.prototype.addMapping=o(function(e){var r=Cn.getArg(e,"generated"),n=Cn.getArg(e,"original",null),i=Cn.getArg(e,"source",null),s=Cn.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})},"SourceMapGenerator_addMapping");da.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=Cn.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Cn.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Cn.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");da.prototype.applySourceMap=o(function(e,r,n){var i=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.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=Cn.relative(s,i));var a=new ED,c=new ED;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,n!=null&&(l.source=Cn.join(n,l.source)),s!=null&&(l.source=Cn.relative(s,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var d=l.source;d!=null&&!a.has(d)&&a.add(d);var f=l.name;f!=null&&!c.has(f)&&c.add(f)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(n!=null&&(l=Cn.join(n,l)),s!=null&&(l=Cn.relative(s,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");da.prototype._validateMapping=o(function(e,r,n,i){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&&!n&&!i)){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&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}},"SourceMapGenerator_validateMapping");da.prototype._serializeMappings=o(function(){for(var e=0,r=1,n=0,i=0,s=0,a=0,c="",l,u,d,f,h=this._mappings.toArray(),p=0,g=h.length;p0){if(!Cn.compareByGeneratedPositionsInflated(u,h[p-1]))continue;l+=","}l+=dw.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=dw.encode(f-a),a=f,l+=dw.encode(u.originalLine-1-i),i=u.originalLine-1,l+=dw.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=dw.encode(d-s),s=d)),c+=l}return c},"SourceMapGenerator_serializeMappings");da.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Cn.relative(r,n));var i=Cn.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)},"SourceMapGenerator_generateSourcesContent");da.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");da.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");PIe.SourceMapGenerator=da});var OIe=A(Wp=>{Wp.GREATEST_LOWER_BOUND=1;Wp.LEAST_UPPER_BOUND=2;function Dj(t,e,r,n,i,s){var a=Math.floor((e-t)/2)+t,c=i(r,n[a],!0);return c===0?a:c>0?e-a>1?Dj(a,e,r,n,i,s):s==Wp.LEAST_UPPER_BOUND?e1?Dj(t,a,r,n,i,s):s==Wp.LEAST_UPPER_BOUND?a:t<0?-1:t}o(Dj,"recursiveSearch");Wp.search=o(function(e,r,n,i){if(r.length===0)return-1;var s=Dj(-1,r.length,e,r,n,i||Wp.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s},"search")});var FIe=A(LIe=>{function Qj(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(Qj,"swap");function qgt(t,e){return Math.round(t+Math.random()*(e-t))}o(qgt,"randomIntInRange");function kj(t,e,r,n){if(r{var Ee=Sy(),Pj=OIe(),By=Tj().ArraySet,Ggt=xj(),fw=FIe().quickSort;function ar(t,e){var r=t;return typeof t=="string"&&(r=Ee.parseSourceMapInput(t)),r.sections!=null?new lc(r,e):new Ai(r,e)}o(ar,"SourceMapConsumer");ar.fromSourceMap=function(t,e){return Ai.fromSourceMap(t,e)};ar.prototype._version=3;ar.prototype.__generatedMappings=null;Object.defineProperty(ar.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});ar.prototype.__originalMappings=null;Object.defineProperty(ar.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});ar.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");ar.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");ar.GENERATED_ORDER=1;ar.ORIGINAL_ORDER=2;ar.GREATEST_LOWER_BOUND=1;ar.LEAST_UPPER_BOUND=2;ar.prototype.eachMapping=o(function(e,r,n){var i=r||null,s=n||ar.GENERATED_ORDER,a;switch(s){case ar.GENERATED_ORDER:a=this._generatedMappings;break;case ar.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=Ee.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,i)},"SourceMapConsumer_eachMapping");ar.prototype.allGeneratedPositionsFor=o(function(e){var r=Ee.getArg(e,"line"),n={source:Ee.getArg(e,"source"),originalLine:r,originalColumn:Ee.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ee.compareByOriginalPositions,Pj.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)i.push({line:Ee.getArg(a,"generatedLine",null),column:Ee.getArg(a,"generatedColumn",null),lastColumn:Ee.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:Ee.getArg(a,"generatedLine",null),column:Ee.getArg(a,"generatedColumn",null),lastColumn:Ee.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return i},"SourceMapConsumer_allGeneratedPositionsFor");CD.SourceMapConsumer=ar;function Ai(t,e){var r=t;typeof t=="string"&&(r=Ee.parseSourceMapInput(t));var n=Ee.getArg(r,"version"),i=Ee.getArg(r,"sources"),s=Ee.getArg(r,"names",[]),a=Ee.getArg(r,"sourceRoot",null),c=Ee.getArg(r,"sourcesContent",null),l=Ee.getArg(r,"mappings"),u=Ee.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=Ee.normalize(a)),i=i.map(String).map(Ee.normalize).map(function(d){return a&&Ee.isAbsolute(a)&&Ee.isAbsolute(d)?Ee.relative(a,d):d}),this._names=By.fromArray(s.map(String),!0),this._sources=By.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(d){return Ee.computeSourceURL(a,d,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(Ai,"BasicSourceMapConsumer");Ai.prototype=Object.create(ar.prototype);Ai.prototype.consumer=ar;Ai.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Ee.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(m.source=c+y[1],c+=y[1],m.originalLine=s+y[2],s=m.originalLine,m.originalLine+=1,m.originalColumn=a+y[3],a=m.originalColumn,y.length>4&&(m.name=l+y[4],l+=y[4])),g.push(m),typeof m.originalLine=="number"&&p.push(m)}fw(g,Ee.compareByGeneratedPositionsDeflated),this.__generatedMappings=g,fw(p,Ee.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");Ai.prototype._findMapping=o(function(e,r,n,i,s,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Pj.search(e,r,s,a)},"SourceMapConsumer_findMapping");Ai.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=Ee.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=Ee.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=Ee.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:s,line:Ee.getArg(i,"originalLine",null),column:Ee.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Ai.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Ai.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=Ee.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=Ee.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Ai.prototype.generatedPositionFor=o(function(e){var r=Ee.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:Ee.getArg(e,"line"),originalColumn:Ee.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ee.compareByOriginalPositions,Ee.getArg(e,"bias",ar.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:Ee.getArg(s,"generatedLine",null),column:Ee.getArg(s,"generatedColumn",null),lastColumn:Ee.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");CD.BasicSourceMapConsumer=Ai;function lc(t,e){var r=t;typeof t=="string"&&(r=Ee.parseSourceMapInput(t));var n=Ee.getArg(r,"version"),i=Ee.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new By,this._names=new By;var s={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=Ee.getArg(a,"offset"),l=Ee.getArg(c,"line"),u=Ee.getArg(c,"column");if(l{var Hgt=Rj().SourceMapGenerator,bD=Sy(),Vgt=/(\r?\n)/,zgt=10,xy="$$$isSourceNode$$$";function bo(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[xy]=!0,n!=null&&this.add(n)}o(bo,"SourceNode");bo.fromStringWithSourceMap=o(function(e,r,n){var i=new bo,s=e.split(Vgt),a=0,c=o(function(){var h=g(),p=g()||"";return h+p;function g(){return a=0;r--)this.prepend(e[r]);else if(e[xy]||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");bo.prototype.walk=o(function(e){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{ID.SourceMapGenerator=Rj().SourceMapGenerator;ID.SourceMapConsumer=UIe().SourceMapConsumer;ID.SourceNode=GIe().SourceNode});var jIe=A((wD,$Ie)=>{"use strict";wD.__esModule=!0;var Lj=ts(),Jp=void 0;try{(typeof define!="function"||!define.amd)&&(VIe=HIe(),Jp=VIe.SourceNode)}catch{}var VIe;Jp||(Jp=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),Jp.prototype={add:o(function(e){Lj.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){Lj.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 Oj(t,e,r){if(Lj.isArray(t)){for(var n=[],i=0,s=t.length;i{"use strict";SD.__esModule=!0;function YIe(t){return t&&t.__esModule?t:{default:t}}o(YIe,"_interopRequireDefault");var WIe=iD(),$gt=Co(),Fj=YIe($gt),jgt=ts(),Wgt=jIe(),JIe=YIe(Wgt);function vy(t){this.value=t}o(vy,"Literal");function Ny(){}o(Ny,"JavaScriptCompiler");Ny.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=WIe.COMPILER_REVISION,r=WIe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return jgt.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["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,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,n,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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 s=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=s.length;l1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+S);switch(x[0]){case 1:a.push(S),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(x[1]),S=null,Q?(S=Q,Q=null):(h=this.lexer.yyleng,f=this.lexer.yytext,d=this.lexer.yylineno,E=this.lexer.yylloc,p>0&&p--);break;case 2:if(W=this.productions_[x[1]][1],q.$=c[c.length-W],q._$={first_line:l[l.length-(W||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(W||1)].first_column,last_column:l[l.length-1].last_column},y&&(q._$.range=[l[l.length-(W||1)].range[0],l[l.length-1].range[1]]),T=this.performAction.call(q,f,h,d,this.yy,x[1],c,l),typeof T<"u")return T;W&&(a=a.slice(0,-1*W*2),c=c.slice(0,-1*W),l=l.slice(0,-1*W)),a.push(this.productions_[x[1]][0]),c.push(q.$),l.push(q._$),ee=u[a[a.length-2]][a[a.length-1]],a.push(ee);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:o(function(s,a){if(this.yy.parser)this.yy.parser.parseError(s,a);else throw new Error(s)},"parseError"),setInput:o(function(s){return this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.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),s},"input"),unput:o(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+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(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+` +`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,c,l,u,f;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),h=0;ha[0].length)&&(a=c,l=h,!this.options.flex)));h++);return a?(f=a[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.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],s=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||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 s=this.next();return typeof s<"u"?s:this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"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(s){this.begin(s)},"begin")};return n.options={},n.performAction=o(function(s,a,c,l){function u(d,h){return a.yytext=a.yytext.substring(d,a.yyleng-h+d)}o(u,"strip");var f=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"),n.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();GD.default=lCt;XIe.exports=GD.default});var jD=m((zD,rSe)=>{"use strict";zD.__esModule=!0;function uCt(t){return t&&t.__esModule?t:{default:t}}o(uCt,"_interopRequireDefault");var fCt=wo(),S9=uCt(fCt);function HD(){this.parents=[]}o(HD,"Visitor");HD.prototype={constructor:HD,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!HD.prototype[n.type])throw new S9.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new S9.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";$D.__esModule=!0;function dCt(t){return t&&t.__esModule?t:{default:t}}o(dCt,"_interopRequireDefault");var hCt=jD(),pCt=dCt(hCt);function Dl(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Dl,"WhitespaceControl");Dl.prototype=new pCt.default;Dl.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,s=n.length;i{"use strict";ha.__esModule=!0;ha.SourceLocation=gCt;ha.id=yCt;ha.stripFlags=ECt;ha.stripComment=CCt;ha.preparePath=bCt;ha.prepareMustache=wCt;ha.prepareRawBlock=ICt;ha.prepareBlock=SCt;ha.prepareProgram=BCt;ha.preparePartialBlock=vCt;function mCt(t){return t&&t.__esModule?t:{default:t}}o(mCt,"_interopRequireDefault");var ACt=wo(),x9=mCt(ACt);function _9(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new x9.default(t.path.original+" doesn't match "+e,r)}}o(_9,"validateClose");function gCt(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(gCt,"SourceLocation");function yCt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(yCt,"id");function ECt(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(ECt,"stripFlags");function CCt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(CCt,"stripComment");function bCt(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,c=e.length;a0)throw new x9.default("Invalid path: "+n,{loc:r});l===".."&&s++}else i.push(l)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}o(bCt,"preparePath");function wCt(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:i,loc:this.locInfo(s)}}o(wCt,"prepareMustache");function ICt(t,e,r,n){_9(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(ICt,"prepareRawBlock");function SCt(t,e,r,n,i,s){n&&n.path&&_9(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new x9.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return i&&(i=c,c=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}o(SCt,"prepareBlock");function BCt(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(BCt,"prepareProgram");function vCt(t,e,r,n){return _9(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(n)}}o(vCt,"preparePartialBlock")});var aSe=m(RI=>{"use strict";RI.__esModule=!0;RI.parseWithoutProcessing=oSe;RI.parse=PCt;function xCt(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(xCt,"_interopRequireWildcard");function T9(t){return t&&t.__esModule?t:{default:t}}o(T9,"_interopRequireDefault");var _Ct=ZIe(),N9=T9(_Ct),NCt=iSe(),RCt=T9(NCt),TCt=sSe(),DCt=xCt(TCt),QCt=wo(),NI=T9(QCt),kCt=ns();RI.parser=N9.default;var WD={};kCt.extend(WD,DCt);function oSe(t,e){if(t.type==="Program")return OCt(t),t;N9.default.yy=WD,WD.locInfo=function(n){return new WD.SourceLocation(e&&e.srcName,n)};var r=N9.default.parse(t);return r}o(oSe,"parseWithoutProcessing");function PCt(t,e){var r=oSe(t,e),n=new RCt.default(e);return n.accept(r)}o(PCt,"parse");function OCt(t){R9(t)}o(OCt,"validateInputAst");function R9(t){if(t!=null){if(Array.isArray(t)){t.forEach(R9);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!LCt(t.depth))throw new NI.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new NI.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(LCt,"isValidDepth")});var fSe=m(kI=>{"use strict";kI.__esModule=!0;kI.Compiler=D9;kI.precompile=qCt;kI.compile=GCt;function lSe(t){return t&&t.__esModule?t:{default:t}}o(lSe,"_interopRequireDefault");var FCt=wo(),DI=lSe(FCt),QI=ns(),MCt=I9(),TI=lSe(MCt),UCt=[].slice;function D9(){}o(D9,"Compiler");D9.prototype={compiler:D9,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new DI.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,s=e.name.type==="SubExpression";s&&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",s,i,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){e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){cSe(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,n){var i=e.path,s=i.parts[0],a=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",s,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,n){var i=this.setupFullMustacheParams(e,r,n),s=e.path,a=s.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new DI.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,TI.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=TI.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(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,n=0,i=r.length;for(this.opcode("pushHash");n=0)return[r,s]}},"blockParamIndex")};function qCt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new DI.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 n=r.parse(t,e),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}o(qCt,"precompile");function GCt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new DI.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=QI.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){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(i,"compileInput");function s(a,c){return n||(n=i()),n.call(this,a,c)}return o(s,"ret"),s._setup=function(a){return n||(n=i()),n._setup(a)},s._child=function(a,c,l,u){return n||(n=i()),n._child(a,c,l,u)},s}o(GCt,"compile");function uSe(t,e){if(t===e)return!0;if(QI.isArray(t)&&QI.isArray(e)&&t.length===e.length){for(var r=0;r{var dSe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Q9.encode=function(t){if(0<=t&&t{var pSe=hSe(),k9=5,mSe=1<>1;return e?-r:r}o(VCt,"fromVLQSigned");P9.encode=o(function(e){var r="",n,i=HCt(e);do n=i&ASe,i>>>=k9,i>0&&(n|=gSe),r+=pSe.encode(n);while(i>0);return r},"base64VLQ_encode");P9.decode=o(function(e,r,n){var i=e.length,s=0,a=0,c,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=pSe.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&gSe),l&=ASe,s=s+(l<{function zCt(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(zCt,"getArg");Ri.getArg=zCt;var ySe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,jCt=/^data:.+\,.+$/;function PI(t){var e=t.match(ySe);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(PI,"urlParse");Ri.urlParse=PI;function Uy(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(Uy,"urlGenerate");Ri.urlGenerate=Uy;function L9(t){var e=t,r=PI(t);if(r){if(!r.path)return t;e=r.path}for(var n=Ri.isAbsolute(e),i=e.split(/\/+/),s,a=0,c=i.length-1;c>=0;c--)s=i[c],s==="."?i.splice(c,1):s===".."?a++:a>0&&(s===""?(i.splice(c+1,a),a=0):(i.splice(c,2),a--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,Uy(r)):e}o(L9,"normalize");Ri.normalize=L9;function ESe(t,e){t===""&&(t="."),e===""&&(e=".");var r=PI(e),n=PI(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Uy(r);if(r||e.match(jCt))return e;if(n&&!n.host&&!n.path)return n.host=e,Uy(n);var i=e.charAt(0)==="/"?e:L9(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Uy(n)):i}o(ESe,"join");Ri.join=ESe;Ri.isAbsolute=function(t){return t.charAt(0)==="/"||ySe.test(t)};function $Ct(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o($Ct,"relative");Ri.relative=$Ct;var CSe=(function(){var t=Object.create(null);return!("__proto__"in t)})();function bSe(t){return t}o(bSe,"identity");function WCt(t){return wSe(t)?"$"+t:t}o(WCt,"toSetString");Ri.toSetString=CSe?bSe:WCt;function JCt(t){return wSe(t)?t.slice(1):t}o(JCt,"fromSetString");Ri.fromSetString=CSe?bSe:JCt;function wSe(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(wSe,"isProtoString");function YCt(t,e,r){var n=qy(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:qy(t.name,e.name)}o(YCt,"compareByOriginalPositions");Ri.compareByOriginalPositions=YCt;function KCt(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=qy(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:qy(t.name,e.name)}o(KCt,"compareByGeneratedPositionsDeflated");Ri.compareByGeneratedPositionsDeflated=KCt;function qy(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(qy,"strcmp");function XCt(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=qy(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:qy(t.name,e.name)}o(XCt,"compareByGeneratedPositionsInflated");Ri.compareByGeneratedPositionsInflated=XCt;function ZCt(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(ZCt,"parseSourceMapInput");Ri.parseSourceMapInput=ZCt;function ebt(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=PI(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=ESe(Uy(n),e)}return L9(e)}o(ebt,"computeSourceURL");Ri.computeSourceURL=ebt});var U9=m(ISe=>{var F9=Gy(),M9=Object.prototype.hasOwnProperty,om=typeof Map<"u";function lf(){this._array=[],this._set=om?new Map:Object.create(null)}o(lf,"ArraySet");lf.fromArray=o(function(e,r){for(var n=new lf,i=0,s=e.length;i=0)return r}else{var n=F9.toSetString(e);if(M9.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");lf.prototype.at=o(function(e){if(e>=0&&e{var SSe=Gy();function tbt(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||SSe.compareByGeneratedPositionsInflated(t,e)<=0}o(tbt,"generatedPositionAfter");function JD(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(JD,"MappingList");JD.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");JD.prototype.add=o(function(e){tbt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");JD.prototype.toArray=o(function(){return this._sorted||(this._array.sort(SSe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");BSe.MappingList=JD});var q9=m(xSe=>{var OI=O9(),bn=Gy(),YD=U9().ArraySet,rbt=vSe().MappingList;function pa(t){t||(t={}),this._file=bn.getArg(t,"file",null),this._sourceRoot=bn.getArg(t,"sourceRoot",null),this._skipValidation=bn.getArg(t,"skipValidation",!1),this._sources=new YD,this._names=new YD,this._mappings=new rbt,this._sourcesContents=null}o(pa,"SourceMapGenerator");pa.prototype._version=3;pa.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new pa({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=bn.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=bn.relative(r,i)),n._sources.has(s)||n._sources.add(s);var a=e.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n},"SourceMapGenerator_fromSourceMap");pa.prototype.addMapping=o(function(e){var r=bn.getArg(e,"generated"),n=bn.getArg(e,"original",null),i=bn.getArg(e,"source",null),s=bn.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})},"SourceMapGenerator_addMapping");pa.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=bn.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[bn.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[bn.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");pa.prototype.applySourceMap=o(function(e,r,n){var i=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.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=bn.relative(s,i));var a=new YD,c=new YD;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,n!=null&&(l.source=bn.join(n,l.source)),s!=null&&(l.source=bn.relative(s,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var f=l.source;f!=null&&!a.has(f)&&a.add(f);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&&(n!=null&&(l=bn.join(n,l)),s!=null&&(l=bn.relative(s,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");pa.prototype._validateMapping=o(function(e,r,n,i){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&&!n&&!i)){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&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}},"SourceMapGenerator_validateMapping");pa.prototype._serializeMappings=o(function(){for(var e=0,r=1,n=0,i=0,s=0,a=0,c="",l,u,f,d,h=this._mappings.toArray(),p=0,A=h.length;p0){if(!bn.compareByGeneratedPositionsInflated(u,h[p-1]))continue;l+=","}l+=OI.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=OI.encode(d-a),a=d,l+=OI.encode(u.originalLine-1-i),i=u.originalLine-1,l+=OI.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(f=this._names.indexOf(u.name),l+=OI.encode(f-s),s=f)),c+=l}return c},"SourceMapGenerator_serializeMappings");pa.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=bn.relative(r,n));var i=bn.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)},"SourceMapGenerator_generateSourcesContent");pa.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");pa.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");xSe.SourceMapGenerator=pa});var _Se=m(am=>{am.GREATEST_LOWER_BOUND=1;am.LEAST_UPPER_BOUND=2;function G9(t,e,r,n,i,s){var a=Math.floor((e-t)/2)+t,c=i(r,n[a],!0);return c===0?a:c>0?e-a>1?G9(a,e,r,n,i,s):s==am.LEAST_UPPER_BOUND?e1?G9(t,a,r,n,i,s):s==am.LEAST_UPPER_BOUND?a:t<0?-1:t}o(G9,"recursiveSearch");am.search=o(function(e,r,n,i){if(r.length===0)return-1;var s=G9(-1,r.length,e,r,n,i||am.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s},"search")});var RSe=m(NSe=>{function H9(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(H9,"swap");function nbt(t,e){return Math.round(t+Math.random()*(e-t))}o(nbt,"randomIntInRange");function V9(t,e,r,n){if(r{var Ee=Gy(),z9=_Se(),Hy=U9().ArraySet,ibt=O9(),LI=RSe().quickSort;function ar(t,e){var r=t;return typeof t=="string"&&(r=Ee.parseSourceMapInput(t)),r.sections!=null?new pc(r,e):new Ai(r,e)}o(ar,"SourceMapConsumer");ar.fromSourceMap=function(t,e){return Ai.fromSourceMap(t,e)};ar.prototype._version=3;ar.prototype.__generatedMappings=null;Object.defineProperty(ar.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});ar.prototype.__originalMappings=null;Object.defineProperty(ar.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});ar.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");ar.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");ar.GENERATED_ORDER=1;ar.ORIGINAL_ORDER=2;ar.GREATEST_LOWER_BOUND=1;ar.LEAST_UPPER_BOUND=2;ar.prototype.eachMapping=o(function(e,r,n){var i=r||null,s=n||ar.GENERATED_ORDER,a;switch(s){case ar.GENERATED_ORDER:a=this._generatedMappings;break;case ar.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=Ee.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,i)},"SourceMapConsumer_eachMapping");ar.prototype.allGeneratedPositionsFor=o(function(e){var r=Ee.getArg(e,"line"),n={source:Ee.getArg(e,"source"),originalLine:r,originalColumn:Ee.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ee.compareByOriginalPositions,z9.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)i.push({line:Ee.getArg(a,"generatedLine",null),column:Ee.getArg(a,"generatedColumn",null),lastColumn:Ee.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:Ee.getArg(a,"generatedLine",null),column:Ee.getArg(a,"generatedColumn",null),lastColumn:Ee.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return i},"SourceMapConsumer_allGeneratedPositionsFor");KD.SourceMapConsumer=ar;function Ai(t,e){var r=t;typeof t=="string"&&(r=Ee.parseSourceMapInput(t));var n=Ee.getArg(r,"version"),i=Ee.getArg(r,"sources"),s=Ee.getArg(r,"names",[]),a=Ee.getArg(r,"sourceRoot",null),c=Ee.getArg(r,"sourcesContent",null),l=Ee.getArg(r,"mappings"),u=Ee.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=Ee.normalize(a)),i=i.map(String).map(Ee.normalize).map(function(f){return a&&Ee.isAbsolute(a)&&Ee.isAbsolute(f)?Ee.relative(a,f):f}),this._names=Hy.fromArray(s.map(String),!0),this._sources=Hy.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(f){return Ee.computeSourceURL(a,f,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(Ai,"BasicSourceMapConsumer");Ai.prototype=Object.create(ar.prototype);Ai.prototype.consumer=ar;Ai.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Ee.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(g.source=c+y[1],c+=y[1],g.originalLine=s+y[2],s=g.originalLine,g.originalLine+=1,g.originalColumn=a+y[3],a=g.originalColumn,y.length>4&&(g.name=l+y[4],l+=y[4])),A.push(g),typeof g.originalLine=="number"&&p.push(g)}LI(A,Ee.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,LI(p,Ee.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");Ai.prototype._findMapping=o(function(e,r,n,i,s,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return z9.search(e,r,s,a)},"SourceMapConsumer_findMapping");Ai.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=Ee.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=Ee.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=Ee.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:s,line:Ee.getArg(i,"originalLine",null),column:Ee.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Ai.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Ai.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=Ee.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=Ee.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Ai.prototype.generatedPositionFor=o(function(e){var r=Ee.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:Ee.getArg(e,"line"),originalColumn:Ee.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ee.compareByOriginalPositions,Ee.getArg(e,"bias",ar.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:Ee.getArg(s,"generatedLine",null),column:Ee.getArg(s,"generatedColumn",null),lastColumn:Ee.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");KD.BasicSourceMapConsumer=Ai;function pc(t,e){var r=t;typeof t=="string"&&(r=Ee.parseSourceMapInput(t));var n=Ee.getArg(r,"version"),i=Ee.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Hy,this._names=new Hy;var s={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=Ee.getArg(a,"offset"),l=Ee.getArg(c,"line"),u=Ee.getArg(c,"column");if(l{var sbt=q9().SourceMapGenerator,XD=Gy(),obt=/(\r?\n)/,abt=10,Vy="$$$isSourceNode$$$";function Io(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[Vy]=!0,n!=null&&this.add(n)}o(Io,"SourceNode");Io.fromStringWithSourceMap=o(function(e,r,n){var i=new Io,s=e.split(obt),a=0,c=o(function(){var h=A(),p=A()||"";return h+p;function A(){return a=0;r--)this.prepend(e[r]);else if(e[Vy]||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");Io.prototype.walk=o(function(e){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{ZD.SourceMapGenerator=q9().SourceMapGenerator;ZD.SourceMapConsumer=DSe().SourceMapConsumer;ZD.SourceNode=kSe().SourceNode});var FSe=m((e1,LSe)=>{"use strict";e1.__esModule=!0;var W9=ns(),cm=void 0;try{(typeof define!="function"||!define.amd)&&(PSe=j9(),cm=PSe.SourceNode)}catch{}var PSe;cm||(cm=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),cm.prototype={add:o(function(e){W9.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){W9.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 $9(t,e,r){if(W9.isArray(t)){for(var n=[],i=0,s=t.length;i{"use strict";t1.__esModule=!0;function qSe(t){return t&&t.__esModule?t:{default:t}}o(qSe,"_interopRequireDefault");var MSe=PD(),cbt=wo(),J9=qSe(cbt),lbt=ns(),ubt=FSe(),USe=qSe(ubt);function zy(t){this.value=t}o(zy,"Literal");function jy(){}o(jy,"JavaScriptCompiler");jy.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=MSe.COMPILER_REVISION,r=MSe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return lbt.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["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,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,n,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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 s=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=s.length;l0&&(n+=", "+i.join(", "));var s=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(n+=", alias"+ ++s+"="+l,u.children[0]="alias"+s)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+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(n);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) { +`),this.decorators=this.decorators.merge()));var f=this.createFunctionContext(i);if(this.isChild)return f;var d={compiler:this.compilerInfo(),main:f};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var h=this.context,p=h.programs,A=h.decorators;for(l=0,u=p.length;l0&&(n+=", "+i.join(", "));var s=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(n+=", alias"+ ++s+"="+l,u.children[0]="alias"+s)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+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(n);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,n=!this.forceBuffer,i=void 0,s=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(s?a.prepend("buffer += "):i=!0,c.add(";"),a=c=void 0),s=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):s||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":`; `)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { @@ -84,170 +84,192 @@ Expecting `+ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ae="Parse error } return undefined } - `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n,i){var s=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[s++])):this.pushContext(),this.resolvePath("context",e,s,r,n)},"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,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,i,s){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Jgt(this.options.strict&&s,this,r,n,e));return}for(var c=r.length,l=o(function(d){a.replaceStack(function(f){var h=a.nameLookup(f,r[d],e);return i?[" && ",h]:[" != null ? ",h," : ",f]})},"_loop"),u=n;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,n=e.length;r{"use strict";BD.__esModule=!0;function hw(t){return t&&t.__esModule?t:{default:t}}o(hw,"_interopRequireDefault");var Ygt=nIe(),Kgt=hw(Ygt),Xgt=hj(),Zgt=hw(Xgt),Mj=AIe(),Uj=EIe(),eyt=XIe(),tyt=hw(eyt),ryt=AD(),nyt=hw(ryt),iyt=lj(),syt=hw(iyt),oyt=Kgt.default.create;function ZIe(){var t=oyt();return t.compile=function(e,r){return Uj.compile(e,r,t)},t.precompile=function(e,r){return Uj.precompile(e,r,t)},t.AST=Zgt.default,t.Compiler=Uj.Compiler,t.JavaScriptCompiler=tyt.default,t.Parser=Mj.parser,t.parse=Mj.parse,t.parseWithoutProcessing=Mj.parseWithoutProcessing,t}o(ZIe,"create");var _y=ZIe();_y.create=ZIe;syt.default(_y);_y.Visitor=nyt.default;_y.default=_y;BD.default=_y;ewe.exports=BD.default});var rwe=A(xD=>{"use strict";xD.__esModule=!0;xD.print=uyt;xD.PrintVisitor=Hr;function ayt(t){return t&&t.__esModule?t:{default:t}}o(ayt,"_interopRequireDefault");var cyt=AD(),lyt=ayt(cyt);function uyt(t){return new Hr().accept(t)}o(uyt,"print");function Hr(){this.padding=0}o(Hr,"PrintVisitor");Hr.prototype=new lyt.default;Hr.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};Hr.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+" }}")};Hr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Hr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Hr.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i{"use strict";Object.defineProperty(DD,"__esModule",{value:!0});DD.getProxyUrl=pyt;DD.checkBypass=gwe;function pyt(t){let e=t.protocol==="https:";if(gwe(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 RD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new RD(`http://${r}`)}else return}o(pyt,"getProxyUrl");function gwe(t){if(!t.hostname)return!1;let e=t.hostname;if(Ayt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(gwe,"checkBypass");function Ayt(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(Ayt,"isLoopbackAddress");var RD=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 Cwe=A(Ir=>{"use strict";var myt=Ir&&Ir.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),gyt=Ir&&Ir.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),OD=Ir&&Ir.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ian(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return an(this,void 0,void 0,function*(){return new Promise(e=>an(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Ir.HttpClientResponse=PD;function Byt(t){return new URL(t).protocol==="https:"}o(Byt,"isHttps");var Wj=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return an(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return an(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return an(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return an(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return an(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return an(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return an(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return an(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return an(this,arguments,void 0,function*(r,n={}){n[rs.Accept]=this._getExistingOrDefaultHeader(n,rs.Accept,td.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return an(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,td.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,td.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return an(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,td.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,td.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return an(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,td.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,td.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return an(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&Iyt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===fa.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&Cyt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!byt.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new PD(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=jj.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?Ewe:$j;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},gw(this.requestOptions.headers),gw(e||{})):gw(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=gw(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=gw(this.requestOptions.headers)[rs.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[rs.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=jj.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$j.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?QD.httpsOverHttps:QD.httpsOverHttp:l=u?QD.httpOverHttps:QD.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new Ewe.Agent(c):new $j.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new yyt.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return an(this,void 0,void 0,function*(){e=Math.min(wyt,e);let r=Syt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return an(this,void 0,void 0,function*(){return new Promise((n,i)=>an(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===fa.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}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(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new kD(d,s);f.result=a.result,i(f)}else n(a)}))})}};Ir.HttpClient=Wj;var gw=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var Gwe=A((KIr,Ew)=>{"use strict";var UD=o(function(){},"NullObject");UD.prototype=Object.create(null);var FD=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,MD=/\\([\v\u0020-\u00ff])/gu,Mwe=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Yp={type:"",parameters:new UD};Object.freeze(Yp.parameters);Object.freeze(Yp);function Uwe(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(Mwe.test(r)===!1)throw new TypeError("invalid media type");let n={type:r.toLowerCase(),parameters:new UD};if(e===-1)return n;let i,s,a;for(FD.lastIndex=e;s=FD.exec(t);){if(s.index!==e)throw new TypeError("invalid parameter format");e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),MD.test(a)&&(a=a.replace(MD,"$1"))),n.parameters[i]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return n}o(Uwe,"parse");function qwe(t){if(typeof t!="string")return Yp;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(Mwe.test(r)===!1)return Yp;let n={type:r.toLowerCase(),parameters:new UD};if(e===-1)return n;let i,s,a;for(FD.lastIndex=e;s=FD.exec(t);){if(s.index!==e)return Yp;e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),MD.test(a)&&(a=a.replace(MD,"$1"))),n.parameters[i]=a}return e!==t.length?Yp:n}o(qwe,"safeParse");Ew.exports.default={parse:Uwe,safeParse:qwe};Ew.exports.parse=Uwe;Ew.exports.safeParse=qwe;Ew.exports.defaultContentType=Yp});var JD=A(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.isJsonObject=Ly.typeofJsonValue=void 0;function qEt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(qEt,"typeofJsonValue");Ly.typeofJsonValue=qEt;function GEt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(GEt,"isJsonObject");Ly.isJsonObject=GEt});var KD=A(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.base64encode=Fy.base64decode=void 0;var sd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),YD=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(HEt,"base64decode");Fy.base64decode=HEt;function VEt(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=sd[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=sd[i|n>>6],e+=sd[n&63],r=0;break}return r&&(e+=sd[i],e+="=",r==1&&(e+="=")),e}o(VEt,"base64encode");Fy.base64encode=VEt});var NSe=A(XD=>{"use strict";Object.defineProperty(XD,"__esModule",{value:!0});XD.utf8read=void 0;var b8=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function zEt(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(b8(n)),i=0);return r.length?(i&&r.push(b8(n.slice(0,i))),r.join("")):b8(n.slice(0,i))}o(zEt,"utf8read");XD.utf8read=zEt});var _w=A(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.WireType=vl.mergeBinaryOptions=vl.UnknownFieldHandler=void 0;var $Et;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})($Et=vl.UnknownFieldHandler||(vl.UnknownFieldHandler={}));function jEt(t,e){return Object.assign(Object.assign({},t),e)}o(jEt,"mergeBinaryOptions");vl.mergeBinaryOptions=jEt;var WEt;(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"})(WEt=vl.WireType||(vl.WireType={}))});var eQ=A(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.varint32read=Os.varint32write=Os.int64toString=Os.int64fromString=Os.varint64write=Os.varint64read=void 0;function JEt(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(YEt,"varint64write");Os.varint64write=YEt;var ZD=65536*65536;function KEt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=ZD&&(i=i+(n/ZD|0),n=n%ZD)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(KEt,"int64fromString");Os.int64fromString=KEt;function XEt(t,e){if(e>>>0<=2097151)return""+(ZD*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(d,f){let h=d?String(d):"";return f?"0000000".slice(h.length)+h:h}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(XEt,"int64toString");Os.int64toString=XEt;function ZEt(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(ZEt,"varint32write");Os.varint32write=ZEt;function eCt(){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(eCt,"varint32read");Os.varint32read=eCt});var Qf=A(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.PbLong=Df.PbULong=Df.detectBi=void 0;var Tw=eQ(),Jt;function _Se(){let t=new DataView(new ArrayBuffer(8));Jt=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(_Se,"detectBi");Df.detectBi=_Se;_Se();function TSe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(TSe,"assertBi");var RSe=/^-?[0-9]+$/,rQ=4294967296,tQ=2147483648,nQ=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*rQ+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Rw=class t extends nQ{static{o(this,"PbULong")}static from(e){if(Jt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Jt.C(e);case"number":if(e===0)return this.ZERO;e=Jt.C(e);case"bigint":if(!e)return this.ZERO;if(eJt.UMAX)throw new Error("ulong too large");return Jt.V.setBigUint64(0,e,!0),new t(Jt.V.getInt32(0,!0),Jt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!RSe.test(e))throw new Error("string is no integer");let[r,n,i]=Tw.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/rQ)}throw new Error("unknown value "+typeof e)}toString(){return Jt?this.toBigInt().toString():Tw.int64toString(this.lo,this.hi)}toBigInt(){return TSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigUint64(0,!0)}};Df.PbULong=Rw;Rw.ZERO=new Rw(0,0);var Dw=class t extends nQ{static{o(this,"PbLong")}static from(e){if(Jt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Jt.C(e);case"number":if(e===0)return this.ZERO;e=Jt.C(e);case"bigint":if(!e)return this.ZERO;if(eJt.MAX)throw new Error("signed long too large");return Jt.V.setBigInt64(0,e,!0),new t(Jt.V.getInt32(0,!0),Jt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!RSe.test(e))throw new Error("string is no integer");let[r,n,i]=Tw.int64fromString(e);if(r){if(i>tQ||i==tQ&&n!=0)throw new Error("signed long too small")}else if(i>=tQ)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/rQ):new t(-e,-e/rQ).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&tQ)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Jt)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Tw.int64toString(e.lo,e.hi)}return Tw.int64toString(this.lo,this.hi)}toBigInt(){return TSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigInt64(0,!0)}};Df.PbLong=Dw;Dw.ZERO=new Dw(0,0)});var I8=A(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.BinaryReader=Uy.binaryReadOptions=void 0;var My=_w(),Qw=Qf(),DSe=eQ(),QSe={readUnknownField:!0,readerFactory:o(t=>new iQ(t),"readerFactory")};function tCt(t){return t?Object.assign(Object.assign({},QSe),t):QSe}o(tCt,"binaryReadOptions");Uy.binaryReadOptions=tCt;var iQ=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=DSe.varint64read,this.uint32=DSe.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,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case My.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case My.WireType.Bit64:this.pos+=4;case My.WireType.Bit32:this.pos+=4;break;case My.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case My.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==My.WireType.EndGroup;)this.skip(i);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 Qw.PbLong(...this.varint64())}uint64(){return new Qw.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new Qw.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 Qw.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Qw.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())}};Uy.BinaryReader=iQ});var qy=A(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.assertFloat32=pa.assertUInt32=pa.assertInt32=pa.assertNever=pa.assert=void 0;function rCt(t,e){if(!t)throw new Error(e)}o(rCt,"assert");pa.assert=rCt;function nCt(t,e){throw new Error(e??"Unexpected object: "+t)}o(nCt,"assertNever");pa.assertNever=nCt;var iCt=34028234663852886e22,sCt=-34028234663852886e22,oCt=4294967295,aCt=2147483647,cCt=-2147483648;function lCt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>aCt||toCt||t<0)throw new Error("invalid uint 32: "+t)}o(uCt,"assertUInt32");pa.assertUInt32=uCt;function dCt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>iCt||t{"use strict";Object.defineProperty(Hy,"__esModule",{value:!0});Hy.BinaryWriter=Hy.binaryWriteOptions=void 0;var kw=Qf(),Pw=eQ(),Gy=qy(),kSe={writeUnknownFields:!0,writerFactory:o(()=>new sQ,"writerFactory")};function fCt(t){return t?Object.assign(Object.assign({},kSe),t):kSe}o(fCt,"binaryWriteOptions");Hy.binaryWriteOptions=fCt;var sQ=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 i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Gy.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Gy.assertInt32(e),Pw.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){Gy.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){Gy.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Gy.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Gy.assertInt32(e),e=(e<<1^e>>31)>>>0,Pw.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=kw.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=kw.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=kw.PbLong.from(e);return Pw.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=kw.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return Pw.varint64write(i,s,this.buf),this}uint64(e){let r=kw.PbULong.from(e);return Pw.varint64write(r.lo,r.hi,this.buf),this}};Hy.BinaryWriter=sQ});var S8=A(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.mergeJsonOptions=kf.jsonWriteOptions=kf.jsonReadOptions=void 0;var PSe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},OSe={ignoreUnknownFields:!1};function hCt(t){return t?Object.assign(Object.assign({},OSe),t):OSe}o(hCt,"jsonReadOptions");kf.jsonReadOptions=hCt;function pCt(t){return t?Object.assign(Object.assign({},PSe),t):PSe}o(pCt,"jsonWriteOptions");kf.jsonWriteOptions=pCt;function ACt(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(ACt,"mergeJsonOptions");kf.mergeJsonOptions=ACt});var Ow=A(oQ=>{"use strict";Object.defineProperty(oQ,"__esModule",{value:!0});oQ.MESSAGE_TYPE=void 0;oQ.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var B8=A(aQ=>{"use strict";Object.defineProperty(aQ,"__esModule",{value:!0});aQ.lowerCamelCase=void 0;function mCt(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.readMessageOption=Pn.readFieldOption=Pn.readFieldOptions=Pn.normalizeFieldInfo=Pn.RepeatType=Pn.LongType=Pn.ScalarType=void 0;var LSe=B8(),gCt;(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"})(gCt=Pn.ScalarType||(Pn.ScalarType={}));var yCt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(yCt=Pn.LongType||(Pn.LongType={}));var FSe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(FSe=Pn.RepeatType||(Pn.RepeatType={}));function ECt(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:LSe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:LSe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:FSe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(ECt,"normalizeFieldInfo");Pn.normalizeFieldInfo=ECt;function CCt(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(CCt,"readFieldOptions");Pn.readFieldOptions=CCt;function bCt(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(bCt,"readFieldOption");Pn.readFieldOption=bCt;function ICt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(ICt,"readMessageOption");Pn.readMessageOption=ICt});var x8=A(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.getSelectedOneofValue=Ls.clearOneofValue=Ls.setUnknownOneofValue=Ls.setOneofValue=Ls.getOneofValue=Ls.isOneofGroup=void 0;function wCt(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(wCt,"isOneofGroup");Ls.isOneofGroup=wCt;function SCt(t,e){return t[e]}o(SCt,"getOneofValue");Ls.getOneofValue=SCt;function BCt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(BCt,"setOneofValue");Ls.setOneofValue=BCt;function xCt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(xCt,"setUnknownOneofValue");Ls.setUnknownOneofValue=xCt;function vCt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(vCt,"clearOneofValue");Ls.clearOneofValue=vCt;function NCt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(NCt,"getSelectedOneofValue");Ls.getSelectedOneofValue=NCt});var N8=A(cQ=>{"use strict";Object.defineProperty(cQ,"__esModule",{value:!0});cQ.ReflectionTypeCheck=void 0;var Vr=uc(),_Ct=x8(),v8=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=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!_Ct.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,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,Vr.ScalarType.INT32,i):this.scalar(e,Vr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Vr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case Vr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,Vr.LongType.STRING)}}};cQ.ReflectionTypeCheck=v8});var uQ=A(lQ=>{"use strict";Object.defineProperty(lQ,"__esModule",{value:!0});lQ.reflectionLongConvert=void 0;var MSe=uc();function TCt(t,e){switch(e){case MSe.LongType.BIGINT:return t.toBigInt();case MSe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(TCt,"reflectionLongConvert");lQ.reflectionLongConvert=TCt});var T8=A(hQ=>{"use strict";Object.defineProperty(hQ,"__esModule",{value:!0});hQ.ReflectionJsonReader=void 0;var USe=JD(),RCt=KD(),On=uc(),dQ=Qf(),eA=qy(),fQ=uQ(),_8=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 n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=USe.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(USe.isJsonObject(a),c.name,a);let d=u[l];for(let[f,h]of Object.entries(a)){this.assert(h!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(h,n);break;case"enum":if(p=this.enum(c.V.T(),h,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(h,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",h);let g=f;c.K==On.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,c.K,On.LongType.STRING,c.name).toString(),d[g]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let d=u[l];for(let f of a){this.assert(f!==null,c.name,null);let h;switch(c.kind){case"message":h=c.T().internalJsonRead(f,n);break;case"enum":if(h=this.enum(c.T(),f,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(f,c.T,c.L,c.name);break}this.assert(h!==void 0,c.name,a),d.push(h)}}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,n,u[l]);break;case"enum":let d=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(d===!1)continue;u[l]=d;break;case"scalar":u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&eA.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return eA.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(eA.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}eA.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case On.ScalarType.DOUBLE:case On.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==On.ScalarType.FLOAT&&eA.assertFloat32(a),a;case On.ScalarType.INT32:case On.ScalarType.FIXED32:case On.ScalarType.SFIXED32:case On.ScalarType.SINT32:case On.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==On.ScalarType.UINT32?eA.assertUInt32(c):eA.assertInt32(c),c;case On.ScalarType.INT64:case On.ScalarType.SFIXED64:case On.ScalarType.SINT64:if(e===null)return fQ.reflectionLongConvert(dQ.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return fQ.reflectionLongConvert(dQ.PbLong.from(e),n);case On.ScalarType.FIXED64:case On.ScalarType.UINT64:if(e===null)return fQ.reflectionLongConvert(dQ.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return fQ.reflectionLongConvert(dQ.PbULong.from(e),n);case On.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case On.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case On.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return RCt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};hQ.ReflectionJsonReader=_8});var D8=A(pQ=>{"use strict";Object.defineProperty(pQ,"__esModule",{value:!0});pQ.ReflectionJsonWriter=void 0;var DCt=KD(),qSe=Qf(),ss=uc(),wr=qy(),R8=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);wr.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){wr.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let d=this.scalar(e.V.T,u,e.name,!1,!0);wr.assert(d!==void 0),s[l.toString()]=d}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let d=this.message(a,u,e.name,n);wr.assert(d!==void 0),s[l.toString()]=d}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){wr.assert(u===void 0||typeof u=="number");let d=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);wr.assert(d!==void 0),s[l.toString()]=d}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){wr.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){wr.assert(i);return}if(!(r===0&&!s&&!i))return wr.assert(typeof r=="number"),wr.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){wr.assert(i);return}let a=s||i;switch(e){case ss.ScalarType.INT32:case ss.ScalarType.SFIXED32:case ss.ScalarType.SINT32:return r===0?a?0:void 0:(wr.assertInt32(r),r);case ss.ScalarType.FIXED32:case ss.ScalarType.UINT32:return r===0?a?0:void 0:(wr.assertUInt32(r),r);case ss.ScalarType.FLOAT:wr.assertFloat32(r);case ss.ScalarType.DOUBLE:return r===0?a?0:void 0:(wr.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case ss.ScalarType.STRING:return r===""?a?"":void 0:(wr.assert(typeof r=="string"),r);case ss.ScalarType.BOOL:return r===!1?a?!1:void 0:(wr.assert(typeof r=="boolean"),r);case ss.ScalarType.UINT64:case ss.ScalarType.FIXED64:wr.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=qSe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ss.ScalarType.INT64:case ss.ScalarType.SFIXED64:case ss.ScalarType.SINT64:wr.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=qSe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ss.ScalarType.BYTES:return wr.assert(r instanceof Uint8Array),r.byteLength?DCt.base64encode(r):a?"":void 0}}};pQ.ReflectionJsonWriter=R8});var mQ=A(AQ=>{"use strict";Object.defineProperty(AQ,"__esModule",{value:!0});AQ.reflectionScalarDefault=void 0;var dc=uc(),GSe=uQ(),HSe=Qf();function QCt(t,e=dc.LongType.STRING){switch(t){case dc.ScalarType.BOOL:return!1;case dc.ScalarType.UINT64:case dc.ScalarType.FIXED64:return GSe.reflectionLongConvert(HSe.PbULong.ZERO,e);case dc.ScalarType.INT64:case dc.ScalarType.SFIXED64:case dc.ScalarType.SINT64:return GSe.reflectionLongConvert(HSe.PbLong.ZERO,e);case dc.ScalarType.DOUBLE:case dc.ScalarType.FLOAT:return 0;case dc.ScalarType.BYTES:return new Uint8Array(0);case dc.ScalarType.STRING:return"";default:return 0}}o(QCt,"reflectionScalarDefault");AQ.reflectionScalarDefault=QCt});var k8=A(gQ=>{"use strict";Object.defineProperty(gQ,"__esModule",{value:!0});gQ.ReflectionBinaryReader=void 0;var VSe=_w(),ln=uc(),Lw=uQ(),zSe=mQ(),Q8=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(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(yQ,"__esModule",{value:!0});yQ.ReflectionBinaryWriter=void 0;var wo=_w(),tr=uc(),Vy=qy(),Fw=Qf(),P8=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,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let d=e[s.oneof];if(d.oneofKind!==u)continue;a=d[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let d=s.kind=="enum"?tr.ScalarType.INT32:s.T;if(l)if(Vy.assert(Array.isArray(a)),l==tr.RepeatType.PACKED)this.packed(r,d,s.no,a);else for(let f of a)this.scalar(r,d,s.no,f,!0);else a===void 0?Vy.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){Vy.assert(Array.isArray(a));for(let f of a)this.message(r,n,s.T(),s.no,f)}else this.message(r,n,s.T(),s.no,a);break;case"map":Vy.assert(typeof a=="object"&&a!==null);for(let[f,h]of Object.entries(a))this.mapEntry(r,n,s,f,h);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?wo.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,wo.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case tr.ScalarType.INT32:case tr.ScalarType.FIXED32:case tr.ScalarType.UINT32:case tr.ScalarType.SFIXED32:case tr.ScalarType.SINT32:a=Number.parseInt(i);break;case tr.ScalarType.BOOL:Vy.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,tr.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,wo.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;Vy.assert(r!==tr.ScalarType.BYTES&&r!==tr.ScalarType.STRING),e.tag(n,wo.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(EQ,"__esModule",{value:!0});EQ.reflectionCreate=void 0;var kCt=mQ(),PCt=Ow();function OCt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},PCt.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=kCt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(OCt,"reflectionCreate");EQ.reflectionCreate=OCt});var F8=A(CQ=>{"use strict";Object.defineProperty(CQ,"__esModule",{value:!0});CQ.reflectionMergePartial=void 0;function LCt(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(IQ,"__esModule",{value:!0});IQ.reflectionEquals=void 0;var M8=uc();function FCt(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?M8.ScalarType.INT32:n.T;if(!(n.repeat?$Se(c,s,a):WSe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?jSe(n.V.T(),bQ(s),bQ(a)):$Se(n.V.kind=="enum"?M8.ScalarType.INT32:n.V.T,bQ(s),bQ(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?jSe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(FCt,"reflectionEquals");IQ.reflectionEquals=FCt;var bQ=Object.values;function WSe(t,e,r){if(e===r)return!0;if(t!==M8.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(wQ,"__esModule",{value:!0});wQ.MessageType=void 0;var MCt=Ow(),UCt=uc(),qCt=N8(),GCt=T8(),HCt=D8(),VCt=k8(),zCt=O8(),$Ct=L8(),q8=F8(),jCt=JD(),JSe=S8(),WCt=U8(),JCt=w8(),YCt=I8(),KCt=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),G8=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(UCt.normalizeFieldInfo),this.options=n??{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},KCt),{[MCt.MESSAGE_TYPE]:{value:this}})),this.refTypeCheck=new qCt.ReflectionTypeCheck(this),this.refJsonReader=new GCt.ReflectionJsonReader(this),this.refJsonWriter=new HCt.ReflectionJsonWriter(this),this.refBinReader=new VCt.ReflectionBinaryReader(this),this.refBinWriter=new zCt.ReflectionBinaryWriter(this)}create(e){let r=$Ct.reflectionCreate(this);return e!==void 0&&q8.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return q8.reflectionMergePartial(this,r,e),r}equals(e,r){return WCt.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){q8.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=YCt.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,JSe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,JSe.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=JCt.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${jCt.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};wQ.MessageType=G8});var KSe=A(SQ=>{"use strict";Object.defineProperty(SQ,"__esModule",{value:!0});SQ.containsMessageType=void 0;var XCt=Ow();function ZCt(t){return t[XCt.MESSAGE_TYPE]!=null}o(ZCt,"containsMessageType");SQ.containsMessageType=ZCt});var ZSe=A(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.listEnumNumbers=Nl.listEnumNames=Nl.listEnumValues=Nl.isEnumObject=void 0;function XSe(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 n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(XSe,"isEnumObject");Nl.isEnumObject=XSe;function H8(t){if(!XSe(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(H8,"listEnumValues");Nl.listEnumValues=H8;function ebt(t){return H8(t).map(e=>e.name)}o(ebt,"listEnumNames");Nl.listEnumNames=ebt;function tbt(t){return H8(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(tbt,"listEnumNumbers");Nl.listEnumNumbers=tbt});var cr=A(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var eBe=JD();Object.defineProperty(De,"typeofJsonValue",{enumerable:!0,get:o(function(){return eBe.typeofJsonValue},"get")});Object.defineProperty(De,"isJsonObject",{enumerable:!0,get:o(function(){return eBe.isJsonObject},"get")});var tBe=KD();Object.defineProperty(De,"base64decode",{enumerable:!0,get:o(function(){return tBe.base64decode},"get")});Object.defineProperty(De,"base64encode",{enumerable:!0,get:o(function(){return tBe.base64encode},"get")});var rbt=NSe();Object.defineProperty(De,"utf8read",{enumerable:!0,get:o(function(){return rbt.utf8read},"get")});var V8=_w();Object.defineProperty(De,"WireType",{enumerable:!0,get:o(function(){return V8.WireType},"get")});Object.defineProperty(De,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return V8.mergeBinaryOptions},"get")});Object.defineProperty(De,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return V8.UnknownFieldHandler},"get")});var rBe=I8();Object.defineProperty(De,"BinaryReader",{enumerable:!0,get:o(function(){return rBe.BinaryReader},"get")});Object.defineProperty(De,"binaryReadOptions",{enumerable:!0,get:o(function(){return rBe.binaryReadOptions},"get")});var nBe=w8();Object.defineProperty(De,"BinaryWriter",{enumerable:!0,get:o(function(){return nBe.BinaryWriter},"get")});Object.defineProperty(De,"binaryWriteOptions",{enumerable:!0,get:o(function(){return nBe.binaryWriteOptions},"get")});var iBe=Qf();Object.defineProperty(De,"PbLong",{enumerable:!0,get:o(function(){return iBe.PbLong},"get")});Object.defineProperty(De,"PbULong",{enumerable:!0,get:o(function(){return iBe.PbULong},"get")});var z8=S8();Object.defineProperty(De,"jsonReadOptions",{enumerable:!0,get:o(function(){return z8.jsonReadOptions},"get")});Object.defineProperty(De,"jsonWriteOptions",{enumerable:!0,get:o(function(){return z8.jsonWriteOptions},"get")});Object.defineProperty(De,"mergeJsonOptions",{enumerable:!0,get:o(function(){return z8.mergeJsonOptions},"get")});var nbt=Ow();Object.defineProperty(De,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return nbt.MESSAGE_TYPE},"get")});var ibt=YSe();Object.defineProperty(De,"MessageType",{enumerable:!0,get:o(function(){return ibt.MessageType},"get")});var tA=uc();Object.defineProperty(De,"ScalarType",{enumerable:!0,get:o(function(){return tA.ScalarType},"get")});Object.defineProperty(De,"LongType",{enumerable:!0,get:o(function(){return tA.LongType},"get")});Object.defineProperty(De,"RepeatType",{enumerable:!0,get:o(function(){return tA.RepeatType},"get")});Object.defineProperty(De,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return tA.normalizeFieldInfo},"get")});Object.defineProperty(De,"readFieldOptions",{enumerable:!0,get:o(function(){return tA.readFieldOptions},"get")});Object.defineProperty(De,"readFieldOption",{enumerable:!0,get:o(function(){return tA.readFieldOption},"get")});Object.defineProperty(De,"readMessageOption",{enumerable:!0,get:o(function(){return tA.readMessageOption},"get")});var sbt=N8();Object.defineProperty(De,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return sbt.ReflectionTypeCheck},"get")});var obt=L8();Object.defineProperty(De,"reflectionCreate",{enumerable:!0,get:o(function(){return obt.reflectionCreate},"get")});var abt=mQ();Object.defineProperty(De,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return abt.reflectionScalarDefault},"get")});var cbt=F8();Object.defineProperty(De,"reflectionMergePartial",{enumerable:!0,get:o(function(){return cbt.reflectionMergePartial},"get")});var lbt=U8();Object.defineProperty(De,"reflectionEquals",{enumerable:!0,get:o(function(){return lbt.reflectionEquals},"get")});var ubt=k8();Object.defineProperty(De,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return ubt.ReflectionBinaryReader},"get")});var dbt=O8();Object.defineProperty(De,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return dbt.ReflectionBinaryWriter},"get")});var fbt=T8();Object.defineProperty(De,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return fbt.ReflectionJsonReader},"get")});var hbt=D8();Object.defineProperty(De,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return hbt.ReflectionJsonWriter},"get")});var pbt=KSe();Object.defineProperty(De,"containsMessageType",{enumerable:!0,get:o(function(){return pbt.containsMessageType},"get")});var Mw=x8();Object.defineProperty(De,"isOneofGroup",{enumerable:!0,get:o(function(){return Mw.isOneofGroup},"get")});Object.defineProperty(De,"setOneofValue",{enumerable:!0,get:o(function(){return Mw.setOneofValue},"get")});Object.defineProperty(De,"getOneofValue",{enumerable:!0,get:o(function(){return Mw.getOneofValue},"get")});Object.defineProperty(De,"clearOneofValue",{enumerable:!0,get:o(function(){return Mw.clearOneofValue},"get")});Object.defineProperty(De,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Mw.getSelectedOneofValue},"get")});var BQ=ZSe();Object.defineProperty(De,"listEnumValues",{enumerable:!0,get:o(function(){return BQ.listEnumValues},"get")});Object.defineProperty(De,"listEnumNames",{enumerable:!0,get:o(function(){return BQ.listEnumNames},"get")});Object.defineProperty(De,"listEnumNumbers",{enumerable:!0,get:o(function(){return BQ.listEnumNumbers},"get")});Object.defineProperty(De,"isEnumObject",{enumerable:!0,get:o(function(){return BQ.isEnumObject},"get")});var Abt=B8();Object.defineProperty(De,"lowerCamelCase",{enumerable:!0,get:o(function(){return Abt.lowerCamelCase},"get")});var Uw=qy();Object.defineProperty(De,"assert",{enumerable:!0,get:o(function(){return Uw.assert},"get")});Object.defineProperty(De,"assertNever",{enumerable:!0,get:o(function(){return Uw.assertNever},"get")});Object.defineProperty(De,"assertInt32",{enumerable:!0,get:o(function(){return Uw.assertInt32},"get")});Object.defineProperty(De,"assertUInt32",{enumerable:!0,get:o(function(){return Uw.assertUInt32},"get")});Object.defineProperty(De,"assertFloat32",{enumerable:!0,get:o(function(){return Uw.assertFloat32},"get")})});var s6=A(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.readServiceOption=Ql.readMethodOption=Ql.readMethodOptions=Ql.normalizeMethodInfo=void 0;var mbt=cr();function gbt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:mbt.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(gbt,"normalizeMethodInfo");Ql.normalizeMethodInfo=gbt;function ybt(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(ybt,"readMethodOptions");Ql.readMethodOptions=ybt;function Ebt(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(Ebt,"readMethodOption");Ql.readMethodOption=Ebt;function Cbt(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(Cbt,"readServiceOption");Ql.readServiceOption=Cbt});var lBe=A(xQ=>{"use strict";Object.defineProperty(xQ,"__esModule",{value:!0});xQ.ServiceType=void 0;var bbt=s6(),o6=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>bbt.normalizeMethodInfo(i,this)),this.options=n??{}}};xQ.ServiceType=o6});var c6=A(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.RpcError=void 0;var a6=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}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[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` -`)}};vQ.RpcError=a6});var l6=A(_Q=>{"use strict";Object.defineProperty(_Q,"__esModule",{value:!0});_Q.mergeRpcOptions=void 0;var uBe=cr();function Ibt(t,e){if(!e)return t;let r={};NQ(t,r),NQ(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=uBe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=uBe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},NQ(t.meta,r.meta),NQ(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(Ibt,"mergeRpcOptions");_Q.mergeRpcOptions=Ibt;function NQ(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(NQ,"copy")});var d6=A(rA=>{"use strict";Object.defineProperty(rA,"__esModule",{value:!0});rA.Deferred=rA.DeferredState=void 0;var kl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(kl=rA.DeferredState||(rA.DeferredState={}));var u6=class{static{o(this,"Deferred")}constructor(e=!0){this._state=kl.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==kl.PENDING)throw new Error(`cannot resolve ${kl[this.state].toLowerCase()}`);this._resolve(e),this._state=kl.RESOLVED}reject(e){if(this.state!==kl.PENDING)throw new Error(`cannot reject ${kl[this.state].toLowerCase()}`);this._reject(e),this._state=kl.REJECTED}resolvePending(e){this._state===kl.PENDING&&this.resolve(e)}rejectPending(e){this._state===kl.PENDING&&this.reject(e)}};rA.Deferred=u6});var h6=A(TQ=>{"use strict";Object.defineProperty(TQ,"__esModule",{value:!0});TQ.RpcOutputStreamController=void 0;var dBe=d6(),nA=cr(),f6=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1}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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){nA.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){nA.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){nA.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(){nA.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._itState||(this._itState={q:[]}),this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;nA.assert(e,"bad state"),nA.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 dBe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r)if(r.p){let n=r.p;nA.assert(n.state==dBe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};TQ.RpcOutputStreamController=f6});var A6=A(jy=>{"use strict";var wbt=jy&&jy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(jy,"__esModule",{value:!0});jy.UnaryCall=void 0;var p6=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return wbt(this,void 0,void 0,function*(){let[e,r,n,i]=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:n,trailers:i}})}};jy.UnaryCall=p6});var g6=A(Wy=>{"use strict";var Sbt=Wy&&Wy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Wy,"__esModule",{value:!0});Wy.ServerStreamingCall=void 0;var m6=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Sbt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};Wy.ServerStreamingCall=m6});var E6=A(Jy=>{"use strict";var Bbt=Jy&&Jy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Jy,"__esModule",{value:!0});Jy.ClientStreamingCall=void 0;var y6=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Bbt(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};Jy.ClientStreamingCall=y6});var b6=A(Yy=>{"use strict";var xbt=Yy&&Yy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Yy,"__esModule",{value:!0});Yy.DuplexStreamingCall=void 0;var C6=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return xbt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Yy.DuplexStreamingCall=C6});var hBe=A(Zy=>{"use strict";var vbt=Zy&&Zy.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Zy,"__esModule",{value:!0});Zy.TestTransport=void 0;var Aa=c6(),RQ=cr(),fBe=h6(),Nbt=l6(),_bt=A6(),Tbt=g6(),Rbt=E6(),Dbt=b6(),Xy=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 Ky?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Ky?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 Aa.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Aa.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(RQ.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),RQ.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return vbt(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)RQ.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Aa.RpcError||(RQ.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Kn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Aa.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Kn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Aa.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Aa.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 Aa.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 Aa.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Nbt.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Kn(this.headerDelay,n.abort)),c=a.catch(d=>{}).then(Kn(this.responseDelay,n.abort)).then(d=>this.promiseSingleResponse(e)),l=c.catch(d=>{}).then(Kn(this.afterResponseDelay,n.abort)).then(d=>this.promiseStatus()),u=c.catch(d=>{}).then(Kn(this.afterResponseDelay,n.abort)).then(d=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new _bt.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Kn(this.headerDelay,n.abort)),c=new fBe.RpcOutputStreamController,l=a.then(Kn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Kn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),d=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,d),this.lastInput={single:r},new Tbt.ServerStreamingCall(e,s,r,a,c,u,d)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Kn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(Kn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Kn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Kn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Ky(this.data,r.abort),new Rbt.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Kn(this.headerDelay,r.abort)),a=new fBe.RpcOutputStreamController,c=s.then(Kn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Kn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new Ky(this.data,r.abort),new Dbt.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};Zy.TestTransport=Xy;Xy.defaultHeaders={responseHeader:"test"};Xy.defaultStatus={code:"OK",detail:"all good"};Xy.defaultTrailers={responseTrailer:"test"};function Kn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Aa.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new Aa.RpcError("user cancel","CANCELLED"))})}})}o(Kn,"delay");var Ky=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 Aa.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(Kn(r,this.abort))}complete(){if(this.data.inputComplete instanceof Aa.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(Kn(e,this.abort))}}});var pBe=A(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.stackDuplexStreamingInterceptors=ma.stackClientStreamingInterceptors=ma.stackServerStreamingInterceptors=ma.stackUnaryInterceptors=ma.stackIntercept=void 0;var Qbt=cr();function Gw(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((d,f,h)=>e.unary(d,f,h),"tail");for(let d of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(f=>f.interceptUnary).reverse()){let f=u;u=o((h,p,g)=>d.interceptUnary(f,h,p,g),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((d,f,h)=>e.serverStreaming(d,f,h),"tail");for(let d of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(f=>f.interceptServerStreaming).reverse()){let f=u;u=o((h,p,g)=>d.interceptServerStreaming(f,h,p,g),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((d,f)=>e.clientStreaming(d,f),"tail");for(let d of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(f=>f.interceptClientStreaming).reverse()){let f=u;u=o((h,p)=>d.interceptClientStreaming(f,h,p),"tail")}return u(r,n)}if(t=="duplex"){let u=o((d,f)=>e.duplex(d,f),"tail");for(let d of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(f=>f.interceptDuplex).reverse()){let f=u;u=o((h,p)=>d.interceptDuplex(f,h,p),"tail")}return u(r,n)}Qbt.assertNever(t)}o(Gw,"stackIntercept");ma.stackIntercept=Gw;function kbt(t,e,r,n){return Gw("unary",t,e,n,r)}o(kbt,"stackUnaryInterceptors");ma.stackUnaryInterceptors=kbt;function Pbt(t,e,r,n){return Gw("serverStreaming",t,e,n,r)}o(Pbt,"stackServerStreamingInterceptors");ma.stackServerStreamingInterceptors=Pbt;function Obt(t,e,r){return Gw("clientStreaming",t,e,r)}o(Obt,"stackClientStreamingInterceptors");ma.stackClientStreamingInterceptors=Obt;function Lbt(t,e,r){return Gw("duplex",t,e,r)}o(Lbt,"stackDuplexStreamingInterceptors");ma.stackDuplexStreamingInterceptors=Lbt});var ABe=A(DQ=>{"use strict";Object.defineProperty(DQ,"__esModule",{value:!0});DQ.ServerCallContextController=void 0;var I6=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};DQ.ServerCallContextController=I6});var gBe=A(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var Fbt=lBe();Object.defineProperty(zr,"ServiceType",{enumerable:!0,get:o(function(){return Fbt.ServiceType},"get")});var w6=s6();Object.defineProperty(zr,"readMethodOptions",{enumerable:!0,get:o(function(){return w6.readMethodOptions},"get")});Object.defineProperty(zr,"readMethodOption",{enumerable:!0,get:o(function(){return w6.readMethodOption},"get")});Object.defineProperty(zr,"readServiceOption",{enumerable:!0,get:o(function(){return w6.readServiceOption},"get")});var Mbt=c6();Object.defineProperty(zr,"RpcError",{enumerable:!0,get:o(function(){return Mbt.RpcError},"get")});var Ubt=l6();Object.defineProperty(zr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return Ubt.mergeRpcOptions},"get")});var qbt=h6();Object.defineProperty(zr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return qbt.RpcOutputStreamController},"get")});var Gbt=hBe();Object.defineProperty(zr,"TestTransport",{enumerable:!0,get:o(function(){return Gbt.TestTransport},"get")});var mBe=d6();Object.defineProperty(zr,"Deferred",{enumerable:!0,get:o(function(){return mBe.Deferred},"get")});Object.defineProperty(zr,"DeferredState",{enumerable:!0,get:o(function(){return mBe.DeferredState},"get")});var Hbt=b6();Object.defineProperty(zr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return Hbt.DuplexStreamingCall},"get")});var Vbt=E6();Object.defineProperty(zr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return Vbt.ClientStreamingCall},"get")});var zbt=g6();Object.defineProperty(zr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return zbt.ServerStreamingCall},"get")});var $bt=A6();Object.defineProperty(zr,"UnaryCall",{enumerable:!0,get:o(function(){return $bt.UnaryCall},"get")});var Hw=pBe();Object.defineProperty(zr,"stackIntercept",{enumerable:!0,get:o(function(){return Hw.stackIntercept},"get")});Object.defineProperty(zr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Hw.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(zr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Hw.stackClientStreamingInterceptors},"get")});Object.defineProperty(zr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Hw.stackServerStreamingInterceptors},"get")});Object.defineProperty(zr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Hw.stackUnaryInterceptors},"get")});var jbt=ABe();Object.defineProperty(zr,"ServerCallContextController",{enumerable:!0,get:o(function(){return jbt.ServerCallContextController},"get")})});var IBe=A((lvr,Jbt)=>{Jbt.exports={name:"@actions/artifact",version:"6.2.1",preview:!0,description:"Actions artifact lib",keywords:["github","actions","artifact"],homepage:"https://github.com/actions/toolkit/tree/main/packages/artifact",license:"MIT",type:"module",main:"lib/artifact.js",types:"lib/artifact.d.ts",exports:{".":{types:"./lib/artifact.d.ts",import:"./lib/artifact.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/artifact"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:"cd ../../ && npm run test ./packages/artifact",bootstrap:"cd ../../ && npm run bootstrap","tsc-run":"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/",tsc:"npm run bootstrap && npm run tsc-run","gen:docs":"typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.0","@actions/github":"^9.0.0","@actions/http-client":"^4.0.0","@azure/storage-blob":"^12.30.0","@octokit/core":"^7.0.6","@octokit/plugin-request-log":"^6.0.0","@octokit/plugin-retry":"^8.0.0","@octokit/request":"^10.0.7","@octokit/request-error":"^7.1.0","@protobuf-ts/plugin":"^2.2.3-alpha.1","@protobuf-ts/runtime":"^2.9.4",archiver:"^7.0.1","jwt-decode":"^4.0.0","unzip-stream":"^0.3.1"},devDependencies:{"@types/archiver":"^7.0.0","@types/unzip-stream":"^0.3.4",typedoc:"^0.28.16","typedoc-plugin-markdown":"^4.9.0",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var SBe=A((uvr,wBe)=>{var Ybt=IBe();wBe.exports={version:Ybt.version}});var PBe=A((Mvr,kBe)=>{var Kbt=typeof process=="object"&&process&&process.platform==="win32";kBe.exports=Kbt?{sep:"\\"}:{sep:"/"}});var K6=A((Uvr,GBe)=>{var OBe=$q();GBe.exports=e0t;var LBe="\0SLASH"+Math.random()+"\0",FBe="\0OPEN"+Math.random()+"\0",Y6="\0CLOSE"+Math.random()+"\0",MBe="\0COMMA"+Math.random()+"\0",UBe="\0PERIOD"+Math.random()+"\0";function J6(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(J6,"numeric");function Xbt(t){return t.split("\\\\").join(LBe).split("\\{").join(FBe).split("\\}").join(Y6).split("\\,").join(MBe).split("\\.").join(UBe)}o(Xbt,"escapeBraces");function Zbt(t){return t.split(LBe).join("\\").split(FBe).join("{").split(Y6).join("}").split(MBe).join(",").split(UBe).join(".")}o(Zbt,"unescapeBraces");function qBe(t){if(!t)return[""];var e=[],r=OBe("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=qBe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(qBe,"parseCommaParts");function e0t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Vw(Xbt(t),!0).map(Zbt)):[]}o(e0t,"expandTop");function t0t(t){return"{"+t+"}"}o(t0t,"embrace");function r0t(t){return/^-?0\d/.test(t)}o(r0t,"isPadded");function n0t(t,e){return t<=e}o(n0t,"lte");function i0t(t,e){return t>=e}o(i0t,"gte");function Vw(t,e){var r=[],n=OBe("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?Vw(n.post,!1):[""];if(/\$$/.test(n.pre))for(var a=0;a=0;if(!d&&!f)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+Y6+n.post,Vw(t)):[t];var h;if(d)h=n.body.split(/\.\./);else if(h=qBe(n.body),h.length===1&&(h=Vw(h[0],!1).map(t0t),h.length===1))return s.map(function(H){return n.pre+h[0]+H});var p;if(d){var g=J6(h[0]),m=J6(h[1]),E=Math.max(h[0].length,h[1].length),y=h.length==3?Math.abs(J6(h[2])):1,C=n0t,I=m0){var $=new Array(v+1).join("0");Q<0?M="-"+$+M.slice(1):M=$+M}}p.push(M)}}else{p=[];for(var D=0;D{var Bo=rW.exports=(t,e,r={})=>(OQ(e),!r.nocomment&&e.charAt(0)==="#"?!1:new nE(e,r).match(t));rW.exports=Bo;var eW=PBe();Bo.sep=eW.sep;var hc=Symbol("globstar **");Bo.GLOBSTAR=hc;var s0t=K6(),HBe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},tW="[^/]",X6=tW+"*?",o0t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",a0t="(?:(?!(?:\\/|^)\\.).)*?",$Be=o(t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),"charSet"),VBe=$Be("().*{}+?[]^$\\!"),c0t=$Be("[.("),zBe=/\/+/;Bo.filter=(t,e={})=>(r,n,i)=>Bo(r,t,e);var Of=o((t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r},"ext");Bo.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return Bo;let e=Bo,r=o((n,i,s)=>e(n,i,Of(t,s)),"m");return r.Minimatch=class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s){super(i,Of(t,s))}},r.Minimatch.defaults=n=>e.defaults(Of(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,Of(t,i)),r.defaults=n=>e.defaults(Of(t,n)),r.makeRe=(n,i)=>e.makeRe(n,Of(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,Of(t,i)),r.match=(n,i,s)=>e.match(n,i,Of(t,s)),r};Bo.braceExpand=(t,e)=>jBe(t,e);var jBe=o((t,e={})=>(OQ(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:s0t(t)),"braceExpand"),l0t=1024*64,OQ=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>l0t)throw new TypeError("pattern is too long")},"assertValidPattern"),Z6=Symbol("subparse");Bo.makeRe=(t,e)=>new nE(t,e||{}).makeRe();Bo.match=(t,e,r={})=>{let n=new nE(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var u0t=o(t=>t.replace(/\\(.)/g,"$1"),"globUnescape"),d0t=o(t=>t.replace(/\\([^-\]])/g,"$1"),"charUnescape"),f0t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),h0t=o(t=>t.replace(/[[\]\\]/g,"\\$&"),"braExpEscape"),nE=class{static{o(this,"Minimatch")}constructor(e,r){OQ(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}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();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(zBe)),this.debug(this.pattern,n),n=n.map((i,s,a)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i>> no match, partial?`,e,f,r,h),f===c))}var g;if(typeof u=="string"?(g=d===u,this.debug("string match",u,d,g)):(g=d.match(u),this.debug("pattern match",u,d,g)),!g)return!1}if(s===c&&a===l)return!0;if(s===c)return n;if(a===l)return s===c-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return jBe(this.pattern,this.options)}parse(e,r){OQ(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return hc;if(e==="")return"";let i="",s=!1,a=!1,c=[],l=[],u,d=!1,f=-1,h=-1,p,g,m,E=e.charAt(0)===".",y=n.dot||E,C=o(()=>E?"":y?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","patternStart"),I=o(v=>v.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","subPatternStart"),B=o(()=>{if(u){switch(u){case"*":i+=X6,s=!0;break;case"?":i+=tW,s=!0;break;default:i+="\\"+u;break}this.debug("clearStateChar %j %j",u,i),u=!1}},"clearStateChar");for(let v=0,$;v(V||(V="\\"),H+H+V+"|")),this.debug(`tail=%j - %s`,v,v,g,i);let $=g.type==="*"?X6:g.type==="?"?tW:"\\"+g.type;s=!0,i=i.slice(0,g.reStart)+$+"\\("+v}B(),a&&(i+="\\\\");let Q=c0t[i.charAt(0)];for(let v=l.length-1;v>-1;v--){let $=l[v],D=i.slice(0,$.reStart),H=i.slice($.reStart,$.reEnd-8),V=i.slice($.reEnd),J=i.slice($.reEnd-8,$.reEnd)+V,ee=D.split(")").length,ae=D.split("(").length-ee,Ae=V;for(let z=0;z(a=a.map(c=>typeof c=="string"?f0t(c):c===hc?hc:c._src).reduce((c,l)=>(c[c.length-1]===hc&&l===hc||c.push(l),c),[]),a.forEach((c,l)=>{c!==hc||a[l-1]===hc||(l===0?a.length>1?a[l+1]="(?:\\/|"+n+"\\/)?"+a[l+1]:a[l]=n:l===a.length-1?a[l-1]+="(?:\\/|"+n+")?":(a[l-1]+="(?:\\/|\\/"+n+"\\/)"+a[l+1],a[l+1]=hc))}),a.filter(c=>c!==hc).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}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 n=this.options;eW.sep!=="/"&&(e=e.split(eW.sep).join("/")),e=e.split(zBe),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let a=e.length-1;a>=0&&(s=e[a],!s);a--);for(let a=0;a{XBe.exports=KBe;var iW=require("fs"),{EventEmitter:p0t}=require("events"),{Minimatch:nW}=WBe(),{resolve:A0t}=require("path");function m0t(t,e){return new Promise((r,n)=>{iW.readdir(t,{withFileTypes:!0},(i,s)=>{if(i)switch(i.code){case"ENOTDIR":e?n(i):r([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":r([]);break;default:n(i);break}else r(s)})})}o(m0t,"readdir");function JBe(t,e){return new Promise((r,n)=>{(e?iW.stat:iW.lstat)(t,(s,a)=>{s?s.code==="ENOENT"?r(e?JBe(t,!1):null):r(null):r(a)})})}o(JBe,"stat");async function*YBe(t,e,r,n,i,s){let a=await m0t(e+t,s);for(let c of a){let l=c.name;l===void 0&&(l=c,n=!0);let u=t+"/"+l,d=u.slice(1),f=e+"/"+d,h=null;(n||r)&&(h=await JBe(f,r)),!h&&c.name!==void 0&&(h=c),h===null&&(h={isDirectory:o(()=>!1,"isDirectory")}),h.isDirectory()?i(d)||(yield{relative:d,absolute:f,stats:h},yield*YBe(u,e,r,n,i,!1)):yield{relative:d,absolute:f,stats:h}}}o(YBe,"exploreWalkAsync");async function*g0t(t,e,r,n){yield*YBe("",t,e,r,n,!0)}o(g0t,"explore");function y0t(t){return{pattern:t.pattern,dot:!!t.dot,noglobstar:!!t.noglobstar,matchBase:!!t.matchBase,nocase:!!t.nocase,ignore:t.ignore,skip:t.skip,follow:!!t.follow,stat:!!t.stat,nodir:!!t.nodir,mark:!!t.mark,silent:!!t.silent,absolute:!!t.absolute}}o(y0t,"readOptions");var LQ=class extends p0t{static{o(this,"ReaddirGlob")}constructor(e,r,n){if(super(),typeof r=="function"&&(n=r,r=null),this.options=y0t(r||{}),this.matchers=[],this.options.pattern){let i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map(s=>new nW(s,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map(s=>new nW(s,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map(s=>new nW(s,{dot:!0}))}this.iterator=g0t(A0t(e||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,n&&(this._matches=[],this.on("match",i=>this._matches.push(this.options.absolute?i.absolute:i.relative)),this.on("error",i=>n(i)),this.on("end",()=>n(null,this._matches))),setTimeout(()=>this._next(),0)}_shouldSkipDirectory(e){return this.skipMatchers.some(r=>r.match(e))}_fileMatches(e,r){let n=e+(r?"/":"");return(this.matchers.length===0||this.matchers.some(i=>i.match(n)))&&!this.ignoreMatchers.some(i=>i.match(n))&&(!this.options.nodir||!r)}_next(){!this.paused&&!this.aborted?this.iterator.next().then(e=>{if(e.done)this.emit("end");else{let r=e.value.stats.isDirectory();if(this._fileMatches(e.value.relative,r)){let n=e.value.relative,i=e.value.absolute;this.options.mark&&r&&(n+="/",i+="/"),this.options.stat?this.emit("match",{relative:n,absolute:i,stat:e.value.stats}):this.emit("match",{relative:n,absolute:i})}this._next(this.iterator)}}).catch(e=>{this.abort(),this.emit("error",e),!e.code&&!this.options.silent&&console.error(e)}):this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){this.paused=!1,this.inactive&&(this.inactive=!1,this._next())}};function KBe(t,e,r){return new LQ(t,e,r)}o(KBe,"readdirGlob");KBe.ReaddirGlob=LQ});var txe=A((FQ,exe)=>{(function(t,e){typeof FQ=="object"&&typeof exe<"u"?e(FQ):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.async={}))})(FQ,(function(t){"use strict";function e(w,...b){return(...S)=>w(...b,...S)}o(e,"apply");function r(w){return function(...b){var S=b.pop();return w.call(this,b,S)}}o(r,"initialParams");var n=typeof queueMicrotask=="function"&&queueMicrotask,i=typeof setImmediate=="function"&&setImmediate,s=typeof process=="object"&&typeof process.nextTick=="function";function a(w){setTimeout(w,0)}o(a,"fallback");function c(w){return(b,...S)=>w(()=>b(...S))}o(c,"wrap");var l;n?l=queueMicrotask:i?l=setImmediate:s?l=process.nextTick:l=a;var u=c(l);function d(w){return p(w)?function(...b){let S=b.pop(),T=w.apply(this,b);return f(T,S)}:r(function(b,S){var T;try{T=w.apply(this,b)}catch(k){return S(k)}if(T&&typeof T.then=="function")return f(T,S);S(null,T)})}o(d,"asyncify");function f(w,b){return w.then(S=>{h(b,null,S)},S=>{h(b,S&&(S instanceof Error||S.message)?S:new Error(S))})}o(f,"handlePromise");function h(w,b,S){try{w(b,S)}catch(T){u(k=>{throw k},T)}}o(h,"invokeCallback");function p(w){return w[Symbol.toStringTag]==="AsyncFunction"}o(p,"isAsync");function g(w){return w[Symbol.toStringTag]==="AsyncGenerator"}o(g,"isAsyncGenerator");function m(w){return typeof w[Symbol.asyncIterator]=="function"}o(m,"isAsyncIterable");function E(w){if(typeof w!="function")throw new Error("expected a function");return p(w)?d(w):w}o(E,"wrapAsync");function y(w,b){if(b||(b=w.length),!b)throw new Error("arity is undefined");function S(...T){return typeof T[b-1]=="function"?w.apply(this,T):new Promise((k,L)=>{T[b-1]=(U,...G)=>{if(U)return L(U);k(G.length>1?G:G[0])},w.apply(this,T)})}return o(S,"awaitable"),S}o(y,"awaitify");function C(w){return o(function(S,...T){return y(function(L){var U=this;return w(S,(G,W)=>{E(G).apply(U,T.concat(W))},L)})},"applyEach")}o(C,"applyEach$1");function I(w,b,S,T){b=b||[];var k=[],L=0,U=E(S);return w(b,(G,W,Se)=>{var It=L++;U(G,(Dt,Bt)=>{k[It]=Bt,Se(Dt)})},G=>{T(G,k)})}o(I,"_asyncMap");function B(w){return w&&typeof w.length=="number"&&w.length>=0&&w.length%1===0}o(B,"isArrayLike");var M={};function v(w){function b(...S){if(w!==null){var T=w;w=null,T.apply(this,S)}}return o(b,"wrapper"),Object.assign(b,w),b}o(v,"once");function $(w){return w[Symbol.iterator]&&w[Symbol.iterator]()}o($,"getIterator");function D(w){var b=-1,S=w.length;return o(function(){return++b=b||U||k||(U=!0,w.next().then(({value:Bt,done:Do})=>{if(!(L||k)){if(U=!1,Do){k=!0,G<=0&&T(null);return}G++,S(Bt,W,It),W++,Se()}}).catch(Dt))}o(Se,"replenish");function It(Bt,Do){if(G-=1,!L){if(Bt)return Dt(Bt);if(Bt===!1){k=!0,L=!0;return}if(Do===M||k&&G<=0)return k=!0,T(null);Se()}}o(It,"iterateeCallback");function Dt(Bt){L||(U=!1,k=!0,T(Bt))}o(Dt,"handleError"),Se()}o(ae,"asyncEachOfLimit");var Ae=o(w=>(b,S,T)=>{if(T=v(T),w<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!b)return T(null);if(g(b))return ae(b,w,S,T);if(m(b))return ae(b[Symbol.asyncIterator](),w,S,T);var k=J(b),L=!1,U=!1,G=0,W=!1;function Se(Dt,Bt){if(!U)if(G-=1,Dt)L=!0,T(Dt);else if(Dt===!1)L=!0,U=!0;else{if(Bt===M||L&&G<=0)return L=!0,T(null);W||It()}}o(Se,"iterateeCallback");function It(){for(W=!0;G1?k:k[0])}return o(S,"callback"),S[As]=new Promise((T,k)=>{w=T,b=k}),S}o(Pa,"promiseCallback");function Dd(w,b,S){typeof b!="number"&&(S=b,b=null),S=v(S||Pa());var T=Object.keys(w).length;if(!T)return S(null);b||(b=T);var k={},L=0,U=!1,G=!1,W=Object.create(null),Se=[],It=[],Dt={};Object.keys(w).forEach(Ie=>{var Oe=w[Ie];if(!Array.isArray(Oe)){Bt(Ie,[Oe]),It.push(Ie);return}var xt=Oe.slice(0,Oe.length-1),Ar=xt.length;if(Ar===0){Bt(Ie,Oe),It.push(Ie);return}Dt[Ie]=Ar,xt.forEach(Un=>{if(!w[Un])throw new Error("async.auto task `"+Ie+"` has a non-existent dependency `"+Un+"` in "+xt.join(", "));am(Un,()=>{Ar--,Ar===0&&Bt(Ie,Oe)})})}),Qt(),Do();function Bt(Ie,Oe){Se.push(()=>YC(Ie,Oe))}o(Bt,"enqueueTask");function Do(){if(!U){if(Se.length===0&&L===0)return S(null,k);for(;Se.length&&Lxt()),Do()}o(xh,"taskComplete");function YC(Ie,Oe){if(!G){var xt=ee((Un,...Qo)=>{if(L--,Un===!1){U=!0;return}if(Qo.length<2&&([Qo]=Qo),Un){var cm={};if(Object.keys(k).forEach(vh=>{cm[vh]=k[vh]}),cm[Ie]=Qo,G=!0,W=Object.create(null),U)return;S(Un,cm)}else k[Ie]=Qo,xh(Ie)});L++;var Ar=E(Oe[Oe.length-1]);Oe.length>1?Ar(k,xt):Ar(xt)}}o(YC,"runTask");function Qt(){for(var Ie,Oe=0;It.length;)Ie=It.pop(),Oe++,Pe(Ie).forEach(xt=>{--Dt[xt]===0&&It.push(xt)});if(Oe!==T)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}o(Qt,"checkForDeadlocks");function Pe(Ie){var Oe=[];return Object.keys(w).forEach(xt=>{let Ar=w[xt];Array.isArray(Ar)&&Ar.indexOf(Ie)>=0&&Oe.push(xt)}),Oe}return o(Pe,"getDependents"),S[As]}o(Dd,"auto");var Qd=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,fu=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,jB=/,/,GC=/(=.+)?(\s*)$/;function HC(w){let b="",S=0,T=w.indexOf("*/");for(;Sthis.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,n=e.length;r{"use strict";r1.__esModule=!0;function FI(t){return t&&t.__esModule?t:{default:t}}o(FI,"_interopRequireDefault");var dbt=JIe(),hbt=FI(dbt),pbt=I9(),mbt=FI(pbt),Y9=aSe(),K9=fSe(),Abt=HSe(),gbt=FI(Abt),ybt=jD(),Ebt=FI(ybt),Cbt=E9(),bbt=FI(Cbt),wbt=hbt.default.create;function VSe(){var t=wbt();return t.compile=function(e,r){return K9.compile(e,r,t)},t.precompile=function(e,r){return K9.precompile(e,r,t)},t.AST=mbt.default,t.Compiler=K9.Compiler,t.JavaScriptCompiler=gbt.default,t.Parser=Y9.parser,t.parse=Y9.parse,t.parseWithoutProcessing=Y9.parseWithoutProcessing,t}o(VSe,"create");var $y=VSe();$y.create=VSe;bbt.default($y);$y.Visitor=Ebt.default;$y.default=$y;r1.default=$y;zSe.exports=r1.default});var $Se=m(n1=>{"use strict";n1.__esModule=!0;n1.print=vbt;n1.PrintVisitor=Hr;function Ibt(t){return t&&t.__esModule?t:{default:t}}o(Ibt,"_interopRequireDefault");var Sbt=jD(),Bbt=Ibt(Sbt);function vbt(t){return new Hr().accept(t)}o(vbt,"print");function Hr(){this.padding=0}o(Hr,"PrintVisitor");Hr.prototype=new Bbt.default;Hr.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};Hr.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+" }}")};Hr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Hr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Hr.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i{"use strict";Object.defineProperty(l1,"__esModule",{value:!0});l1.getProxyUrl=Rbt;l1.checkBypass=lBe;function Rbt(t){let e=t.protocol==="https:";if(lBe(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 c1(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new c1(`http://${r}`)}else return}o(Rbt,"getProxyUrl");function lBe(t){if(!t.hostname)return!1;let e=t.hostname;if(Tbt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(lBe,"checkBypass");function Tbt(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(Tbt,"isLoopbackAddress");var c1=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 dBe=m(wr=>{"use strict";var Dbt=wr&&wr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Qbt=wr&&wr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),h1=wr&&wr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;icn(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return cn(this,void 0,void 0,function*(){return new Promise(e=>cn(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};wr.HttpClientResponse=d1;function qbt(t){return new URL(t).protocol==="https:"}o(qbt,"isHttps");var ij=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return cn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return cn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return cn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return cn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return cn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return cn(this,arguments,void 0,function*(r,n={}){n[is.Accept]=this._getExistingOrDefaultHeader(n,is.Accept,uf.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,uf.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,uf.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,uf.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,uf.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,uf.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,uf.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return cn(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&Fbt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===ma.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,a,n):u}let f=this._maxRedirects;for(;u.message.statusCode&&Obt.includes(u.message.statusCode)&&this._allowRedirects&&f>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),f--}if(!u.message.statusCode||!Lbt.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new d1(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=nj.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?fBe:rj;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},GI(this.requestOptions.headers),GI(e||{})):GI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=GI(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=GI(this.requestOptions.headers)[is.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[is.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=nj.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||rj.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?u1.httpsOverHttps:u1.httpsOverHttp:l=u?u1.httpOverHttps:u1.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new fBe.Agent(c):new rj.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new kbt.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return cn(this,void 0,void 0,function*(){e=Math.min(Mbt,e);let r=Ubt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return cn(this,void 0,void 0,function*(){return new Promise((n,i)=>cn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===ma.NotFound&&n(a);function c(f,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}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(s>299){let f;l&&l.message?f=l.message:u&&u.length>0?f=u:f=`Failed request: (${s})`;let d=new f1(f,s);d.result=a.result,i(d)}else n(a)}))})}};wr.HttpClient=ij;var GI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var kBe=m((j2r,VI)=>{"use strict";var g1=o(function(){},"NullObject");g1.prototype=Object.create(null);var m1=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,A1=/\\([\v\u0020-\u00ff])/gu,TBe=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,lm={type:"",parameters:new g1};Object.freeze(lm.parameters);Object.freeze(lm);function DBe(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(TBe.test(r)===!1)throw new TypeError("invalid media type");let n={type:r.toLowerCase(),parameters:new g1};if(e===-1)return n;let i,s,a;for(m1.lastIndex=e;s=m1.exec(t);){if(s.index!==e)throw new TypeError("invalid parameter format");e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),A1.test(a)&&(a=a.replace(A1,"$1"))),n.parameters[i]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return n}o(DBe,"parse");function QBe(t){if(typeof t!="string")return lm;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(TBe.test(r)===!1)return lm;let n={type:r.toLowerCase(),parameters:new g1};if(e===-1)return n;let i,s,a;for(m1.lastIndex=e;s=m1.exec(t);){if(s.index!==e)return lm;e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),A1.test(a)&&(a=a.replace(A1,"$1"))),n.parameters[i]=a}return e!==t.length?lm:n}o(QBe,"safeParse");VI.exports.default={parse:DBe,safeParse:QBe};VI.exports.parse=DBe;VI.exports.safeParse=QBe;VI.exports.defaultContentType=lm});var v1=m(tE=>{"use strict";Object.defineProperty(tE,"__esModule",{value:!0});tE.isJsonObject=tE.typeofJsonValue=void 0;function nwt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(nwt,"typeofJsonValue");tE.typeofJsonValue=nwt;function iwt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(iwt,"isJsonObject");tE.isJsonObject=iwt});var _1=m(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.base64encode=rE.base64decode=void 0;var pf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),x1=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(swt,"base64decode");rE.base64decode=swt;function owt(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=pf[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=pf[i|n>>6],e+=pf[n&63],r=0;break}return r&&(e+=pf[i],e+="=",r==1&&(e+="=")),e}o(owt,"base64encode");rE.base64encode=owt});var Cve=m(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});N1.utf8read=void 0;var Tj=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function awt(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(Tj(n)),i=0);return r.length?(i&&r.push(Tj(n.slice(0,i))),r.join("")):Tj(n.slice(0,i))}o(awt,"utf8read");N1.utf8read=awt});var eS=m(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.WireType=Ql.mergeBinaryOptions=Ql.UnknownFieldHandler=void 0;var cwt;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(cwt=Ql.UnknownFieldHandler||(Ql.UnknownFieldHandler={}));function lwt(t,e){return Object.assign(Object.assign({},t),e)}o(lwt,"mergeBinaryOptions");Ql.mergeBinaryOptions=lwt;var uwt;(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"})(uwt=Ql.WireType||(Ql.WireType={}))});var T1=m(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.varint32read=Fs.varint32write=Fs.int64toString=Fs.int64fromString=Fs.varint64write=Fs.varint64read=void 0;function fwt(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(dwt,"varint64write");Fs.varint64write=dwt;var R1=65536*65536;function hwt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=R1&&(i=i+(n/R1|0),n=n%R1)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(hwt,"int64fromString");Fs.int64fromString=hwt;function pwt(t,e){if(e>>>0<=2097151)return""+(R1*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(f,d){let h=f?String(f):"";return d?"0000000".slice(h.length)+h:h}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(pwt,"int64toString");Fs.int64toString=pwt;function mwt(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(mwt,"varint32write");Fs.varint32write=mwt;function Awt(){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(Awt,"varint32read");Fs.varint32read=Awt});var Hd=m(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.PbLong=Gd.PbULong=Gd.detectBi=void 0;var tS=T1(),Jt;function bve(){let t=new DataView(new ArrayBuffer(8));Jt=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(bve,"detectBi");Gd.detectBi=bve;bve();function wve(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(wve,"assertBi");var Ive=/^-?[0-9]+$/,Q1=4294967296,D1=2147483648,k1=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*Q1+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},rS=class t extends k1{static{o(this,"PbULong")}static from(e){if(Jt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Jt.C(e);case"number":if(e===0)return this.ZERO;e=Jt.C(e);case"bigint":if(!e)return this.ZERO;if(eJt.UMAX)throw new Error("ulong too large");return Jt.V.setBigUint64(0,e,!0),new t(Jt.V.getInt32(0,!0),Jt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Ive.test(e))throw new Error("string is no integer");let[r,n,i]=tS.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/Q1)}throw new Error("unknown value "+typeof e)}toString(){return Jt?this.toBigInt().toString():tS.int64toString(this.lo,this.hi)}toBigInt(){return wve(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigUint64(0,!0)}};Gd.PbULong=rS;rS.ZERO=new rS(0,0);var nS=class t extends k1{static{o(this,"PbLong")}static from(e){if(Jt)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Jt.C(e);case"number":if(e===0)return this.ZERO;e=Jt.C(e);case"bigint":if(!e)return this.ZERO;if(eJt.MAX)throw new Error("signed long too large");return Jt.V.setBigInt64(0,e,!0),new t(Jt.V.getInt32(0,!0),Jt.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Ive.test(e))throw new Error("string is no integer");let[r,n,i]=tS.int64fromString(e);if(r){if(i>D1||i==D1&&n!=0)throw new Error("signed long too small")}else if(i>=D1)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/Q1):new t(-e,-e/Q1).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&D1)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Jt)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+tS.int64toString(e.lo,e.hi)}return tS.int64toString(this.lo,this.hi)}toBigInt(){return wve(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigInt64(0,!0)}};Gd.PbLong=nS;nS.ZERO=new nS(0,0)});var Dj=m(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.BinaryReader=iE.binaryReadOptions=void 0;var nE=eS(),iS=Hd(),Sve=T1(),Bve={readUnknownField:!0,readerFactory:o(t=>new P1(t),"readerFactory")};function gwt(t){return t?Object.assign(Object.assign({},Bve),t):Bve}o(gwt,"binaryReadOptions");iE.binaryReadOptions=gwt;var P1=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=Sve.varint64read,this.uint32=Sve.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,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case nE.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case nE.WireType.Bit64:this.pos+=4;case nE.WireType.Bit32:this.pos+=4;break;case nE.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case nE.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==nE.WireType.EndGroup;)this.skip(i);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 iS.PbLong(...this.varint64())}uint64(){return new iS.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new iS.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 iS.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new iS.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())}};iE.BinaryReader=P1});var sE=m(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.assertFloat32=ga.assertUInt32=ga.assertInt32=ga.assertNever=ga.assert=void 0;function ywt(t,e){if(!t)throw new Error(e)}o(ywt,"assert");ga.assert=ywt;function Ewt(t,e){throw new Error(e??"Unexpected object: "+t)}o(Ewt,"assertNever");ga.assertNever=Ewt;var Cwt=34028234663852886e22,bwt=-34028234663852886e22,wwt=4294967295,Iwt=2147483647,Swt=-2147483648;function Bwt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>Iwt||twwt||t<0)throw new Error("invalid uint 32: "+t)}o(vwt,"assertUInt32");ga.assertUInt32=vwt;function xwt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>Cwt||t{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.BinaryWriter=aE.binaryWriteOptions=void 0;var sS=Hd(),oS=T1(),oE=sE(),vve={writeUnknownFields:!0,writerFactory:o(()=>new O1,"writerFactory")};function _wt(t){return t?Object.assign(Object.assign({},vve),t):vve}o(_wt,"binaryWriteOptions");aE.binaryWriteOptions=_wt;var O1=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 i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(oE.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return oE.assertInt32(e),oS.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){oE.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){oE.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){oE.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return oE.assertInt32(e),e=(e<<1^e>>31)>>>0,oS.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=sS.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=sS.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=sS.PbLong.from(e);return oS.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=sS.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return oS.varint64write(i,s,this.buf),this}uint64(e){let r=sS.PbULong.from(e);return oS.varint64write(r.lo,r.hi,this.buf),this}};aE.BinaryWriter=O1});var kj=m(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.mergeJsonOptions=Vd.jsonWriteOptions=Vd.jsonReadOptions=void 0;var xve={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},_ve={ignoreUnknownFields:!1};function Nwt(t){return t?Object.assign(Object.assign({},_ve),t):_ve}o(Nwt,"jsonReadOptions");Vd.jsonReadOptions=Nwt;function Rwt(t){return t?Object.assign(Object.assign({},xve),t):xve}o(Rwt,"jsonWriteOptions");Vd.jsonWriteOptions=Rwt;function Twt(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(Twt,"mergeJsonOptions");Vd.mergeJsonOptions=Twt});var aS=m(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});L1.MESSAGE_TYPE=void 0;L1.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var Pj=m(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});F1.lowerCamelCase=void 0;function Dwt(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.readMessageOption=On.readFieldOption=On.readFieldOptions=On.normalizeFieldInfo=On.RepeatType=On.LongType=On.ScalarType=void 0;var Nve=Pj(),Qwt;(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"})(Qwt=On.ScalarType||(On.ScalarType={}));var kwt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(kwt=On.LongType||(On.LongType={}));var Rve;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(Rve=On.RepeatType||(On.RepeatType={}));function Pwt(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:Nve.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:Nve.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:Rve.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(Pwt,"normalizeFieldInfo");On.normalizeFieldInfo=Pwt;function Owt(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(Owt,"readFieldOptions");On.readFieldOptions=Owt;function Lwt(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(Lwt,"readFieldOption");On.readFieldOption=Lwt;function Fwt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(Fwt,"readMessageOption");On.readMessageOption=Fwt});var Oj=m(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.getSelectedOneofValue=Ms.clearOneofValue=Ms.setUnknownOneofValue=Ms.setOneofValue=Ms.getOneofValue=Ms.isOneofGroup=void 0;function Mwt(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(Mwt,"isOneofGroup");Ms.isOneofGroup=Mwt;function Uwt(t,e){return t[e]}o(Uwt,"getOneofValue");Ms.getOneofValue=Uwt;function qwt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(qwt,"setOneofValue");Ms.setOneofValue=qwt;function Gwt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(Gwt,"setUnknownOneofValue");Ms.setUnknownOneofValue=Gwt;function Hwt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(Hwt,"clearOneofValue");Ms.clearOneofValue=Hwt;function Vwt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(Vwt,"getSelectedOneofValue");Ms.getSelectedOneofValue=Vwt});var Fj=m(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.ReflectionTypeCheck=void 0;var Vr=mc(),zwt=Oj(),Lj=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=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!zwt.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,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,Vr.ScalarType.INT32,i):this.scalar(e,Vr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Vr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case Vr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,Vr.LongType.STRING)}}};M1.ReflectionTypeCheck=Lj});var q1=m(U1=>{"use strict";Object.defineProperty(U1,"__esModule",{value:!0});U1.reflectionLongConvert=void 0;var Tve=mc();function jwt(t,e){switch(e){case Tve.LongType.BIGINT:return t.toBigInt();case Tve.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(jwt,"reflectionLongConvert");U1.reflectionLongConvert=jwt});var Uj=m(V1=>{"use strict";Object.defineProperty(V1,"__esModule",{value:!0});V1.ReflectionJsonReader=void 0;var Dve=v1(),$wt=_1(),Ln=mc(),G1=Hd(),hm=sE(),H1=q1(),Mj=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 n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=Dve.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(Dve.isJsonObject(a),c.name,a);let f=u[l];for(let[d,h]of Object.entries(a)){this.assert(h!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(h,n);break;case"enum":if(p=this.enum(c.V.T(),h,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(h,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",h);let A=d;c.K==Ln.ScalarType.BOOL&&(A=A=="true"?!0:A=="false"?!1:A),A=this.scalar(A,c.K,Ln.LongType.STRING,c.name).toString(),f[A]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let f=u[l];for(let d of a){this.assert(d!==null,c.name,null);let h;switch(c.kind){case"message":h=c.T().internalJsonRead(d,n);break;case"enum":if(h=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(d,c.T,c.L,c.name);break}this.assert(h!==void 0,c.name,a),f.push(h)}}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,n,u[l]);break;case"enum":let f=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(f===!1)continue;u[l]=f;break;case"scalar":u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&hm.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return hm.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(hm.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}hm.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Ln.ScalarType.DOUBLE:case Ln.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Ln.ScalarType.FLOAT&&hm.assertFloat32(a),a;case Ln.ScalarType.INT32:case Ln.ScalarType.FIXED32:case Ln.ScalarType.SFIXED32:case Ln.ScalarType.SINT32:case Ln.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Ln.ScalarType.UINT32?hm.assertUInt32(c):hm.assertInt32(c),c;case Ln.ScalarType.INT64:case Ln.ScalarType.SFIXED64:case Ln.ScalarType.SINT64:if(e===null)return H1.reflectionLongConvert(G1.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return H1.reflectionLongConvert(G1.PbLong.from(e),n);case Ln.ScalarType.FIXED64:case Ln.ScalarType.UINT64:if(e===null)return H1.reflectionLongConvert(G1.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return H1.reflectionLongConvert(G1.PbULong.from(e),n);case Ln.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Ln.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Ln.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return $wt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};V1.ReflectionJsonReader=Mj});var Gj=m(z1=>{"use strict";Object.defineProperty(z1,"__esModule",{value:!0});z1.ReflectionJsonWriter=void 0;var Wwt=_1(),Qve=Hd(),as=mc(),Ir=sE(),qj=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);Ir.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){Ir.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let f=this.scalar(e.V.T,u,e.name,!1,!0);Ir.assert(f!==void 0),s[l.toString()]=f}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let f=this.message(a,u,e.name,n);Ir.assert(f!==void 0),s[l.toString()]=f}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Ir.assert(u===void 0||typeof u=="number");let f=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);Ir.assert(f!==void 0),s[l.toString()]=f}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){Ir.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){Ir.assert(i);return}if(!(r===0&&!s&&!i))return Ir.assert(typeof r=="number"),Ir.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){Ir.assert(i);return}let a=s||i;switch(e){case as.ScalarType.INT32:case as.ScalarType.SFIXED32:case as.ScalarType.SINT32:return r===0?a?0:void 0:(Ir.assertInt32(r),r);case as.ScalarType.FIXED32:case as.ScalarType.UINT32:return r===0?a?0:void 0:(Ir.assertUInt32(r),r);case as.ScalarType.FLOAT:Ir.assertFloat32(r);case as.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ir.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case as.ScalarType.STRING:return r===""?a?"":void 0:(Ir.assert(typeof r=="string"),r);case as.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ir.assert(typeof r=="boolean"),r);case as.ScalarType.UINT64:case as.ScalarType.FIXED64:Ir.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=Qve.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case as.ScalarType.INT64:case as.ScalarType.SFIXED64:case as.ScalarType.SINT64:Ir.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=Qve.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case as.ScalarType.BYTES:return Ir.assert(r instanceof Uint8Array),r.byteLength?Wwt.base64encode(r):a?"":void 0}}};z1.ReflectionJsonWriter=qj});var $1=m(j1=>{"use strict";Object.defineProperty(j1,"__esModule",{value:!0});j1.reflectionScalarDefault=void 0;var Ac=mc(),kve=q1(),Pve=Hd();function Jwt(t,e=Ac.LongType.STRING){switch(t){case Ac.ScalarType.BOOL:return!1;case Ac.ScalarType.UINT64:case Ac.ScalarType.FIXED64:return kve.reflectionLongConvert(Pve.PbULong.ZERO,e);case Ac.ScalarType.INT64:case Ac.ScalarType.SFIXED64:case Ac.ScalarType.SINT64:return kve.reflectionLongConvert(Pve.PbLong.ZERO,e);case Ac.ScalarType.DOUBLE:case Ac.ScalarType.FLOAT:return 0;case Ac.ScalarType.BYTES:return new Uint8Array(0);case Ac.ScalarType.STRING:return"";default:return 0}}o(Jwt,"reflectionScalarDefault");j1.reflectionScalarDefault=Jwt});var Vj=m(W1=>{"use strict";Object.defineProperty(W1,"__esModule",{value:!0});W1.ReflectionBinaryReader=void 0;var Ove=eS(),un=mc(),cS=q1(),Lve=$1(),Hj=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(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(J1,"__esModule",{value:!0});J1.ReflectionBinaryWriter=void 0;var Bo=eS(),tr=mc(),cE=sE(),lS=Hd(),zj=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,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let f=e[s.oneof];if(f.oneofKind!==u)continue;a=f[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let f=s.kind=="enum"?tr.ScalarType.INT32:s.T;if(l)if(cE.assert(Array.isArray(a)),l==tr.RepeatType.PACKED)this.packed(r,f,s.no,a);else for(let d of a)this.scalar(r,f,s.no,d,!0);else a===void 0?cE.assert(s.opt):this.scalar(r,f,s.no,a,c||s.opt);break;case"message":if(l){cE.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":cE.assert(typeof a=="object"&&a!==null);for(let[d,h]of Object.entries(a))this.mapEntry(r,n,s,d,h);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?Bo.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Bo.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case tr.ScalarType.INT32:case tr.ScalarType.FIXED32:case tr.ScalarType.UINT32:case tr.ScalarType.SFIXED32:case tr.ScalarType.SINT32:a=Number.parseInt(i);break;case tr.ScalarType.BOOL:cE.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,tr.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,Bo.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;cE.assert(r!==tr.ScalarType.BYTES&&r!==tr.ScalarType.STRING),e.tag(n,Bo.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(Y1,"__esModule",{value:!0});Y1.reflectionCreate=void 0;var Ywt=$1(),Kwt=aS();function Xwt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},Kwt.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=Ywt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(Xwt,"reflectionCreate");Y1.reflectionCreate=Xwt});var Wj=m(K1=>{"use strict";Object.defineProperty(K1,"__esModule",{value:!0});K1.reflectionMergePartial=void 0;function Zwt(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(Z1,"__esModule",{value:!0});Z1.reflectionEquals=void 0;var Jj=mc();function eIt(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?Jj.ScalarType.INT32:n.T;if(!(n.repeat?Fve(c,s,a):Uve(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?Mve(n.V.T(),X1(s),X1(a)):Fve(n.V.kind=="enum"?Jj.ScalarType.INT32:n.V.T,X1(s),X1(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?Mve(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(eIt,"reflectionEquals");Z1.reflectionEquals=eIt;var X1=Object.values;function Uve(t,e,r){if(e===r)return!0;if(t!==Jj.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(eQ,"__esModule",{value:!0});eQ.MessageType=void 0;var tIt=aS(),rIt=mc(),nIt=Fj(),iIt=Uj(),sIt=Gj(),oIt=Vj(),aIt=jj(),cIt=$j(),Kj=Wj(),lIt=v1(),qve=kj(),uIt=Yj(),fIt=Qj(),dIt=Dj(),hIt=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),Xj=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(rIt.normalizeFieldInfo),this.options=n??{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},hIt),{[tIt.MESSAGE_TYPE]:{value:this}})),this.refTypeCheck=new nIt.ReflectionTypeCheck(this),this.refJsonReader=new iIt.ReflectionJsonReader(this),this.refJsonWriter=new sIt.ReflectionJsonWriter(this),this.refBinReader=new oIt.ReflectionBinaryReader(this),this.refBinWriter=new aIt.ReflectionBinaryWriter(this)}create(e){let r=cIt.reflectionCreate(this);return e!==void 0&&Kj.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Kj.reflectionMergePartial(this,r,e),r}equals(e,r){return uIt.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){Kj.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=dIt.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,qve.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,qve.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=fIt.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${lIt.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};eQ.MessageType=Xj});var Hve=m(tQ=>{"use strict";Object.defineProperty(tQ,"__esModule",{value:!0});tQ.containsMessageType=void 0;var pIt=aS();function mIt(t){return t[pIt.MESSAGE_TYPE]!=null}o(mIt,"containsMessageType");tQ.containsMessageType=mIt});var zve=m(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.listEnumNumbers=kl.listEnumNames=kl.listEnumValues=kl.isEnumObject=void 0;function Vve(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 n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(Vve,"isEnumObject");kl.isEnumObject=Vve;function Zj(t){if(!Vve(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(Zj,"listEnumValues");kl.listEnumValues=Zj;function AIt(t){return Zj(t).map(e=>e.name)}o(AIt,"listEnumNames");kl.listEnumNames=AIt;function gIt(t){return Zj(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(gIt,"listEnumNumbers");kl.listEnumNumbers=gIt});var cr=m(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var jve=v1();Object.defineProperty(De,"typeofJsonValue",{enumerable:!0,get:o(function(){return jve.typeofJsonValue},"get")});Object.defineProperty(De,"isJsonObject",{enumerable:!0,get:o(function(){return jve.isJsonObject},"get")});var $ve=_1();Object.defineProperty(De,"base64decode",{enumerable:!0,get:o(function(){return $ve.base64decode},"get")});Object.defineProperty(De,"base64encode",{enumerable:!0,get:o(function(){return $ve.base64encode},"get")});var yIt=Cve();Object.defineProperty(De,"utf8read",{enumerable:!0,get:o(function(){return yIt.utf8read},"get")});var e$=eS();Object.defineProperty(De,"WireType",{enumerable:!0,get:o(function(){return e$.WireType},"get")});Object.defineProperty(De,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return e$.mergeBinaryOptions},"get")});Object.defineProperty(De,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return e$.UnknownFieldHandler},"get")});var Wve=Dj();Object.defineProperty(De,"BinaryReader",{enumerable:!0,get:o(function(){return Wve.BinaryReader},"get")});Object.defineProperty(De,"binaryReadOptions",{enumerable:!0,get:o(function(){return Wve.binaryReadOptions},"get")});var Jve=Qj();Object.defineProperty(De,"BinaryWriter",{enumerable:!0,get:o(function(){return Jve.BinaryWriter},"get")});Object.defineProperty(De,"binaryWriteOptions",{enumerable:!0,get:o(function(){return Jve.binaryWriteOptions},"get")});var Yve=Hd();Object.defineProperty(De,"PbLong",{enumerable:!0,get:o(function(){return Yve.PbLong},"get")});Object.defineProperty(De,"PbULong",{enumerable:!0,get:o(function(){return Yve.PbULong},"get")});var t$=kj();Object.defineProperty(De,"jsonReadOptions",{enumerable:!0,get:o(function(){return t$.jsonReadOptions},"get")});Object.defineProperty(De,"jsonWriteOptions",{enumerable:!0,get:o(function(){return t$.jsonWriteOptions},"get")});Object.defineProperty(De,"mergeJsonOptions",{enumerable:!0,get:o(function(){return t$.mergeJsonOptions},"get")});var EIt=aS();Object.defineProperty(De,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return EIt.MESSAGE_TYPE},"get")});var CIt=Gve();Object.defineProperty(De,"MessageType",{enumerable:!0,get:o(function(){return CIt.MessageType},"get")});var pm=mc();Object.defineProperty(De,"ScalarType",{enumerable:!0,get:o(function(){return pm.ScalarType},"get")});Object.defineProperty(De,"LongType",{enumerable:!0,get:o(function(){return pm.LongType},"get")});Object.defineProperty(De,"RepeatType",{enumerable:!0,get:o(function(){return pm.RepeatType},"get")});Object.defineProperty(De,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return pm.normalizeFieldInfo},"get")});Object.defineProperty(De,"readFieldOptions",{enumerable:!0,get:o(function(){return pm.readFieldOptions},"get")});Object.defineProperty(De,"readFieldOption",{enumerable:!0,get:o(function(){return pm.readFieldOption},"get")});Object.defineProperty(De,"readMessageOption",{enumerable:!0,get:o(function(){return pm.readMessageOption},"get")});var bIt=Fj();Object.defineProperty(De,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return bIt.ReflectionTypeCheck},"get")});var wIt=$j();Object.defineProperty(De,"reflectionCreate",{enumerable:!0,get:o(function(){return wIt.reflectionCreate},"get")});var IIt=$1();Object.defineProperty(De,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return IIt.reflectionScalarDefault},"get")});var SIt=Wj();Object.defineProperty(De,"reflectionMergePartial",{enumerable:!0,get:o(function(){return SIt.reflectionMergePartial},"get")});var BIt=Yj();Object.defineProperty(De,"reflectionEquals",{enumerable:!0,get:o(function(){return BIt.reflectionEquals},"get")});var vIt=Vj();Object.defineProperty(De,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return vIt.ReflectionBinaryReader},"get")});var xIt=jj();Object.defineProperty(De,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return xIt.ReflectionBinaryWriter},"get")});var _It=Uj();Object.defineProperty(De,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return _It.ReflectionJsonReader},"get")});var NIt=Gj();Object.defineProperty(De,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return NIt.ReflectionJsonWriter},"get")});var RIt=Hve();Object.defineProperty(De,"containsMessageType",{enumerable:!0,get:o(function(){return RIt.containsMessageType},"get")});var uS=Oj();Object.defineProperty(De,"isOneofGroup",{enumerable:!0,get:o(function(){return uS.isOneofGroup},"get")});Object.defineProperty(De,"setOneofValue",{enumerable:!0,get:o(function(){return uS.setOneofValue},"get")});Object.defineProperty(De,"getOneofValue",{enumerable:!0,get:o(function(){return uS.getOneofValue},"get")});Object.defineProperty(De,"clearOneofValue",{enumerable:!0,get:o(function(){return uS.clearOneofValue},"get")});Object.defineProperty(De,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return uS.getSelectedOneofValue},"get")});var rQ=zve();Object.defineProperty(De,"listEnumValues",{enumerable:!0,get:o(function(){return rQ.listEnumValues},"get")});Object.defineProperty(De,"listEnumNames",{enumerable:!0,get:o(function(){return rQ.listEnumNames},"get")});Object.defineProperty(De,"listEnumNumbers",{enumerable:!0,get:o(function(){return rQ.listEnumNumbers},"get")});Object.defineProperty(De,"isEnumObject",{enumerable:!0,get:o(function(){return rQ.isEnumObject},"get")});var TIt=Pj();Object.defineProperty(De,"lowerCamelCase",{enumerable:!0,get:o(function(){return TIt.lowerCamelCase},"get")});var fS=sE();Object.defineProperty(De,"assert",{enumerable:!0,get:o(function(){return fS.assert},"get")});Object.defineProperty(De,"assertNever",{enumerable:!0,get:o(function(){return fS.assertNever},"get")});Object.defineProperty(De,"assertInt32",{enumerable:!0,get:o(function(){return fS.assertInt32},"get")});Object.defineProperty(De,"assertUInt32",{enumerable:!0,get:o(function(){return fS.assertUInt32},"get")});Object.defineProperty(De,"assertFloat32",{enumerable:!0,get:o(function(){return fS.assertFloat32},"get")})});var m$=m(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.readServiceOption=Ml.readMethodOption=Ml.readMethodOptions=Ml.normalizeMethodInfo=void 0;var DIt=cr();function QIt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:DIt.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(QIt,"normalizeMethodInfo");Ml.normalizeMethodInfo=QIt;function kIt(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(kIt,"readMethodOptions");Ml.readMethodOptions=kIt;function PIt(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(PIt,"readMethodOption");Ml.readMethodOption=PIt;function OIt(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(OIt,"readServiceOption");Ml.readServiceOption=OIt});var txe=m(nQ=>{"use strict";Object.defineProperty(nQ,"__esModule",{value:!0});nQ.ServiceType=void 0;var LIt=m$(),A$=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>LIt.normalizeMethodInfo(i,this)),this.options=n??{}}};nQ.ServiceType=A$});var y$=m(iQ=>{"use strict";Object.defineProperty(iQ,"__esModule",{value:!0});iQ.RpcError=void 0;var g$=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}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[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` +`)}};iQ.RpcError=g$});var E$=m(oQ=>{"use strict";Object.defineProperty(oQ,"__esModule",{value:!0});oQ.mergeRpcOptions=void 0;var rxe=cr();function FIt(t,e){if(!e)return t;let r={};sQ(t,r),sQ(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=rxe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=rxe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},sQ(t.meta,r.meta),sQ(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(FIt,"mergeRpcOptions");oQ.mergeRpcOptions=FIt;function sQ(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(sQ,"copy")});var b$=m(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.Deferred=mm.DeferredState=void 0;var Ul;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ul=mm.DeferredState||(mm.DeferredState={}));var C$=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ul.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ul.PENDING)throw new Error(`cannot resolve ${Ul[this.state].toLowerCase()}`);this._resolve(e),this._state=Ul.RESOLVED}reject(e){if(this.state!==Ul.PENDING)throw new Error(`cannot reject ${Ul[this.state].toLowerCase()}`);this._reject(e),this._state=Ul.REJECTED}resolvePending(e){this._state===Ul.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ul.PENDING&&this.reject(e)}};mm.Deferred=C$});var I$=m(aQ=>{"use strict";Object.defineProperty(aQ,"__esModule",{value:!0});aQ.RpcOutputStreamController=void 0;var nxe=b$(),Am=cr(),w$=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1}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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Am.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Am.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){Am.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(){Am.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._itState||(this._itState={q:[]}),this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;Am.assert(e,"bad state"),Am.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 nxe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r)if(r.p){let n=r.p;Am.assert(n.state==nxe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};aQ.RpcOutputStreamController=w$});var B$=m(fE=>{"use strict";var MIt=fE&&fE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(fE,"__esModule",{value:!0});fE.UnaryCall=void 0;var S$=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return MIt(this,void 0,void 0,function*(){let[e,r,n,i]=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:n,trailers:i}})}};fE.UnaryCall=S$});var x$=m(dE=>{"use strict";var UIt=dE&&dE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(dE,"__esModule",{value:!0});dE.ServerStreamingCall=void 0;var v$=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return UIt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};dE.ServerStreamingCall=v$});var N$=m(hE=>{"use strict";var qIt=hE&&hE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(hE,"__esModule",{value:!0});hE.ClientStreamingCall=void 0;var _$=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return qIt(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};hE.ClientStreamingCall=_$});var T$=m(pE=>{"use strict";var GIt=pE&&pE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(pE,"__esModule",{value:!0});pE.DuplexStreamingCall=void 0;var R$=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return GIt(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};pE.DuplexStreamingCall=R$});var sxe=m(gE=>{"use strict";var HIt=gE&&gE.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(gE,"__esModule",{value:!0});gE.TestTransport=void 0;var ya=y$(),cQ=cr(),ixe=I$(),VIt=E$(),zIt=B$(),jIt=x$(),$It=N$(),WIt=T$(),AE=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 mE?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof mE?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 ya.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ya.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(cQ.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),cQ.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return HIt(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)cQ.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ya.RpcError||(cQ.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Xn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof ya.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Xn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof ya.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ya.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 ya.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 ya.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return VIt.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Xn(this.headerDelay,n.abort)),c=a.catch(f=>{}).then(Xn(this.responseDelay,n.abort)).then(f=>this.promiseSingleResponse(e)),l=c.catch(f=>{}).then(Xn(this.afterResponseDelay,n.abort)).then(f=>this.promiseStatus()),u=c.catch(f=>{}).then(Xn(this.afterResponseDelay,n.abort)).then(f=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new zIt.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Xn(this.headerDelay,n.abort)),c=new ixe.RpcOutputStreamController,l=a.then(Xn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Xn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),f=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,f),this.lastInput={single:r},new jIt.ServerStreamingCall(e,s,r,a,c,u,f)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Xn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(Xn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Xn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Xn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new mE(this.data,r.abort),new $It.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Xn(this.headerDelay,r.abort)),a=new ixe.RpcOutputStreamController,c=s.then(Xn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Xn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new mE(this.data,r.abort),new WIt.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};gE.TestTransport=AE;AE.defaultHeaders={responseHeader:"test"};AE.defaultStatus={code:"OK",detail:"all good"};AE.defaultTrailers={responseTrailer:"test"};function Xn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ya.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ya.RpcError("user cancel","CANCELLED"))})}})}o(Xn,"delay");var mE=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 ya.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(Xn(r,this.abort))}complete(){if(this.data.inputComplete instanceof ya.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(Xn(e,this.abort))}}});var oxe=m(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.stackDuplexStreamingInterceptors=Ea.stackClientStreamingInterceptors=Ea.stackServerStreamingInterceptors=Ea.stackUnaryInterceptors=Ea.stackIntercept=void 0;var JIt=cr();function hS(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((f,d,h)=>e.unary(f,d,h),"tail");for(let f of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((h,p,A)=>f.interceptUnary(d,h,p,A),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((f,d,h)=>e.serverStreaming(f,d,h),"tail");for(let f of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((h,p,A)=>f.interceptServerStreaming(d,h,p,A),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((f,d)=>e.clientStreaming(f,d),"tail");for(let f of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((h,p)=>f.interceptClientStreaming(d,h,p),"tail")}return u(r,n)}if(t=="duplex"){let u=o((f,d)=>e.duplex(f,d),"tail");for(let f of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((h,p)=>f.interceptDuplex(d,h,p),"tail")}return u(r,n)}JIt.assertNever(t)}o(hS,"stackIntercept");Ea.stackIntercept=hS;function YIt(t,e,r,n){return hS("unary",t,e,n,r)}o(YIt,"stackUnaryInterceptors");Ea.stackUnaryInterceptors=YIt;function KIt(t,e,r,n){return hS("serverStreaming",t,e,n,r)}o(KIt,"stackServerStreamingInterceptors");Ea.stackServerStreamingInterceptors=KIt;function XIt(t,e,r){return hS("clientStreaming",t,e,r)}o(XIt,"stackClientStreamingInterceptors");Ea.stackClientStreamingInterceptors=XIt;function ZIt(t,e,r){return hS("duplex",t,e,r)}o(ZIt,"stackDuplexStreamingInterceptors");Ea.stackDuplexStreamingInterceptors=ZIt});var axe=m(lQ=>{"use strict";Object.defineProperty(lQ,"__esModule",{value:!0});lQ.ServerCallContextController=void 0;var D$=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};lQ.ServerCallContextController=D$});var lxe=m(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var eSt=txe();Object.defineProperty(zr,"ServiceType",{enumerable:!0,get:o(function(){return eSt.ServiceType},"get")});var Q$=m$();Object.defineProperty(zr,"readMethodOptions",{enumerable:!0,get:o(function(){return Q$.readMethodOptions},"get")});Object.defineProperty(zr,"readMethodOption",{enumerable:!0,get:o(function(){return Q$.readMethodOption},"get")});Object.defineProperty(zr,"readServiceOption",{enumerable:!0,get:o(function(){return Q$.readServiceOption},"get")});var tSt=y$();Object.defineProperty(zr,"RpcError",{enumerable:!0,get:o(function(){return tSt.RpcError},"get")});var rSt=E$();Object.defineProperty(zr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return rSt.mergeRpcOptions},"get")});var nSt=I$();Object.defineProperty(zr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return nSt.RpcOutputStreamController},"get")});var iSt=sxe();Object.defineProperty(zr,"TestTransport",{enumerable:!0,get:o(function(){return iSt.TestTransport},"get")});var cxe=b$();Object.defineProperty(zr,"Deferred",{enumerable:!0,get:o(function(){return cxe.Deferred},"get")});Object.defineProperty(zr,"DeferredState",{enumerable:!0,get:o(function(){return cxe.DeferredState},"get")});var sSt=T$();Object.defineProperty(zr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return sSt.DuplexStreamingCall},"get")});var oSt=N$();Object.defineProperty(zr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return oSt.ClientStreamingCall},"get")});var aSt=x$();Object.defineProperty(zr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return aSt.ServerStreamingCall},"get")});var cSt=B$();Object.defineProperty(zr,"UnaryCall",{enumerable:!0,get:o(function(){return cSt.UnaryCall},"get")});var pS=oxe();Object.defineProperty(zr,"stackIntercept",{enumerable:!0,get:o(function(){return pS.stackIntercept},"get")});Object.defineProperty(zr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return pS.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(zr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return pS.stackClientStreamingInterceptors},"get")});Object.defineProperty(zr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return pS.stackServerStreamingInterceptors},"get")});Object.defineProperty(zr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return pS.stackUnaryInterceptors},"get")});var lSt=axe();Object.defineProperty(zr,"ServerCallContextController",{enumerable:!0,get:o(function(){return lSt.ServerCallContextController},"get")})});var pxe=m((iDr,fSt)=>{fSt.exports={name:"@actions/artifact",version:"6.2.1",preview:!0,description:"Actions artifact lib",keywords:["github","actions","artifact"],homepage:"https://github.com/actions/toolkit/tree/main/packages/artifact",license:"MIT",type:"module",main:"lib/artifact.js",types:"lib/artifact.d.ts",exports:{".":{types:"./lib/artifact.d.ts",import:"./lib/artifact.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/artifact"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:"cd ../../ && npm run test ./packages/artifact",bootstrap:"cd ../../ && npm run bootstrap","tsc-run":"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/",tsc:"npm run bootstrap && npm run tsc-run","gen:docs":"typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.0","@actions/github":"^9.0.0","@actions/http-client":"^4.0.0","@azure/storage-blob":"^12.30.0","@octokit/core":"^7.0.6","@octokit/plugin-request-log":"^6.0.0","@octokit/plugin-retry":"^8.0.0","@octokit/request":"^10.0.7","@octokit/request-error":"^7.1.0","@protobuf-ts/plugin":"^2.2.3-alpha.1","@protobuf-ts/runtime":"^2.9.4",archiver:"^7.0.1","jwt-decode":"^4.0.0","unzip-stream":"^0.3.1"},devDependencies:{"@types/archiver":"^7.0.0","@types/unzip-stream":"^0.3.4",typedoc:"^0.28.16","typedoc-plugin-markdown":"^4.9.0",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var Axe=m((sDr,mxe)=>{var dSt=pxe();mxe.exports={version:dSt.version}});var xxe=m((kDr,vxe)=>{var hSt=typeof process=="object"&&process&&process.platform==="win32";vxe.exports=hSt?{sep:"\\"}:{sep:"/"}});var aW=m((PDr,kxe)=>{var _xe=rG();kxe.exports=ASt;var Nxe="\0SLASH"+Math.random()+"\0",Rxe="\0OPEN"+Math.random()+"\0",oW="\0CLOSE"+Math.random()+"\0",Txe="\0COMMA"+Math.random()+"\0",Dxe="\0PERIOD"+Math.random()+"\0";function sW(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(sW,"numeric");function pSt(t){return t.split("\\\\").join(Nxe).split("\\{").join(Rxe).split("\\}").join(oW).split("\\,").join(Txe).split("\\.").join(Dxe)}o(pSt,"escapeBraces");function mSt(t){return t.split(Nxe).join("\\").split(Rxe).join("{").split(oW).join("}").split(Txe).join(",").split(Dxe).join(".")}o(mSt,"unescapeBraces");function Qxe(t){if(!t)return[""];var e=[],r=_xe("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=Qxe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(Qxe,"parseCommaParts");function ASt(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),mS(pSt(t),!0).map(mSt)):[]}o(ASt,"expandTop");function gSt(t){return"{"+t+"}"}o(gSt,"embrace");function ySt(t){return/^-?0\d/.test(t)}o(ySt,"isPadded");function ESt(t,e){return t<=e}o(ESt,"lte");function CSt(t,e){return t>=e}o(CSt,"gte");function mS(t,e){var r=[],n=_xe("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?mS(n.post,!1):[""];if(/\$$/.test(n.pre))for(var a=0;a=0;if(!f&&!d)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+oW+n.post,mS(t)):[t];var h;if(f)h=n.body.split(/\.\./);else if(h=Qxe(n.body),h.length===1&&(h=mS(h[0],!1).map(gSt),h.length===1))return s.map(function(q){return n.pre+h[0]+q});var p;if(f){var A=sW(h[0]),g=sW(h[1]),E=Math.max(h[0].length,h[1].length),y=h.length==3?Math.abs(sW(h[2])):1,C=ESt,w=g0){var j=new Array(x+1).join("0");Q<0?F="-"+j+F.slice(1):F=j+F}}p.push(F)}}else{p=[];for(var T=0;T{var xo=dW.exports=(t,e,r={})=>(hQ(e),!r.nocomment&&e.charAt(0)==="#"?!1:new bE(e,r).match(t));dW.exports=xo;var uW=xxe();xo.sep=uW.sep;var yc=Symbol("globstar **");xo.GLOBSTAR=yc;var bSt=aW(),Pxe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},fW="[^/]",cW=fW+"*?",wSt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",ISt="(?:(?!(?:\\/|^)\\.).)*?",Fxe=o(t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),"charSet"),Oxe=Fxe("().*{}+?[]^$\\!"),SSt=Fxe("[.("),Lxe=/\/+/;xo.filter=(t,e={})=>(r,n,i)=>xo(r,t,e);var jd=o((t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r},"ext");xo.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return xo;let e=xo,r=o((n,i,s)=>e(n,i,jd(t,s)),"m");return r.Minimatch=class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s){super(i,jd(t,s))}},r.Minimatch.defaults=n=>e.defaults(jd(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,jd(t,i)),r.defaults=n=>e.defaults(jd(t,n)),r.makeRe=(n,i)=>e.makeRe(n,jd(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,jd(t,i)),r.match=(n,i,s)=>e.match(n,i,jd(t,s)),r};xo.braceExpand=(t,e)=>Mxe(t,e);var Mxe=o((t,e={})=>(hQ(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:bSt(t)),"braceExpand"),BSt=1024*64,hQ=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>BSt)throw new TypeError("pattern is too long")},"assertValidPattern"),lW=Symbol("subparse");xo.makeRe=(t,e)=>new bE(t,e||{}).makeRe();xo.match=(t,e,r={})=>{let n=new bE(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var vSt=o(t=>t.replace(/\\(.)/g,"$1"),"globUnescape"),xSt=o(t=>t.replace(/\\([^-\]])/g,"$1"),"charUnescape"),_St=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),NSt=o(t=>t.replace(/[[\]\\]/g,"\\$&"),"braExpEscape"),bE=class{static{o(this,"Minimatch")}constructor(e,r){hQ(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}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();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(Lxe)),this.debug(this.pattern,n),n=n.map((i,s,a)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i>> no match, partial?`,e,d,r,h),d===c))}var A;if(typeof u=="string"?(A=f===u,this.debug("string match",u,f,A)):(A=f.match(u),this.debug("pattern match",u,f,A)),!A)return!1}if(s===c&&a===l)return!0;if(s===c)return n;if(a===l)return s===c-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return Mxe(this.pattern,this.options)}parse(e,r){hQ(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return yc;if(e==="")return"";let i="",s=!1,a=!1,c=[],l=[],u,f=!1,d=-1,h=-1,p,A,g,E=e.charAt(0)===".",y=n.dot||E,C=o(()=>E?"":y?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","patternStart"),w=o(x=>x.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","subPatternStart"),S=o(()=>{if(u){switch(u){case"*":i+=cW,s=!0;break;case"?":i+=fW,s=!0;break;default:i+="\\"+u;break}this.debug("clearStateChar %j %j",u,i),u=!1}},"clearStateChar");for(let x=0,j;x(H||(H="\\"),q+q+H+"|")),this.debug(`tail=%j + %s`,x,x,A,i);let j=A.type==="*"?cW:A.type==="?"?fW:"\\"+A.type;s=!0,i=i.slice(0,A.reStart)+j+"\\("+x}S(),a&&(i+="\\\\");let Q=SSt[i.charAt(0)];for(let x=l.length-1;x>-1;x--){let j=l[x],T=i.slice(0,j.reStart),q=i.slice(j.reStart,j.reEnd-8),H=i.slice(j.reEnd),W=i.slice(j.reEnd-8,j.reEnd)+H,ee=T.split(")").length,te=T.split("(").length-ee,ce=H;for(let z=0;z(a=a.map(c=>typeof c=="string"?_St(c):c===yc?yc:c._src).reduce((c,l)=>(c[c.length-1]===yc&&l===yc||c.push(l),c),[]),a.forEach((c,l)=>{c!==yc||a[l-1]===yc||(l===0?a.length>1?a[l+1]="(?:\\/|"+n+"\\/)?"+a[l+1]:a[l]=n:l===a.length-1?a[l-1]+="(?:\\/|"+n+")?":(a[l-1]+="(?:\\/|\\/"+n+"\\/)"+a[l+1],a[l+1]=yc))}),a.filter(c=>c!==yc).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}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 n=this.options;uW.sep!=="/"&&(e=e.split(uW.sep).join("/")),e=e.split(Lxe),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let a=e.length-1;a>=0&&(s=e[a],!s);a--);for(let a=0;a{Vxe.exports=Hxe;var pW=require("fs"),{EventEmitter:RSt}=require("events"),{Minimatch:hW}=Uxe(),{resolve:TSt}=require("path");function DSt(t,e){return new Promise((r,n)=>{pW.readdir(t,{withFileTypes:!0},(i,s)=>{if(i)switch(i.code){case"ENOTDIR":e?n(i):r([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":r([]);break;default:n(i);break}else r(s)})})}o(DSt,"readdir");function qxe(t,e){return new Promise((r,n)=>{(e?pW.stat:pW.lstat)(t,(s,a)=>{s?s.code==="ENOENT"?r(e?qxe(t,!1):null):r(null):r(a)})})}o(qxe,"stat");async function*Gxe(t,e,r,n,i,s){let a=await DSt(e+t,s);for(let c of a){let l=c.name;l===void 0&&(l=c,n=!0);let u=t+"/"+l,f=u.slice(1),d=e+"/"+f,h=null;(n||r)&&(h=await qxe(d,r)),!h&&c.name!==void 0&&(h=c),h===null&&(h={isDirectory:o(()=>!1,"isDirectory")}),h.isDirectory()?i(f)||(yield{relative:f,absolute:d,stats:h},yield*Gxe(u,e,r,n,i,!1)):yield{relative:f,absolute:d,stats:h}}}o(Gxe,"exploreWalkAsync");async function*QSt(t,e,r,n){yield*Gxe("",t,e,r,n,!0)}o(QSt,"explore");function kSt(t){return{pattern:t.pattern,dot:!!t.dot,noglobstar:!!t.noglobstar,matchBase:!!t.matchBase,nocase:!!t.nocase,ignore:t.ignore,skip:t.skip,follow:!!t.follow,stat:!!t.stat,nodir:!!t.nodir,mark:!!t.mark,silent:!!t.silent,absolute:!!t.absolute}}o(kSt,"readOptions");var pQ=class extends RSt{static{o(this,"ReaddirGlob")}constructor(e,r,n){if(super(),typeof r=="function"&&(n=r,r=null),this.options=kSt(r||{}),this.matchers=[],this.options.pattern){let i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map(s=>new hW(s,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map(s=>new hW(s,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map(s=>new hW(s,{dot:!0}))}this.iterator=QSt(TSt(e||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,n&&(this._matches=[],this.on("match",i=>this._matches.push(this.options.absolute?i.absolute:i.relative)),this.on("error",i=>n(i)),this.on("end",()=>n(null,this._matches))),setTimeout(()=>this._next(),0)}_shouldSkipDirectory(e){return this.skipMatchers.some(r=>r.match(e))}_fileMatches(e,r){let n=e+(r?"/":"");return(this.matchers.length===0||this.matchers.some(i=>i.match(n)))&&!this.ignoreMatchers.some(i=>i.match(n))&&(!this.options.nodir||!r)}_next(){!this.paused&&!this.aborted?this.iterator.next().then(e=>{if(e.done)this.emit("end");else{let r=e.value.stats.isDirectory();if(this._fileMatches(e.value.relative,r)){let n=e.value.relative,i=e.value.absolute;this.options.mark&&r&&(n+="/",i+="/"),this.options.stat?this.emit("match",{relative:n,absolute:i,stat:e.value.stats}):this.emit("match",{relative:n,absolute:i})}this._next(this.iterator)}}).catch(e=>{this.abort(),this.emit("error",e),!e.code&&!this.options.silent&&console.error(e)}):this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){this.paused=!1,this.inactive&&(this.inactive=!1,this._next())}};function Hxe(t,e,r){return new pQ(t,e,r)}o(Hxe,"readdirGlob");Hxe.ReaddirGlob=pQ});var $xe=m((mQ,jxe)=>{(function(t,e){typeof mQ=="object"&&typeof jxe<"u"?e(mQ):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.async={}))})(mQ,(function(t){"use strict";function e(I,...b){return(...B)=>I(...b,...B)}o(e,"apply");function r(I){return function(...b){var B=b.pop();return I.call(this,b,B)}}o(r,"initialParams");var n=typeof queueMicrotask=="function"&&queueMicrotask,i=typeof setImmediate=="function"&&setImmediate,s=typeof process=="object"&&typeof process.nextTick=="function";function a(I){setTimeout(I,0)}o(a,"fallback");function c(I){return(b,...B)=>I(()=>b(...B))}o(c,"wrap");var l;n?l=queueMicrotask:i?l=setImmediate:s?l=process.nextTick:l=a;var u=c(l);function f(I){return p(I)?function(...b){let B=b.pop(),R=I.apply(this,b);return d(R,B)}:r(function(b,B){var R;try{R=I.apply(this,b)}catch(k){return B(k)}if(R&&typeof R.then=="function")return d(R,B);B(null,R)})}o(f,"asyncify");function d(I,b){return I.then(B=>{h(b,null,B)},B=>{h(b,B&&(B instanceof Error||B.message)?B:new Error(B))})}o(d,"handlePromise");function h(I,b,B){try{I(b,B)}catch(R){u(k=>{throw k},R)}}o(h,"invokeCallback");function p(I){return I[Symbol.toStringTag]==="AsyncFunction"}o(p,"isAsync");function A(I){return I[Symbol.toStringTag]==="AsyncGenerator"}o(A,"isAsyncGenerator");function g(I){return typeof I[Symbol.asyncIterator]=="function"}o(g,"isAsyncIterable");function E(I){if(typeof I!="function")throw new Error("expected a function");return p(I)?f(I):I}o(E,"wrapAsync");function y(I,b){if(b||(b=I.length),!b)throw new Error("arity is undefined");function B(...R){return typeof R[b-1]=="function"?I.apply(this,R):new Promise((k,L)=>{R[b-1]=(U,...V)=>{if(U)return L(U);k(V.length>1?V:V[0])},I.apply(this,R)})}return o(B,"awaitable"),B}o(y,"awaitify");function C(I){return o(function(B,...R){return y(function(L){var U=this;return I(B,(V,Y)=>{E(V).apply(U,R.concat(Y))},L)})},"applyEach")}o(C,"applyEach$1");function w(I,b,B,R){b=b||[];var k=[],L=0,U=E(B);return I(b,(V,Y,Se)=>{var wt=L++;U(V,(Dt,Bt)=>{k[wt]=Bt,Se(Dt)})},V=>{R(V,k)})}o(w,"_asyncMap");function S(I){return I&&typeof I.length=="number"&&I.length>=0&&I.length%1===0}o(S,"isArrayLike");var F={};function x(I){function b(...B){if(I!==null){var R=I;I=null,R.apply(this,B)}}return o(b,"wrapper"),Object.assign(b,I),b}o(x,"once");function j(I){return I[Symbol.iterator]&&I[Symbol.iterator]()}o(j,"getIterator");function T(I){var b=-1,B=I.length;return o(function(){return++b=b||U||k||(U=!0,I.next().then(({value:Bt,done:Po})=>{if(!(L||k)){if(U=!1,Po){k=!0,V<=0&&R(null);return}V++,B(Bt,Y,wt),Y++,Se()}}).catch(Dt))}o(Se,"replenish");function wt(Bt,Po){if(V-=1,!L){if(Bt)return Dt(Bt);if(Bt===!1){k=!0,L=!0;return}if(Po===F||k&&V<=0)return k=!0,R(null);Se()}}o(wt,"iterateeCallback");function Dt(Bt){L||(U=!1,k=!0,R(Bt))}o(Dt,"handleError"),Se()}o(te,"asyncEachOfLimit");var ce=o(I=>(b,B,R)=>{if(R=x(R),I<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!b)return R(null);if(A(b))return te(b,I,B,R);if(g(b))return te(b[Symbol.asyncIterator](),I,B,R);var k=W(b),L=!1,U=!1,V=0,Y=!1;function Se(Dt,Bt){if(!U)if(V-=1,Dt)L=!0,R(Dt);else if(Dt===!1)L=!0,U=!0;else{if(Bt===F||L&&V<=0)return L=!0,R(null);Y||wt()}}o(Se,"iterateeCallback");function wt(){for(Y=!0;V1?k:k[0])}return o(B,"callback"),B[gs]=new Promise((R,k)=>{I=R,b=k}),B}o(Ua,"promiseCallback");function Hf(I,b,B){typeof b!="number"&&(B=b,b=null),B=x(B||Ua());var R=Object.keys(I).length;if(!R)return B(null);b||(b=R);var k={},L=0,U=!1,V=!1,Y=Object.create(null),Se=[],wt=[],Dt={};Object.keys(I).forEach(we=>{var Oe=I[we];if(!Array.isArray(Oe)){Bt(we,[Oe]),wt.push(we);return}var vt=Oe.slice(0,Oe.length-1),mr=vt.length;if(mr===0){Bt(we,Oe),wt.push(we);return}Dt[we]=mr,vt.forEach(qn=>{if(!I[qn])throw new Error("async.auto task `"+we+"` has a non-existent dependency `"+qn+"` in "+vt.join(", "));BA(qn,()=>{mr--,mr===0&&Bt(we,Oe)})})}),Qt(),Po();function Bt(we,Oe){Se.push(()=>bb(we,Oe))}o(Bt,"enqueueTask");function Po(){if(!U){if(Se.length===0&&L===0)return B(null,k);for(;Se.length&&Lvt()),Po()}o(Mh,"taskComplete");function bb(we,Oe){if(!V){var vt=ee((qn,...Oo)=>{if(L--,qn===!1){U=!0;return}if(Oo.length<2&&([Oo]=Oo),qn){var vA={};if(Object.keys(k).forEach(Uh=>{vA[Uh]=k[Uh]}),vA[we]=Oo,V=!0,Y=Object.create(null),U)return;B(qn,vA)}else k[we]=Oo,Mh(we)});L++;var mr=E(Oe[Oe.length-1]);Oe.length>1?mr(k,vt):mr(vt)}}o(bb,"runTask");function Qt(){for(var we,Oe=0;wt.length;)we=wt.pop(),Oe++,Pe(we).forEach(vt=>{--Dt[vt]===0&&wt.push(vt)});if(Oe!==R)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}o(Qt,"checkForDeadlocks");function Pe(we){var Oe=[];return Object.keys(I).forEach(vt=>{let mr=I[vt];Array.isArray(mr)&&mr.indexOf(we)>=0&&Oe.push(vt)}),Oe}return o(Pe,"getDependents"),B[gs]}o(Hf,"auto");var Vf=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,Cu=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,Sv=/,/,hb=/(=.+)?(\s*)$/;function pb(I){let b="",B=0,R=I.indexOf("*/");for(;Bk.replace(GC,"").trim())}o(WB,"parseParams");function nm(w,b){var S={};return Object.keys(w).forEach(T=>{var k=w[T],L,U=p(k),G=!U&&k.length===1||U&&k.length===0;if(Array.isArray(k))L=[...k],k=L.pop(),S[T]=L.concat(L.length>0?W:k);else if(G)S[T]=k;else{if(L=WB(k),k.length===0&&!U&&L.length===0)throw new Error("autoInject task functions require explicit parameters.");U||L.pop(),S[T]=L.concat(W)}function W(Se,It){var Dt=L.map(Bt=>Se[Bt]);Dt.push(It),E(k)(...Dt)}o(W,"newTask")}),Dd(S,b)}o(nm,"autoInject");class JB{static{o(this,"DLL")}constructor(){this.head=this.tail=null,this.length=0}removeLink(b){return b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev,b.prev=b.next=null,this.length-=1,b}empty(){for(;this.head;)this.shift();return this}insertAfter(b,S){S.prev=b,S.next=b.next,b.next?b.next.prev=S:this.tail=S,b.next=S,this.length+=1}insertBefore(b,S){S.prev=b.prev,S.next=b,b.prev?b.prev.next=S:this.head=S,b.prev=S,this.length+=1}unshift(b){this.head?this.insertBefore(this.head,b):VC(this,b)}push(b){this.tail?this.insertAfter(this.tail,b):VC(this,b)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var b=this.head;b;)yield b.data,b=b.next}remove(b){for(var S=this.head;S;){var{next:T}=S;b(S)&&this.removeLink(S),S=T}return this}}function VC(w,b){w.length=1,w.head=w.tail=b}o(VC,"setInitial");function im(w,b,S){if(b==null)b=1;else if(b===0)throw new RangeError("Concurrency must not be zero");var T=E(w),k=0,L=[];let U={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function G(Pe,Ie){U[Pe].push(Ie)}o(G,"on");function W(Pe,Ie){let Oe=o((...xt)=>{Se(Pe,Oe),Ie(...xt)},"handleAndRemove");U[Pe].push(Oe)}o(W,"once");function Se(Pe,Ie){if(!Pe)return Object.keys(U).forEach(Oe=>U[Oe]=[]);if(!Ie)return U[Pe]=[];U[Pe]=U[Pe].filter(Oe=>Oe!==Ie)}o(Se,"off");function It(Pe,...Ie){U[Pe].forEach(Oe=>Oe(...Ie))}o(It,"trigger");var Dt=!1;function Bt(Pe,Ie,Oe,xt){if(xt!=null&&typeof xt!="function")throw new Error("task callback must be a function");Qt.started=!0;var Ar,Un;function Qo(vh,...KC){if(vh)return Oe?Un(vh):Ar();if(KC.length<=1)return Ar(KC[0]);Ar(KC)}o(Qo,"promiseCallback");var cm=Qt._createTaskItem(Pe,Oe?Qo:xt||Qo);if(Ie?Qt._tasks.unshift(cm):Qt._tasks.push(cm),Dt||(Dt=!0,u(()=>{Dt=!1,Qt.process()})),Oe||!xt)return new Promise((vh,KC)=>{Ar=vh,Un=KC})}o(Bt,"_insert");function Do(Pe){return function(Ie,...Oe){k-=1;for(var xt=0,Ar=Pe.length;xt0&&L.splice(Qo,1),Un.callback(Ie,...Oe),Ie!=null&&It("error",Ie,Un.data)}k<=Qt.concurrency-Qt.buffer&&It("unsaturated"),Qt.idle()&&It("drain"),Qt.process()}}o(Do,"_createCB");function am(Pe){return Pe.length===0&&Qt.idle()?(u(()=>It("drain")),!0):!1}o(am,"_maybeDrain");let xh=o(Pe=>Ie=>{if(!Ie)return new Promise((Oe,xt)=>{W(Pe,(Ar,Un)=>{if(Ar)return xt(Ar);Oe(Un)})});Se(Pe),G(Pe,Ie)},"eventMethod");var YC=!1,Qt={_tasks:new JB,_createTaskItem(Pe,Ie){return{data:Pe,callback:Ie}},*[Symbol.iterator](){yield*Qt._tasks[Symbol.iterator]()},concurrency:b,payload:S,buffer:b/4,started:!1,paused:!1,push(Pe,Ie){return Array.isArray(Pe)?am(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!1,Ie)):Bt(Pe,!1,!1,Ie)},pushAsync(Pe,Ie){return Array.isArray(Pe)?am(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!0,Ie)):Bt(Pe,!1,!0,Ie)},kill(){Se(),Qt._tasks.empty()},unshift(Pe,Ie){return Array.isArray(Pe)?am(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!1,Ie)):Bt(Pe,!0,!1,Ie)},unshiftAsync(Pe,Ie){return Array.isArray(Pe)?am(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!0,Ie)):Bt(Pe,!0,!0,Ie)},remove(Pe){Qt._tasks.remove(Pe)},process(){if(!YC){for(YC=!0;!Qt.paused&&k{k(b,L,(W,Se)=>{b=Se,G(W)})},L=>T(L,b))}o(YB,"reduce");var Oa=y(YB,4);function zC(...w){var b=w.map(E);return function(...S){var T=this,k=S[S.length-1];return typeof k=="function"?S.pop():k=Pa(),Oa(b,S,(L,U,G)=>{U.apply(T,L.concat((W,...Se)=>{G(W,Se)}))},(L,U)=>k(L,...U)),k[As]}}o(zC,"seq");function be(...w){return zC(...w.reverse())}o(be,"compose");function P(w,b,S,T){return I(Ae(b),w,S,T)}o(P,"mapLimit");var x=y(P,4);function F(w,b,S,T){var k=E(S);return x(w,b,(L,U)=>{k(L,(G,...W)=>G?U(G):U(G,W))},(L,U)=>{for(var G=[],W=0;W{var U=!1,G;let W=E(k);S(T,(Se,It,Dt)=>{W(Se,(Bt,Do)=>{if(Bt||Bt===!1)return Dt(Bt);if(w(Do)&&!G)return U=!0,G=b(!0,Se),Dt(null,M);Dt()})},Se=>{if(Se)return L(Se);L(null,U?G:b(!1))})}}o(Kt,"_createTester");function Bh(w,b,S){return Kt(T=>T,(T,k)=>k)(bt,w,b,S)}o(Bh,"detect");var om=y(Bh,3);function KB(w,b,S,T){return Kt(k=>k,(k,L)=>L)(Ae(b),w,S,T)}o(KB,"detectLimit");var XB=y(KB,4);function wUe(w,b,S){return Kt(T=>T,(T,k)=>k)(Ae(1),w,b,S)}o(wUe,"detectSeries");var ZB=y(wUe,3);function XX(w){return(b,...S)=>E(b)(...S,(T,...k)=>{typeof console=="object"&&(T?console.error&&console.error(T):console[w]&&k.forEach(L=>console[w](L)))})}o(XX,"consoleFunc");var ZX=XX("dir");function SUe(w,b,S){S=ee(S);var T=E(w),k=E(b),L;function U(W,...Se){if(W)return S(W);W!==!1&&(L=Se,k(...Se,G))}o(U,"next");function G(W,Se){if(W)return S(W);if(W!==!1){if(!Se)return S(null,...L);T(U)}}return o(G,"check"),G(null,!0)}o(SUe,"doWhilst");var $C=y(SUe,3);function eZ(w,b,S){let T=E(b);return $C(w,(...k)=>{let L=k.pop();T(...k,(U,G)=>L(U,!G))},S)}o(eZ,"doUntil");function tZ(w){return(b,S,T)=>w(b,T)}o(tZ,"_withoutIndex");function BUe(w,b,S){return bt(w,tZ(E(b)),S)}o(BUe,"eachLimit$2");var ex=y(BUe,3);function xUe(w,b,S,T){return Ae(b)(w,tZ(E(S)),T)}o(xUe,"eachLimit");var jC=y(xUe,4);function vUe(w,b,S){return jC(w,1,b,S)}o(vUe,"eachSeries");var WC=y(vUe,3);function lL(w){return p(w)?w:function(...b){var S=b.pop(),T=!0;b.push((...k)=>{T?u(()=>S(...k)):S(...k)}),w.apply(this,b),T=!1}}o(lL,"ensureAsync");function NUe(w,b,S){return Kt(T=>!T,T=>!T)(bt,w,b,S)}o(NUe,"every");var tx=y(NUe,3);function _Ue(w,b,S,T){return Kt(k=>!k,k=>!k)(Ae(b),w,S,T)}o(_Ue,"everyLimit");var rx=y(_Ue,4);function TUe(w,b,S){return Kt(T=>!T,T=>!T)(Jr,w,b,S)}o(TUe,"everySeries");var nx=y(TUe,3);function RUe(w,b,S,T){var k=new Array(b.length);w(b,(L,U,G)=>{S(L,(W,Se)=>{k[U]=!!Se,G(W)})},L=>{if(L)return T(L);for(var U=[],G=0;G{S(L,(W,Se)=>{if(W)return G(W);Se&&k.push({index:U,value:L}),G(W)})},L=>{if(L)return T(L);T(null,k.sort((U,G)=>U.index-G.index).map(U=>U.value))})}o(DUe,"filterGeneric");function ix(w,b,S,T){var k=B(b)?RUe:DUe;return k(w,b,E(S),T)}o(ix,"_filter");function QUe(w,b,S){return ix(bt,w,b,S)}o(QUe,"filter");var sx=y(QUe,3);function kUe(w,b,S,T){return ix(Ae(b),w,S,T)}o(kUe,"filterLimit");var ox=y(kUe,4);function PUe(w,b,S){return ix(Jr,w,b,S)}o(PUe,"filterSeries");var ax=y(PUe,3);function OUe(w,b){var S=ee(b),T=E(lL(w));function k(L){if(L)return S(L);L!==!1&&T(k)}return o(k,"next"),k()}o(OUe,"forever");var rZ=y(OUe,2);function LUe(w,b,S,T){var k=E(S);return x(w,b,(L,U)=>{k(L,(G,W)=>G?U(G):U(G,{key:W,val:L}))},(L,U)=>{for(var G={},{hasOwnProperty:W}=Object.prototype,Se=0;Se{L(U,G,(Se,It)=>{if(Se)return W(Se);k[G]=It,W(Se)})},U=>T(U,k))}o(FUe,"mapValuesLimit");var lx=y(FUe,4);function oZ(w,b,S){return lx(w,1/0,b,S)}o(oZ,"mapValues");function aZ(w,b,S){return lx(w,1,b,S)}o(aZ,"mapValuesSeries");function cZ(w,b=S=>S){var S=Object.create(null),T=Object.create(null),k=E(w),L=r((U,G)=>{var W=b(...U);W in S?u(()=>G(null,...S[W])):W in T?T[W].push(G):(T[W]=[G],k(...U,(Se,...It)=>{Se||(S[W]=It);var Dt=T[W];delete T[W];for(var Bt=0,Do=Dt.length;Bt{var T=B(b)?[]:{};w(b,(k,L,U)=>{E(k)((G,...W)=>{W.length<2&&([W]=W),T[L]=W,U(G)})},k=>S(k,T))},3);function uZ(w,b){return uL(bt,w,b)}o(uZ,"parallel");function dZ(w,b,S){return uL(Ae(b),w,S)}o(dZ,"parallelLimit");function dL(w,b){var S=E(w);return im((T,k)=>{S(T[0],k)},b,1)}o(dL,"queue");class MUe{static{o(this,"Heap")}constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(b){let S;for(;b>0&&fL(this.heap[b],this.heap[S=fZ(b)]);){let T=this.heap[b];this.heap[b]=this.heap[S],this.heap[S]=T,b=S}}percDown(b){let S;for(;(S=UUe(b))=0;T--)this.percDown(T);return this}}function UUe(w){return(w<<1)+1}o(UUe,"leftChi");function fZ(w){return(w+1>>1)-1}o(fZ,"parent");function fL(w,b){return w.priority!==b.priority?w.priority({data:U,priority:G,callback:W});function L(U,G){return Array.isArray(U)?U.map(W=>({data:W,priority:G})):{data:U,priority:G}}return o(L,"createDataItems"),S.push=function(U,G=0,W){return T(L(U,G),W)},S.pushAsync=function(U,G=0,W){return k(L(U,G),W)},delete S.unshift,delete S.unshiftAsync,S}o(hZ,"priorityQueue");function qUe(w,b){if(b=v(b),!Array.isArray(w))return b(new TypeError("First argument to race must be an array of functions"));if(!w.length)return b();for(var S=0,T=w.length;S{let G={};if(L&&(G.error=L),U.length>0){var W=U;U.length<=1&&([W]=U),G.value=W}k(null,G)}),b.apply(this,T)},"reflectOn"))}o(fx,"reflect");function AZ(w){var b;return Array.isArray(w)?b=w.map(fx):(b={},Object.keys(w).forEach(S=>{b[S]=fx.call(this,w[S])})),b}o(AZ,"reflectAll");function hL(w,b,S,T){let k=E(S);return ix(w,b,(L,U)=>{k(L,(G,W)=>{U(G,!W)})},T)}o(hL,"reject$2");function GUe(w,b,S){return hL(bt,w,b,S)}o(GUe,"reject");var mZ=y(GUe,3);function HUe(w,b,S,T){return hL(Ae(b),w,S,T)}o(HUe,"rejectLimit");var gZ=y(HUe,4);function VUe(w,b,S){return hL(Jr,w,b,S)}o(VUe,"rejectSeries");var yZ=y(VUe,3);function EZ(w){return function(){return w}}o(EZ,"constant");let pL=5,CZ=0;function hx(w,b,S){var T={times:pL,intervalFunc:EZ(CZ)};if(arguments.length<3&&typeof w=="function"?(S=b||Pa(),b=w):(zUe(T,w),S=S||Pa()),typeof b!="function")throw new Error("Invalid arguments for async.retry");var k=E(b),L=1;function U(){k((G,...W)=>{G!==!1&&(G&&L++{(k.lengthT)(bt,w,b,S)}o($Ue,"some");var px=y($Ue,3);function jUe(w,b,S,T){return Kt(Boolean,k=>k)(Ae(b),w,S,T)}o(jUe,"someLimit");var Ax=y(jUe,4);function WUe(w,b,S){return Kt(Boolean,T=>T)(Jr,w,b,S)}o(WUe,"someSeries");var mx=y(WUe,3);function JUe(w,b,S){var T=E(b);return hn(w,(L,U)=>{T(L,(G,W)=>{if(G)return U(G);U(G,{value:L,criteria:W})})},(L,U)=>{if(L)return S(L);S(null,U.sort(k).map(G=>G.value))});function k(L,U){var G=L.criteria,W=U.criteria;return GW?1:0}}o(JUe,"sortBy");var wZ=y(JUe,3);function SZ(w,b,S){var T=E(w);return r((k,L)=>{var U=!1,G;function W(){var Se=w.name||"anonymous",It=new Error('Callback function "'+Se+'" timed out.');It.code="ETIMEDOUT",S&&(It.info=S),U=!0,L(It)}o(W,"timeoutCallback"),k.push((...Se)=>{U||(L(...Se),clearTimeout(G))}),G=setTimeout(W,b),T(...k)})}o(SZ,"timeout");function YUe(w){for(var b=Array(w);w--;)b[w]=w;return b}o(YUe,"range");function gx(w,b,S,T){var k=E(S);return x(YUe(w),b,k,T)}o(gx,"timesLimit");function BZ(w,b,S){return gx(w,1/0,b,S)}o(BZ,"times");function xZ(w,b,S){return gx(w,1,b,S)}o(xZ,"timesSeries");function vZ(w,b,S,T){arguments.length<=3&&typeof b=="function"&&(T=S,S=b,b=Array.isArray(w)?[]:{}),T=v(T||Pa());var k=E(S);return bt(w,(L,U,G)=>{k(b,L,U,G)},L=>T(L,b)),T[As]}o(vZ,"transform");function KUe(w,b){var S=null,T;return WC(w,(k,L)=>{E(k)((U,...G)=>{if(U===!1)return L(U);G.length<2?[T]=G:T=G,S=U,L(U?null:{})})},()=>b(S,T))}o(KUe,"tryEach");var NZ=y(KUe);function _Z(w){return(...b)=>(w.unmemoized||w)(...b)}o(_Z,"unmemoize");function XUe(w,b,S){S=ee(S);var T=E(b),k=E(w),L=[];function U(W,...Se){if(W)return S(W);L=Se,W!==!1&&k(G)}o(U,"next");function G(W,Se){if(W)return S(W);if(W!==!1){if(!Se)return S(null,...L);T(U)}}return o(G,"check"),k(G)}o(XUe,"whilst");var JC=y(XUe,3);function TZ(w,b,S){let T=E(w);return JC(k=>T((L,U)=>k(L,!U)),b,S)}o(TZ,"until");function ZUe(w,b){if(b=v(b),!Array.isArray(w))return b(new Error("First argument to waterfall must be an array of functions"));if(!w.length)return b();var S=0;function T(L){var U=E(w[S++]);U(...L,ee(k))}o(T,"nextTask");function k(L,...U){if(L!==!1){if(L||S===w.length)return b(L,...U);T(U)}}o(k,"next"),T([])}o(ZUe,"waterfall");var RZ=y(ZUe),eqe={apply:e,applyEach:oi,applyEachSeries:Bc,asyncify:d,auto:Dd,autoInject:nm,cargo:sm,cargoQueue:zs,compose:be,concat:X,concatLimit:q,concatSeries:St,constant:pn,detect:om,detectLimit:XB,detectSeries:ZB,dir:ZX,doUntil:eZ,doWhilst:$C,each:ex,eachLimit:jC,eachOf:bt,eachOfLimit:z,eachOfSeries:Jr,eachSeries:WC,ensureAsync:lL,every:tx,everyLimit:rx,everySeries:nx,filter:sx,filterLimit:ox,filterSeries:ax,forever:rZ,groupBy:nZ,groupByLimit:cx,groupBySeries:iZ,log:sZ,map:hn,mapLimit:x,mapSeries:du,mapValues:oZ,mapValuesLimit:lx,mapValuesSeries:aZ,memoize:cZ,nextTick:lZ,parallel:uZ,parallelLimit:dZ,priorityQueue:hZ,queue:dL,race:pZ,reduce:Oa,reduceRight:dx,reflect:fx,reflectAll:AZ,reject:mZ,rejectLimit:gZ,rejectSeries:yZ,retry:hx,retryable:bZ,seq:zC,series:IZ,setImmediate:u,some:px,someLimit:Ax,someSeries:mx,sortBy:wZ,timeout:SZ,times:BZ,timesLimit:gx,timesSeries:xZ,transform:vZ,tryEach:NZ,unmemoize:_Z,until:TZ,waterfall:RZ,whilst:JC,all:tx,allLimit:rx,allSeries:nx,any:px,anyLimit:Ax,anySeries:mx,find:om,findLimit:XB,findSeries:ZB,flatMap:X,flatMapLimit:q,flatMapSeries:St,forEach:ex,forEachSeries:WC,forEachLimit:jC,forEachOf:bt,forEachOfSeries:Jr,forEachOfLimit:z,inject:Oa,foldl:Oa,foldr:dx,select:sx,selectLimit:ox,selectSeries:ax,wrapSync:d,during:JC,doDuring:$C};t.all=tx,t.allLimit=rx,t.allSeries=nx,t.any=px,t.anyLimit=Ax,t.anySeries=mx,t.apply=e,t.applyEach=oi,t.applyEachSeries=Bc,t.asyncify=d,t.auto=Dd,t.autoInject=nm,t.cargo=sm,t.cargoQueue=zs,t.compose=be,t.concat=X,t.concatLimit=q,t.concatSeries=St,t.constant=pn,t.default=eqe,t.detect=om,t.detectLimit=XB,t.detectSeries=ZB,t.dir=ZX,t.doDuring=$C,t.doUntil=eZ,t.doWhilst=$C,t.during=JC,t.each=ex,t.eachLimit=jC,t.eachOf=bt,t.eachOfLimit=z,t.eachOfSeries=Jr,t.eachSeries=WC,t.ensureAsync=lL,t.every=tx,t.everyLimit=rx,t.everySeries=nx,t.filter=sx,t.filterLimit=ox,t.filterSeries=ax,t.find=om,t.findLimit=XB,t.findSeries=ZB,t.flatMap=X,t.flatMapLimit=q,t.flatMapSeries=St,t.foldl=Oa,t.foldr=dx,t.forEach=ex,t.forEachLimit=jC,t.forEachOf=bt,t.forEachOfLimit=z,t.forEachOfSeries=Jr,t.forEachSeries=WC,t.forever=rZ,t.groupBy=nZ,t.groupByLimit=cx,t.groupBySeries=iZ,t.inject=Oa,t.log=sZ,t.map=hn,t.mapLimit=x,t.mapSeries=du,t.mapValues=oZ,t.mapValuesLimit=lx,t.mapValuesSeries=aZ,t.memoize=cZ,t.nextTick=lZ,t.parallel=uZ,t.parallelLimit=dZ,t.priorityQueue=hZ,t.queue=dL,t.race=pZ,t.reduce=Oa,t.reduceRight=dx,t.reflect=fx,t.reflectAll=AZ,t.reject=mZ,t.rejectLimit=gZ,t.rejectSeries=yZ,t.retry=hx,t.retryable=bZ,t.select=sx,t.selectLimit=ox,t.selectSeries=ax,t.seq=zC,t.series=IZ,t.setImmediate=u,t.some=px,t.someLimit=Ax,t.someSeries=mx,t.sortBy=wZ,t.timeout=SZ,t.times=BZ,t.timesLimit=gx,t.timesSeries=xZ,t.transform=vZ,t.tryEach=NZ,t.unmemoize=_Z,t.until=TZ,t.waterfall=RZ,t.whilst=JC,t.wrapSync=d,Object.defineProperty(t,"__esModule",{value:!0})}))});var nxe=A((Wvr,rxe)=>{var Lf=require("constants"),E0t=process.cwd,MQ=null,C0t=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return MQ||(MQ=E0t.call(process)),MQ};try{process.cwd()}catch{}typeof process.chdir=="function"&&(sW=process.chdir,process.chdir=function(t){MQ=null,sW.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,sW));var sW;rxe.exports=b0t;function b0t(t){Lf.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||r(t),t.chown=s(t.chown),t.fchown=s(t.fchown),t.lchown=s(t.lchown),t.chmod=n(t.chmod),t.fchmod=n(t.fchmod),t.lchmod=n(t.lchmod),t.chownSync=a(t.chownSync),t.fchownSync=a(t.fchownSync),t.lchownSync=a(t.lchownSync),t.chmodSync=i(t.chmodSync),t.fchmodSync=i(t.fchmodSync),t.lchmodSync=i(t.lchmodSync),t.stat=c(t.stat),t.fstat=c(t.fstat),t.lstat=c(t.lstat),t.statSync=l(t.statSync),t.fstatSync=l(t.fstatSync),t.lstatSync=l(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(d,f,h){h&&process.nextTick(h)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(d,f,h,p){p&&process.nextTick(p)},t.lchownSync=function(){}),C0t==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(d){function f(h,p,g){var m=Date.now(),E=0;d(h,p,o(function y(C){if(C&&(C.code==="EACCES"||C.code==="EPERM"||C.code==="EBUSY")&&Date.now()-m<6e4){setTimeout(function(){t.stat(p,function(I,B){I&&I.code==="ENOENT"?d(h,p,y):g(C)})},E),E<100&&(E+=10);return}g&&g(C)},"CB"))}return o(f,"rename"),Object.setPrototypeOf&&Object.setPrototypeOf(f,d),f})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(d){function f(h,p,g,m,E,y){var C;if(y&&typeof y=="function"){var I=0;C=o(function(B,Q,M){if(B&&B.code==="EAGAIN"&&I<10)return I++,d.call(t,h,p,g,m,E,C);y.apply(this,arguments)},"callback")}return d.call(t,h,p,g,m,E,C)}return o(f,"read"),Object.setPrototypeOf&&Object.setPrototypeOf(f,d),f})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(d){return function(f,h,p,g,m){for(var E=0;;)try{return d.call(t,f,h,p,g,m)}catch(y){if(y.code==="EAGAIN"&&E<10){E++;continue}throw y}}})(t.readSync);function e(d){d.lchmod=function(f,h,p){d.open(f,Lf.O_WRONLY|Lf.O_SYMLINK,h,function(g,m){if(g){p&&p(g);return}d.fchmod(m,h,function(E){d.close(m,function(y){p&&p(E||y)})})})},d.lchmodSync=function(f,h){var p=d.openSync(f,Lf.O_WRONLY|Lf.O_SYMLINK,h),g=!0,m;try{m=d.fchmodSync(p,h),g=!1}finally{if(g)try{d.closeSync(p)}catch{}else d.closeSync(p)}return m}}o(e,"patchLchmod");function r(d){Lf.hasOwnProperty("O_SYMLINK")&&d.futimes?(d.lutimes=function(f,h,p,g){d.open(f,Lf.O_SYMLINK,function(m,E){if(m){g&&g(m);return}d.futimes(E,h,p,function(y){d.close(E,function(C){g&&g(y||C)})})})},d.lutimesSync=function(f,h,p){var g=d.openSync(f,Lf.O_SYMLINK),m,E=!0;try{m=d.futimesSync(g,h,p),E=!1}finally{if(E)try{d.closeSync(g)}catch{}else d.closeSync(g)}return m}):d.futimes&&(d.lutimes=function(f,h,p,g){g&&process.nextTick(g)},d.lutimesSync=function(){})}o(r,"patchLutimes");function n(d){return d&&function(f,h,p){return d.call(t,f,h,function(g){u(g)&&(g=null),p&&p.apply(this,arguments)})}}o(n,"chmodFix");function i(d){return d&&function(f,h){try{return d.call(t,f,h)}catch(p){if(!u(p))throw p}}}o(i,"chmodFixSync");function s(d){return d&&function(f,h,p,g){return d.call(t,f,h,p,function(m){u(m)&&(m=null),g&&g.apply(this,arguments)})}}o(s,"chownFix");function a(d){return d&&function(f,h,p){try{return d.call(t,f,h,p)}catch(g){if(!u(g))throw g}}}o(a,"chownFixSync");function c(d){return d&&function(f,h,p){typeof h=="function"&&(p=h,h=null);function g(m,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),p&&p.apply(this,arguments)}return o(g,"callback"),h?d.call(t,f,h,g):d.call(t,f,g)}}o(c,"statFix");function l(d){return d&&function(f,h){var p=h?d.call(t,f,h):d.call(t,f);return p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),p}}o(l,"statFixSync");function u(d){if(!d||d.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;return!!(f&&(d.code==="EINVAL"||d.code==="EPERM"))}o(u,"chownErOk")}o(b0t,"patch")});var oxe=A((Yvr,sxe)=>{var ixe=require("stream").Stream;sxe.exports=I0t;function I0t(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);ixe.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var a=Object.keys(i),c=0,l=a.length;cthis.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}t.open(this.path,this.flags,this.mode,function(d,f){if(d){s.emit("error",d),s.readable=!1;return}s.fd=f,s.emit("open",f),s._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);ixe.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),a=0,c=s.length;a= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}o(I0t,"legacy")});var cxe=A((Xvr,axe)=>{"use strict";axe.exports=S0t;var w0t=Object.getPrototypeOf||function(t){return t.__proto__};function S0t(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:w0t(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}o(S0t,"clone")});var lW=A((eNr,cW)=>{var _r=require("fs"),B0t=nxe(),x0t=oxe(),v0t=cxe(),UQ=require("util"),gi,GQ;typeof Symbol=="function"&&typeof Symbol.for=="function"?(gi=Symbol.for("graceful-fs.queue"),GQ=Symbol.for("graceful-fs.previous")):(gi="___graceful-fs.queue",GQ="___graceful-fs.previous");function N0t(){}o(N0t,"noop");function dxe(t,e){Object.defineProperty(t,gi,{get:o(function(){return e},"get")})}o(dxe,"publishQueue");var sA=N0t;UQ.debuglog?sA=UQ.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(sA=o(function(){var t=UQ.format.apply(UQ,arguments);t="GFS4: "+t.split(/\n/).join(` -GFS4: `),console.error(t)},"debug"));_r[gi]||(lxe=global[gi]||[],dxe(_r,lxe),_r.close=(function(t){function e(r,n){return t.call(_r,r,function(i){i||uxe(),typeof n=="function"&&n.apply(this,arguments)})}return o(e,"close"),Object.defineProperty(e,GQ,{value:t}),e})(_r.close),_r.closeSync=(function(t){function e(r){t.apply(_r,arguments),uxe()}return o(e,"closeSync"),Object.defineProperty(e,GQ,{value:t}),e})(_r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){sA(_r[gi]),require("assert").equal(_r[gi].length,0)}));var lxe;global[gi]||dxe(global,_r[gi]);cW.exports=oW(v0t(_r));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!_r.__patched&&(cW.exports=oW(_r),_r.__patched=!0);function oW(t){B0t(t),t.gracefulify=oW,t.createReadStream=Q,t.createWriteStream=M;var e=t.readFile;t.readFile=r;function r(D,H,V){return typeof H=="function"&&(V=H,H=null),J(D,H,V);function J(ee,ae,Ae,Y){return e(ee,ae,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?iE([J,[ee,ae,Ae],z,Y||Date.now(),Date.now()]):typeof Ae=="function"&&Ae.apply(this,arguments)})}o(J,"go$readFile")}o(r,"readFile");var n=t.writeFile;t.writeFile=i;function i(D,H,V,J){return typeof V=="function"&&(J=V,V=null),ee(D,H,V,J);function ee(ae,Ae,Y,z,we){return n(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,z],Be,we||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$writeFile")}o(i,"writeFile");var s=t.appendFile;s&&(t.appendFile=a);function a(D,H,V,J){return typeof V=="function"&&(J=V,V=null),ee(D,H,V,J);function ee(ae,Ae,Y,z,we){return s(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,z],Be,we||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$appendFile")}o(a,"appendFile");var c=t.copyFile;c&&(t.copyFile=l);function l(D,H,V,J){return typeof V=="function"&&(J=V,V=0),ee(D,H,V,J);function ee(ae,Ae,Y,z,we){return c(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,z],Be,we||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$copyFile")}o(l,"copyFile");var u=t.readdir;t.readdir=f;var d=/^v[0-5]\./;function f(D,H,V){typeof H=="function"&&(V=H,H=null);var J=d.test(process.version)?o(function(Ae,Y,z,we){return u(Ae,ee(Ae,Y,z,we))},"go$readdir"):o(function(Ae,Y,z,we){return u(Ae,Y,ee(Ae,Y,z,we))},"go$readdir");return J(D,H,V);function ee(ae,Ae,Y,z){return function(we,Be){we&&(we.code==="EMFILE"||we.code==="ENFILE")?iE([J,[ae,Ae,Y],we,z||Date.now(),Date.now()]):(Be&&Be.sort&&Be.sort(),typeof Y=="function"&&Y.call(this,we,Be))}}}if(o(f,"readdir"),process.version.substr(0,4)==="v0.8"){var h=x0t(t);y=h.ReadStream,I=h.WriteStream}var p=t.ReadStream;p&&(y.prototype=Object.create(p.prototype),y.prototype.open=C);var g=t.WriteStream;g&&(I.prototype=Object.create(g.prototype),I.prototype.open=B),Object.defineProperty(t,"ReadStream",{get:o(function(){return y},"get"),set:o(function(D){y=D},"set"),enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:o(function(){return I},"get"),set:o(function(D){I=D},"set"),enumerable:!0,configurable:!0});var m=y;Object.defineProperty(t,"FileReadStream",{get:o(function(){return m},"get"),set:o(function(D){m=D},"set"),enumerable:!0,configurable:!0});var E=I;Object.defineProperty(t,"FileWriteStream",{get:o(function(){return E},"get"),set:o(function(D){E=D},"set"),enumerable:!0,configurable:!0});function y(D,H){return this instanceof y?(p.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}o(y,"ReadStream");function C(){var D=this;$(D.path,D.flags,D.mode,function(H,V){H?(D.autoClose&&D.destroy(),D.emit("error",H)):(D.fd=V,D.emit("open",V),D.read())})}o(C,"ReadStream$open");function I(D,H){return this instanceof I?(g.apply(this,arguments),this):I.apply(Object.create(I.prototype),arguments)}o(I,"WriteStream");function B(){var D=this;$(D.path,D.flags,D.mode,function(H,V){H?(D.destroy(),D.emit("error",H)):(D.fd=V,D.emit("open",V))})}o(B,"WriteStream$open");function Q(D,H){return new t.ReadStream(D,H)}o(Q,"createReadStream");function M(D,H){return new t.WriteStream(D,H)}o(M,"createWriteStream");var v=t.open;t.open=$;function $(D,H,V,J){return typeof V=="function"&&(J=V,V=null),ee(D,H,V,J);function ee(ae,Ae,Y,z,we){return v(ae,Ae,Y,function(Be,st){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,z],Be,we||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$open")}return o($,"open"),t}o(oW,"patch");function iE(t){sA("ENQUEUE",t[0].name,t[1]),_r[gi].push(t),aW()}o(iE,"enqueue");var qQ;function uxe(){for(var t=Date.now(),e=0;e<_r[gi].length;++e)_r[gi][e].length>2&&(_r[gi][e][3]=t,_r[gi][e][4]=t);aW()}o(uxe,"resetQueue");function aW(){if(clearTimeout(qQ),qQ=void 0,_r[gi].length!==0){var t=_r[gi].shift(),e=t[0],r=t[1],n=t[2],i=t[3],s=t[4];if(i===void 0)sA("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){sA("TIMEOUT",e.name,r);var a=r.pop();typeof a=="function"&&a.call(null,n)}else{var c=Date.now()-s,l=Math.max(s-i,1),u=Math.min(l*1.2,100);c>=u?(sA("RETRY",e.name,r),e.apply(null,r.concat([i]))):_r[gi].push(t)}qQ===void 0&&(qQ=setTimeout(aW,0))}}o(aW,"retry")});var HQ=A((rNr,fxe)=>{"use strict";var Fl=o(t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function","isStream");Fl.writable=t=>Fl(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";Fl.readable=t=>Fl(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";Fl.duplex=t=>Fl.writable(t)&&Fl.readable(t);Fl.transform=t=>Fl.duplex(t)&&typeof t._transform=="function";fxe.exports=Fl});var zw=A((iNr,uW)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?uW.exports={nextTick:_0t}:uW.exports=process;function _0t(t,e,r,n){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,s,a;switch(i){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick(o(function(){t.call(null,e)},"afterTickOne"));case 3:return process.nextTick(o(function(){t.call(null,e,r)},"afterTickTwo"));case 4:return process.nextTick(o(function(){t.call(null,e,r,n)},"afterTickThree"));default:for(s=new Array(i-1),a=0;a{var T0t={}.toString;hxe.exports=Array.isArray||function(t){return T0t.call(t)=="[object Array]"}});var dW=A((aNr,Axe)=>{Axe.exports=require("stream")});var $w=A((fW,gxe)=>{var VQ=require("buffer"),cd=VQ.Buffer;function mxe(t,e){for(var r in t)e[r]=t[r]}o(mxe,"copyProps");cd.from&&cd.alloc&&cd.allocUnsafe&&cd.allocUnsafeSlow?gxe.exports=VQ:(mxe(VQ,fW),fW.Buffer=sE);function sE(t,e,r){return cd(t,e,r)}o(sE,"SafeBuffer");mxe(cd,sE);sE.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return cd(t,e,r)};sE.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=cd(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};sE.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return cd(t)};sE.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return VQ.SlowBuffer(t)}});var oE=A(Ti=>{function R0t(t){return Array.isArray?Array.isArray(t):zQ(t)==="[object Array]"}o(R0t,"isArray");Ti.isArray=R0t;function D0t(t){return typeof t=="boolean"}o(D0t,"isBoolean");Ti.isBoolean=D0t;function Q0t(t){return t===null}o(Q0t,"isNull");Ti.isNull=Q0t;function k0t(t){return t==null}o(k0t,"isNullOrUndefined");Ti.isNullOrUndefined=k0t;function P0t(t){return typeof t=="number"}o(P0t,"isNumber");Ti.isNumber=P0t;function O0t(t){return typeof t=="string"}o(O0t,"isString");Ti.isString=O0t;function L0t(t){return typeof t=="symbol"}o(L0t,"isSymbol");Ti.isSymbol=L0t;function F0t(t){return t===void 0}o(F0t,"isUndefined");Ti.isUndefined=F0t;function M0t(t){return zQ(t)==="[object RegExp]"}o(M0t,"isRegExp");Ti.isRegExp=M0t;function U0t(t){return typeof t=="object"&&t!==null}o(U0t,"isObject");Ti.isObject=U0t;function q0t(t){return zQ(t)==="[object Date]"}o(q0t,"isDate");Ti.isDate=q0t;function G0t(t){return zQ(t)==="[object Error]"||t instanceof Error}o(G0t,"isError");Ti.isError=G0t;function H0t(t){return typeof t=="function"}o(H0t,"isFunction");Ti.isFunction=H0t;function V0t(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}o(V0t,"isPrimitive");Ti.isPrimitive=V0t;Ti.isBuffer=require("buffer").Buffer.isBuffer;function zQ(t){return Object.prototype.toString.call(t)}o(zQ,"objectToString")});var yxe=A((dNr,hW)=>{typeof Object.create=="function"?hW.exports=o(function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):hW.exports=o(function(e,r){if(r){e.super_=r;var n=o(function(){},"TempCtor");n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}},"inherits")});var aE=A((hNr,AW)=>{try{if(pW=require("util"),typeof pW.inherits!="function")throw"";AW.exports=pW.inherits}catch{AW.exports=yxe()}var pW});var Cxe=A((pNr,mW)=>{"use strict";function z0t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o(z0t,"_classCallCheck");var Exe=$w().Buffer,jw=require("util");function $0t(t,e,r){t.copy(e,r)}o($0t,"copyBuffer");mW.exports=(function(){function t(){z0t(this,t),this.head=null,this.tail=null,this.length=0}return o(t,"BufferList"),t.prototype.push=o(function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length},"push"),t.prototype.unshift=o(function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length},"unshift"),t.prototype.shift=o(function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},"shift"),t.prototype.clear=o(function(){this.head=this.tail=null,this.length=0},"clear"),t.prototype.join=o(function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i},"join"),t.prototype.concat=o(function(r){if(this.length===0)return Exe.alloc(0);for(var n=Exe.allocUnsafe(r>>>0),i=this.head,s=0;i;)$0t(i.data,n,s),s+=i.data.length,i=i.next;return n},"concat"),t})();jw&&jw.inspect&&jw.inspect.custom&&(mW.exports.prototype[jw.inspect.custom]=function(){var t=jw.inspect({length:this.length});return this.constructor.name+" "+t})});var gW=A((mNr,bxe)=>{"use strict";var $Q=zw();function j0t(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,$Q.nextTick(jQ,this,t)):$Q.nextTick(jQ,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,$Q.nextTick(jQ,r,s)):$Q.nextTick(jQ,r,s):e&&e(s)}),this)}o(j0t,"destroy");function W0t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}o(W0t,"undestroy");function jQ(t,e){t.emit("error",e)}o(jQ,"emitErrorNT");bxe.exports={destroy:j0t,undestroy:W0t}});var wxe=A((yNr,Ixe)=>{Ixe.exports=require("util").deprecate});var EW=A((ENr,Rxe)=>{"use strict";var oA=zw();Rxe.exports=In;function Bxe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){fIt(e,t)}}o(Bxe,"CorkedRequest");var J0t=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:oA.nextTick,cE;In.WritableState=Jw;var xxe=Object.create(oE());xxe.inherits=aE();var Y0t={deprecate:wxe()},vxe=dW(),JQ=$w().Buffer,K0t=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function X0t(t){return JQ.from(t)}o(X0t,"_uint8ArrayToBuffer");function Z0t(t){return JQ.isBuffer(t)||t instanceof K0t}o(Z0t,"_isUint8Array");var Nxe=gW();xxe.inherits(In,vxe);function eIt(){}o(eIt,"nop");function Jw(t,e){cE=cE||aA(),t=t||{};var r=e instanceof cE;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=t.writableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(c){aIt(e,c)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Bxe(this)}o(Jw,"WritableState");Jw.prototype.getBuffer=o(function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r},"getBuffer");(function(){try{Object.defineProperty(Jw.prototype,"buffer",{get:Y0t.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var WQ;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(WQ=Function.prototype[Symbol.hasInstance],Object.defineProperty(In,Symbol.hasInstance,{value:o(function(t){return WQ.call(this,t)?!0:this!==In?!1:t&&t._writableState instanceof Jw},"value")})):WQ=o(function(t){return t instanceof this},"realHasInstance");function In(t){if(cE=cE||aA(),!WQ.call(In,this)&&!(this instanceof cE))return new In(t);this._writableState=new Jw(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),vxe.call(this)}o(In,"Writable");In.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function tIt(t,e){var r=new Error("write after end");t.emit("error",r),oA.nextTick(e,r)}o(tIt,"writeAfterEnd");function rIt(t,e,r,n){var i=!0,s=!1;return r===null?s=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!e.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),oA.nextTick(n,s),i=!1),i}o(rIt,"validChunk");In.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&Z0t(t);return s&&!JQ.isBuffer(t)&&(t=X0t(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=eIt),n.ended?tIt(this,r):(s||rIt(this,n,t,r))&&(n.pendingcb++,i=iIt(this,n,s,t,e,r)),i};In.prototype.cork=function(){var t=this._writableState;t.corked++};In.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&_xe(this,t))};In.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function nIt(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=JQ.from(e,r)),e}o(nIt,"decodeChunk");Object.defineProperty(In.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function iIt(t,e,r,n,i,s){if(!r){var a=nIt(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var c=e.objectMode?1:n.length;e.length+=c;var l=e.length{"use strict";var Dxe=zw(),hIt=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Pxe.exports=ld;var Qxe=Object.create(oE());Qxe.inherits=aE();var kxe=IW(),bW=EW();Qxe.inherits(ld,kxe);for(CW=hIt(bW.prototype),YQ=0;YQ{"use strict";var SW=$w().Buffer,Oxe=SW.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function mIt(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}o(mIt,"_normalizeEncoding");function gIt(t){var e=mIt(t);if(typeof e!="string"&&(SW.isEncoding===Oxe||!Oxe(t)))throw new Error("Unknown encoding: "+t);return e||t}o(gIt,"normalizeEncoding");Lxe.StringDecoder=Yw;function Yw(t){this.encoding=gIt(t);var e;switch(this.encoding){case"utf16le":this.text=wIt,this.end=SIt,e=4;break;case"utf8":this.fillLast=CIt,e=4;break;case"base64":this.text=BIt,this.end=xIt,e=3;break;default:this.write=vIt,this.end=NIt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=SW.allocUnsafe(e)}o(Yw,"StringDecoder");Yw.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}o(wW,"utf8CheckByte");function yIt(t,e,r){var n=e.length-1;if(n=0?(i>0&&(t.lastNeed=i-1),i):--n=0?(i>0&&(t.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}o(yIt,"utf8CheckIncomplete");function EIt(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}o(EIt,"utf8CheckExtraBytes");function CIt(t){var e=this.lastTotal-this.lastNeed,r=EIt(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}o(CIt,"utf8FillLast");function bIt(t,e){var r=yIt(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}o(bIt,"utf8Text");function IIt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}o(IIt,"utf8End");function wIt(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}o(wIt,"utf16Text");function SIt(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}o(SIt,"utf16End");function BIt(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}o(BIt,"base64Text");function xIt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}o(xIt,"base64End");function vIt(t){return t.toString(this.encoding)}o(vIt,"simpleWrite");function NIt(t){return t&&t.length?this.write(t):""}o(NIt,"simpleEnd")});var IW=A((xNr,Jxe)=>{"use strict";var uE=zw();Jxe.exports=lr;var _It=pxe(),Kw;lr.ReadableState=Vxe;var BNr=require("events").EventEmitter,qxe=o(function(t,e){return t.listeners(e).length},"EElistenerCount"),TW=dW(),Xw=$w().Buffer,TIt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function RIt(t){return Xw.from(t)}o(RIt,"_uint8ArrayToBuffer");function DIt(t){return Xw.isBuffer(t)||t instanceof TIt}o(DIt,"_isUint8Array");var Gxe=Object.create(oE());Gxe.inherits=aE();var xW=require("util"),Mt=void 0;xW&&xW.debuglog?Mt=xW.debuglog("stream"):Mt=o(function(){},"debug");var QIt=Cxe(),Hxe=gW(),lE;Gxe.inherits(lr,TW);var vW=["error","close","destroy","pause","resume"];function kIt(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):_It(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(kIt,"prependListener");function Vxe(t,e){Kw=Kw||aA(),t=t||{};var r=e instanceof Kw;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=t.readableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new QIt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(lE||(lE=BW().StringDecoder),this.decoder=new lE(t.encoding),this.encoding=t.encoding)}o(Vxe,"ReadableState");function lr(t){if(Kw=Kw||aA(),!(this instanceof lr))return new lr(t);this._readableState=new Vxe(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),TW.call(this)}o(lr,"Readable");Object.defineProperty(lr.prototype,"destroyed",{get:o(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:o(function(t){this._readableState&&(this._readableState.destroyed=t)},"set")});lr.prototype.destroy=Hxe.destroy;lr.prototype._undestroy=Hxe.undestroy;lr.prototype._destroy=function(t,e){this.push(null),e(t)};lr.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=Xw.from(t,e),e=""),n=!0),zxe(this,t,e,!1,n)};lr.prototype.unshift=function(t){return zxe(this,t,null,!0,!1)};function zxe(t,e,r,n,i){var s=t._readableState;if(e===null)s.reading=!1,FIt(t,s);else{var a;i||(a=PIt(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==Xw.prototype&&(e=RIt(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):NW(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||e.length!==0?NW(t,s,e,!1):$xe(t,s)):NW(t,s,e,!1))):n||(s.reading=!1)}return OIt(s)}o(zxe,"readableAddChunk");function NW(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&XQ(t)),$xe(t,e)}o(NW,"addChunk");function PIt(t,e){var r;return!DIt(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}o(PIt,"chunkInvalid");function OIt(t){return!t.ended&&(t.needReadable||t.length=Fxe?t=Fxe:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}o(LIt,"computeNewHighWaterMark");function Mxe(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=LIt(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}o(Mxe,"howMuchToRead");lr.prototype.read=function(t){Mt("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return Mt("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?_W(this):XQ(this),null;if(t=Mxe(t,e),t===0&&e.ended)return e.length===0&&_W(this),null;var n=e.needReadable;Mt("need readable",n),(e.length===0||e.length-t0?i=jxe(t,e):i=null,i===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&_W(this)),i!==null&&this.emit("data",i),i};function FIt(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,XQ(t)}}o(FIt,"onEofChunk");function XQ(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Mt("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?uE.nextTick(Uxe,t):Uxe(t))}o(XQ,"emitReadable");function Uxe(t){Mt("emit readable"),t.emit("readable"),RW(t)}o(Uxe,"emitReadable_");function $xe(t,e){e.readingMore||(e.readingMore=!0,uE.nextTick(MIt,t,e))}o($xe,"maybeReadMore");function MIt(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&Wxe(n.pipes,t)!==-1)&&!u&&(Mt("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),r.pause())}o(h,"ondata");function p(y){Mt("onerror",y),E(),t.removeListener("error",p),qxe(t,"error")===0&&t.emit("error",y)}o(p,"onerror"),kIt(t,"error",p);function g(){t.removeListener("finish",m),E()}o(g,"onclose"),t.once("close",g);function m(){Mt("onfinish"),t.removeListener("close",g),E()}o(m,"onfinish"),t.once("finish",m);function E(){Mt("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),n.flowing||(Mt("pipe resume"),r.resume()),t};function UIt(t){return function(){var e=t._readableState;Mt("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&qxe(t,"data")&&(e.flowing=!0,RW(t))}}o(UIt,"pipeOnDrain");lr.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.head.data:r=e.buffer.concat(e.length),e.buffer.clear()):r=VIt(t,e.buffer,e.decoder),r}o(jxe,"fromList");function VIt(t,e,r){var n;return ts.length?s.length:t;if(a===s.length?i+=s:i+=s.slice(0,t),t-=a,t===0){a===s.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(a));break}++n}return e.length-=n,i}o(zIt,"copyFromBufferString");function $It(t,e){var r=Xw.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var s=n.data,a=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,a),t-=a,t===0){a===s.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(a));break}++i}return e.length-=i,r}o($It,"copyFromBuffer");function _W(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,uE.nextTick(jIt,e,t))}o(_W,"endReadable");function jIt(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}o(jIt,"endReadableNT");function Wxe(t,e){for(var r=0,n=t.length;r{"use strict";Xxe.exports=ud;var ZQ=aA(),Kxe=Object.create(oE());Kxe.inherits=aE();Kxe.inherits(ud,ZQ);function WIt(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";tve.exports=Zw;var Zxe=DW(),eve=Object.create(oE());eve.inherits=aE();eve.inherits(Zw,Zxe);function Zw(t){if(!(this instanceof Zw))return new Zw(t);Zxe.call(this,t)}o(Zw,"PassThrough");Zw.prototype._transform=function(t,e,r){r(null,t)}});var nve=A((yi,e1)=>{var Ml=require("stream");process.env.READABLE_STREAM==="disable"&&Ml?(e1.exports=Ml,yi=e1.exports=Ml.Readable,yi.Readable=Ml.Readable,yi.Writable=Ml.Writable,yi.Duplex=Ml.Duplex,yi.Transform=Ml.Transform,yi.PassThrough=Ml.PassThrough,yi.Stream=Ml):(yi=e1.exports=IW(),yi.Stream=Ml||yi,yi.Readable=yi,yi.Writable=EW(),yi.Duplex=aA(),yi.Transform=DW(),yi.PassThrough=rve())});var sve=A((DNr,ive)=>{ive.exports=nve().PassThrough});var lve=A((QNr,cve)=>{var ove=require("util"),n1=sve();cve.exports={Readable:t1,Writable:r1};ove.inherits(t1,n1);ove.inherits(r1,n1);function ave(t,e,r){t[e]=function(){return delete t[e],r.apply(this,arguments),this[e].apply(this,arguments)}}o(ave,"beforeFirstCall");function t1(t,e){if(!(this instanceof t1))return new t1(t,e);n1.call(this,e),ave(this,"_read",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),r.pipe(this)}),this.emit("readable")}o(t1,"Readable");function r1(t,e){if(!(this instanceof r1))return new r1(t,e);n1.call(this,e),ave(this,"_write",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),this.pipe(r)}),this.emit("writable")}o(r1,"Writable")});var QW=A((PNr,uve)=>{uve.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var kW=A((ONr,dve)=>{function YIt(t){return t}o(YIt,"identity");dve.exports=YIt});var hve=A((FNr,fve)=>{function KIt(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}o(KIt,"apply");fve.exports=KIt});var mve=A((UNr,Ave)=>{var XIt=hve(),pve=Math.max;function ZIt(t,e,r){return e=pve(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=pve(n.length-e,0),a=Array(s);++i{function ewt(t){return function(){return t}}o(ewt,"constant");gve.exports=ewt});var PW=A((VNr,Eve)=>{var twt=typeof global=="object"&&global&&global.Object===Object&&global;Eve.exports=twt});var dE=A((zNr,Cve)=>{var rwt=PW(),nwt=typeof self=="object"&&self&&self.Object===Object&&self,iwt=rwt||nwt||Function("return this")();Cve.exports=iwt});var i1=A(($Nr,bve)=>{var swt=dE(),owt=swt.Symbol;bve.exports=owt});var Bve=A((jNr,Sve)=>{var Ive=i1(),wve=Object.prototype,awt=wve.hasOwnProperty,cwt=wve.toString,eS=Ive?Ive.toStringTag:void 0;function lwt(t){var e=awt.call(t,eS),r=t[eS];try{t[eS]=void 0;var n=!0}catch{}var i=cwt.call(t);return n&&(e?t[eS]=r:delete t[eS]),i}o(lwt,"getRawTag");Sve.exports=lwt});var vve=A((JNr,xve)=>{var uwt=Object.prototype,dwt=uwt.toString;function fwt(t){return dwt.call(t)}o(fwt,"objectToString");xve.exports=fwt});var tS=A((KNr,Tve)=>{var Nve=i1(),hwt=Bve(),pwt=vve(),Awt="[object Null]",mwt="[object Undefined]",_ve=Nve?Nve.toStringTag:void 0;function gwt(t){return t==null?t===void 0?mwt:Awt:_ve&&_ve in Object(t)?hwt(t):pwt(t)}o(gwt,"baseGetTag");Tve.exports=gwt});var rS=A((ZNr,Rve)=>{function ywt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}o(ywt,"isObject");Rve.exports=ywt});var OW=A((t_r,Dve)=>{var Ewt=tS(),Cwt=rS(),bwt="[object AsyncFunction]",Iwt="[object Function]",wwt="[object GeneratorFunction]",Swt="[object Proxy]";function Bwt(t){if(!Cwt(t))return!1;var e=Ewt(t);return e==Iwt||e==wwt||e==bwt||e==Swt}o(Bwt,"isFunction");Dve.exports=Bwt});var kve=A((n_r,Qve)=>{var xwt=dE(),vwt=xwt["__core-js_shared__"];Qve.exports=vwt});var Lve=A((i_r,Ove)=>{var LW=kve(),Pve=(function(){var t=/[^.]+$/.exec(LW&&LW.keys&&LW.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function Nwt(t){return!!Pve&&Pve in t}o(Nwt,"isMasked");Ove.exports=Nwt});var Mve=A((o_r,Fve)=>{var _wt=Function.prototype,Twt=_wt.toString;function Rwt(t){if(t!=null){try{return Twt.call(t)}catch{}try{return t+""}catch{}}return""}o(Rwt,"toSource");Fve.exports=Rwt});var qve=A((c_r,Uve)=>{var Dwt=OW(),Qwt=Lve(),kwt=rS(),Pwt=Mve(),Owt=/[\\^$.*+?()[\]{}|]/g,Lwt=/^\[object .+?Constructor\]$/,Fwt=Function.prototype,Mwt=Object.prototype,Uwt=Fwt.toString,qwt=Mwt.hasOwnProperty,Gwt=RegExp("^"+Uwt.call(qwt).replace(Owt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Hwt(t){if(!kwt(t)||Qwt(t))return!1;var e=Dwt(t)?Gwt:Lwt;return e.test(Pwt(t))}o(Hwt,"baseIsNative");Uve.exports=Hwt});var Hve=A((u_r,Gve)=>{function Vwt(t,e){return t?.[e]}o(Vwt,"getValue");Gve.exports=Vwt});var nS=A((f_r,Vve)=>{var zwt=qve(),$wt=Hve();function jwt(t,e){var r=$wt(t,e);return zwt(r)?r:void 0}o(jwt,"getNative");Vve.exports=jwt});var $ve=A((p_r,zve)=>{var Wwt=nS(),Jwt=(function(){try{var t=Wwt(Object,"defineProperty");return t({},"",{}),t}catch{}})();zve.exports=Jwt});var Jve=A((A_r,Wve)=>{var Ywt=yve(),jve=$ve(),Kwt=kW(),Xwt=jve?function(t,e){return jve(t,"toString",{configurable:!0,enumerable:!1,value:Ywt(e),writable:!0})}:Kwt;Wve.exports=Xwt});var Kve=A((m_r,Yve)=>{var Zwt=800,eSt=16,tSt=Date.now;function rSt(t){var e=0,r=0;return function(){var n=tSt(),i=eSt-(n-r);if(r=n,i>0){if(++e>=Zwt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}o(rSt,"shortOut");Yve.exports=rSt});var Zve=A((y_r,Xve)=>{var nSt=Jve(),iSt=Kve(),sSt=iSt(nSt);Xve.exports=sSt});var s1=A((E_r,eNe)=>{var oSt=kW(),aSt=mve(),cSt=Zve();function lSt(t,e){return cSt(aSt(t,e,oSt),t+"")}o(lSt,"baseRest");eNe.exports=lSt});var o1=A((b_r,tNe)=>{function uSt(t,e){return t===e||t!==t&&e!==e}o(uSt,"eq");tNe.exports=uSt});var FW=A((w_r,rNe)=>{var dSt=9007199254740991;function fSt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=dSt}o(fSt,"isLength");rNe.exports=fSt});var a1=A((B_r,nNe)=>{var hSt=OW(),pSt=FW();function ASt(t){return t!=null&&pSt(t.length)&&!hSt(t)}o(ASt,"isArrayLike");nNe.exports=ASt});var MW=A((v_r,iNe)=>{var mSt=9007199254740991,gSt=/^(?:0|[1-9]\d*)$/;function ySt(t,e){var r=typeof t;return e=e??mSt,!!e&&(r=="number"||r!="symbol"&&gSt.test(t))&&t>-1&&t%1==0&&t{var ESt=o1(),CSt=a1(),bSt=MW(),ISt=rS();function wSt(t,e,r){if(!ISt(r))return!1;var n=typeof e;return(n=="number"?CSt(r)&&bSt(e,r.length):n=="string"&&e in r)?ESt(r[e],t):!1}o(wSt,"isIterateeCall");sNe.exports=wSt});var cNe=A((R_r,aNe)=>{function SSt(t,e){for(var r=-1,n=Array(t);++r{function BSt(t){return t!=null&&typeof t=="object"}o(BSt,"isObjectLike");lNe.exports=BSt});var dNe=A((P_r,uNe)=>{var xSt=tS(),vSt=fE(),NSt="[object Arguments]";function _St(t){return vSt(t)&&xSt(t)==NSt}o(_St,"baseIsArguments");uNe.exports=_St});var UW=A((L_r,pNe)=>{var fNe=dNe(),TSt=fE(),hNe=Object.prototype,RSt=hNe.hasOwnProperty,DSt=hNe.propertyIsEnumerable,QSt=fNe((function(){return arguments})())?fNe:function(t){return TSt(t)&&RSt.call(t,"callee")&&!DSt.call(t,"callee")};pNe.exports=QSt});var qW=A((F_r,ANe)=>{var kSt=Array.isArray;ANe.exports=kSt});var gNe=A((M_r,mNe)=>{function PSt(){return!1}o(PSt,"stubFalse");mNe.exports=PSt});var bNe=A((iS,hE)=>{var OSt=dE(),LSt=gNe(),CNe=typeof iS=="object"&&iS&&!iS.nodeType&&iS,yNe=CNe&&typeof hE=="object"&&hE&&!hE.nodeType&&hE,FSt=yNe&&yNe.exports===CNe,ENe=FSt?OSt.Buffer:void 0,MSt=ENe?ENe.isBuffer:void 0,USt=MSt||LSt;hE.exports=USt});var wNe=A((q_r,INe)=>{var qSt=tS(),GSt=FW(),HSt=fE(),VSt="[object Arguments]",zSt="[object Array]",$St="[object Boolean]",jSt="[object Date]",WSt="[object Error]",JSt="[object Function]",YSt="[object Map]",KSt="[object Number]",XSt="[object Object]",ZSt="[object RegExp]",eBt="[object Set]",tBt="[object String]",rBt="[object WeakMap]",nBt="[object ArrayBuffer]",iBt="[object DataView]",sBt="[object Float32Array]",oBt="[object Float64Array]",aBt="[object Int8Array]",cBt="[object Int16Array]",lBt="[object Int32Array]",uBt="[object Uint8Array]",dBt="[object Uint8ClampedArray]",fBt="[object Uint16Array]",hBt="[object Uint32Array]",ur={};ur[sBt]=ur[oBt]=ur[aBt]=ur[cBt]=ur[lBt]=ur[uBt]=ur[dBt]=ur[fBt]=ur[hBt]=!0;ur[VSt]=ur[zSt]=ur[nBt]=ur[$St]=ur[iBt]=ur[jSt]=ur[WSt]=ur[JSt]=ur[YSt]=ur[KSt]=ur[XSt]=ur[ZSt]=ur[eBt]=ur[tBt]=ur[rBt]=!1;function pBt(t){return HSt(t)&&GSt(t.length)&&!!ur[qSt(t)]}o(pBt,"baseIsTypedArray");INe.exports=pBt});var GW=A((H_r,SNe)=>{function ABt(t){return function(e){return t(e)}}o(ABt,"baseUnary");SNe.exports=ABt});var xNe=A((sS,pE)=>{var mBt=PW(),BNe=typeof sS=="object"&&sS&&!sS.nodeType&&sS,oS=BNe&&typeof pE=="object"&&pE&&!pE.nodeType&&pE,gBt=oS&&oS.exports===BNe,HW=gBt&&mBt.process,yBt=(function(){try{var t=oS&&oS.require&&oS.require("util").types;return t||HW&&HW.binding&&HW.binding("util")}catch{}})();pE.exports=yBt});var TNe=A((z_r,_Ne)=>{var EBt=wNe(),CBt=GW(),vNe=xNe(),NNe=vNe&&vNe.isTypedArray,bBt=NNe?CBt(NNe):EBt;_Ne.exports=bBt});var DNe=A(($_r,RNe)=>{var IBt=cNe(),wBt=UW(),SBt=qW(),BBt=bNe(),xBt=MW(),vBt=TNe(),NBt=Object.prototype,_Bt=NBt.hasOwnProperty;function TBt(t,e){var r=SBt(t),n=!r&&wBt(t),i=!r&&!n&&BBt(t),s=!r&&!n&&!i&&vBt(t),a=r||n||i||s,c=a?IBt(t.length,String):[],l=c.length;for(var u in t)(e||_Bt.call(t,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||xBt(u,l)))&&c.push(u);return c}o(TBt,"arrayLikeKeys");RNe.exports=TBt});var kNe=A((W_r,QNe)=>{var RBt=Object.prototype;function DBt(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||RBt;return t===r}o(DBt,"isPrototype");QNe.exports=DBt});var ONe=A((Y_r,PNe)=>{function QBt(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}o(QBt,"nativeKeysIn");PNe.exports=QBt});var FNe=A((X_r,LNe)=>{var kBt=rS(),PBt=kNe(),OBt=ONe(),LBt=Object.prototype,FBt=LBt.hasOwnProperty;function MBt(t){if(!kBt(t))return OBt(t);var e=PBt(t),r=[];for(var n in t)n=="constructor"&&(e||!FBt.call(t,n))||r.push(n);return r}o(MBt,"baseKeysIn");LNe.exports=MBt});var UNe=A((eTr,MNe)=>{var UBt=DNe(),qBt=FNe(),GBt=a1();function HBt(t){return GBt(t)?UBt(t,!0):qBt(t)}o(HBt,"keysIn");MNe.exports=HBt});var HNe=A((rTr,GNe)=>{var VBt=s1(),zBt=o1(),$Bt=oNe(),jBt=UNe(),qNe=Object.prototype,WBt=qNe.hasOwnProperty,JBt=VBt(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&$Bt(e[0],e[1],i)&&(n=1);++r{"use strict";VNe.exports={ArrayIsArray(t){return Array.isArray(t)},ArrayPrototypeIncludes(t,e){return t.includes(e)},ArrayPrototypeIndexOf(t,e){return t.indexOf(e)},ArrayPrototypeJoin(t,e){return t.join(e)},ArrayPrototypeMap(t,e){return t.map(e)},ArrayPrototypePop(t,e){return t.pop(e)},ArrayPrototypePush(t,e){return t.push(e)},ArrayPrototypeSlice(t,e,r){return t.slice(e,r)},Error,FunctionPrototypeCall(t,e,...r){return t.call(e,...r)},FunctionPrototypeSymbolHasInstance(t,e){return Function.prototype[Symbol.hasInstance].call(t,e)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(t,e){return Object.defineProperties(t,e)},ObjectDefineProperty(t,e,r){return Object.defineProperty(t,e,r)},ObjectGetOwnPropertyDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)},ObjectKeys(t){return Object.keys(t)},ObjectSetPrototypeOf(t,e){return Object.setPrototypeOf(t,e)},Promise,PromisePrototypeCatch(t,e){return t.catch(e)},PromisePrototypeThen(t,e,r){return t.then(e,r)},PromiseReject(t){return Promise.reject(t)},PromiseResolve(t){return Promise.resolve(t)},ReflectApply:Reflect.apply,RegExpPrototypeTest(t,e){return t.test(e)},SafeSet:Set,String,StringPrototypeSlice(t,e,r){return t.slice(e,r)},StringPrototypeToLowerCase(t){return t.toLowerCase()},StringPrototypeToUpperCase(t){return t.toUpperCase()},StringPrototypeTrim(t){return t.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(t,e,r){return t.set(e,r)},Boolean,Uint8Array}});var e_e=A((lS,cS)=>{"use strict";Object.defineProperty(lS,"__esModule",{value:!0});var YNe=new WeakMap,VW=new WeakMap;function dr(t){let e=YNe.get(t);return console.assert(e!=null,"'this' is expected an Event object, but got",t),e}o(dr,"pd");function zNe(t){if(t.passiveListener!=null){typeof console<"u"&&typeof console.error=="function"&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}t.event.cancelable&&(t.canceled=!0,typeof t.event.preventDefault=="function"&&t.event.preventDefault())}o(zNe,"setCancelFlag");function AE(t,e){YNe.set(this,{eventTarget:t,event:e,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:e.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let r=Object.keys(e);for(let n=0;n0){let t=new Array(arguments.length);for(let e=0;e{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});var $W=e_e(),Ff=class extends $W.EventTarget{static{o(this,"AbortSignal")}constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let e=u1.get(this);if(typeof e!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return e}};$W.defineEventAttribute(Ff.prototype,"abort");function nxt(){let t=Object.create(Ff.prototype);return $W.EventTarget.call(t),u1.set(t,!1),t}o(nxt,"createAbortSignal");function ixt(t){u1.get(t)===!1&&(u1.set(t,!0),t.dispatchEvent({type:"abort"}))}o(ixt,"abortSignal");var u1=new WeakMap;Object.defineProperties(Ff.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ff.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});var Mf=class{static{o(this,"AbortController")}constructor(){r_e.set(this,nxt())}get signal(){return t_e(this)}abort(){ixt(t_e(this))}},r_e=new WeakMap;function t_e(t){let e=r_e.get(t);if(e==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${t===null?"null":typeof t}`);return e}o(t_e,"getSignal");Object.defineProperties(Mf.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Mf.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});dS.AbortController=Mf;dS.AbortSignal=Ff;dS.default=Mf;uS.exports=Mf;uS.exports.AbortController=uS.exports.default=Mf;uS.exports.AbortSignal=Ff});var Ri=A((oTr,WW)=>{"use strict";var sxt=require("buffer"),{kResistStopPropagation:oxt,SymbolDispose:axt}=Tr(),cxt=globalThis.AbortSignal||mE().AbortSignal,lxt=globalThis.AbortController||mE().AbortController,uxt=Object.getPrototypeOf(async function(){}).constructor,n_e=globalThis.Blob||sxt.Blob,dxt=o(typeof n_e<"u"?function(e){return e instanceof n_e}:function(e){return!1},"isBlob"),i_e=o((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new ERR_INVALID_ARG_TYPE(e,"AbortSignal",t)},"validateAbortSignal"),fxt=o((t,e)=>{if(typeof t!="function")throw new ERR_INVALID_ARG_TYPE(e,"Function",t)},"validateFunction"),jW=class extends Error{static{o(this,"AggregateError")}constructor(e){if(!Array.isArray(e))throw new TypeError(`Expected input to be an Array, got ${typeof e}`);let r="";for(let n=0;n{t=n,e=i}),resolve:t,reject:e}},"createDeferredPromise"),promisify(t){return new Promise((e,r)=>{t((n,...i)=>n?r(n):e(...i))})},debuglog(){return function(){}},format(t,...e){return t.replace(/%([sdifj])/g,function(...[r,n]){let i=e.shift();return n==="f"?i.toFixed(6):n==="j"?JSON.stringify(i):n==="s"&&typeof i=="object"?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})},inspect(t){switch(typeof t){case"string":if(t.includes("'"))if(t.includes('"')){if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}else return`"${t}"`;return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return`${String(t)}n`;case"boolean":case"undefined":return String(t);case"object":return"{}"}},types:{isAsyncFunction(t){return t instanceof uxt},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:dxt,deprecate(t,e){return t},addAbortListener:require("events").addAbortListener||o(function(e,r){if(e===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);i_e(e,"signal"),fxt(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[oxt]:!0}),n=o(()=>{e.removeEventListener("abort",r)},"removeEventListener")),{__proto__:null,[axt](){var i;(i=n)===null||i===void 0||i()}}},"addAbortListener"),AbortSignalAny:cxt.any||o(function(e){if(e.length===1)return e[0];let r=new lxt,n=o(()=>r.abort(),"abort");return e.forEach(i=>{i_e(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{e.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal},"AbortSignalAny")};WW.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var os=A((cTr,a_e)=>{"use strict";var{format:hxt,inspect:d1,AggregateError:pxt}=Ri(),Axt=globalThis.AggregateError||pxt,mxt=Symbol("kIsNodeError"),gxt=["string","function","number","object","Function","Object","boolean","bigint","symbol"],yxt=/^([A-Z][a-z0-9]*)+$/,Ext="__node_internal_",f1={};function cA(t,e){if(!t)throw new f1.ERR_INTERNAL_ASSERTION(e)}o(cA,"assert");function s_e(t){let e="",r=t.length,n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}o(s_e,"addNumericalSeparator");function Cxt(t,e,r){if(typeof e=="function")return cA(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);let n=(e.match(/%[dfijoOs]/g)||[]).length;return cA(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:hxt(e,...r)}o(Cxt,"getMessage");function Ei(t,e,r){r||(r=Error);class n extends r{static{o(this,"NodeError")}constructor(...s){super(Cxt(t,e,s))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[mxt]=!0,f1[t]=n}o(Ei,"E");function o_e(t){let e=Ext+t.name;return Object.defineProperty(t,"name",{value:e}),t}o(o_e,"hideStackFrames");function bxt(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new Axt([e,t],e.message);return r.code=e.code,r}return t||e}o(bxt,"aggregateTwoErrors");var JW=class extends Error{static{o(this,"AbortError")}constructor(e="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new f1.ERR_INVALID_ARG_TYPE("options","Object",r);super(e,r),this.code="ABORT_ERR",this.name="AbortError"}};Ei("ERR_ASSERTION","%s",Error);Ei("ERR_INVALID_ARG_TYPE",(t,e,r)=>{cA(typeof t=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=`${t} `:n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";let i=[],s=[],a=[];for(let l of e)cA(typeof l=="string","All expected entries have to be of type string"),gxt.includes(l)?i.push(l.toLowerCase()):yxt.test(l)?s.push(l):(cA(l!=="object",'The value "object" should be written as "Object"'),a.push(l));if(s.length>0){let l=i.indexOf("object");l!==-1&&(i.splice(i,l,1),s.push("Object"))}if(i.length>0){switch(i.length){case 1:n+=`of type ${i[0]}`;break;case 2:n+=`one of type ${i[0]} or ${i[1]}`;break;default:{let l=i.pop();n+=`one of type ${i.join(", ")}, or ${l}`}}(s.length>0||a.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{let l=s.pop();n+=`an instance of ${s.join(", ")}, or ${l}`}}a.length>0&&(n+=" or ")}switch(a.length){case 0:break;case 1:a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`;break;case 2:n+=`one of ${a[0]} or ${a[1]}`;break;default:{let l=a.pop();n+=`one of ${a.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var c;if((c=r.constructor)!==null&&c!==void 0&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{let l=d1(r,{depth:-1});n+=`. Received ${l}`}}else{let l=d1(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);Ei("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=d1(e);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError);Ei("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;let i=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${t} to be returned from the "${e}" function but got ${i}.`},TypeError);Ei("ERR_MISSING_ARGS",(...t)=>{cA(t.length>0,"At least one arg needs to be specified");let e,r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(n=>`"${n}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{let n=t.pop();e+=`The ${t.join(", ")}, and ${n} arguments`}break}return`${e} must be specified`},TypeError);Ei("ERR_OUT_OF_RANGE",(t,e,r)=>{cA(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=s_e(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=s_e(n)),n+="n"):n=d1(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);Ei("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Ei("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Ei("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Ei("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Ei("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Ei("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Ei("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Ei("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Ei("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Ei("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Ei("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);a_e.exports={AbortError:JW,aggregateTwoErrors:o_e(bxt),hideStackFrames:o_e,codes:f1}});var yE=A((uTr,g_e)=>{"use strict";var{ArrayIsArray:KW,ArrayPrototypeIncludes:d_e,ArrayPrototypeJoin:f_e,ArrayPrototypeMap:Ixt,NumberIsInteger:XW,NumberIsNaN:wxt,NumberMAX_SAFE_INTEGER:Sxt,NumberMIN_SAFE_INTEGER:Bxt,NumberParseInt:xxt,ObjectPrototypeHasOwnProperty:vxt,RegExpPrototypeExec:h_e,String:Nxt,StringPrototypeToUpperCase:_xt,StringPrototypeTrim:Txt}=Tr(),{hideStackFrames:Ca,codes:{ERR_SOCKET_BAD_PORT:Rxt,ERR_INVALID_ARG_TYPE:Di,ERR_INVALID_ARG_VALUE:gE,ERR_OUT_OF_RANGE:lA,ERR_UNKNOWN_SIGNAL:c_e}}=os(),{normalizeEncoding:Dxt}=Ri(),{isAsyncFunction:Qxt,isArrayBufferView:kxt}=Ri().types,l_e={};function Pxt(t){return t===(t|0)}o(Pxt,"isInt32");function Oxt(t){return t===t>>>0}o(Oxt,"isUint32");var Lxt=/^[0-7]+$/,Fxt="must be a 32-bit unsigned integer or an octal string";function Mxt(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(h_e(Lxt,t)===null)throw new gE(e,t,Fxt);t=xxt(t,8)}return p_e(t,e),t}o(Mxt,"parseFileMode");var Uxt=Ca((t,e,r=Bxt,n=Sxt)=>{if(typeof t!="number")throw new Di(e,"number",t);if(!XW(t))throw new lA(e,"an integer",t);if(tn)throw new lA(e,`>= ${r} && <= ${n}`,t)}),qxt=Ca((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Di(e,"number",t);if(!XW(t))throw new lA(e,"an integer",t);if(tn)throw new lA(e,`>= ${r} && <= ${n}`,t)}),p_e=Ca((t,e,r=!1)=>{if(typeof t!="number")throw new Di(e,"number",t);if(!XW(t))throw new lA(e,"an integer",t);let n=r?1:0,i=4294967295;if(ti)throw new lA(e,`>= ${n} && <= ${i}`,t)});function ZW(t,e){if(typeof t!="string")throw new Di(e,"string",t)}o(ZW,"validateString");function Gxt(t,e,r=void 0,n){if(typeof t!="number")throw new Di(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&wxt(t))throw new lA(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}o(Gxt,"validateNumber");var Hxt=Ca((t,e,r)=>{if(!d_e(r,t)){let i="must be one of: "+f_e(Ixt(r,s=>typeof s=="string"?`'${s}'`:Nxt(s)),", ");throw new gE(e,t,i)}});function A_e(t,e){if(typeof t!="boolean")throw new Di(e,"boolean",t)}o(A_e,"validateBoolean");function YW(t,e,r){return t==null||!vxt(t,e)?r:t[e]}o(YW,"getOwnPropertyValueOrDefault");var Vxt=Ca((t,e,r=null)=>{let n=YW(r,"allowArray",!1),i=YW(r,"allowFunction",!1);if(!YW(r,"nullable",!1)&&t===null||!n&&KW(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new Di(e,"Object",t)}),zxt=Ca((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Di(e,"a dictionary",t)}),h1=Ca((t,e,r=0)=>{if(!KW(t))throw new Di(e,"Array",t);if(t.length{if(!kxt(t))throw new Di(e,["Buffer","TypedArray","DataView"],t)});function Kxt(t,e){let r=Dxt(e),n=t.length;if(r==="hex"&&n%2!==0)throw new gE("encoding",e,`is invalid for data of length ${n}`)}o(Kxt,"validateEncoding");function Xxt(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&Txt(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new Rxt(e,t,r);return t|0}o(Xxt,"validatePort");var m_e=Ca((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Di(e,"AbortSignal",t)}),Zxt=Ca((t,e)=>{if(typeof t!="function")throw new Di(e,"Function",t)}),evt=Ca((t,e)=>{if(typeof t!="function"||Qxt(t))throw new Di(e,"Function",t)}),tvt=Ca((t,e)=>{if(t!==void 0)throw new Di(e,"undefined",t)});function rvt(t,e,r){if(!d_e(r,t))throw new Di(e,`('${f_e(r,"|")}')`,t)}o(rvt,"validateUnion");var nvt=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function u_e(t,e){if(typeof t>"u"||!h_e(nvt,t))throw new gE(e,t,'must be an array or string of format "; rel=preload; as=style"')}o(u_e,"validateLinkHeaderFormat");function ivt(t){if(typeof t=="string")return u_e(t,"hints"),t;if(KW(t)){let e=t.length,r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}o(ivt,"validateLinkHeaderValue");g_e.exports={isInt32:Pxt,isUint32:Oxt,parseFileMode:Mxt,validateArray:h1,validateStringArray:$xt,validateBooleanArray:jxt,validateAbortSignalArray:Wxt,validateBoolean:A_e,validateBuffer:Yxt,validateDictionary:zxt,validateEncoding:Kxt,validateFunction:Zxt,validateInt32:qxt,validateInteger:Uxt,validateNumber:Gxt,validateObject:Vxt,validateOneOf:Hxt,validatePlainFunction:evt,validatePort:Xxt,validateSignalName:Jxt,validateString:ZW,validateUint32:p_e,validateUndefined:tvt,validateUnion:rvt,validateAbortSignal:m_e,validateLinkHeaderValue:ivt}});var Uf=A((fTr,y_e)=>{y_e.exports=global.process});var ql=A((hTr,Q_e)=>{"use strict";var{SymbolAsyncIterator:E_e,SymbolIterator:C_e,SymbolFor:uA}=Tr(),b_e=uA("nodejs.stream.destroyed"),I_e=uA("nodejs.stream.errored"),eJ=uA("nodejs.stream.readable"),tJ=uA("nodejs.stream.writable"),w_e=uA("nodejs.stream.disturbed"),svt=uA("nodejs.webstream.isClosedPromise"),ovt=uA("nodejs.webstream.controllerErrorFunction");function p1(t,e=!1){var r;return!!(t&&typeof t.pipe=="function"&&typeof t.on=="function"&&(!e||typeof t.pause=="function"&&typeof t.resume=="function")&&(!t._writableState||((r=t._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!t._writableState||t._readableState))}o(p1,"isReadableNodeStream");function A1(t){var e;return!!(t&&typeof t.write=="function"&&typeof t.on=="function"&&(!t._readableState||((e=t._writableState)===null||e===void 0?void 0:e.writable)!==!1))}o(A1,"isWritableNodeStream");function avt(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}o(avt,"isDuplexNodeStream");function Ul(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}o(Ul,"isNodeStream");function S_e(t){return!!(t&&!Ul(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}o(S_e,"isReadableStream");function B_e(t){return!!(t&&!Ul(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}o(B_e,"isWritableStream");function x_e(t){return!!(t&&!Ul(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}o(x_e,"isTransformStream");function cvt(t){return S_e(t)||B_e(t)||x_e(t)}o(cvt,"isWebStream");function lvt(t,e){return t==null?!1:e===!0?typeof t[E_e]=="function":e===!1?typeof t[C_e]=="function":typeof t[E_e]=="function"||typeof t[C_e]=="function"}o(lvt,"isIterable");function m1(t){if(!Ul(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[b_e]||n!=null&&n.destroyed)}o(m1,"isDestroyed");function v_e(t){if(!A1(t))return null;if(t.writableEnded===!0)return!0;let e=t._writableState;return e!=null&&e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}o(v_e,"isWritableEnded");function uvt(t,e){if(!A1(t))return null;if(t.writableFinished===!0)return!0;let r=t._writableState;return r!=null&&r.errored?!1:typeof r?.finished!="boolean"?null:!!(r.finished||e===!1&&r.ended===!0&&r.length===0)}o(uvt,"isWritableFinished");function dvt(t){if(!p1(t))return null;if(t.readableEnded===!0)return!0;let e=t._readableState;return!e||e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}o(dvt,"isReadableEnded");function N_e(t,e){if(!p1(t))return null;let r=t._readableState;return r!=null&&r.errored?!1:typeof r?.endEmitted!="boolean"?null:!!(r.endEmitted||e===!1&&r.ended===!0&&r.length===0)}o(N_e,"isReadableFinished");function __e(t){return t&&t[eJ]!=null?t[eJ]:typeof t?.readable!="boolean"?null:m1(t)?!1:p1(t)&&t.readable&&!N_e(t)}o(__e,"isReadable");function T_e(t){return t&&t[tJ]!=null?t[tJ]:typeof t?.writable!="boolean"?null:m1(t)?!1:A1(t)&&t.writable&&!v_e(t)}o(T_e,"isWritable");function fvt(t,e){return Ul(t)?m1(t)?!0:!(e?.readable!==!1&&__e(t)||e?.writable!==!1&&T_e(t)):null}o(fvt,"isFinished");function hvt(t){var e,r;return Ul(t)?t.writableErrored?t.writableErrored:(e=(r=t._writableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}o(hvt,"isWritableErrored");function pvt(t){var e,r;return Ul(t)?t.readableErrored?t.readableErrored:(e=(r=t._readableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}o(pvt,"isReadableErrored");function Avt(t){if(!Ul(t))return null;if(typeof t.closed=="boolean")return t.closed;let e=t._writableState,r=t._readableState;return typeof e?.closed=="boolean"||typeof r?.closed=="boolean"?e?.closed||r?.closed:typeof t._closed=="boolean"&&R_e(t)?t._closed:null}o(Avt,"isClosed");function R_e(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}o(R_e,"isOutgoingMessage");function D_e(t){return typeof t._sent100=="boolean"&&R_e(t)}o(D_e,"isServerResponse");function mvt(t){var e;return typeof t._consuming=="boolean"&&typeof t._dumped=="boolean"&&((e=t.req)===null||e===void 0?void 0:e.upgradeOrConnect)===void 0}o(mvt,"isServerRequest");function gvt(t){if(!Ul(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!n&&D_e(t)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}o(gvt,"willEmitClose");function yvt(t){var e;return!!(t&&((e=t[w_e])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}o(yvt,"isDisturbed");function Evt(t){var e,r,n,i,s,a,c,l,u,d;return!!(t&&((e=(r=(n=(i=(s=(a=t[I_e])!==null&&a!==void 0?a:t.readableErrored)!==null&&s!==void 0?s:t.writableErrored)!==null&&i!==void 0?i:(c=t._readableState)===null||c===void 0?void 0:c.errorEmitted)!==null&&n!==void 0?n:(l=t._writableState)===null||l===void 0?void 0:l.errorEmitted)!==null&&r!==void 0?r:(u=t._readableState)===null||u===void 0?void 0:u.errored)!==null&&e!==void 0?e:!((d=t._writableState)===null||d===void 0)&&d.errored))}o(Evt,"isErrored");Q_e.exports={isDestroyed:m1,kIsDestroyed:b_e,isDisturbed:yvt,kIsDisturbed:w_e,isErrored:Evt,kIsErrored:I_e,isReadable:__e,kIsReadable:eJ,kIsClosedPromise:svt,kControllerErrorFunction:ovt,kIsWritable:tJ,isClosed:Avt,isDuplexNodeStream:avt,isFinished:fvt,isIterable:lvt,isReadableNodeStream:p1,isReadableStream:S_e,isReadableEnded:dvt,isReadableFinished:N_e,isReadableErrored:pvt,isNodeStream:Ul,isWebStream:cvt,isWritable:T_e,isWritableNodeStream:A1,isWritableStream:B_e,isWritableEnded:v_e,isWritableFinished:uvt,isWritableErrored:hvt,isServerRequest:mvt,isServerResponse:D_e,willEmitClose:gvt,isTransformStream:x_e}});var dd=A((ATr,oJ)=>{var qf=Uf(),{AbortError:G_e,codes:Cvt}=os(),{ERR_INVALID_ARG_TYPE:bvt,ERR_STREAM_PREMATURE_CLOSE:k_e}=Cvt,{kEmptyObject:nJ,once:iJ}=Ri(),{validateAbortSignal:Ivt,validateFunction:wvt,validateObject:Svt,validateBoolean:Bvt}=yE(),{Promise:xvt,PromisePrototypeThen:vvt,SymbolDispose:H_e}=Tr(),{isClosed:Nvt,isReadable:P_e,isReadableNodeStream:rJ,isReadableStream:_vt,isReadableFinished:O_e,isReadableErrored:L_e,isWritable:F_e,isWritableNodeStream:M_e,isWritableStream:Tvt,isWritableFinished:U_e,isWritableErrored:q_e,isNodeStream:Rvt,willEmitClose:Dvt,kIsClosedPromise:Qvt}=ql(),EE;function kvt(t){return t.setHeader&&typeof t.abort=="function"}o(kvt,"isRequest");var sJ=o(()=>{},"nop");function V_e(t,e,r){var n,i;if(arguments.length===2?(r=e,e=nJ):e==null?e=nJ:Svt(e,"options"),wvt(r,"callback"),Ivt(e.signal,"options.signal"),r=iJ(r),_vt(t)||Tvt(t))return Pvt(t,e,r);if(!Rvt(t))throw new bvt("stream",["ReadableStream","WritableStream","Stream"],t);let s=(n=e.readable)!==null&&n!==void 0?n:rJ(t),a=(i=e.writable)!==null&&i!==void 0?i:M_e(t),c=t._writableState,l=t._readableState,u=o(()=>{t.writable||h()},"onlegacyfinish"),d=Dvt(t)&&rJ(t)===s&&M_e(t)===a,f=U_e(t,!1),h=o(()=>{f=!0,t.destroyed&&(d=!1),!(d&&(!t.readable||s))&&(!s||p)&&r.call(t)},"onfinish"),p=O_e(t,!1),g=o(()=>{p=!0,t.destroyed&&(d=!1),!(d&&(!t.writable||a))&&(!a||f)&&r.call(t)},"onend"),m=o(Q=>{r.call(t,Q)},"onerror"),E=Nvt(t),y=o(()=>{E=!0;let Q=q_e(t)||L_e(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);if(s&&!p&&rJ(t,!0)&&!O_e(t,!1))return r.call(t,new k_e);if(a&&!f&&!U_e(t,!1))return r.call(t,new k_e);r.call(t)},"onclose"),C=o(()=>{E=!0;let Q=q_e(t)||L_e(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);r.call(t)},"onclosed"),I=o(()=>{t.req.on("finish",h)},"onrequest");kvt(t)?(t.on("complete",h),d||t.on("abort",y),t.req?I():t.on("request",I)):a&&!c&&(t.on("end",u),t.on("close",u)),!d&&typeof t.aborted=="boolean"&&t.on("aborted",y),t.on("end",g),t.on("finish",h),e.error!==!1&&t.on("error",m),t.on("close",y),E?qf.nextTick(y):c!=null&&c.errorEmitted||l!=null&&l.errorEmitted?d||qf.nextTick(C):(!s&&(!d||P_e(t))&&(f||F_e(t)===!1)||!a&&(!d||F_e(t))&&(p||P_e(t)===!1)||l&&t.req&&t.aborted)&&qf.nextTick(C);let B=o(()=>{r=sJ,t.removeListener("aborted",y),t.removeListener("complete",h),t.removeListener("abort",y),t.removeListener("request",I),t.req&&t.req.removeListener("finish",h),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",h),t.removeListener("end",g),t.removeListener("error",m),t.removeListener("close",y)},"cleanup");if(e.signal&&!E){let Q=o(()=>{let M=r;B(),M.call(t,new G_e(void 0,{cause:e.signal.reason}))},"abort");if(e.signal.aborted)qf.nextTick(Q);else{EE=EE||Ri().addAbortListener;let M=EE(e.signal,Q),v=r;r=iJ((...$)=>{M[H_e](),v.apply(t,$)})}}return B}o(V_e,"eos");function Pvt(t,e,r){let n=!1,i=sJ;if(e.signal)if(i=o(()=>{n=!0,r.call(t,new G_e(void 0,{cause:e.signal.reason}))},"abort"),e.signal.aborted)qf.nextTick(i);else{EE=EE||Ri().addAbortListener;let a=EE(e.signal,i),c=r;r=iJ((...l)=>{a[H_e](),c.apply(t,l)})}let s=o((...a)=>{n||qf.nextTick(()=>r.apply(t,a))},"resolverFn");return vvt(t[Qvt].promise,s,s),sJ}o(Pvt,"eosWeb");function Ovt(t,e){var r;let n=!1;return e===null&&(e=nJ),(r=e)!==null&&r!==void 0&&r.cleanup&&(Bvt(e.cleanup,"cleanup"),n=e.cleanup),new xvt((i,s)=>{let a=V_e(t,e,c=>{n&&a(),c?s(c):i()})})}o(Ovt,"finished");oJ.exports=V_e;oJ.exports.finished=Ovt});var dA=A((gTr,X_e)=>{"use strict";var Gl=Uf(),{aggregateTwoErrors:Lvt,codes:{ERR_MULTIPLE_CALLBACK:Fvt},AbortError:Mvt}=os(),{Symbol:j_e}=Tr(),{kIsDestroyed:Uvt,isDestroyed:qvt,isFinished:Gvt,isServerRequest:Hvt}=ql(),W_e=j_e("kDestroy"),aJ=j_e("kConstruct");function J_e(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}o(J_e,"checkError");function Vvt(t,e){let r=this._readableState,n=this._writableState,i=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof e=="function"&&e(),this):(J_e(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?z_e(this,t,e):this.once(W_e,function(s){z_e(this,Lvt(s,t),e)}),this)}o(Vvt,"destroy");function z_e(t,e,r){let n=!1;function i(s){if(n)return;n=!0;let a=t._readableState,c=t._writableState;J_e(s,c,a),c&&(c.closed=!0),a&&(a.closed=!0),typeof r=="function"&&r(s),s?Gl.nextTick(zvt,t,s):Gl.nextTick(Y_e,t)}o(i,"onDestroy");try{t._destroy(e||null,i)}catch(s){i(s)}}o(z_e,"_destroy");function zvt(t,e){cJ(t,e),Y_e(t)}o(zvt,"emitErrorCloseNT");function Y_e(t){let e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(r!=null&&r.emitClose||e!=null&&e.emitClose)&&t.emit("close")}o(Y_e,"emitCloseNT");function cJ(t,e){let r=t._readableState,n=t._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}o(cJ,"emitErrorNT");function $vt(){let t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=t.readable===!1,t.endEmitted=t.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}o($vt,"undestroy");function lJ(t,e,r){let n=t._readableState,i=t._writableState;if(i!=null&&i.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||i!=null&&i.autoDestroy?t.destroy(e):e&&(e.stack,i&&!i.errored&&(i.errored=e),n&&!n.errored&&(n.errored=e),r?Gl.nextTick(cJ,t,e):cJ(t,e))}o(lJ,"errorOrDestroy");function jvt(t,e){if(typeof t._construct!="function")return;let r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(aJ,e),!(t.listenerCount(aJ)>1)&&Gl.nextTick(Wvt,t)}o(jvt,"construct");function Wvt(t){let e=!1;function r(n){if(e){lJ(t,n??new Fvt);return}e=!0;let i=t._readableState,s=t._writableState,a=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),a.destroyed?t.emit(W_e,n):n?lJ(t,n,!0):Gl.nextTick(Jvt,t)}o(r,"onConstruct");try{t._construct(n=>{Gl.nextTick(r,n)})}catch(n){Gl.nextTick(r,n)}}o(Wvt,"constructNT");function Jvt(t){t.emit(aJ)}o(Jvt,"emitConstructNT");function $_e(t){return t?.setHeader&&typeof t.abort=="function"}o($_e,"isRequest");function K_e(t){t.emit("close")}o(K_e,"emitCloseLegacy");function Yvt(t,e){t.emit("error",e),Gl.nextTick(K_e,t)}o(Yvt,"emitErrorCloseLegacy");function Kvt(t,e){!t||qvt(t)||(!e&&!Gvt(t)&&(e=new Mvt),Hvt(t)?(t.socket=null,t.destroy(e)):$_e(t)?t.abort():$_e(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?Gl.nextTick(Yvt,t,e):Gl.nextTick(K_e,t),t.destroyed||(t[Uvt]=!0))}o(Kvt,"destroyer");X_e.exports={construct:jvt,destroyer:Kvt,destroy:Vvt,undestroy:$vt,errorOrDestroy:lJ}});var E1=A((ETr,eTe)=>{"use strict";var{ArrayIsArray:Xvt,ObjectSetPrototypeOf:Z_e}=Tr(),{EventEmitter:g1}=require("events");function y1(t){g1.call(this,t)}o(y1,"Stream");Z_e(y1.prototype,g1.prototype);Z_e(y1,g1);y1.prototype.pipe=function(t,e){let r=this;function n(d){t.writable&&t.write(d)===!1&&r.pause&&r.pause()}o(n,"ondata"),r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}o(i,"ondrain"),t.on("drain",i),!t._isStdio&&(!e||e.end!==!1)&&(r.on("end",a),r.on("close",c));let s=!1;function a(){s||(s=!0,t.end())}o(a,"onend");function c(){s||(s=!0,typeof t.destroy=="function"&&t.destroy())}o(c,"onclose");function l(d){u(),g1.listenerCount(this,"error")===0&&this.emit("error",d)}o(l,"onerror"),uJ(r,"error",l),uJ(t,"error",l);function u(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",a),r.removeListener("close",c),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return o(u,"cleanup"),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t};function uJ(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Xvt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(uJ,"prependListener");eTe.exports={Stream:y1,prependListener:uJ}});var fS=A((bTr,C1)=>{"use strict";var{SymbolDispose:Zvt}=Tr(),{AbortError:tTe,codes:eNt}=os(),{isNodeStream:rTe,isWebStream:tNt,kControllerErrorFunction:rNt}=ql(),nNt=dd(),{ERR_INVALID_ARG_TYPE:nTe}=eNt,dJ,iNt=o((t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new nTe(e,"AbortSignal",t)},"validateAbortSignal");C1.exports.addAbortSignal=o(function(e,r){if(iNt(e,"signal"),!rTe(r)&&!tNt(r))throw new nTe("stream",["ReadableStream","WritableStream","Stream"],r);return C1.exports.addAbortSignalNoValidate(e,r)},"addAbortSignal");C1.exports.addAbortSignalNoValidate=function(t,e){if(typeof t!="object"||!("aborted"in t))return e;let r=rTe(e)?()=>{e.destroy(new tTe(void 0,{cause:t.reason}))}:()=>{e[rNt](new tTe(void 0,{cause:t.reason}))};if(t.aborted)r();else{dJ=dJ||Ri().addAbortListener;let n=dJ(t,r);nNt(e,n[Zvt])}return e}});var oTe=A((STr,sTe)=>{"use strict";var{StringPrototypeSlice:iTe,SymbolIterator:sNt,TypedArrayPrototypeSet:b1,Uint8Array:oNt}=Tr(),{Buffer:fJ}=require("buffer"),{inspect:aNt}=Ri();sTe.exports=class{static{o(this,"BufferList")}constructor(){this.head=null,this.tail=null,this.length=0}push(e){let r={data:e,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(e){let r={data:e,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;let e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=e+r.data;return n}concat(e){if(this.length===0)return fJ.alloc(0);let r=fJ.allocUnsafe(e>>>0),n=this.head,i=0;for(;n;)b1(r,n.data,i),i+=n.data.length,n=n.next;return r}consume(e,r){let n=this.head.data;if(es.length)r+=s,e-=s.length;else{e===s.length?(r+=s,++i,n.next?this.head=n.next:this.head=this.tail=null):(r+=iTe(s,0,e),this.head=n,n.data=iTe(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){let r=fJ.allocUnsafe(e),n=e,i=this.head,s=0;do{let a=i.data;if(e>a.length)b1(r,a,n-e),e-=a.length;else{e===a.length?(b1(r,a,n-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(b1(r,new oNt(a.buffer,a.byteOffset,e),n-e),this.head=i,i.data=a.slice(e));break}++s}while((i=i.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](e,r){return aNt(this,{...r,depth:0,customInspect:!1})}}});var hS=A((xTr,uTe)=>{"use strict";var{MathFloor:cNt,NumberIsInteger:lNt}=Tr(),{validateInteger:uNt}=yE(),{ERR_INVALID_ARG_VALUE:dNt}=os().codes,aTe=16*1024,cTe=16;function fNt(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}o(fNt,"highWaterMarkFrom");function lTe(t){return t?cTe:aTe}o(lTe,"getDefaultHighWaterMark");function hNt(t,e){uNt(e,"value",0),t?cTe=e:aTe=e}o(hNt,"setDefaultHighWaterMark");function pNt(t,e,r,n){let i=fNt(e,n,r);if(i!=null){if(!lNt(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new dNt(s,i)}return cNt(i)}return lTe(t.objectMode)}o(pNt,"getHighWaterMark");uTe.exports={getHighWaterMark:pNt,getDefaultHighWaterMark:lTe,setDefaultHighWaterMark:hNt}});var hJ=A((NTr,pTe)=>{"use strict";var dTe=Uf(),{PromisePrototypeThen:ANt,SymbolAsyncIterator:fTe,SymbolIterator:hTe}=Tr(),{Buffer:mNt}=require("buffer"),{ERR_INVALID_ARG_TYPE:gNt,ERR_STREAM_NULL_VALUES:yNt}=os().codes;function ENt(t,e,r){let n;if(typeof e=="string"||e instanceof mNt)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[fTe])i=!0,n=e[fTe]();else if(e&&e[hTe])i=!1,n=e[hTe]();else throw new gNt("iterable",["Iterable"],e);let s=new t({objectMode:!0,highWaterMark:1,...r}),a=!1;s._read=function(){a||(a=!0,l())},s._destroy=function(u,d){ANt(c(u),()=>dTe.nextTick(d,u),f=>dTe.nextTick(d,f||u))};async function c(u){let d=u!=null,f=typeof n.throw=="function";if(d&&f){let{value:h,done:p}=await n.throw(u);if(await h,p)return}if(typeof n.return=="function"){let{value:h}=await n.return();await h}}o(c,"close");async function l(){for(;;){try{let{value:u,done:d}=i?await n.next():n.next();if(d)s.push(null);else{let f=u&&typeof u.then=="function"?await u:u;if(f===null)throw a=!1,new yNt;if(s.push(f))continue;a=!1}}catch(u){s.destroy(u)}break}}return o(l,"next"),s}o(ENt,"from");pTe.exports=ENt});var AS=A((TTr,DTe)=>{var Ac=Uf(),{ArrayPrototypeIndexOf:CNt,NumberIsInteger:bNt,NumberIsNaN:INt,NumberParseInt:wNt,ObjectDefineProperties:bJ,ObjectKeys:SNt,ObjectSetPrototypeOf:gTe,Promise:yTe,SafeSet:BNt,SymbolAsyncDispose:xNt,SymbolAsyncIterator:vNt,Symbol:NNt}=Tr();DTe.exports=ot;ot.ReadableState=B1;var{EventEmitter:_Nt}=require("events"),{Stream:Gf,prependListener:TNt}=E1(),{Buffer:pJ}=require("buffer"),{addAbortSignal:RNt}=fS(),ETe=dd(),Et=Ri().debuglog("stream",t=>{Et=t}),DNt=oTe(),IE=dA(),{getHighWaterMark:QNt,getDefaultHighWaterMark:kNt}=hS(),{aggregateTwoErrors:ATe,codes:{ERR_INVALID_ARG_TYPE:PNt,ERR_METHOD_NOT_IMPLEMENTED:ONt,ERR_OUT_OF_RANGE:LNt,ERR_STREAM_PUSH_AFTER_EOF:FNt,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:MNt},AbortError:UNt}=os(),{validateObject:qNt}=yE(),fA=NNt("kPaused"),{StringDecoder:CTe}=require("string_decoder"),GNt=hJ();gTe(ot.prototype,Gf.prototype);gTe(ot,Gf);var AJ=o(()=>{},"nop"),{errorOrDestroy:CE}=IE,bE=1,HNt=2,bTe=4,pS=8,ITe=16,I1=32,w1=64,wTe=128,VNt=256,zNt=512,$Nt=1024,EJ=2048,CJ=4096,jNt=8192,WNt=16384,JNt=32768,STe=65536,YNt=1<<17,KNt=1<<18;function Fn(t){return{enumerable:!1,get(){return(this.state&t)!==0},set(e){e?this.state|=t:this.state&=~t}}}o(Fn,"makeBitMapDescriptor");bJ(B1.prototype,{objectMode:Fn(bE),ended:Fn(HNt),endEmitted:Fn(bTe),reading:Fn(pS),constructed:Fn(ITe),sync:Fn(I1),needReadable:Fn(w1),emittedReadable:Fn(wTe),readableListening:Fn(VNt),resumeScheduled:Fn(zNt),errorEmitted:Fn($Nt),emitClose:Fn(EJ),autoDestroy:Fn(CJ),destroyed:Fn(jNt),closed:Fn(WNt),closeEmitted:Fn(JNt),multiAwaitDrain:Fn(STe),readingMore:Fn(YNt),dataEmitted:Fn(KNt)});function B1(t,e,r){typeof r!="boolean"&&(r=e instanceof Hl()),this.state=EJ|CJ|ITe|I1,t&&t.objectMode&&(this.state|=bE),r&&t&&t.readableObjectMode&&(this.state|=bE),this.highWaterMark=t?QNt(this,t,"readableHighWaterMark",r):kNt(!1),this.buffer=new DNt,this.length=0,this.pipes=[],this.flowing=null,this[fA]=null,t&&t.emitClose===!1&&(this.state&=~EJ),t&&t.autoDestroy===!1&&(this.state&=~CJ),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new CTe(t.encoding),this.encoding=t.encoding)}o(B1,"ReadableState");function ot(t){if(!(this instanceof ot))return new ot(t);let e=this instanceof Hl();this._readableState=new B1(t,this,e),t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&!e&&RNt(t.signal,this)),Gf.call(this,t),IE.construct(this,()=>{this._readableState.needReadable&&S1(this,this._readableState)})}o(ot,"Readable");ot.prototype.destroy=IE.destroy;ot.prototype._undestroy=IE.undestroy;ot.prototype._destroy=function(t,e){e(t)};ot.prototype[_Nt.captureRejectionSymbol]=function(t){this.destroy(t)};ot.prototype[xNt]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new UNt,this.destroy(t)),new yTe((e,r)=>ETe(this,n=>n&&n!==t?r(n):e(null)))};ot.prototype.push=function(t,e){return BTe(this,t,e,!1)};ot.prototype.unshift=function(t,e){return BTe(this,t,e,!0)};function BTe(t,e,r,n){Et("readableAddChunk",e);let i=t._readableState,s;if((i.state&bE)===0&&(typeof e=="string"?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=pJ.from(e,r).toString(i.encoding):(e=pJ.from(e,r),r=""))):e instanceof pJ?r="":Gf._isUint8Array(e)?(e=Gf._uint8ArrayToBuffer(e),r=""):e!=null&&(s=new PNt("chunk",["string","Buffer","Uint8Array"],e))),s)CE(t,s);else if(e===null)i.state&=~pS,e_t(t,i);else if((i.state&bE)!==0||e&&e.length>0)if(n)if((i.state&bTe)!==0)CE(t,new MNt);else{if(i.destroyed||i.errored)return!1;mJ(t,i,e,!0)}else if(i.ended)CE(t,new FNt);else{if(i.destroyed||i.errored)return!1;i.state&=~pS,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?mJ(t,i,e,!1):S1(t,i)):mJ(t,i,e,!1)}else n||(i.state&=~pS,S1(t,i));return!i.ended&&(i.length0?((e.state&STe)!==0?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),(e.state&w1)!==0&&x1(t)),S1(t,e)}o(mJ,"addChunk");ot.prototype.isPaused=function(){let t=this._readableState;return t[fA]===!0||t.flowing===!1};ot.prototype.setEncoding=function(t){let e=new CTe(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,n="";for(let i of r)n+=e.write(i);return r.clear(),n!==""&&r.push(n),this._readableState.length=n.length,this};var XNt=1073741824;function ZNt(t){if(t>XNt)throw new LNt("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}o(ZNt,"computeNewHighWaterMark");function mTe(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&bE)!==0?1:INt(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}o(mTe,"howMuchToRead");ot.prototype.read=function(t){Et("read",t),t===void 0?t=NaN:bNt(t)||(t=wNt(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=ZNt(t)),t!==0&&(e.state&=~wTe),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Et("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?gJ(this):x1(this),null;if(t=mTe(t,e),t===0&&e.ended)return e.length===0&&gJ(this),null;let n=(e.state&w1)!==0;if(Et("need readable",n),(e.length===0||e.length-t0?i=TTe(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&gJ(this)),i!==null&&!e.errorEmitted&&!e.closeEmitted&&(e.dataEmitted=!0,this.emit("data",i)),i};function e_t(t,e){if(Et("onEofChunk"),!e.ended){if(e.decoder){let r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?x1(t):(e.needReadable=!1,e.emittedReadable=!0,xTe(t))}}o(e_t,"onEofChunk");function x1(t){let e=t._readableState;Et("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Et("emitReadable",e.flowing),e.emittedReadable=!0,Ac.nextTick(xTe,t))}o(x1,"emitReadable");function xTe(t){let e=t._readableState;Et("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&!e.errored&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,NTe(t)}o(xTe,"emitReadable_");function S1(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,Ac.nextTick(t_t,t,e))}o(S1,"maybeReadMore");function t_t(t,e){for(;!e.reading&&!e.ended&&(e.length1&&n.pipes.includes(t)&&(Et("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),l||(l=r_t(r,t),t.on("drain",l))}o(f,"pause"),r.on("data",h);function h(y){Et("ondata");let C=t.write(y);Et("dest.write",C),C===!1&&f()}o(h,"ondata");function p(y){if(Et("onerror",y),E(),t.removeListener("error",p),t.listenerCount("error")===0){let C=t._writableState||t._readableState;C&&!C.errorEmitted?CE(t,y):t.emit("error",y)}}o(p,"onerror"),TNt(t,"error",p);function g(){t.removeListener("finish",m),E()}o(g,"onclose"),t.once("close",g);function m(){Et("onfinish"),t.removeListener("close",g),E()}o(m,"onfinish"),t.once("finish",m);function E(){Et("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),t.writableNeedDrain===!0?f():n.flowing||(Et("pipe resume"),r.resume()),t};function r_t(t,e){return o(function(){let n=t._readableState;n.awaitDrainWriters===e?(Et("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(Et("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(e)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&t.listenerCount("data")&&t.resume()},"pipeOnDrainFunctionResult")}o(r_t,"pipeOnDrain");ot.prototype.unpipe=function(t){let e=this._readableState,r={hasUnpiped:!1};if(e.pipes.length===0)return this;if(!t){let i=e.pipes;e.pipes=[],this.pause();for(let s=0;s0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,Et("on readable",n.length,n.reading),n.length?x1(this):n.reading||Ac.nextTick(n_t,this)),r};ot.prototype.addListener=ot.prototype.on;ot.prototype.removeListener=function(t,e){let r=Gf.prototype.removeListener.call(this,t,e);return t==="readable"&&Ac.nextTick(vTe,this),r};ot.prototype.off=ot.prototype.removeListener;ot.prototype.removeAllListeners=function(t){let e=Gf.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&Ac.nextTick(vTe,this),e};function vTe(t){let e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&e[fA]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}o(vTe,"updateReadableListening");function n_t(t){Et("readable nexttick read 0"),t.read(0)}o(n_t,"nReadingNextTick");ot.prototype.resume=function(){let t=this._readableState;return t.flowing||(Et("resume"),t.flowing=!t.readableListening,i_t(this,t)),t[fA]=!1,this};function i_t(t,e){e.resumeScheduled||(e.resumeScheduled=!0,Ac.nextTick(s_t,t,e))}o(i_t,"resume");function s_t(t,e){Et("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),NTe(t),e.flowing&&!e.reading&&t.read(0)}o(s_t,"resume_");ot.prototype.pause=function(){return Et("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Et("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[fA]=!0,this};function NTe(t){let e=t._readableState;for(Et("flow",e.flowing);e.flowing&&t.read()!==null;);}o(NTe,"flow");ot.prototype.wrap=function(t){let e=!1;t.on("data",n=>{!this.push(n)&&t.pause&&(e=!0,t.pause())}),t.on("end",()=>{this.push(null)}),t.on("error",n=>{CE(this,n)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};let r=SNt(t);for(let n=1;n{i=a?ATe(i,a):null,r(),r=AJ});try{for(;;){let a=t.destroyed?null:t.read();if(a!==null)yield a;else{if(i)throw i;if(i===null)return;await new yTe(n)}}}catch(a){throw i=ATe(i,a),i}finally{(i||e?.destroyOnReturn!==!1)&&(i===void 0||t._readableState.autoDestroy)?IE.destroyer(t,null):(t.off("readable",n),s())}}o(o_t,"createAsyncIterator");bJ(ot.prototype,{readable:{__proto__:null,get(){let t=this._readableState;return!!t&&t.readable!==!1&&!t.destroyed&&!t.errorEmitted&&!t.endEmitted},set(t){this._readableState&&(this._readableState.readable=!!t)}},readableDidRead:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.dataEmitted},"get")},readableAborted:{__proto__:null,enumerable:!1,get:o(function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)},"get")},readableHighWaterMark:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.highWaterMark},"get")},readableBuffer:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState&&this._readableState.buffer},"get")},readableFlowing:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.flowing},"get"),set:o(function(t){this._readableState&&(this._readableState.flowing=t)},"set")},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});bJ(B1.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[fA]!==!1},set(t){this[fA]=!!t}}});ot._fromList=TTe;function TTe(t,e){if(e.length===0)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}o(TTe,"fromList");function gJ(t){let e=t._readableState;Et("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,Ac.nextTick(a_t,e,t))}o(gJ,"endReadable");function a_t(t,e){if(Et("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&t.length===0){if(t.endEmitted=!0,e.emit("end"),e.writable&&e.allowHalfOpen===!1)Ac.nextTick(c_t,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}o(a_t,"endReadableNT");function c_t(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}o(c_t,"endWritableNT");ot.from=function(t,e){return GNt(ot,t,e)};var yJ;function RTe(){return yJ===void 0&&(yJ={}),yJ}o(RTe,"lazyWebStreams");ot.fromWeb=function(t,e){return RTe().newStreamReadableFromReadableStream(t,e)};ot.toWeb=function(t,e){return RTe().newReadableStreamFromStreamReadable(t,e)};ot.wrap=function(t,e){var r,n;return new ot({objectMode:(r=(n=t.readableObjectMode)!==null&&n!==void 0?n:t.objectMode)!==null&&r!==void 0?r:!0,...e,destroy(i,s){IE.destroyer(t,i),s(i)}}).wrap(t)}});var R1=A((DTr,VTe)=>{var hA=Uf(),{ArrayPrototypeSlice:PTe,Error:l_t,FunctionPrototypeSymbolHasInstance:OTe,ObjectDefineProperty:LTe,ObjectDefineProperties:u_t,ObjectSetPrototypeOf:FTe,StringPrototypeToLowerCase:d_t,Symbol:f_t,SymbolHasInstance:h_t}=Tr();VTe.exports=Rr;Rr.WritableState=yS;var{EventEmitter:p_t}=require("events"),mS=E1().Stream,{Buffer:v1}=require("buffer"),T1=dA(),{addAbortSignal:A_t}=fS(),{getHighWaterMark:m_t,getDefaultHighWaterMark:g_t}=hS(),{ERR_INVALID_ARG_TYPE:y_t,ERR_METHOD_NOT_IMPLEMENTED:E_t,ERR_MULTIPLE_CALLBACK:MTe,ERR_STREAM_CANNOT_PIPE:C_t,ERR_STREAM_DESTROYED:gS,ERR_STREAM_ALREADY_FINISHED:b_t,ERR_STREAM_NULL_VALUES:I_t,ERR_STREAM_WRITE_AFTER_END:w_t,ERR_UNKNOWN_ENCODING:UTe}=os().codes,{errorOrDestroy:wE}=T1;FTe(Rr.prototype,mS.prototype);FTe(Rr,mS);function SJ(){}o(SJ,"nop");var SE=f_t("kOnFinished");function yS(t,e,r){typeof r!="boolean"&&(r=e instanceof Hl()),this.objectMode=!!(t&&t.objectMode),r&&(this.objectMode=this.objectMode||!!(t&&t.writableObjectMode)),this.highWaterMark=t?m_t(this,t,"writableHighWaterMark",r):g_t(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let n=!!(t&&t.decodeStrings===!1);this.decodeStrings=!n,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=B_t.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,_1(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||t.emitClose!==!1,this.autoDestroy=!t||t.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[SE]=[]}o(yS,"WritableState");function _1(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}o(_1,"resetBuffer");yS.prototype.getBuffer=o(function(){return PTe(this.buffered,this.bufferedIndex)},"getBuffer");LTe(yS.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Rr(t){let e=this instanceof Hl();if(!e&&!OTe(Rr,this))return new Rr(t);this._writableState=new yS(t,this,e),t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&A_t(t.signal,this)),mS.call(this,t),T1.construct(this,()=>{let r=this._writableState;r.writing||xJ(this,r),vJ(this,r)})}o(Rr,"Writable");LTe(Rr,h_t,{__proto__:null,value:o(function(t){return OTe(this,t)?!0:this!==Rr?!1:t&&t._writableState instanceof yS},"value")});Rr.prototype.pipe=function(){wE(this,new C_t)};function qTe(t,e,r,n){let i=t._writableState;if(typeof r=="function")n=r,r=i.defaultEncoding;else{if(!r)r=i.defaultEncoding;else if(r!=="buffer"&&!v1.isEncoding(r))throw new UTe(r);typeof n!="function"&&(n=SJ)}if(e===null)throw new I_t;if(!i.objectMode)if(typeof e=="string")i.decodeStrings!==!1&&(e=v1.from(e,r),r="buffer");else if(e instanceof v1)r="buffer";else if(mS._isUint8Array(e))e=mS._uint8ArrayToBuffer(e),r="buffer";else throw new y_t("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new w_t:i.destroyed&&(s=new gS("write")),s?(hA.nextTick(n,s),wE(t,s,!0),s):(i.pendingcb++,S_t(t,i,e,r,n))}o(qTe,"_write");Rr.prototype.write=function(t,e,r){return qTe(this,t,e,r)===!0};Rr.prototype.cork=function(){this._writableState.corked++};Rr.prototype.uncork=function(){let t=this._writableState;t.corked&&(t.corked--,t.writing||xJ(this,t))};Rr.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=d_t(e)),!v1.isEncoding(e))throw new UTe(e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function S_t(t,e,r,n,i){let s=e.objectMode?1:r.length;e.length+=s;let a=e.lengthr.bufferedIndex&&xJ(t,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:t,state:r},hA.nextTick(x_t,r.afterWriteTickInfo)):GTe(t,r,1,i))}o(B_t,"onwrite");function x_t({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,GTe(t,e,r,n)}o(x_t,"afterWriteTick");function GTe(t,e,r,n){for(!e.ending&&!t.destroyed&&e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,n();e.destroyed&&BJ(e),vJ(t,e)}o(GTe,"afterWrite");function BJ(t){if(t.writing)return;for(let i=t.bufferedIndex;i1&&t._writev){e.pendingcb-=s-1;let c=e.allNoop?SJ:u=>{for(let d=a;d256?(r.splice(0,a),e.bufferedIndex=0):e.bufferedIndex=a}e.bufferProcessing=!1}o(xJ,"clearBuffer");Rr.prototype._write=function(t,e,r){if(this._writev)this._writev([{chunk:t,encoding:e}],r);else throw new E_t("_write()")};Rr.prototype._writev=null;Rr.prototype.end=function(t,e,r){let n=this._writableState;typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null);let i;if(t!=null){let s=qTe(this,t,e);s instanceof l_t&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,vJ(this,n,!0),n.ended=!0):n.finished?i=new b_t("end"):n.destroyed&&(i=new gS("end"))),typeof r=="function"&&(i||n.finished?hA.nextTick(r,i):n[SE].push(r)),this};function N1(t){return t.ending&&!t.destroyed&&t.constructed&&t.length===0&&!t.errored&&t.buffered.length===0&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}o(N1,"needFinish");function v_t(t,e){let r=!1;function n(i){if(r){wE(t,i??MTe());return}if(r=!0,e.pendingcb--,i){let s=e[SE].splice(0);for(let a=0;a{N1(i)?wJ(n,i):i.pendingcb--},t,e)):N1(e)&&(e.pendingcb++,wJ(t,e))))}o(vJ,"finishMaybe");function wJ(t,e){e.pendingcb--,e.finished=!0;let r=e[SE].splice(0);for(let n=0;n{var NJ=Uf(),T_t=require("buffer"),{isReadable:R_t,isWritable:D_t,isIterable:zTe,isNodeStream:Q_t,isReadableNodeStream:$Te,isWritableNodeStream:jTe,isDuplexNodeStream:k_t,isReadableStream:WTe,isWritableStream:JTe}=ql(),YTe=dd(),{AbortError:rRe,codes:{ERR_INVALID_ARG_TYPE:P_t,ERR_INVALID_RETURN_VALUE:KTe}}=os(),{destroyer:xE}=dA(),O_t=Hl(),nRe=AS(),L_t=R1(),{createDeferredPromise:XTe}=Ri(),ZTe=hJ(),eRe=globalThis.Blob||T_t.Blob,F_t=o(typeof eRe<"u"?function(e){return e instanceof eRe}:function(e){return!1},"isBlob"),M_t=globalThis.AbortController||mE().AbortController,{FunctionPrototypeCall:tRe}=Tr(),Hf=class extends O_t{static{o(this,"Duplexify")}constructor(e){super(e),e?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),e?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};iRe.exports=o(function t(e,r){if(k_t(e))return e;if($Te(e))return BE({readable:e});if(jTe(e))return BE({writable:e});if(Q_t(e))return BE({writable:!1,readable:!1});if(WTe(e))return BE({readable:nRe.fromWeb(e)});if(JTe(e))return BE({writable:L_t.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:a,destroy:c}=U_t(e);if(zTe(i))return ZTe(Hf,i,{objectMode:!0,write:s,final:a,destroy:c});let l=i?.then;if(typeof l=="function"){let u,d=tRe(l,i,f=>{if(f!=null)throw new KTe("nully","body",f)},f=>{xE(u,f)});return u=new Hf({objectMode:!0,readable:!1,write:s,final(f){a(async()=>{try{await d,NJ.nextTick(f,null)}catch(h){NJ.nextTick(f,h)}})},destroy:c})}throw new KTe("Iterable, AsyncIterable or AsyncFunction",r,i)}if(F_t(e))return t(e.arrayBuffer());if(zTe(e))return ZTe(Hf,e,{objectMode:!0,writable:!1});if(WTe(e?.readable)&&JTe(e?.writable))return Hf.fromWeb(e);if(typeof e?.writable=="object"||typeof e?.readable=="object"){let i=e!=null&&e.readable?$Te(e?.readable)?e?.readable:t(e.readable):void 0,s=e!=null&&e.writable?jTe(e?.writable)?e?.writable:t(e.writable):void 0;return BE({readable:i,writable:s})}let n=e?.then;if(typeof n=="function"){let i;return tRe(n,e,s=>{s!=null&&i.push(s),i.push(null)},s=>{xE(i,s)}),i=new Hf({objectMode:!0,writable:!1,read(){}})}throw new P_t(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)},"duplexify");function U_t(t){let{promise:e,resolve:r}=XTe(),n=new M_t,i=n.signal;return{value:t((async function*(){for(;;){let a=e;e=null;let{chunk:c,done:l,cb:u}=await a;if(NJ.nextTick(u),l)return;if(i.aborted)throw new rRe(void 0,{cause:i.reason});({promise:e,resolve:r}=XTe()),yield c}})(),{signal:i}),write(a,c,l){let u=r;r=null,u({chunk:a,done:!1,cb:l})},final(a){let c=r;r=null,c({done:!0,cb:a})},destroy(a,c){n.abort(),c(a)}}}o(U_t,"fromAsyncGen");function BE(t){let e=t.readable&&typeof t.readable.read!="function"?nRe.wrap(t.readable):t.readable,r=t.writable,n=!!R_t(e),i=!!D_t(r),s,a,c,l,u;function d(f){let h=l;l=null,h?h(f):f&&u.destroy(f)}return o(d,"onfinished"),u=new Hf({readableObjectMode:!!(e!=null&&e.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(YTe(r,f=>{i=!1,f&&xE(e,f),d(f)}),u._write=function(f,h,p){r.write(f,h)?p():s=p},u._final=function(f){r.end(),a=f},r.on("drain",function(){if(s){let f=s;s=null,f()}}),r.on("finish",function(){if(a){let f=a;a=null,f()}})),n&&(YTe(e,f=>{n=!1,f&&xE(e,f),d(f)}),e.on("readable",function(){if(c){let f=c;c=null,f()}}),e.on("end",function(){u.push(null)}),u._read=function(){for(;;){let f=e.read();if(f===null){c=u._read;return}if(!u.push(f))return}}),u._destroy=function(f,h){!f&&l!==null&&(f=new rRe),c=null,s=null,a=null,l===null?h(f):(l=h,xE(r,f),xE(e,f))},u}o(BE,"_duplexify")});var Hl=A((OTr,cRe)=>{"use strict";var{ObjectDefineProperties:q_t,ObjectGetOwnPropertyDescriptor:fd,ObjectKeys:G_t,ObjectSetPrototypeOf:oRe}=Tr();cRe.exports=mc;var RJ=AS(),ba=R1();oRe(mc.prototype,RJ.prototype);oRe(mc,RJ);{let t=G_t(ba.prototype);for(let e=0;e{"use strict";var{ObjectSetPrototypeOf:lRe,Symbol:H_t}=Tr();uRe.exports=hd;var{ERR_METHOD_NOT_IMPLEMENTED:V_t}=os().codes,QJ=Hl(),{getHighWaterMark:z_t}=hS();lRe(hd.prototype,QJ.prototype);lRe(hd,QJ);var ES=H_t("kCallback");function hd(t){if(!(this instanceof hd))return new hd(t);let e=t?z_t(this,t,"readableHighWaterMark",!0):null;e===0&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),QJ.call(this,t),this._readableState.sync=!1,this[ES]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",$_t)}o(hd,"Transform");function DJ(t){typeof this._flush=="function"&&!this.destroyed?this._flush((e,r)=>{if(e){t?t(e):this.destroy(e);return}r!=null&&this.push(r),this.push(null),t&&t()}):(this.push(null),t&&t())}o(DJ,"final");function $_t(){this._final!==DJ&&DJ.call(this)}o($_t,"prefinish");hd.prototype._final=DJ;hd.prototype._transform=function(t,e,r){throw new V_t("_transform()")};hd.prototype._write=function(t,e,r){let n=this._readableState,i=this._writableState,s=n.length;this._transform(t,e,(a,c)=>{if(a){r(a);return}c!=null&&this.push(c),i.ended||s===n.length||n.length{"use strict";var{ObjectSetPrototypeOf:dRe}=Tr();fRe.exports=vE;var PJ=kJ();dRe(vE.prototype,PJ.prototype);dRe(vE,PJ);function vE(t){if(!(this instanceof vE))return new vE(t);PJ.call(this,t)}o(vE,"PassThrough");vE.prototype._transform=function(t,e,r){r(null,t)}});var P1=A((GTr,gRe)=>{var CS=Uf(),{ArrayIsArray:j_t,Promise:W_t,SymbolAsyncIterator:J_t,SymbolDispose:Y_t}=Tr(),k1=dd(),{once:K_t}=Ri(),X_t=dA(),hRe=Hl(),{aggregateTwoErrors:Z_t,codes:{ERR_INVALID_ARG_TYPE:zJ,ERR_INVALID_RETURN_VALUE:LJ,ERR_MISSING_ARGS:eTt,ERR_STREAM_DESTROYED:tTt,ERR_STREAM_PREMATURE_CLOSE:rTt},AbortError:nTt}=os(),{validateFunction:iTt,validateAbortSignal:sTt}=yE(),{isIterable:pA,isReadable:FJ,isReadableNodeStream:Q1,isNodeStream:pRe,isTransformStream:NE,isWebStream:oTt,isReadableStream:MJ,isReadableFinished:aTt}=ql(),cTt=globalThis.AbortController||mE().AbortController,UJ,qJ,GJ;function ARe(t,e,r){let n=!1;t.on("close",()=>{n=!0});let i=k1(t,{readable:e,writable:r},s=>{n=!s});return{destroy:o(s=>{n||(n=!0,X_t.destroyer(t,s||new tTt("pipe")))},"destroy"),cleanup:i}}o(ARe,"destroyer");function lTt(t){return iTt(t[t.length-1],"streams[stream.length - 1]"),t.pop()}o(lTt,"popCallback");function HJ(t){if(pA(t))return t;if(Q1(t))return uTt(t);throw new zJ("val",["Readable","Iterable","AsyncIterable"],t)}o(HJ,"makeAsyncIterable");async function*uTt(t){qJ||(qJ=AS()),yield*qJ.prototype[J_t].call(t)}o(uTt,"fromReadable");async function D1(t,e,r,{end:n}){let i,s=null,a=o(u=>{if(u&&(i=u),s){let d=s;s=null,d()}},"resume"),c=o(()=>new W_t((u,d)=>{i?d(i):s=o(()=>{i?d(i):u()},"onresolve")}),"wait");e.on("drain",a);let l=k1(e,{readable:!1},a);try{e.writableNeedDrain&&await c();for await(let u of t)e.write(u)||await c();n&&(e.end(),await c()),r()}catch(u){r(i!==u?Z_t(i,u):u)}finally{l(),e.off("drain",a)}}o(D1,"pumpToNode");async function VJ(t,e,r,{end:n}){NE(e)&&(e=e.writable);let i=e.getWriter();try{for await(let s of t)await i.ready,i.write(s).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(s){try{await i.abort(s),r(s)}catch(a){r(a)}}}o(VJ,"pumpToWeb");function dTt(...t){return mRe(t,K_t(lTt(t)))}o(dTt,"pipeline");function mRe(t,e,r){if(t.length===1&&j_t(t[0])&&(t=t[0]),t.length<2)throw new eTt("streams");let n=new cTt,i=n.signal,s=r?.signal,a=[];sTt(s,"options.signal");function c(){g(new nTt)}o(c,"abort"),GJ=GJ||Ri().addAbortListener;let l;s&&(l=GJ(s,c));let u,d,f=[],h=0;function p(I){g(I,--h===0)}o(p,"finish");function g(I,B){var Q;if(I&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=I),!(!u&&!B)){for(;f.length;)f.shift()(u);(Q=l)===null||Q===void 0||Q[Y_t](),n.abort(),B&&(u||a.forEach(M=>M()),CS.nextTick(e,u,d))}}o(g,"finishImpl");let m;for(let I=0;I0,v=Q||r?.end!==!1,$=I===t.length-1;if(pRe(B)){let D=function(H){H&&H.name!=="AbortError"&&H.code!=="ERR_STREAM_PREMATURE_CLOSE"&&p(H)};var C=D;if(o(D,"onError"),v){let{destroy:H,cleanup:V}=ARe(B,Q,M);f.push(H),FJ(B)&&$&&a.push(V)}B.on("error",D),FJ(B)&&$&&a.push(()=>{B.removeListener("error",D)})}if(I===0)if(typeof B=="function"){if(m=B({signal:i}),!pA(m))throw new LJ("Iterable, AsyncIterable or Stream","source",m)}else pA(B)||Q1(B)||NE(B)?m=B:m=hRe.from(B);else if(typeof B=="function"){if(NE(m)){var E;m=HJ((E=m)===null||E===void 0?void 0:E.readable)}else m=HJ(m);if(m=B(m,{signal:i}),Q){if(!pA(m,!0))throw new LJ("AsyncIterable",`transform[${I-1}]`,m)}else{var y;UJ||(UJ=OJ());let D=new UJ({objectMode:!0}),H=(y=m)===null||y===void 0?void 0:y.then;if(typeof H=="function")h++,H.call(m,ee=>{d=ee,ee!=null&&D.write(ee),v&&D.end(),CS.nextTick(p)},ee=>{D.destroy(ee),CS.nextTick(p,ee)});else if(pA(m,!0))h++,D1(m,D,p,{end:v});else if(MJ(m)||NE(m)){let ee=m.readable||m;h++,D1(ee,D,p,{end:v})}else throw new LJ("AsyncIterable or Promise","destination",m);m=D;let{destroy:V,cleanup:J}=ARe(m,!1,!0);f.push(V),$&&a.push(J)}}else if(pRe(B)){if(Q1(m)){h+=2;let D=fTt(m,B,p,{end:v});FJ(B)&&$&&a.push(D)}else if(NE(m)||MJ(m)){let D=m.readable||m;h++,D1(D,B,p,{end:v})}else if(pA(m))h++,D1(m,B,p,{end:v});else throw new zJ("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],m);m=B}else if(oTt(B)){if(Q1(m))h++,VJ(HJ(m),B,p,{end:v});else if(MJ(m)||pA(m))h++,VJ(m,B,p,{end:v});else if(NE(m))h++,VJ(m.readable,B,p,{end:v});else throw new zJ("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],m);m=B}else m=hRe.from(B)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&CS.nextTick(c),m}o(mRe,"pipelineImpl");function fTt(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new rTt)}),t.pipe(e,{end:!1}),n){let a=function(){i=!0,e.end()};var s=a;o(a,"endFn"),aTt(t)?CS.nextTick(a):t.once("end",a)}else r();return k1(t,{readable:!0,writable:!1},a=>{let c=t._readableState;a&&a.code==="ERR_STREAM_PREMATURE_CLOSE"&&c&&c.ended&&!c.errored&&!c.errorEmitted?t.once("end",r).once("error",r):r(a)}),k1(e,{readable:!1,writable:!0},r)}o(fTt,"pipe");gRe.exports={pipelineImpl:mRe,pipeline:dTt}});var jJ=A((VTr,wRe)=>{"use strict";var{pipeline:hTt}=P1(),O1=Hl(),{destroyer:pTt}=dA(),{isNodeStream:L1,isReadable:yRe,isWritable:ERe,isWebStream:$J,isTransformStream:AA,isWritableStream:CRe,isReadableStream:bRe}=ql(),{AbortError:ATt,codes:{ERR_INVALID_ARG_VALUE:IRe,ERR_MISSING_ARGS:mTt}}=os(),gTt=dd();wRe.exports=o(function(...e){if(e.length===0)throw new mTt("streams");if(e.length===1)return O1.from(e[0]);let r=[...e];if(typeof e[0]=="function"&&(e[0]=O1.from(e[0])),typeof e[e.length-1]=="function"){let p=e.length-1;e[p]=O1.from(e[p])}for(let p=0;p0&&!(ERe(e[p])||CRe(e[p])||AA(e[p])))throw new IRe(`streams[${p}]`,r[p],"must be writable")}let n,i,s,a,c;function l(p){let g=a;a=null,g?g(p):p?c.destroy(p):!h&&!f&&c.destroy()}o(l,"onfinished");let u=e[0],d=hTt(e,l),f=!!(ERe(u)||CRe(u)||AA(u)),h=!!(yRe(d)||bRe(d)||AA(d));if(c=new O1({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(d!=null&&d.readableObjectMode),writable:f,readable:h}),f){if(L1(u))c._write=function(g,m,E){u.write(g,m)?E():n=E},c._final=function(g){u.end(),i=g},u.on("drain",function(){if(n){let g=n;n=null,g()}});else if($J(u)){let m=(AA(u)?u.writable:u).getWriter();c._write=async function(E,y,C){try{await m.ready,m.write(E).catch(()=>{}),C()}catch(I){C(I)}},c._final=async function(E){try{await m.ready,m.close().catch(()=>{}),i=E}catch(y){E(y)}}}let p=AA(d)?d.readable:d;gTt(p,()=>{if(i){let g=i;i=null,g()}})}if(h){if(L1(d))d.on("readable",function(){if(s){let p=s;s=null,p()}}),d.on("end",function(){c.push(null)}),c._read=function(){for(;;){let p=d.read();if(p===null){s=c._read;return}if(!c.push(p))return}};else if($J(d)){let g=(AA(d)?d.readable:d).getReader();c._read=async function(){for(;;)try{let{value:m,done:E}=await g.read();if(!c.push(m))return;if(E){c.push(null);return}}catch{return}}}}return c._destroy=function(p,g){!p&&a!==null&&(p=new ATt),s=null,n=null,i=null,a===null?g(p):(a=g,L1(d)&&pTt(d,p))},c},"compose")});var QRe=A(($Tr,YJ)=>{"use strict";var yTt=globalThis.AbortController||mE().AbortController,{codes:{ERR_INVALID_ARG_VALUE:ETt,ERR_INVALID_ARG_TYPE:bS,ERR_MISSING_ARGS:CTt,ERR_OUT_OF_RANGE:bTt},AbortError:Vl}=os(),{validateAbortSignal:mA,validateInteger:SRe,validateObject:gA}=yE(),ITt=Tr().Symbol("kWeak"),wTt=Tr().Symbol("kResistStopPropagation"),{finished:STt}=dd(),BTt=jJ(),{addAbortSignalNoValidate:xTt}=fS(),{isWritable:vTt,isNodeStream:NTt}=ql(),{deprecate:_Tt}=Ri(),{ArrayPrototypePush:TTt,Boolean:RTt,MathFloor:BRe,Number:DTt,NumberIsNaN:QTt,Promise:xRe,PromiseReject:vRe,PromiseResolve:kTt,PromisePrototypeThen:NRe,Symbol:TRe}=Tr(),F1=TRe("kEmpty"),_Re=TRe("kEof");function PTt(t,e){if(e!=null&&gA(e,"options"),e?.signal!=null&&mA(e.signal,"options.signal"),NTt(t)&&!vTt(t))throw new ETt("stream",t,"must be writable");let r=BTt(this,t);return e!=null&&e.signal&&xTt(e.signal,r),r}o(PTt,"compose");function M1(t,e){if(typeof t!="function")throw new bS("fn",["Function","AsyncFunction"],t);e!=null&&gA(e,"options"),e?.signal!=null&&mA(e.signal,"options.signal");let r=1;e?.concurrency!=null&&(r=BRe(e.concurrency));let n=r-1;return e?.highWaterMark!=null&&(n=BRe(e.highWaterMark)),SRe(r,"options.concurrency",1),SRe(n,"options.highWaterMark",0),n+=r,o(async function*(){let s=Ri().AbortSignalAny([e?.signal].filter(RTt)),a=this,c=[],l={signal:s},u,d,f=!1,h=0;function p(){f=!0,g()}o(p,"onCatch");function g(){h-=1,m()}o(g,"afterItemProcessed");function m(){d&&!f&&h=n||h>=r)&&await new xRe(C=>{d=C})}c.push(_Re)}catch(y){let C=vRe(y);NRe(C,g,p),c.push(C)}finally{f=!0,u&&(u(),u=null)}}o(E,"pump"),E();try{for(;;){for(;c.length>0;){let y=await c[0];if(y===_Re)return;if(s.aborted)throw new Vl;y!==F1&&(yield y),c.shift(),m()}await new xRe(y=>{u=y})}}finally{f=!0,d&&(d(),d=null)}},"map").call(this)}o(M1,"map");function OTt(t=void 0){return t!=null&&gA(t,"options"),t?.signal!=null&&mA(t.signal,"options.signal"),o(async function*(){let r=0;for await(let i of this){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new Vl({cause:t.signal.reason});yield[r++,i]}},"asIndexedPairs").call(this)}o(OTt,"asIndexedPairs");async function RRe(t,e=void 0){for await(let r of JJ.call(this,t,e))return!0;return!1}o(RRe,"some");async function LTt(t,e=void 0){if(typeof t!="function")throw new bS("fn",["Function","AsyncFunction"],t);return!await RRe.call(this,async(...r)=>!await t(...r),e)}o(LTt,"every");async function FTt(t,e){for await(let r of JJ.call(this,t,e))return r}o(FTt,"find");async function MTt(t,e){if(typeof t!="function")throw new bS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i),F1}o(r,"forEachFn");for await(let n of M1.call(this,r,e));}o(MTt,"forEach");function JJ(t,e){if(typeof t!="function")throw new bS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i)?n:F1}return o(r,"filterFn"),M1.call(this,r,e)}o(JJ,"filter");var WJ=class extends CTt{static{o(this,"ReduceAwareErrMissingArgs")}constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function UTt(t,e,r){var n;if(typeof t!="function")throw new bS("reducer",["Function","AsyncFunction"],t);r!=null&&gA(r,"options"),r?.signal!=null&&mA(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let u=new Vl(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await STt(this.destroy(u)),u}let s=new yTt,a=s.signal;if(r!=null&&r.signal){let u={once:!0,[ITt]:this,[wTt]:!0};r.signal.addEventListener("abort",()=>s.abort(),u)}let c=!1;try{for await(let u of this){var l;if(c=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new Vl;i?e=await t(e,u,{signal:a}):(e=u,i=!0)}if(!c&&!i)throw new WJ}finally{s.abort()}return e}o(UTt,"reduce");async function qTt(t){t!=null&&gA(t,"options"),t?.signal!=null&&mA(t.signal,"options.signal");let e=[];for await(let n of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new Vl(void 0,{cause:t.signal.reason});TTt(e,n)}return e}o(qTt,"toArray");function GTt(t,e){let r=M1.call(this,t,e);return o(async function*(){for await(let i of r)yield*i},"flatMap").call(this)}o(GTt,"flatMap");function DRe(t){if(t=DTt(t),QTt(t))return 0;if(t<0)throw new bTt("number",">= 0",t);return t}o(DRe,"toIntegerOrInfinity");function HTt(t,e=void 0){return e!=null&&gA(e,"options"),e?.signal!=null&&mA(e.signal,"options.signal"),t=DRe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Vl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Vl;t--<=0&&(yield s)}},"drop").call(this)}o(HTt,"drop");function VTt(t,e=void 0){return e!=null&&gA(e,"options"),e?.signal!=null&&mA(e.signal,"options.signal"),t=DRe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Vl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Vl;if(t-- >0&&(yield s),t<=0)return}},"take").call(this)}o(VTt,"take");YJ.exports.streamReturningOperators={asIndexedPairs:_Tt(OTt,"readable.asIndexedPairs will be removed in a future version."),drop:HTt,filter:JJ,flatMap:GTt,map:M1,take:VTt,compose:PTt};YJ.exports.promiseReturningOperators={every:LTt,forEach:MTt,reduce:UTt,toArray:qTt,some:RRe,find:FTt}});var KJ=A((WTr,kRe)=>{"use strict";var{ArrayPrototypePop:zTt,Promise:$Tt}=Tr(),{isIterable:jTt,isNodeStream:WTt,isWebStream:JTt}=ql(),{pipelineImpl:YTt}=P1(),{finished:KTt}=dd();XJ();function XTt(...t){return new $Tt((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!WTt(s)&&!jTt(s)&&!JTt(s)){let a=zTt(t);n=a.signal,i=a.end}YTt(t,(a,c)=>{a?r(a):e(c)},{signal:n,end:i})})}o(XTt,"pipeline");kRe.exports={finished:KTt,pipeline:XTt}});var XJ=A((YTr,HRe)=>{var{Buffer:ZTt}=require("buffer"),{ObjectDefineProperty:pd,ObjectKeys:LRe,ReflectApply:FRe}=Tr(),{promisify:{custom:MRe}}=Ri(),{streamReturningOperators:PRe,promiseReturningOperators:ORe}=QRe(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:URe}}=os(),eRt=jJ(),{setDefaultHighWaterMark:tRt,getDefaultHighWaterMark:rRt}=hS(),{pipeline:qRe}=P1(),{destroyer:nRt}=dA(),GRe=dd(),ZJ=KJ(),IS=ql(),fr=HRe.exports=E1().Stream;fr.isDestroyed=IS.isDestroyed;fr.isDisturbed=IS.isDisturbed;fr.isErrored=IS.isErrored;fr.isReadable=IS.isReadable;fr.isWritable=IS.isWritable;fr.Readable=AS();for(let t of LRe(PRe)){let r=function(...n){if(new.target)throw URe();return fr.Readable.from(FRe(e,this,n))};e9=r,o(r,"fn");let e=PRe[t];pd(r,"name",{__proto__:null,value:e.name}),pd(r,"length",{__proto__:null,value:e.length}),pd(fr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var e9;for(let t of LRe(ORe)){let r=function(...i){if(new.target)throw URe();return FRe(e,this,i)};e9=r,o(r,"fn");let e=ORe[t];pd(r,"name",{__proto__:null,value:e.name}),pd(r,"length",{__proto__:null,value:e.length}),pd(fr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var e9;fr.Writable=R1();fr.Duplex=Hl();fr.Transform=kJ();fr.PassThrough=OJ();fr.pipeline=qRe;var{addAbortSignal:iRt}=fS();fr.addAbortSignal=iRt;fr.finished=GRe;fr.destroy=nRt;fr.compose=eRt;fr.setDefaultHighWaterMark=tRt;fr.getDefaultHighWaterMark=rRt;pd(fr,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return ZJ}});pd(qRe,MRe,{__proto__:null,enumerable:!0,get(){return ZJ.pipeline}});pd(GRe,MRe,{__proto__:null,enumerable:!0,get(){return ZJ.finished}});fr.Stream=fr;fr._isUint8Array=o(function(e){return e instanceof Uint8Array},"isUint8Array");fr._uint8ArrayToBuffer=o(function(e){return ZTt.from(e.buffer,e.byteOffset,e.byteLength)},"_uint8ArrayToBuffer")});var yA=A((XTr,pt)=>{"use strict";var Mn=require("stream");if(Mn&&process.env.READABLE_STREAM==="disable"){let t=Mn.promises;pt.exports._uint8ArrayToBuffer=Mn._uint8ArrayToBuffer,pt.exports._isUint8Array=Mn._isUint8Array,pt.exports.isDisturbed=Mn.isDisturbed,pt.exports.isErrored=Mn.isErrored,pt.exports.isReadable=Mn.isReadable,pt.exports.Readable=Mn.Readable,pt.exports.Writable=Mn.Writable,pt.exports.Duplex=Mn.Duplex,pt.exports.Transform=Mn.Transform,pt.exports.PassThrough=Mn.PassThrough,pt.exports.addAbortSignal=Mn.addAbortSignal,pt.exports.finished=Mn.finished,pt.exports.destroy=Mn.destroy,pt.exports.pipeline=Mn.pipeline,pt.exports.compose=Mn.compose,Object.defineProperty(Mn,"promises",{configurable:!0,enumerable:!0,get(){return t}}),pt.exports.Stream=Mn.Stream}else{let t=XJ(),e=KJ(),r=t.Readable.destroy;pt.exports=t.Readable,pt.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,pt.exports._isUint8Array=t._isUint8Array,pt.exports.isDisturbed=t.isDisturbed,pt.exports.isErrored=t.isErrored,pt.exports.isReadable=t.isReadable,pt.exports.Readable=t.Readable,pt.exports.Writable=t.Writable,pt.exports.Duplex=t.Duplex,pt.exports.Transform=t.Transform,pt.exports.PassThrough=t.PassThrough,pt.exports.addAbortSignal=t.addAbortSignal,pt.exports.finished=t.finished,pt.exports.destroy=t.destroy,pt.exports.destroy=r,pt.exports.pipeline=t.pipeline,pt.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return e}}),pt.exports.Stream=t.Stream}pt.exports.default=pt.exports});var zRe=A((ZTr,VRe)=>{function sRt(t,e){for(var r=-1,n=e.length,i=t.length;++r{var $Re=i1(),oRt=UW(),aRt=qW(),jRe=$Re?$Re.isConcatSpreadable:void 0;function cRt(t){return aRt(t)||oRt(t)||!!(jRe&&t&&t[jRe])}o(cRt,"isFlattenable");WRe.exports=cRt});var U1=A((nRr,KRe)=>{var lRt=zRe(),uRt=JRe();function YRe(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=uRt),i||(i=[]);++s0&&r(c)?e>1?YRe(c,e-1,r,n,i):lRt(i,c):n||(i[i.length]=c)}return i}o(YRe,"baseFlatten");KRe.exports=YRe});var ZRe=A((sRr,XRe)=>{var dRt=U1();function fRt(t){var e=t==null?0:t.length;return e?dRt(t,1):[]}o(fRt,"flatten");XRe.exports=fRt});var wS=A((aRr,e2e)=>{var hRt=nS(),pRt=hRt(Object,"create");e2e.exports=pRt});var n2e=A((cRr,r2e)=>{var t2e=wS();function ARt(){this.__data__=t2e?t2e(null):{},this.size=0}o(ARt,"hashClear");r2e.exports=ARt});var s2e=A((uRr,i2e)=>{function mRt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}o(mRt,"hashDelete");i2e.exports=mRt});var a2e=A((fRr,o2e)=>{var gRt=wS(),yRt="__lodash_hash_undefined__",ERt=Object.prototype,CRt=ERt.hasOwnProperty;function bRt(t){var e=this.__data__;if(gRt){var r=e[t];return r===yRt?void 0:r}return CRt.call(e,t)?e[t]:void 0}o(bRt,"hashGet");o2e.exports=bRt});var l2e=A((pRr,c2e)=>{var IRt=wS(),wRt=Object.prototype,SRt=wRt.hasOwnProperty;function BRt(t){var e=this.__data__;return IRt?e[t]!==void 0:SRt.call(e,t)}o(BRt,"hashHas");c2e.exports=BRt});var d2e=A((mRr,u2e)=>{var xRt=wS(),vRt="__lodash_hash_undefined__";function NRt(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=xRt&&e===void 0?vRt:e,this}o(NRt,"hashSet");u2e.exports=NRt});var h2e=A((yRr,f2e)=>{var _Rt=n2e(),TRt=s2e(),RRt=a2e(),DRt=l2e(),QRt=d2e();function _E(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{function kRt(){this.__data__=[],this.size=0}o(kRt,"listCacheClear");p2e.exports=kRt});var SS=A((IRr,m2e)=>{var PRt=o1();function ORt(t,e){for(var r=t.length;r--;)if(PRt(t[r][0],e))return r;return-1}o(ORt,"assocIndexOf");m2e.exports=ORt});var y2e=A((SRr,g2e)=>{var LRt=SS(),FRt=Array.prototype,MRt=FRt.splice;function URt(t){var e=this.__data__,r=LRt(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():MRt.call(e,r,1),--this.size,!0}o(URt,"listCacheDelete");g2e.exports=URt});var C2e=A((xRr,E2e)=>{var qRt=SS();function GRt(t){var e=this.__data__,r=qRt(e,t);return r<0?void 0:e[r][1]}o(GRt,"listCacheGet");E2e.exports=GRt});var I2e=A((NRr,b2e)=>{var HRt=SS();function VRt(t){return HRt(this.__data__,t)>-1}o(VRt,"listCacheHas");b2e.exports=VRt});var S2e=A((TRr,w2e)=>{var zRt=SS();function $Rt(t,e){var r=this.__data__,n=zRt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}o($Rt,"listCacheSet");w2e.exports=$Rt});var x2e=A((DRr,B2e)=>{var jRt=A2e(),WRt=y2e(),JRt=C2e(),YRt=I2e(),KRt=S2e();function TE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var XRt=nS(),ZRt=dE(),e2t=XRt(ZRt,"Map");v2e.exports=e2t});var R2e=A((PRr,T2e)=>{var _2e=h2e(),t2t=x2e(),r2t=N2e();function n2t(){this.size=0,this.__data__={hash:new _2e,map:new(r2t||t2t),string:new _2e}}o(n2t,"mapCacheClear");T2e.exports=n2t});var Q2e=A((LRr,D2e)=>{function i2t(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}o(i2t,"isKeyable");D2e.exports=i2t});var BS=A((MRr,k2e)=>{var s2t=Q2e();function o2t(t,e){var r=t.__data__;return s2t(e)?r[typeof e=="string"?"string":"hash"]:r.map}o(o2t,"getMapData");k2e.exports=o2t});var O2e=A((qRr,P2e)=>{var a2t=BS();function c2t(t){var e=a2t(this,t).delete(t);return this.size-=e?1:0,e}o(c2t,"mapCacheDelete");P2e.exports=c2t});var F2e=A((HRr,L2e)=>{var l2t=BS();function u2t(t){return l2t(this,t).get(t)}o(u2t,"mapCacheGet");L2e.exports=u2t});var U2e=A((zRr,M2e)=>{var d2t=BS();function f2t(t){return d2t(this,t).has(t)}o(f2t,"mapCacheHas");M2e.exports=f2t});var G2e=A((jRr,q2e)=>{var h2t=BS();function p2t(t,e){var r=h2t(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}o(p2t,"mapCacheSet");q2e.exports=p2t});var V2e=A((JRr,H2e)=>{var A2t=R2e(),m2t=O2e(),g2t=F2e(),y2t=U2e(),E2t=G2e();function RE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var C2t="__lodash_hash_undefined__";function b2t(t){return this.__data__.set(t,C2t),this}o(b2t,"setCacheAdd");z2e.exports=b2t});var W2e=A((ZRr,j2e)=>{function I2t(t){return this.__data__.has(t)}o(I2t,"setCacheHas");j2e.exports=I2t});var t9=A((t2r,J2e)=>{var w2t=V2e(),S2t=$2e(),B2t=W2e();function q1(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new w2t;++e{function x2t(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s{function v2t(t){return t!==t}o(v2t,"baseIsNaN");X2e.exports=v2t});var tDe=A((a2r,eDe)=>{function N2t(t,e,r){for(var n=r-1,i=t.length;++n{var _2t=K2e(),T2t=Z2e(),R2t=tDe();function D2t(t,e,r){return e===e?R2t(t,e,r):_2t(t,T2t,r)}o(D2t,"baseIndexOf");rDe.exports=D2t});var r9=A((d2r,iDe)=>{var Q2t=nDe();function k2t(t,e){var r=t==null?0:t.length;return!!r&&Q2t(t,e,0)>-1}o(k2t,"arrayIncludes");iDe.exports=k2t});var n9=A((h2r,sDe)=>{function P2t(t,e,r){for(var n=-1,i=t==null?0:t.length;++n{function O2t(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{function L2t(t,e){return t.has(e)}o(L2t,"cacheHas");cDe.exports=L2t});var uDe=A((E2r,lDe)=>{var F2t=t9(),M2t=r9(),U2t=n9(),q2t=aDe(),G2t=GW(),H2t=i9(),V2t=200;function z2t(t,e,r,n){var i=-1,s=M2t,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=q2t(e,G2t(r))),n?(s=U2t,a=!1):e.length>=V2t&&(s=H2t,a=!1,e=new F2t(e));e:for(;++i{var $2t=a1(),j2t=fE();function W2t(t){return j2t(t)&&$2t(t)}o(W2t,"isArrayLikeObject");dDe.exports=W2t});var pDe=A((w2r,hDe)=>{var J2t=uDe(),Y2t=U1(),K2t=s1(),fDe=s9(),X2t=K2t(function(t,e){return fDe(t)?J2t(t,Y2t(e,1,fDe,!0)):[]});hDe.exports=X2t});var mDe=A((S2r,ADe)=>{var Z2t=nS(),eDt=dE(),tDt=Z2t(eDt,"Set");ADe.exports=tDt});var yDe=A((B2r,gDe)=>{function rDt(){}o(rDt,"noop");gDe.exports=rDt});var o9=A((v2r,EDe)=>{function nDt(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}o(nDt,"setToArray");EDe.exports=nDt});var bDe=A((_2r,CDe)=>{var a9=mDe(),iDt=yDe(),sDt=o9(),oDt=1/0,aDt=a9&&1/sDt(new a9([,-0]))[1]==oDt?function(t){return new a9(t)}:iDt;CDe.exports=aDt});var wDe=A((T2r,IDe)=>{var cDt=t9(),lDt=r9(),uDt=n9(),dDt=i9(),fDt=bDe(),hDt=o9(),pDt=200;function ADt(t,e,r){var n=-1,i=lDt,s=t.length,a=!0,c=[],l=c;if(r)a=!1,i=uDt;else if(s>=pDt){var u=e?null:fDt(t);if(u)return hDt(u);a=!1,i=dDt,l=new cDt}else l=e?[]:c;e:for(;++n{var mDt=U1(),gDt=s1(),yDt=wDe(),EDt=s9(),CDt=gDt(function(t){return yDt(mDt(t,1,EDt,!0))});SDe.exports=CDt});var vDe=A((Q2r,xDe)=>{function bDt(t,e){return function(r){return t(e(r))}}o(bDt,"overArg");xDe.exports=bDt});var _De=A((P2r,NDe)=>{var IDt=vDe(),wDt=IDt(Object.getPrototypeOf,Object);NDe.exports=wDt});var DDe=A((O2r,RDe)=>{var SDt=tS(),BDt=_De(),xDt=fE(),vDt="[object Object]",NDt=Function.prototype,_Dt=Object.prototype,TDe=NDt.toString,TDt=_Dt.hasOwnProperty,RDt=TDe.call(Object);function DDt(t){if(!xDt(t)||SDt(t)!=vDt)return!1;var e=BDt(t);if(e===null)return!0;var r=TDt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&TDe.call(r)==RDt}o(DDt,"isPlainObject");RDe.exports=DDt});var QDe=A(G1=>{"use strict";Object.defineProperty(G1,"__esModule",{value:!0});G1.assertValidPattern=void 0;var QDt=1024*64,kDt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>QDt)throw new TypeError("pattern is too long")},"assertValidPattern");G1.assertValidPattern=kDt});var PDe=A(H1=>{"use strict";Object.defineProperty(H1,"__esModule",{value:!0});H1.parseClass=void 0;var PDt={"[: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]},xS=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),ODt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),kDe=o(t=>t.join(""),"rangesToString"),LDt=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,c=!1,l=!1,u=!1,d=r,f="";e:for(;sf?n.push(xS(f)+"-"+xS(m)):m===f&&n.push(xS(m)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(xS(m+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=m,s+=2;continue}n.push(xS(m)),s++}if(d{"use strict";Object.defineProperty(V1,"__esModule",{value:!0});V1.unescape=void 0;var FDt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),"unescape");V1.unescape=FDt});var u9=A(J1=>{"use strict";var Fs;Object.defineProperty(J1,"__esModule",{value:!0});J1.AST=void 0;var MDt=PDe(),$1=z1(),UDt=new Set(["!","?","+","*","@"]),c9=o(t=>UDt.has(t),"isExtglobType"),ODe=o(t=>c9(t.type),"isExtglobAST"),qDt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),GDt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),HDt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),LDe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),VDt="(?!(?:^|/)\\.\\.?(?:$|/))",j1="(?!\\.)",zDt=new Set(["[","."]),$Dt=new Set(["..","."]),jDt=new Set("().*{}+?[]^$\\!"),WDt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),l9="[^/]",FDe=l9+"*?",MDe=l9+"+?",W1=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;constructor(e,r,n={}){this.type=e,e&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#a&&this.#l.push(this),this.#s=this.#i?this.#i.#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.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#o=this.#r.map(e=>String(e)).join("")}#y(){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.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&itypeof 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.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;let e=this.#i;for(let r=0;r{let[g,m,E,y]=typeof p=="string"?Fs.#S(p,this.#t,l):p.toRegExpSource(e);return this.#t=this.#t||E,this.#n=this.#n||y,g}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&$Dt.has(this.#r[0]))){let g=zDt,m=r&&g.has(u.charAt(0))||u.startsWith("\\.")&&g.has(u.charAt(2))||u.startsWith("\\.\\.")&&g.has(u.charAt(4)),E=!r&&!e&&g.has(u.charAt(0));d=m?VDt:E?j1:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,$1.unescape)(u),this.#t=!!this.#t,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#w(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,(0,$1.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!j1?"":this.#w(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?j1:"")+MDe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?j1:"")+FDe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,$1.unescape)(s),this.#t=!!this.#t,this.#n]}#w(e){return this.#r.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#S(e,r,n=!1){let i=!1,s="",a=!1,c=!1;for(let l=0;l{"use strict";Object.defineProperty(Y1,"__esModule",{value:!0});Y1.escape=void 0;var JDt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");Y1.escape=JDt});var Vf=A(pe=>{"use strict";var YDt=pe&&pe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pe,"__esModule",{value:!0});pe.unescape=pe.escape=pe.AST=pe.Minimatch=pe.match=pe.makeRe=pe.braceExpand=pe.defaults=pe.filter=pe.GLOBSTAR=pe.sep=pe.minimatch=void 0;var KDt=YDt(K6()),K1=QDe(),GDe=u9(),XDt=d9(),ZDt=z1(),eQt=o((t,e,r={})=>((0,K1.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new EA(e,r).match(t)),"minimatch");pe.minimatch=eQt;var tQt=/^\*+([^+@!?\*\[\(]*)$/,rQt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),nQt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),iQt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),sQt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),oQt=/^\*+\.\*+$/,aQt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),cQt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),lQt=/^\.\*+$/,uQt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),dQt=/^\*+$/,fQt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),hQt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),pQt=/^\?+([^+@!?\*\[\(]*)?$/,AQt=o(([t,e=""])=>{let r=HDe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),mQt=o(([t,e=""])=>{let r=VDe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),gQt=o(([t,e=""])=>{let r=VDe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),yQt=o(([t,e=""])=>{let r=HDe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),HDe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),VDe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),zDe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",UDe={win32:{sep:"\\"},posix:{sep:"/"}};pe.sep=zDe==="win32"?UDe.win32.sep:UDe.posix.sep;pe.minimatch.sep=pe.sep;pe.GLOBSTAR=Symbol("globstar **");pe.minimatch.GLOBSTAR=pe.GLOBSTAR;var EQt="[^/]",CQt=EQt+"*?",bQt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",IQt="(?:(?!(?:\\/|^)\\.).)*?",wQt=o((t,e={})=>r=>(0,pe.minimatch)(r,t,e),"filter");pe.filter=wQt;pe.minimatch.filter=pe.filter;var Ia=o((t,e={})=>Object.assign({},t,e),"ext"),SQt=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return pe.minimatch;let e=pe.minimatch;return Object.assign(o((n,i,s={})=>e(n,i,Ia(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Ia(t,s))}static defaults(i){return e.defaults(Ia(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Ia(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Ia(t,s))}},unescape:o((n,i={})=>e.unescape(n,Ia(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Ia(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Ia(t,i)),"filter"),defaults:o(n=>e.defaults(Ia(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Ia(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Ia(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Ia(t,s)),"match"),sep:e.sep,GLOBSTAR:pe.GLOBSTAR})},"defaults");pe.defaults=SQt;pe.minimatch.defaults=pe.defaults;var BQt=o((t,e={})=>((0,K1.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,KDt.default)(t)),"braceExpand");pe.braceExpand=BQt;pe.minimatch.braceExpand=pe.braceExpand;var xQt=o((t,e={})=>new EA(t,e).makeRe(),"makeRe");pe.makeRe=xQt;pe.minimatch.makeRe=pe.makeRe;var vQt=o((t,e,r={})=>{let n=new EA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");pe.match=vQt;pe.minimatch.match=pe.match;var qDe=/[?*]|[+@!]\(.*?\)|\[|\]/,NQt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),EA=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={}){(0,K1.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||zDe,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!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=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!qDe.test(s[2]))&&!qDe.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(d=>this.parse(d))];if(u)return[s[0],...s.slice(1).map(d=>this.parse(d))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=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 n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,a-i);let c=n[i+1],l=n[i+2],u=n[i+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let d=n.slice(0);d[i]="**",e.push(d),i--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,n=!1){let i=0,s=0,a=[],c="";for(;i=2&&(e=this.levelTwoFileOptimize(e)),r.includes(pe.GLOBSTAR)?this.#e(e,r,n,i,s):this.#n(e,r,n,i,s)}#e(e,r,n,i,s){let a=r.indexOf(pe.GLOBSTAR,s),c=r.lastIndexOf(pe.GLOBSTAR),[l,u,d]=n?[r.slice(s,a),r.slice(a+1),[]]:[r.slice(s,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let C=e.slice(i,i+l.length);if(!this.#n(C,l,n,0,0))return!1;i+=l.length}let f=0;if(d.length){if(d.length+i>e.length)return!1;let C=e.length-d.length;if(this.#n(e,d,n,C,0))f=d.length;else{if(e[e.length-1]!==""||i+d.length===e.length||(C--,!this.#n(e,d,n,C,0)))return!1;f=d.length+1}}if(!u.length){let C=!!f;for(let I=i;I{let u=l.map(d=>{if(d instanceof RegExp)for(let f of d.flags.split(""))i.add(f);return typeof d=="string"?NQt(d):d===pe.GLOBSTAR?pe.GLOBSTAR:d._src});return u.forEach((d,f)=>{let h=u[f+1],p=u[f-1];d!==pe.GLOBSTAR||p===pe.GLOBSTAR||(p===void 0?h!==void 0&&h!==pe.GLOBSTAR?u[f+1]="(?:\\/|"+n+"\\/)?"+h:u[f]=n:h===void 0?u[f-1]=p+"(?:\\/|"+n+")?":h!==pe.GLOBSTAR&&(u[f-1]=p+"(?:\\/|\\/"+n+"\\/)"+h,u[f+1]=pe.GLOBSTAR))}),u.filter(d=>d!==pe.GLOBSTAR).join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];s="^"+a+s+c+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].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 n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let c=i.length-2;!a&&c>=0;c--)a=i[c];for(let c=0;c{"use strict";Object.defineProperty(Z1,"__esModule",{value:!0});Z1.LRUCache=void 0;var DE=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,jDe=new Set,f9=typeof process=="object"&&process?process:{},WDe=o((t,e,r,n)=>{typeof f9.emitWarning=="function"?f9.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},"emitWarning"),X1=globalThis.AbortController,$De=globalThis.AbortSignal;if(typeof X1>"u"){$De=class{static{o(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},X1=class{static{o(this,"AbortController")}constructor(){e()}signal=new $De;abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}}};let t=f9.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{t&&(t=!1,WDe("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))},"warnACPolyfill")}var DQt=o(t=>!jDe.has(t),"shouldWarn"),zf=o(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),JDe=o(t=>zf(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?QE:null:null,"getUintArray"),QE=class extends Array{static{o(this,"ZeroArray")}constructor(e){super(e),this.fill(0)}},h9=class t{static{o(this,"Stack")}heap;length;static#e=!1;static create(e){let r=JDe(e);if(!r)return[];t.#e=!0;let n=new t(e,r);return t.#e=!1,n}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},p9=class t{static{o(this,"LRUCache")}#e;#t;#n;#r;#i;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#s;#l;#a;#c;#o;#f;#y;#A;#m;#E;#p;#I;#C;#b;#g;#x;#d;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#b,sizes:e.#I,keyMap:e.#a,keyList:e.#c,valList:e.#o,next:e.#f,prev:e.#y,get head(){return e.#A},get tail(){return e.#m},free:e.#E,isBackgroundFetch:o(r=>e.#h(r),"isBackgroundFetch"),backgroundFetch:o((r,n,i,s)=>e.#k(r,n,i,s),"backgroundFetch"),moveToTail:o(r=>e.#Q(r),"moveToTail"),indexes:o(r=>e.#_(r),"indexes"),rindexes:o(r=>e.#T(r),"rindexes"),isStale:o(r=>e.#B(r),"isStale")}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#l}get size(){return this.#s}get fetchMethod(){return this.#i}get dispose(){return this.#n}get disposeAfter(){return this.#r}constructor(e){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:a,updateAgeOnHas:c,allowStale:l,dispose:u,disposeAfter:d,noDisposeOnSet:f,noUpdateTTL:h,maxSize:p=0,maxEntrySize:g=0,sizeCalculation:m,fetchMethod:E,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:I,allowStaleOnFetchAbort:B,ignoreFetchAbort:Q}=e;if(r!==0&&!zf(r))throw new TypeError("max option must be a nonnegative integer");let M=r?JDe(r):Array;if(!M)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=p,this.maxEntrySize=g||this.#t,this.sizeCalculation=m,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#i=E,this.#x=!!E,this.#a=new Map,this.#c=new Array(r).fill(void 0),this.#o=new Array(r).fill(void 0),this.#f=new M(r),this.#y=new M(r),this.#A=0,this.#m=0,this.#E=h9.create(r),this.#s=0,this.#l=0,typeof u=="function"&&(this.#n=u),typeof d=="function"?(this.#r=d,this.#p=[]):(this.#r=void 0,this.#p=void 0),this.#g=!!this.#n,this.#d=!!this.#r,this.noDisposeOnSet=!!f,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!I,this.allowStaleOnFetchAbort=!!B,this.ignoreFetchAbort=!!Q,this.maxEntrySize!==0){if(this.#t!==0&&!zf(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!zf(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#R()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!C,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!c,this.ttlResolution=zf(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!zf(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#w()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let v="LRU_CACHE_UNBOUNDED";DQt(v)&&(jDe.add(v),WDe("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",v,t))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#w(){let e=new QE(this.#e),r=new QE(this.#e);this.#b=e,this.#C=r,this.#u=(s,a,c=DE.now())=>{if(r[s]=a!==0?c:0,e[s]=a,a!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#B(s)&&this.delete(this.#c[s])},a+1);l.unref&&l.unref()}},this.#S=s=>{r[s]=e[s]!==0?DE.now():0},this.#v=(s,a)=>{if(e[a]){let c=e[a],l=r[a];if(!c||!l)return;s.ttl=c,s.start=l,s.now=n||i();let u=s.now-l;s.remainingTTL=c-u}};let n=0,i=o(()=>{let s=DE.now();if(this.ttlResolution>0){n=s;let a=setTimeout(()=>n=0,this.ttlResolution);a.unref&&a.unref()}return s},"getNow");this.getRemainingTTL=s=>{let a=this.#a.get(s);if(a===void 0)return 0;let c=e[a],l=r[a];if(!c||!l)return 1/0;let u=(n||i())-l;return c-u},this.#B=s=>{let a=r[s],c=e[s];return!!c&&!!a&&(n||i())-a>c}}#S=o(()=>{},"#updateItemAge");#v=o(()=>{},"#statusTTL");#u=o(()=>{},"#setItemTTL");#B=o(()=>!1,"#isStale");#R(){let e=new QE(this.#e);this.#l=0,this.#I=e,this.#N=r=>{this.#l-=e[r],e[r]=0},this.#O=(r,n,i,s)=>{if(this.#h(n))return 0;if(!zf(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!zf(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#P=(r,n,i)=>{if(e[r]=n,this.#t){let s=this.#t-e[r];for(;this.#l>s;)this.#D(!0)}this.#l+=e[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#l)}}#N=o(e=>{},"#removeItemSize");#P=o((e,r,n)=>{},"#addItemSize");#O=o((e,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0},"#requireSize");*#_({allowStale:e=this.allowStale}={}){if(this.#s)for(let r=this.#m;!(!this.#L(r)||((e||!this.#B(r))&&(yield r),r===this.#A));)r=this.#y[r]}*#T({allowStale:e=this.allowStale}={}){if(this.#s)for(let r=this.#A;!(!this.#L(r)||((e||!this.#B(r))&&(yield r),r===this.#m));)r=this.#f[r]}#L(e){return e!==void 0&&this.#a.get(this.#c[e])===e}*entries(){for(let e of this.#_())this.#o[e]!==void 0&&this.#c[e]!==void 0&&!this.#h(this.#o[e])&&(yield[this.#c[e],this.#o[e]])}*rentries(){for(let e of this.#T())this.#o[e]!==void 0&&this.#c[e]!==void 0&&!this.#h(this.#o[e])&&(yield[this.#c[e],this.#o[e]])}*keys(){for(let e of this.#_()){let r=this.#c[e];r!==void 0&&!this.#h(this.#o[e])&&(yield r)}}*rkeys(){for(let e of this.#T()){let r=this.#c[e];r!==void 0&&!this.#h(this.#o[e])&&(yield r)}}*values(){for(let e of this.#_())this.#o[e]!==void 0&&!this.#h(this.#o[e])&&(yield this.#o[e])}*rvalues(){for(let e of this.#T())this.#o[e]!==void 0&&!this.#h(this.#o[e])&&(yield this.#o[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(let n of this.#_()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#c[n],this))return this.get(this.#c[n],r)}}forEach(e,r=this){for(let n of this.#_()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}rforEach(e,r=this){for(let n of this.#T()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}purgeStale(){let e=!1;for(let r of this.#T({allowStale:!0}))this.#B(r)&&(this.delete(this.#c[r]),e=!0);return e}info(e){let r=this.#a.get(e);if(r===void 0)return;let n=this.#o[r],i=this.#h(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#b&&this.#C){let a=this.#b[r],c=this.#C[r];if(a&&c){let l=a-(DE.now()-c);s.ttl=l,s.start=Date.now()}}return this.#I&&(s.size=this.#I[r]),s}dump(){let e=[];for(let r of this.#_({allowStale:!0})){let n=this.#c[r],i=this.#o[r],s=this.#h(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let a={value:s};if(this.#b&&this.#C){a.ttl=this.#b[r];let c=DE.now()-this.#C[r];a.start=Math.floor(Date.now()-c)}this.#I&&(a.size=this.#I[r]),e.unshift([n,a])}return e}load(e){this.clear();for(let[r,n]of e){if(n.start){let i=Date.now()-n.start;n.start=DE.now()-i}this.set(r,n.value,n)}}set(e,r,n={}){if(r===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:l}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,d=this.#O(e,r,n.size||0,c);if(this.maxEntrySize&&d>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let f=this.#s===0?void 0:this.#a.get(e);if(f===void 0)f=this.#s===0?this.#m:this.#E.length!==0?this.#E.pop():this.#s===this.#e?this.#D(!1):this.#s,this.#c[f]=e,this.#o[f]=r,this.#a.set(e,f),this.#f[this.#m]=f,this.#y[f]=this.#m,this.#m=f,this.#s++,this.#P(f,d,l),l&&(l.set="add"),u=!1;else{this.#Q(f);let h=this.#o[f];if(r!==h){if(this.#x&&this.#h(h)){h.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:p}=h;p!==void 0&&!a&&(this.#g&&this.#n?.(p,e,"set"),this.#d&&this.#p?.push([p,e,"set"]))}else a||(this.#g&&this.#n?.(h,e,"set"),this.#d&&this.#p?.push([h,e,"set"]));if(this.#N(f),this.#P(f,d,l),this.#o[f]=r,l){l.set="replace";let p=h&&this.#h(h)?h.__staleWhileFetching:h;p!==void 0&&(l.oldValue=p)}}else l&&(l.set="update")}if(i!==0&&!this.#b&&this.#w(),this.#b&&(u||this.#u(f,i,s),l&&this.#v(l,f)),!a&&this.#d&&this.#p){let h=this.#p,p;for(;p=h?.shift();)this.#r?.(...p)}return this}pop(){try{for(;this.#s;){let e=this.#o[this.#A];if(this.#D(!0),this.#h(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#d&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#r?.(...r)}}}#D(e){let r=this.#A,n=this.#c[r],i=this.#o[r];return this.#x&&this.#h(i)?i.__abortController.abort(new Error("evicted")):(this.#g||this.#d)&&(this.#g&&this.#n?.(i,n,"evict"),this.#d&&this.#p?.push([i,n,"evict"])),this.#N(r),e&&(this.#c[r]=void 0,this.#o[r]=void 0,this.#E.push(r)),this.#s===1?(this.#A=this.#m=0,this.#E.length=0):this.#A=this.#f[r],this.#a.delete(n),this.#s--,r}has(e,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=this.#a.get(e);if(s!==void 0){let a=this.#o[s];if(this.#h(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#B(s))i&&(i.has="stale",this.#v(i,s));else return n&&this.#S(s),i&&(i.has="hit",this.#v(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){let{allowStale:n=this.allowStale}=r,i=this.#a.get(e);if(i===void 0||!n&&this.#B(i))return;let s=this.#o[i];return this.#h(s)?s.__staleWhileFetching:s}#k(e,r,n,i){let s=r===void 0?void 0:this.#o[r];if(this.#h(s))return s;let a=new X1,{signal:c}=n;c?.addEventListener("abort",()=>a.abort(c.reason),{signal:a.signal});let l={signal:a.signal,options:n,context:i},u=o((m,E=!1)=>{let{aborted:y}=a.signal,C=n.ignoreFetchAbort&&m!==void 0;if(n.status&&(y&&!E?(n.status.fetchAborted=!0,n.status.fetchError=a.signal.reason,C&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),y&&!C&&!E)return f(a.signal.reason);let I=p;return this.#o[r]===p&&(m===void 0?I.__staleWhileFetching?this.#o[r]=I.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,m,l.options))),m},"cb"),d=o(m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),f(m)),"eb"),f=o(m=>{let{aborted:E}=a.signal,y=E&&n.allowStaleOnFetchAbort,C=y||n.allowStaleOnFetchRejection,I=C||n.noDeleteOnFetchRejection,B=p;if(this.#o[r]===p&&(!I||B.__staleWhileFetching===void 0?this.delete(e):y||(this.#o[r]=B.__staleWhileFetching)),C)return n.status&&B.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),B.__staleWhileFetching;if(B.__returned===B)throw m},"fetchFail"),h=o((m,E)=>{let y=this.#i?.(e,s,l);y&&y instanceof Promise&&y.then(C=>m(C===void 0?void 0:C),E),a.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=o(C=>u(C,!0),"res")))})},"pcall");n.status&&(n.status.fetchDispatched=!0);let p=new Promise(h).then(u,d),g=Object.assign(p,{__abortController:a,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,g,{...l.options,status:void 0}),r=this.#a.get(e)):this.#o[r]=g,g}#h(e){if(!this.#x)return!1;let r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof X1}async fetch(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:c=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:m,forceRefresh:E=!1,status:y,signal:C}=r;if(!this.#x)return y&&(y.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:y});let I={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:a,noDisposeOnSet:c,size:l,sizeCalculation:u,noUpdateTTL:d,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:g,ignoreFetchAbort:p,status:y,signal:C},B=this.#a.get(e);if(B===void 0){y&&(y.fetch="miss");let Q=this.#k(e,B,I,m);return Q.__returned=Q}else{let Q=this.#o[B];if(this.#h(Q)){let H=n&&Q.__staleWhileFetching!==void 0;return y&&(y.fetch="inflight",H&&(y.returnedStale=!0)),H?Q.__staleWhileFetching:Q.__returned=Q}let M=this.#B(B);if(!E&&!M)return y&&(y.fetch="hit"),this.#Q(B),i&&this.#S(B),y&&this.#v(y,B),Q;let v=this.#k(e,B,I,m),D=v.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=M?"stale":"refresh",D&&M&&(y.returnedStale=!0)),D?v.__staleWhileFetching:v.__returned=v}}get(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:a}=r,c=this.#a.get(e);if(c!==void 0){let l=this.#o[c],u=this.#h(l);return a&&this.#v(a,c),this.#B(c)?(a&&(a.get="stale"),u?(a&&n&&l.__staleWhileFetching!==void 0&&(a.returnedStale=!0),n?l.__staleWhileFetching:void 0):(s||this.delete(e),a&&n&&(a.returnedStale=!0),n?l:void 0)):(a&&(a.get="hit"),u?l.__staleWhileFetching:(this.#Q(c),i&&this.#S(c),l))}else a&&(a.get="miss")}#F(e,r){this.#y[r]=e,this.#f[e]=r}#Q(e){e!==this.#m&&(e===this.#A?this.#A=this.#f[e]:this.#F(this.#y[e],this.#f[e]),this.#F(this.#m,e),this.#m=e)}delete(e){let r=!1;if(this.#s!==0){let n=this.#a.get(e);if(n!==void 0)if(r=!0,this.#s===1)this.clear();else{this.#N(n);let i=this.#o[n];if(this.#h(i)?i.__abortController.abort(new Error("deleted")):(this.#g||this.#d)&&(this.#g&&this.#n?.(i,e,"delete"),this.#d&&this.#p?.push([i,e,"delete"])),this.#a.delete(e),this.#c[n]=void 0,this.#o[n]=void 0,n===this.#m)this.#m=this.#y[n];else if(n===this.#A)this.#A=this.#f[n];else{let s=this.#y[n];this.#f[s]=this.#f[n];let a=this.#f[n];this.#y[a]=this.#y[n]}this.#s--,this.#E.push(n)}}if(this.#d&&this.#p?.length){let n=this.#p,i;for(;i=n?.shift();)this.#r?.(...i)}return r}clear(){for(let e of this.#T({allowStale:!0})){let r=this.#o[e];if(this.#h(r))r.__abortController.abort(new Error("deleted"));else{let n=this.#c[e];this.#g&&this.#n?.(r,n,"delete"),this.#d&&this.#p?.push([r,n,"delete"])}}if(this.#a.clear(),this.#o.fill(void 0),this.#c.fill(void 0),this.#b&&this.#C&&(this.#b.fill(0),this.#C.fill(0)),this.#I&&this.#I.fill(0),this.#A=0,this.#m=0,this.#E.length=0,this.#l=0,this.#s=0,this.#d&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#r?.(...r)}}};Z1.LRUCache=p9});var rQe=A(cs=>{"use strict";var QQt=cs&&cs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cs,"__esModule",{value:!0});cs.Minipass=cs.isWritable=cs.isReadable=cs.isStream=void 0;var KDe=typeof process=="object"&&process?process:{stdout:null,stderr:null},b9=require("events"),tQe=QQt(require("stream")),kQt=require("string_decoder"),PQt=o(t=>!!t&&typeof t=="object"&&(t instanceof ok||t instanceof tQe.default||(0,cs.isReadable)(t)||(0,cs.isWritable)(t)),"isStream");cs.isStream=PQt;var OQt=o(t=>!!t&&typeof t=="object"&&t instanceof b9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==tQe.default.Writable.prototype.pipe,"isReadable");cs.isReadable=OQt;var LQt=o(t=>!!t&&typeof t=="object"&&t instanceof b9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");cs.isWritable=LQt;var Ad=Symbol("EOF"),md=Symbol("maybeEmitEnd"),$f=Symbol("emittedEnd"),ek=Symbol("emittingEnd"),vS=Symbol("emittedError"),tk=Symbol("closed"),XDe=Symbol("read"),rk=Symbol("flush"),ZDe=Symbol("flushChunk"),gc=Symbol("encoding"),kE=Symbol("decoder"),Xn=Symbol("flowing"),NS=Symbol("paused"),PE=Symbol("resume"),Zn=Symbol("buffer"),as=Symbol("pipes"),ei=Symbol("bufferLength"),A9=Symbol("bufferPush"),nk=Symbol("bufferShift"),Qi=Symbol("objectMode"),un=Symbol("destroyed"),m9=Symbol("error"),g9=Symbol("emitData"),eQe=Symbol("emitEnd"),y9=Symbol("emitEnd2"),zl=Symbol("async"),E9=Symbol("abort"),ik=Symbol("aborted"),_S=Symbol("signal"),CA=Symbol("dataListeners"),xo=Symbol("discarded"),TS=o(t=>Promise.resolve().then(t),"defer"),FQt=o(t=>t(),"nodefer"),MQt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),UQt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),qQt=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),sk=class{static{o(this,"Pipe")}src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[PE](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},C9=class extends sk{static{o(this,"PipeProxyErrors")}unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>r.emit("error",i),e.on("error",this.proxyErrors)}},GQt=o(t=>!!t.objectMode,"isObjectModeOptions"),HQt=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),ok=class extends b9.EventEmitter{static{o(this,"Minipass")}[Xn]=!1;[NS]=!1;[as]=[];[Zn]=[];[Qi];[gc];[zl];[kE];[Ad]=!1;[$f]=!1;[ek]=!1;[tk]=!1;[vS]=null;[ei]=0;[un]=!1;[_S];[ik]=!1;[CA]=0;[xo]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");GQt(r)?(this[Qi]=!0,this[gc]=null):HQt(r)?(this[gc]=r.encoding,this[Qi]=!1):(this[Qi]=!1,this[gc]=null),this[zl]=!!r.async,this[kE]=this[gc]?new kQt.StringDecoder(this[gc]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[Zn],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[as],"get")});let{signal:n}=r;n&&(this[_S]=n,n.aborted?this[E9]():n.addEventListener("abort",()=>this[E9]()))}get bufferLength(){return this[ei]}get encoding(){return this[gc]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Qi]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[zl]}set async(e){this[zl]=this[zl]||!!e}[E9](){this[ik]=!0,this.emit("abort",this[_S]?.reason),this.destroy(this[_S]?.reason)}get aborted(){return this[ik]}set aborted(e){}write(e,r,n){if(this[ik])return!1;if(this[Ad])throw new Error("write after end");if(this[un])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[zl]?TS:FQt;if(!this[Qi]&&!Buffer.isBuffer(e)){if(qQt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(UQt(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Qi]?(this[Xn]&&this[ei]!==0&&this[rk](!0),this[Xn]?this.emit("data",e):this[A9](e),this[ei]!==0&&this.emit("readable"),n&&i(n),this[Xn]):e.length?(typeof e=="string"&&!(r===this[gc]&&!this[kE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[gc]&&(e=this[kE].write(e)),this[Xn]&&this[ei]!==0&&this[rk](!0),this[Xn]?this.emit("data",e):this[A9](e),this[ei]!==0&&this.emit("readable"),n&&i(n),this[Xn]):(this[ei]!==0&&this.emit("readable"),n&&i(n),this[Xn])}read(e){if(this[un])return null;if(this[xo]=!1,this[ei]===0||e===0||e&&e>this[ei])return this[md](),null;this[Qi]&&(e=null),this[Zn].length>1&&!this[Qi]&&(this[Zn]=[this[gc]?this[Zn].join(""):Buffer.concat(this[Zn],this[ei])]);let r=this[XDe](e||null,this[Zn][0]);return this[md](),r}[XDe](e,r){if(this[Qi])this[nk]();else{let n=r;e===n.length||e===null?this[nk]():typeof n=="string"?(this[Zn][0]=n.slice(e),r=n.slice(0,e),this[ei]-=e):(this[Zn][0]=n.subarray(e),r=n.subarray(0,e),this[ei]-=e)}return this.emit("data",r),!this[Zn].length&&!this[Ad]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[Ad]=!0,this.writable=!1,(this[Xn]||!this[NS])&&this[md](),this}[PE](){this[un]||(!this[CA]&&!this[as].length&&(this[xo]=!0),this[NS]=!1,this[Xn]=!0,this.emit("resume"),this[Zn].length?this[rk]():this[Ad]?this[md]():this.emit("drain"))}resume(){return this[PE]()}pause(){this[Xn]=!1,this[NS]=!0,this[xo]=!1}get destroyed(){return this[un]}get flowing(){return this[Xn]}get paused(){return this[NS]}[A9](e){this[Qi]?this[ei]+=1:this[ei]+=e.length,this[Zn].push(e)}[nk](){return this[Qi]?this[ei]-=1:this[ei]-=this[Zn][0].length,this[Zn].shift()}[rk](e=!1){do;while(this[ZDe](this[nk]())&&this[Zn].length);!e&&!this[Zn].length&&!this[Ad]&&this.emit("drain")}[ZDe](e){return this.emit("data",e),this[Xn]}pipe(e,r){if(this[un])return e;this[xo]=!1;let n=this[$f];return r=r||{},e===KDe.stdout||e===KDe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[as].push(r.proxyErrors?new C9(this,e,r):new sk(this,e,r)),this[zl]?TS(()=>this[PE]()):this[PE]()),e}unpipe(e){let r=this[as].find(n=>n.dest===e);r&&(this[as].length===1?(this[Xn]&&this[CA]===0&&(this[Xn]=!1),this[as]=[]):this[as].splice(this[as].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[xo]=!1,this[CA]++,!this[as].length&&!this[Xn]&&this[PE]();else if(e==="readable"&&this[ei]!==0)super.emit("readable");else if(MQt(e)&&this[$f])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[vS]){let i=r;this[zl]?TS(()=>i.call(this,this[vS])):i.call(this,this[vS])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[CA]=this.listeners("data").length,this[CA]===0&&!this[xo]&&!this[as].length&&(this[Xn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[CA]=0,!this[xo]&&!this[as].length&&(this[Xn]=!1)),r}get emittedEnd(){return this[$f]}[md](){!this[ek]&&!this[$f]&&!this[un]&&this[Zn].length===0&&this[Ad]&&(this[ek]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[tk]&&this.emit("close"),this[ek]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==un&&this[un])return!1;if(e==="data")return!this[Qi]&&!n?!1:this[zl]?(TS(()=>this[g9](n)),!0):this[g9](n);if(e==="end")return this[eQe]();if(e==="close"){if(this[tk]=!0,!this[$f]&&!this[un])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[vS]=n,super.emit(m9,n);let s=!this[_S]||this.listeners("error").length?super.emit("error",n):!1;return this[md](),s}else if(e==="resume"){let s=super.emit("resume");return this[md](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[md](),i}[g9](e){for(let n of this[as])n.dest.write(e)===!1&&this.pause();let r=this[xo]?!1:super.emit("data",e);return this[md](),r}[eQe](){return this[$f]?!1:(this[$f]=!0,this.readable=!1,this[zl]?(TS(()=>this[y9]()),!0):this[y9]())}[y9](){if(this[kE]){let r=this[kE].end();if(r){for(let n of this[as])n.dest.write(r);this[xo]||super.emit("data",r)}}for(let r of this[as])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[Qi]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[Qi]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[Qi])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[gc]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(un,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[xo]=!1;let e=!1,r=o(async()=>(this.pause(),e=!0,{value:void 0,done:!0}),"stop");return{next:o(()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[Ad])return r();let s,a,c=o(f=>{this.off("data",l),this.off("end",u),this.off(un,d),r(),a(f)},"onerr"),l=o(f=>{this.off("error",c),this.off("end",u),this.off(un,d),this.pause(),s({value:f,done:!!this[Ad]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(un,d),r(),s({done:!0,value:void 0})},"onend"),d=o(()=>c(new Error("stream destroyed")),"ondestroy");return new Promise((f,h)=>{a=h,s=f,this.once(un,d),this.once("error",c),this.once("end",u),this.once("data",l)})},"next"),throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[xo]=!1;let e=!1,r=o(()=>(this.pause(),this.off(m9,r),this.off(un,r),this.off("end",r),e=!0,{done:!0,value:void 0}),"stop"),n=o(()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}},"next");return this.once("end",r),this.once(m9,r),this.once(un,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[un])return e?this.emit("error",e):this.emit(un),this;this[un]=!0,this[xo]=!0,this[Zn].length=0,this[ei]=0;let r=this;return typeof r.close=="function"&&!this[tk]&&r.close(),e?this.emit("error",e):this.emit(un),this}static get isStream(){return cs.isStream}};cs.Minipass=ok});var gQe=A(qt=>{"use strict";var VQt=qt&&qt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),zQt=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$Qt=qt&&qt.__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)&&VQt(e,t,r);return zQt(e,t),e};Object.defineProperty(qt,"__esModule",{value:!0});qt.PathScurry=qt.Path=qt.PathScurryDarwin=qt.PathScurryPosix=qt.PathScurryWin32=qt.PathScurryBase=qt.PathPosix=qt.PathWin32=qt.PathBase=qt.ChildrenCache=qt.ResolveCache=void 0;var cQe=YDe(),dk=require("node:path"),jQt=require("node:url"),DS=require("fs"),WQt=$Qt(require("node:fs")),JQt=DS.realpathSync.native,ak=require("node:fs/promises"),nQe=rQe(),QS={lstatSync:DS.lstatSync,readdir:DS.readdir,readdirSync:DS.readdirSync,readlinkSync:DS.readlinkSync,realpathSync:JQt,promises:{lstat:ak.lstat,readdir:ak.readdir,readlink:ak.readlink,realpath:ak.realpath}},lQe=o(t=>!t||t===QS||t===WQt?QS:{...QS,...t,promises:{...QS.promises,...t.promises||{}}},"fsFromOption"),uQe=/^\\\\\?\\([a-z]:)\\?$/i,YQt=o(t=>t.replace(/\//g,"\\").replace(uQe,"$1\\"),"uncToDrive"),KQt=/[\\\/]/,Sa=0,dQe=1,fQe=2,$l=4,hQe=6,pQe=8,bA=10,AQe=12,wa=15,RS=~wa,I9=16,iQe=32,kS=64,yc=128,ck=256,uk=512,sQe=kS|yc|uk,XQt=1023,w9=o(t=>t.isFile()?pQe:t.isDirectory()?$l:t.isSymbolicLink()?bA:t.isCharacterDevice()?fQe:t.isBlockDevice()?hQe:t.isSocket()?AQe:t.isFIFO()?dQe:Sa,"entToType"),oQe=new Map,PS=o(t=>{let e=oQe.get(t);if(e)return e;let r=t.normalize("NFKD");return oQe.set(t,r),r},"normalize"),aQe=new Map,lk=o(t=>{let e=aQe.get(t);if(e)return e;let r=PS(t.toLowerCase());return aQe.set(t,r),r},"normalizeNocase"),OS=class extends cQe.LRUCache{static{o(this,"ResolveCache")}constructor(){super({max:256})}};qt.ResolveCache=OS;var fk=class extends cQe.LRUCache{static{o(this,"ChildrenCache")}constructor(e=16*1024){super({maxSize:e,sizeCalculation:o(r=>r.length+1,"sizeCalculation")})}};qt.ChildrenCache=fk;var mQe=Symbol("PathScurry setAsCwd"),Ci=class{static{o(this,"PathBase")}name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#n;get mode(){return this.#n}#r;get nlink(){return this.#r}#i;get uid(){return this.#i}#s;get gid(){return this.#s}#l;get rdev(){return this.#l}#a;get blksize(){return this.#a}#c;get ino(){return this.#c}#o;get size(){return this.#o}#f;get blocks(){return this.#f}#y;get atimeMs(){return this.#y}#A;get mtimeMs(){return this.#A}#m;get ctimeMs(){return this.#m}#E;get birthtimeMs(){return this.#E}#p;get atime(){return this.#p}#I;get mtime(){return this.#I}#C;get ctime(){return this.#C}#b;get birthtime(){return this.#b}#g;#x;#d;#w;#S;#v;#u;#B;#R;#N;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=Sa,n,i,s,a,c){this.name=e,this.#g=s?lk(e):PS(e),this.#u=r&XQt,this.nocase=s,this.roots=i,this.root=n||this,this.#B=a,this.#d=c.fullpath,this.#S=c.relative,this.#v=c.relativePosix,this.parent=c.parent,this.parent?this.#e=this.parent.#e:this.#e=lQe(c.fs)}depth(){return this.#x!==void 0?this.#x:this.parent?this.#x=this.parent.depth()+1:this.#x=0}childrenCache(){return this.#B}resolve(e){if(!e)return this;let r=this.getRootString(e),i=e.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#P(i):this.#P(i)}#P(e){let r=this;for(let n of e)r=r.child(n);return r}children(){let e=this.#B.get(this);if(e)return e;let r=Object.assign([],{provisional:0});return this.#B.set(this,r),this.#u&=~I9,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?lk(e):PS(e);for(let l of n)if(l.#g===i)return l;let s=this.parent?this.sep:"",a=this.#d?this.#d+s+e:void 0,c=this.newChild(e,Sa,{...r,parent:this,fullpath:a});return this.canReaddir()||(c.#u|=yc),n.push(c),c}relative(){if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let e=this.name,r=this.parent;if(!r)return this.#S=this.name;let n=r.relative();return n+(!n||!r.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#v!==void 0)return this.#v;let e=this.name,r=this.parent;if(!r)return this.#v=this.fullpathPosix();let n=r.relativePosix();return n+(!n||!r.parent?"":"/")+e}fullpath(){if(this.#d!==void 0)return this.#d;let e=this.name,r=this.parent;if(!r)return this.#d=this.name;let i=r.fullpath()+(r.parent?this.sep:"")+e;return this.#d=i}fullpathPosix(){if(this.#w!==void 0)return this.#w;if(this.sep==="/")return this.#w=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#w=`//?/${i}`:this.#w=i}let e=this.parent,r=e.fullpathPosix(),n=r+(!r||!e.parent?"":"/")+this.name;return this.#w=n}isUnknown(){return(this.#u&wa)===Sa}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#u&wa)===pQe}isDirectory(){return(this.#u&wa)===$l}isCharacterDevice(){return(this.#u&wa)===fQe}isBlockDevice(){return(this.#u&wa)===hQe}isFIFO(){return(this.#u&wa)===dQe}isSocket(){return(this.#u&wa)===AQe}isSymbolicLink(){return(this.#u&bA)===bA}lstatCached(){return this.#u&iQe?this:void 0}readlinkCached(){return this.#R}realpathCached(){return this.#N}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#R)return!0;if(!this.parent)return!1;let e=this.#u&wa;return!(e!==Sa&&e!==bA||this.#u&ck||this.#u&yc)}calledReaddir(){return!!(this.#u&I9)}isENOENT(){return!!(this.#u&yc)}isNamed(e){return this.nocase?this.#g===lk(e):this.#g===PS(e)}async readlink(){let e=this.#R;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),n=(await this.parent.realpath())?.resolve(r);if(n)return this.#R=n}catch(r){this.#F(r.code);return}}readlinkSync(){let e=this.#R;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),n=this.parent.realpathSync()?.resolve(r);if(n)return this.#R=n}catch(r){this.#F(r.code);return}}#O(e){this.#u|=I9;for(let r=e.provisional;rn(null,e))}readdirCB(e,r=!1){if(!this.canReaddir()){r?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);r?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#U.push(e),this.#q)return;this.#q=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,a)=>{if(s)this.#k(s.code),n.provisional=0;else{for(let c of a)this.#Q(c,n);this.#O(n)}this.#$(n.slice(0,n.provisional))})}#M;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();if(this.#M)await this.#M;else{let n=o(()=>{},"resolve");this.#M=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#Q(i,e);this.#O(e)}catch(i){this.#k(i.code),e.provisional=0}this.#M=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();try{for(let n of this.#e.readdirSync(r,{withFileTypes:!0}))this.#Q(n,e);this.#O(e)}catch(n){this.#k(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#u&sQe)return!1;let e=wa&this.#u;return e===Sa||e===$l||e===bA}shouldWalk(e,r){return(this.#u&$l)===$l&&!(this.#u&sQe)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#N)return this.#N;if(!((uk|ck|yc)&this.#u))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#N=this.resolve(e)}catch{this.#L()}}realpathSync(){if(this.#N)return this.#N;if(!((uk|ck|yc)&this.#u))try{let e=this.#e.realpathSync(this.fullpath());return this.#N=this.resolve(e)}catch{this.#L()}}[mQe](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let r=new Set([]),n=[],i=this;for(;i&&i.parent;)r.add(i),i.#S=n.join(this.sep),i.#v=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!r.has(i);)i.#S=void 0,i.#v=void 0,i=i.parent}};qt.PathBase=Ci;var LS=class t extends Ci{static{o(this,"PathWin32")}sep="\\";splitSep=KQt;constructor(e,r=Sa,n,i,s,a,c){super(e,r,n,i,s,a,c)}newChild(e,r=Sa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return dk.win32.parse(e).root}getRoot(e){if(e=YQt(e.toUpperCase()),e===this.root.name)return this.root;for(let[r,n]of Object.entries(this.roots))if(this.sameRoot(e,r))return this.roots[e]=n;return this.roots[e]=new US(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(uQe,"$1\\"),e===r}};qt.PathWin32=LS;var FS=class t extends Ci{static{o(this,"PathPosix")}splitSep="/";sep="/";constructor(e,r=Sa,n,i,s,a,c){super(e,r,n,i,s,a,c)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,r=Sa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};qt.PathPosix=FS;var MS=class{static{o(this,"PathScurryBase")}root;rootPath;roots;cwd;#e;#t;#n;nocase;#r;constructor(e=process.cwd(),r,n,{nocase:i,childrenCacheSize:s=16*1024,fs:a=QS}={}){this.#r=lQe(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,jQt.fileURLToPath)(e));let c=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new OS,this.#t=new OS,this.#n=new fk(s);let l=c.substring(this.rootPath.length).split(n);if(l.length===1&&!l[0]&&l.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#r),this.roots[this.rootPath]=this.root;let u=this.root,d=l.length-1,f=r.sep,h=this.rootPath,p=!1;for(let g of l){let m=d--;u=u.child(g,{relative:new Array(m).fill("..").join(f),relativePosix:new Array(m).fill("..").join("/"),fullpath:h+=(p?"":f)+g}),p=!0}this.cwd=u}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let r="";for(let s=e.length-1;s>=0;s--){let a=e[s];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let n=this.#e.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpath();return this.#e.set(r,i),i}resolvePosix(...e){let r="";for(let s=e.length-1;s>=0;s--){let a=e[s];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let n=this.#t.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpathPosix();return this.#t.set(r,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n}=r;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n=!0}=r;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e.withFileTypes,e=this.cwd);let n=await e.readlink();return r?n:n?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return r?n:n?.fullpath()}async realpath(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e.withFileTypes,e=this.cwd);let n=await e.realpath();return r?n:n?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return r?n:n?.fullpath()}async walk(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=[];(!s||s(e))&&c.push(n?e:e.fullpath());let l=new Set,u=o((f,h)=>{l.add(f),f.readdirCB((p,g)=>{if(p)return h(p);let m=g.length;if(!m)return h();let E=o(()=>{--m===0&&h()},"next");for(let y of g)(!s||s(y))&&c.push(n?y:y.fullpath()),i&&y.isSymbolicLink()?y.realpath().then(C=>C?.isUnknown()?C.lstat():C).then(C=>C?.shouldWalk(l,a)?u(C,E):E()):y.shouldWalk(l,a)?u(y,E):E()},!0)},"walk"),d=e;return new Promise((f,h)=>{u(d,p=>{if(p)return h(p);f(c)})})}walkSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=[];(!s||s(e))&&c.push(n?e:e.fullpath());let l=new Set([e]);for(let u of l){let d=u.readdirSync();for(let f of d){(!s||s(f))&&c.push(n?f:f.fullpath());let h=f;if(f.isSymbolicLink()){if(!(i&&(h=f.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(l,a)&&l.add(h)}}return c}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,r={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd),this.stream(e,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r;(!s||s(e))&&(yield n?e:e.fullpath());let c=new Set([e]);for(let l of c){let u=l.readdirSync();for(let d of u){(!s||s(d))&&(yield n?d:d.fullpath());let f=d;if(d.isSymbolicLink()){if(!(i&&(f=d.realpathSync())))continue;f.isUnknown()&&f.lstatSync()}f.shouldWalk(c,a)&&c.add(f)}}}stream(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new nQe.Minipass({objectMode:!0});(!s||s(e))&&c.write(n?e:e.fullpath());let l=new Set,u=[e],d=0,f=o(()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){d===0&&c.end();return}d++,l.add(p);let g=o((E,y,C=!1)=>{if(E)return c.emit("error",E);if(i&&!C){let I=[];for(let B of y)B.isSymbolicLink()&&I.push(B.realpath().then(Q=>Q?.isUnknown()?Q.lstat():Q));if(I.length){Promise.all(I).then(()=>g(null,y,!0));return}}for(let I of y)I&&(!s||s(I))&&(c.write(n?I:I.fullpath())||(h=!0));d--;for(let I of y){let B=I.realpathCached()||I;B.shouldWalk(l,a)&&u.push(B)}h&&!c.flowing?c.once("drain",f):m||f()},"onReaddir"),m=!0;p.readdirCB(g,!0),m=!1}},"process");return f(),c}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ci||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new nQe.Minipass({objectMode:!0}),l=new Set;(!s||s(e))&&c.write(n?e:e.fullpath());let u=[e],d=0,f=o(()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){d===0&&c.end();return}d++,l.add(p);let g=p.readdirSync();for(let m of g)(!s||s(m))&&(c.write(n?m:m.fullpath())||(h=!0));d--;for(let m of g){let E=m;if(m.isSymbolicLink()){if(!(i&&(E=m.realpathSync())))continue;E.isUnknown()&&E.lstatSync()}E.shouldWalk(l,a)&&u.push(E)}}h&&!c.flowing&&c.once("drain",f)},"process");return f(),c}chdir(e=this.cwd){let r=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[mQe](r)}};qt.PathScurryBase=MS;var US=class extends MS{static{o(this,"PathScurryWin32")}sep="\\";constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,dk.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return dk.win32.parse(e).root.toUpperCase()}newRoot(e){return new LS(this.rootPath,$l,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};qt.PathScurryWin32=US;var qS=class extends MS{static{o(this,"PathScurryPosix")}sep="/";constructor(e=process.cwd(),r={}){let{nocase:n=!1}=r;super(e,dk.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new FS(this.rootPath,$l,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};qt.PathScurryPosix=qS;var hk=class extends qS{static{o(this,"PathScurryDarwin")}constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};qt.PathScurryDarwin=hk;qt.Path=process.platform==="win32"?LS:FS;qt.PathScurry=process.platform==="win32"?US:process.platform==="darwin"?hk:qS});var B9=A(pk=>{"use strict";Object.defineProperty(pk,"__esModule",{value:!0});pk.Pattern=void 0;var ZQt=Vf(),e1t=o(t=>t.length>=1,"isPatternList"),t1t=o(t=>t.length>=1,"isGlobList"),S9=class t{static{o(this,"Pattern")}#e;#t;#n;length;#r;#i;#s;#l;#a;#c;#o=!0;constructor(e,r,n,i){if(!e1t(e))throw new TypeError("empty pattern list");if(!t1t(r))throw new TypeError("empty glob list");if(r.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=r,this.#n=n,this.#r=i,this.#n===0){if(this.isUNC()){let[s,a,c,l,...u]=this.#e,[d,f,h,p,...g]=this.#t;u[0]===""&&(u.shift(),g.shift());let m=[s,a,c,l,""].join("/"),E=[d,f,h,p,""].join("/");this.#e=[m,...u],this.#t=[E,...g],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...a]=this.#e,[c,...l]=this.#t;a[0]===""&&(a.shift(),l.shift());let u=s+"/",d=c+"/";this.#e=[u,...a],this.#t=[d,...l],this.length=this.#e.length}}}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]=="string"}isGlobstar(){return this.#e[this.#n]===ZQt.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#s=this.#s||(this.#n===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#i!==void 0?this.#i:this.hasMore()?(this.#i=new t(this.#e,this.#t,this.#n+1,this.#r),this.#i.#c=this.#c,this.#i.#a=this.#a,this.#i.#l=this.#l,this.#i):this.#i=null}isUNC(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=this.#r==="win32"&&this.#n===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#r==="win32"&&this.#n===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#c!==void 0?this.#c:this.#c=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#n===0?e:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#o)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#o?!1:(this.#o=!1,!0)}};pk.Pattern=S9});var wQe=A(us=>{"use strict";var r1t=us&&us.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(us,"__esModule",{value:!0});us.Minipass=us.isWritable=us.isReadable=us.isStream=void 0;var yQe=typeof process=="object"&&process?process:{stdout:null,stderr:null},D9=require("node:events"),IQe=r1t(require("node:stream")),n1t=require("node:string_decoder"),i1t=o(t=>!!t&&typeof t=="object"&&(t instanceof bk||t instanceof IQe.default||(0,us.isReadable)(t)||(0,us.isWritable)(t)),"isStream");us.isStream=i1t;var s1t=o(t=>!!t&&typeof t=="object"&&t instanceof D9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==IQe.default.Writable.prototype.pipe,"isReadable");us.isReadable=s1t;var o1t=o(t=>!!t&&typeof t=="object"&&t instanceof D9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");us.isWritable=o1t;var gd=Symbol("EOF"),yd=Symbol("maybeEmitEnd"),jf=Symbol("emittedEnd"),Ak=Symbol("emittingEnd"),GS=Symbol("emittedError"),mk=Symbol("closed"),EQe=Symbol("read"),gk=Symbol("flush"),CQe=Symbol("flushChunk"),Ec=Symbol("encoding"),OE=Symbol("decoder"),ti=Symbol("flowing"),HS=Symbol("paused"),LE=Symbol("resume"),ri=Symbol("buffer"),ls=Symbol("pipes"),ni=Symbol("bufferLength"),x9=Symbol("bufferPush"),yk=Symbol("bufferShift"),ki=Symbol("objectMode"),dn=Symbol("destroyed"),v9=Symbol("error"),N9=Symbol("emitData"),bQe=Symbol("emitEnd"),_9=Symbol("emitEnd2"),jl=Symbol("async"),T9=Symbol("abort"),Ek=Symbol("aborted"),VS=Symbol("signal"),IA=Symbol("dataListeners"),vo=Symbol("discarded"),zS=o(t=>Promise.resolve().then(t),"defer"),a1t=o(t=>t(),"nodefer"),c1t=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),l1t=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),u1t=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),Ck=class{static{o(this,"Pipe")}src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[LE](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},R9=class extends Ck{static{o(this,"PipeProxyErrors")}unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>this.dest.emit("error",i),e.on("error",this.proxyErrors)}},d1t=o(t=>!!t.objectMode,"isObjectModeOptions"),f1t=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),bk=class extends D9.EventEmitter{static{o(this,"Minipass")}[ti]=!1;[HS]=!1;[ls]=[];[ri]=[];[ki];[Ec];[jl];[OE];[gd]=!1;[jf]=!1;[Ak]=!1;[mk]=!1;[GS]=null;[ni]=0;[dn]=!1;[VS];[Ek]=!1;[IA]=0;[vo]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");d1t(r)?(this[ki]=!0,this[Ec]=null):f1t(r)?(this[Ec]=r.encoding,this[ki]=!1):(this[ki]=!1,this[Ec]=null),this[jl]=!!r.async,this[OE]=this[Ec]?new n1t.StringDecoder(this[Ec]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[ri],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[ls],"get")});let{signal:n}=r;n&&(this[VS]=n,n.aborted?this[T9]():n.addEventListener("abort",()=>this[T9]()))}get bufferLength(){return this[ni]}get encoding(){return this[Ec]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[ki]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[jl]}set async(e){this[jl]=this[jl]||!!e}[T9](){this[Ek]=!0,this.emit("abort",this[VS]?.reason),this.destroy(this[VS]?.reason)}get aborted(){return this[Ek]}set aborted(e){}write(e,r,n){if(this[Ek])return!1;if(this[gd])throw new Error("write after end");if(this[dn])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[jl]?zS:a1t;if(!this[ki]&&!Buffer.isBuffer(e)){if(u1t(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(l1t(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[ki]?(this[ti]&&this[ni]!==0&&this[gk](!0),this[ti]?this.emit("data",e):this[x9](e),this[ni]!==0&&this.emit("readable"),n&&i(n),this[ti]):e.length?(typeof e=="string"&&!(r===this[Ec]&&!this[OE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Ec]&&(e=this[OE].write(e)),this[ti]&&this[ni]!==0&&this[gk](!0),this[ti]?this.emit("data",e):this[x9](e),this[ni]!==0&&this.emit("readable"),n&&i(n),this[ti]):(this[ni]!==0&&this.emit("readable"),n&&i(n),this[ti])}read(e){if(this[dn])return null;if(this[vo]=!1,this[ni]===0||e===0||e&&e>this[ni])return this[yd](),null;this[ki]&&(e=null),this[ri].length>1&&!this[ki]&&(this[ri]=[this[Ec]?this[ri].join(""):Buffer.concat(this[ri],this[ni])]);let r=this[EQe](e||null,this[ri][0]);return this[yd](),r}[EQe](e,r){if(this[ki])this[yk]();else{let n=r;e===n.length||e===null?this[yk]():typeof n=="string"?(this[ri][0]=n.slice(e),r=n.slice(0,e),this[ni]-=e):(this[ri][0]=n.subarray(e),r=n.subarray(0,e),this[ni]-=e)}return this.emit("data",r),!this[ri].length&&!this[gd]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[gd]=!0,this.writable=!1,(this[ti]||!this[HS])&&this[yd](),this}[LE](){this[dn]||(!this[IA]&&!this[ls].length&&(this[vo]=!0),this[HS]=!1,this[ti]=!0,this.emit("resume"),this[ri].length?this[gk]():this[gd]?this[yd]():this.emit("drain"))}resume(){return this[LE]()}pause(){this[ti]=!1,this[HS]=!0,this[vo]=!1}get destroyed(){return this[dn]}get flowing(){return this[ti]}get paused(){return this[HS]}[x9](e){this[ki]?this[ni]+=1:this[ni]+=e.length,this[ri].push(e)}[yk](){return this[ki]?this[ni]-=1:this[ni]-=this[ri][0].length,this[ri].shift()}[gk](e=!1){do;while(this[CQe](this[yk]())&&this[ri].length);!e&&!this[ri].length&&!this[gd]&&this.emit("drain")}[CQe](e){return this.emit("data",e),this[ti]}pipe(e,r){if(this[dn])return e;this[vo]=!1;let n=this[jf];return r=r||{},e===yQe.stdout||e===yQe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[ls].push(r.proxyErrors?new R9(this,e,r):new Ck(this,e,r)),this[jl]?zS(()=>this[LE]()):this[LE]()),e}unpipe(e){let r=this[ls].find(n=>n.dest===e);r&&(this[ls].length===1?(this[ti]&&this[IA]===0&&(this[ti]=!1),this[ls]=[]):this[ls].splice(this[ls].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[vo]=!1,this[IA]++,!this[ls].length&&!this[ti]&&this[LE]();else if(e==="readable"&&this[ni]!==0)super.emit("readable");else if(c1t(e)&&this[jf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[GS]){let i=r;this[jl]?zS(()=>i.call(this,this[GS])):i.call(this,this[GS])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[IA]=this.listeners("data").length,this[IA]===0&&!this[vo]&&!this[ls].length&&(this[ti]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[IA]=0,!this[vo]&&!this[ls].length&&(this[ti]=!1)),r}get emittedEnd(){return this[jf]}[yd](){!this[Ak]&&!this[jf]&&!this[dn]&&this[ri].length===0&&this[gd]&&(this[Ak]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[mk]&&this.emit("close"),this[Ak]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==dn&&this[dn])return!1;if(e==="data")return!this[ki]&&!n?!1:this[jl]?(zS(()=>this[N9](n)),!0):this[N9](n);if(e==="end")return this[bQe]();if(e==="close"){if(this[mk]=!0,!this[jf]&&!this[dn])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[GS]=n,super.emit(v9,n);let s=!this[VS]||this.listeners("error").length?super.emit("error",n):!1;return this[yd](),s}else if(e==="resume"){let s=super.emit("resume");return this[yd](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[yd](),i}[N9](e){for(let n of this[ls])n.dest.write(e)===!1&&this.pause();let r=this[vo]?!1:super.emit("data",e);return this[yd](),r}[bQe](){return this[jf]?!1:(this[jf]=!0,this.readable=!1,this[jl]?(zS(()=>this[_9]()),!0):this[_9]())}[_9](){if(this[OE]){let r=this[OE].end();if(r){for(let n of this[ls])n.dest.write(r);this[vo]||super.emit("data",r)}}for(let r of this[ls])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[ki]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[ki]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[ki])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Ec]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(dn,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[vo]=!1;let e=!1,r=o(async()=>(this.pause(),e=!0,{value:void 0,done:!0}),"stop");return{next:o(()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[gd])return r();let s,a,c=o(f=>{this.off("data",l),this.off("end",u),this.off(dn,d),r(),a(f)},"onerr"),l=o(f=>{this.off("error",c),this.off("end",u),this.off(dn,d),this.pause(),s({value:f,done:!!this[gd]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(dn,d),r(),s({done:!0,value:void 0})},"onend"),d=o(()=>c(new Error("stream destroyed")),"ondestroy");return new Promise((f,h)=>{a=h,s=f,this.once(dn,d),this.once("error",c),this.once("end",u),this.once("data",l)})},"next"),throw:r,return:r,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[vo]=!1;let e=!1,r=o(()=>(this.pause(),this.off(v9,r),this.off(dn,r),this.off("end",r),e=!0,{done:!0,value:void 0}),"stop"),n=o(()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}},"next");return this.once("end",r),this.once(v9,r),this.once(dn,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(e){if(this[dn])return e?this.emit("error",e):this.emit(dn),this;this[dn]=!0,this[vo]=!0,this[ri].length=0,this[ni]=0;let r=this;return typeof r.close=="function"&&!this[mk]&&r.close(),e?this.emit("error",e):this.emit(dn),this}static get isStream(){return us.isStream}};us.Minipass=bk});var k9=A(Ik=>{"use strict";Object.defineProperty(Ik,"__esModule",{value:!0});Ik.Ignore=void 0;var SQe=Vf(),h1t=B9(),p1t=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Q9=class{static{o(this,"Ignore")}relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:a=p1t}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=a,this.mmopts={dot:!0,nobrace:r,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0};for(let c of e)this.add(c)}add(e){let r=new SQe.Minimatch(e,this.mmopts);for(let n=0;n{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.Processor=Wl.SubWalks=Wl.MatchRecord=Wl.HasWalkedCache=void 0;var BQe=Vf(),wk=class t{static{o(this,"HasWalkedCache")}store;constructor(e=new Map){this.store=e}copy(){return new t(new Map(this.store))}hasWalked(e,r){return this.store.get(e.fullpath())?.has(r.globString())}storeWalked(e,r){let n=e.fullpath(),i=this.store.get(n);i?i.add(r.globString()):this.store.set(n,new Set([r.globString()]))}};Wl.HasWalkedCache=wk;var Sk=class{static{o(this,"MatchRecord")}store=new Map;add(e,r,n){let i=(r?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,r])=>[e,!!(r&2),!!(r&1)])}};Wl.MatchRecord=Sk;var Bk=class{static{o(this,"SubWalks")}store=new Map;add(e,r){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===r.globString())||n.push(r):this.store.set(e,[r])}get(e){let r=this.store.get(e);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};Wl.SubWalks=Bk;var P9=class t{static{o(this,"Processor")}hasWalkedCache;matches=new Sk;subwalks=new Bk;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new wk}processPatterns(e,r){this.patterns=r;let n=r.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let a=s.root(),c=s.isAbsolute()&&this.opts.absolute!==!1;if(a){i=i.resolve(a==="/"&&this.opts.root!==void 0?this.opts.root:a);let f=s.rest();if(f)s=f;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let l,u,d=!1;for(;typeof(l=s.pattern())=="string"&&(u=s.rest());)i=i.resolve(l),s=u,d=!0;if(l=s.pattern(),u=s.rest(),d){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof l=="string"){let f=l===".."||l===""||l===".";this.matches.add(i.resolve(l),c,f);continue}else if(l===BQe.GLOBSTAR){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let f=u?.pattern(),h=u?.rest();if(!u||(f===""||f===".")&&!h)this.matches.add(i,c,f===""||f===".");else if(f===".."){let p=i.parent||i;h?this.hasWalkedCache.hasWalked(p,h)||this.subwalks.add(p,h):this.matches.add(p,c,!0)}}else l instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new t(this.opts,this.hasWalkedCache)}filterEntries(e,r){let n=this.subwalks.get(e),i=this.child();for(let s of r)for(let a of n){let c=a.isAbsolute(),l=a.pattern(),u=a.rest();l===BQe.GLOBSTAR?i.testGlobstar(s,a,u,c):l instanceof RegExp?i.testRegExp(s,l,u,c):i.testString(s,l,u,c)}return i}testGlobstar(e,r,n,i){if((this.dot||!e.name.startsWith("."))&&(r.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,r):e.isSymbolicLink()&&(n&&r.checkFollowGlobstar()?this.subwalks.add(e,n):r.markFollowGlobstar()&&this.subwalks.add(e,r)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let a=e.parent||e;this.subwalks.add(a,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,r,n,i){r.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,r,n,i){e.isNamed(r)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};Wl.Processor=P9});var _Qe=A(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.GlobStream=Wf.GlobWalker=Wf.GlobUtil=void 0;var A1t=wQe(),vQe=k9(),NQe=xQe(),m1t=o((t,e)=>typeof t=="string"?new vQe.Ignore([t],e):Array.isArray(t)?new vQe.Ignore(t,e):t,"makeIgnore"),$S=class{static{o(this,"GlobUtil")}path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#n;signal;maxDepth;includeChildMatches;constructor(e,r,n){if(this.patterns=e,this.path=r,this.opts=n,this.#n=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#t=m1t(n.ignore??[],n),!this.includeChildMatches&&typeof this.#t.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#r(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#i(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let a=await s.realpath();a&&(a.isUnknown()||this.opts.stat)&&await a.lstat()}return this.matchCheckTest(s,r)}matchCheckTest(e,r){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!r||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#r(e)?e:void 0}matchCheckSync(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let a=s.realpathSync();a&&(a?.isUnknown()||this.opts.stat)&&a.lstatSync()}return this.matchCheckTest(s,r)}matchFinish(e,r){if(this.#r(e))return;if(!this.includeChildMatches&&this.#t?.add){let s=`${e.relativePosix()}/**`;this.#t.add(s)}let n=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let s=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(s+i)}else{let s=this.opts.posix?e.relativePosix():e.relative(),a=this.opts.dotRelative&&!s.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(s?a+s+i:"."+i)}}async match(e,r,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,r)}matchSync(e,r,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,r)}walkCB(e,r,n){this.signal?.aborted&&n(),this.walkCB2(e,r,new NQe.Processor(this.opts),n)}walkCB2(e,r,n,i){if(this.#i(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,r,n,i));return}n.processPatterns(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||(s++,this.match(c,l,u).then(()=>a()));for(let c of n.subwalkTargets()){if(this.maxDepth!==1/0&&c.depth()>=this.maxDepth)continue;s++;let l=c.readdirCached();c.calledReaddir()?this.walkCB3(c,l,n,a):c.readdirCB((u,d)=>this.walkCB3(c,d,n,a),!0)}a()}walkCB3(e,r,n,i){n=n.filterEntries(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||(s++,this.match(c,l,u).then(()=>a()));for(let[c,l]of n.subwalks.entries())s++,this.walkCB2(c,l,n.child(),a);a()}walkCBSync(e,r,n){this.signal?.aborted&&n(),this.walkCB2Sync(e,r,new NQe.Processor(this.opts),n)}walkCB2Sync(e,r,n,i){if(this.#i(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,r,n,i));return}n.processPatterns(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||this.matchSync(c,l,u);for(let c of n.subwalkTargets()){if(this.maxDepth!==1/0&&c.depth()>=this.maxDepth)continue;s++;let l=c.readdirSync();this.walkCB3Sync(c,l,n,a)}a()}walkCB3Sync(e,r,n,i){n=n.filterEntries(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||this.matchSync(c,l,u);for(let[c,l]of n.subwalks.entries())s++,this.walkCB2Sync(c,l,n.child(),a);a()}};Wf.GlobUtil=$S;var O9=class extends $S{static{o(this,"GlobWalker")}matches=new Set;constructor(e,r,n){super(e,r,n)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};Wf.GlobWalker=O9;var L9=class extends $S{static{o(this,"GlobStream")}results;constructor(e,r,n){super(e,r,n),this.results=new A1t.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};Wf.GlobStream=L9});var M9=A(Nk=>{"use strict";Object.defineProperty(Nk,"__esModule",{value:!0});Nk.Glob=void 0;var g1t=Vf(),y1t=require("node:url"),xk=gQe(),E1t=B9(),vk=_Qe(),C1t=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",F9=class{static{o(this,"Glob")}absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,y1t.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=e,this.platform=r.platform||C1t,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=r.platform==="win32"?xk.PathScurryWin32:r.platform==="darwin"?xk.PathScurryDarwin:r.platform?xk.PathScurryPosix:xk.PathScurry;this.scurry=new l(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(l=>new g1t.Minimatch(l,i)),[a,c]=s.reduce((l,u)=>(l[0].push(...u.set),l[1].push(...u.globParts),l),[[],[]]);this.patterns=a.map((l,u)=>{let d=c[u];if(!d)throw new Error("invalid pattern object");return new E1t.Pattern(l,d,0,this.platform)})}async walk(){return[...await new vk.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new vk.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new vk.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new vk.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};Nk.Glob=F9});var U9=A(_k=>{"use strict";Object.defineProperty(_k,"__esModule",{value:!0});_k.hasMagic=void 0;var b1t=Vf(),I1t=o((t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new b1t.Minimatch(r,e).hasMagic())return!0;return!1},"hasMagic");_k.hasMagic=I1t});var QQe=A(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.glob=Ct.sync=Ct.iterate=Ct.iterateSync=Ct.stream=Ct.streamSync=Ct.Ignore=Ct.hasMagic=Ct.Glob=Ct.unescape=Ct.escape=void 0;Ct.globStreamSync=jS;Ct.globStream=q9;Ct.globSync=G9;Ct.globIterateSync=WS;Ct.globIterate=H9;var TQe=Vf(),wA=M9(),w1t=U9(),DQe=Vf();Object.defineProperty(Ct,"escape",{enumerable:!0,get:o(function(){return DQe.escape},"get")});Object.defineProperty(Ct,"unescape",{enumerable:!0,get:o(function(){return DQe.unescape},"get")});var S1t=M9();Object.defineProperty(Ct,"Glob",{enumerable:!0,get:o(function(){return S1t.Glob},"get")});var B1t=U9();Object.defineProperty(Ct,"hasMagic",{enumerable:!0,get:o(function(){return B1t.hasMagic},"get")});var x1t=k9();Object.defineProperty(Ct,"Ignore",{enumerable:!0,get:o(function(){return x1t.Ignore},"get")});function jS(t,e={}){return new wA.Glob(t,e).streamSync()}o(jS,"globStreamSync");function q9(t,e={}){return new wA.Glob(t,e).stream()}o(q9,"globStream");function G9(t,e={}){return new wA.Glob(t,e).walkSync()}o(G9,"globSync");async function RQe(t,e={}){return new wA.Glob(t,e).walk()}o(RQe,"glob_");function WS(t,e={}){return new wA.Glob(t,e).iterateSync()}o(WS,"globIterateSync");function H9(t,e={}){return new wA.Glob(t,e).iterate()}o(H9,"globIterate");Ct.streamSync=jS;Ct.stream=Object.assign(q9,{sync:jS});Ct.iterateSync=WS;Ct.iterate=Object.assign(H9,{sync:WS});Ct.sync=Object.assign(G9,{stream:jS,iterate:WS});Ct.glob=Object.assign(RQe,{glob:RQe,globSync:G9,sync:Ct.sync,globStream:q9,stream:Ct.stream,globStreamSync:jS,streamSync:Ct.streamSync,globIterate:H9,iterate:Ct.iterate,globIterateSync:WS,iterateSync:Ct.iterateSync,Glob:wA.Glob,hasMagic:w1t.hasMagic,escape:TQe.escape,unescape:TQe.unescape});Ct.glob.glob=Ct.glob});var LQe=A((IDr,OQe)=>{var PQe=lW(),FE=require("path"),V9=ZRe(),v1t=pDe(),N1t=BDe(),_1t=DDe(),T1t=QQe(),SA=OQe.exports={},kQe=/[\/\\]/g,R1t=o(function(t,e){var r=[];return V9(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=v1t(r,s):r=N1t(r,s)}),r},"processPatterns");SA.exists=function(){var t=FE.join.apply(FE,arguments);return PQe.existsSync(t)};SA.expand=function(...t){var e=_1t(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=R1t(r,function(i){return T1t.sync(i,e)});return e.filter&&(n=n.filter(function(i){i=FE.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):PQe.statSync(i)[e.filter]()}catch{return!1}})),n};SA.expandMapping=function(t,e,r){r=Object.assign({rename:o(function(s,a){return FE.join(s||"",a)},"rename")},r);var n=[],i={};return SA.expand(r,t).forEach(function(s){var a=s;r.flatten&&(a=FE.basename(a)),r.ext&&(a=a.replace(/(\.[^\/]*)?$/,r.ext));var c=r.rename(e,a,r);r.cwd&&(s=FE.join(r.cwd,s)),c=c.replace(kQe,"/"),s=s.replace(kQe,"/"),i[c]?i[c].src.push(s):(n.push({src:[s],dest:c}),i[c]=n[n.length-1])}),n};SA.normalizeFilesArray=function(t){var e=[];return t.forEach(function(r){var n;("src"in r||"dest"in r)&&e.push(r)}),e.length===0?[]:(e=_(e).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=V9(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return SA.expandMapping(r.src,r.dest,n).map(function(s){var a=Object.assign({},r);return a.orig=Object.assign({},r),a.src=s.src,a.dest=s.dest,["expand","cwd","flatten","rename","ext"].forEach(function(c){delete a[c]}),a});var i=Object.assign({},r);return i.orig=Object.assign({},r),"src"in i&&Object.defineProperty(i,"src",{enumerable:!0,get:o(function s(){var a;return"result"in s||(a=r.src,a=Array.isArray(a)?V9(a):[a],s.result=SA.expand(n,a)),s.result},"fn")}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var ME=A((BDr,UQe)=>{var z9=lW(),FQe=require("path"),D1t=HQ(),Q1t=lve(),MQe=QW(),k1t=HNe(),SDr=require("stream").Stream,P1t=yA().PassThrough,No=UQe.exports={};No.file=LQe();No.collectStream=function(t,e){var r=[],n=0;t.on("error",e),t.on("data",function(i){r.push(i),n+=i.length}),t.on("end",function(){var i=Buffer.alloc(n),s=0;r.forEach(function(a){a.copy(i,s),s+=a.length}),e(null,i)})};No.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};No.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},k1t(...n)};No.isStream=function(t){return D1t(t)};No.lazyReadStream=function(t){return new Q1t.Readable(function(){return z9.createReadStream(t)})};No.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):No.isStream(t)?t.pipe(new P1t):t};No.sanitizePath=function(t){return MQe(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};No.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};No.unixifyPath=function(t){return MQe(t,!1).replace(/^\w+:/,"")};No.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),z9.readdir(t,function(i,s){var a=0,c,l;if(i)return r(i);o((function u(){if(c=s[a++],!c)return r(null,n);l=FQe.join(t,c),z9.stat(l,function(d,f){n.push({path:l,relative:FQe.relative(e,l).replace(/\\/g,"/"),stats:f}),f&&f.isDirectory()?No.walkdir(l,e,function(h,p){if(h)return r(h);p.forEach(function(g){n.push(g)}),u()}):u()})}),"next")()})}});var VQe=A((GQe,HQe)=>{var O1t=require("util"),L1t={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function qQe(t,e){Error.captureStackTrace(this,this.constructor),this.message=L1t[t]||t,this.code=t,this.data=e}o(qQe,"ArchiverError");O1t.inherits(qQe,Error);GQe=HQe.exports=qQe});var JQe=A((NDr,WQe)=>{var W9=require("fs"),$Qe=ZBe(),zQe=txe(),$9=require("path"),Jl=ME(),F1t=require("util").inherits,$r=VQe(),jQe=yA().Transform,j9=process.platform==="win32",kt=o(function(t,e){if(!(this instanceof kt))return new kt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=Jl.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),jQe.call(this,e),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=zQe.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=zQe.queue(this._onStatQueueTask.bind(this),e.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]},"Archiver");F1t(kt,jQe);kt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};kt.prototype._append=function(t,e){e=e||{};var r={source:null,filepath:t};e.name||(e.name=t),e.sourcePath=t,r.data=e,this._entriesCount++,e.stats&&e.stats instanceof W9.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};kt.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)};kt.prototype._maybeFinalize=function(){return this._state.finalizing||this._state.finalized||this._state.aborted?!1:this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()?(this._finalize(),!0):!1};kt.prototype._moduleAppend=function(t,e,r){if(this._state.aborted){r();return}this._module.append(t,e,function(n){if(this._task=null,this._state.aborted){this._shutdown();return}if(n){this.emit("error",n),setImmediate(r);return}this.emit("entry",e),this._entriesProcessedCount++,e.stats&&e.stats.size&&(this._fsEntriesProcessedBytes+=e.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}.bind(this))};kt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new $r("NOENDMETHOD"))};kt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};kt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};kt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};kt.prototype._normalizeEntryData=function(t,e){t=Jl.defaults(t,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),e&&t.stats===!1&&(t.stats=e);var r=t.type==="directory";return t.name&&(typeof t.prefix=="string"&&t.prefix!==""&&(t.name=t.prefix+"/"+t.name,t.prefix=null),t.name=Jl.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?j9?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(j9?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,j9&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=Jl.dateify(t.date),t};kt.prototype._onModuleError=function(t){this.emit("error",t)};kt.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()};kt.prototype._onQueueTask=function(t,e){var r=o(()=>{t.data.callback&&t.data.callback(),e()},"fullCallback");if(this._state.finalizing||this._state.finalized||this._state.aborted){r();return}this._task=t,this._moduleAppend(t.source,t.data,r)};kt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}W9.lstat(t.filepath,function(r,n){if(this._state.aborted){setImmediate(e);return}if(r){this._entriesCount--,this.emit("warning",r),setImmediate(e);return}t=this._updateQueueTaskWithStats(t,n),t&&(n.size&&(this._fsEntriesTotalBytes+=n.size),this._queue.push(t)),setImmediate(e)}.bind(this))};kt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};kt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};kt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=Jl.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=Jl.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=Jl.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=W9.readlinkSync(t.filepath),n=$9.dirname(t.filepath);t.data.type="symlink",t.data.linkname=$9.relative(n,$9.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new $r("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new $r("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new $r("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};kt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};kt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new $r("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new $r("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new $r("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=Jl.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if(Jl.isStream(t))e.sourceType="stream";else return this.emit("error",new $r("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};kt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new $r("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new $r("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,e===!1?e="":typeof e!="string"&&(e=t);var n=!1;typeof r=="function"?(n=r,r={}):typeof r!="object"&&(r={});var i={stat:!0,dot:!0};function s(){this._pending--,this._maybeFinalize()}o(s,"onGlobEnd");function a(u){this.emit("error",u)}o(a,"onGlobError");function c(u){l.pause();var d=!1,f=Object.assign({},r);f.name=u.relative,f.prefix=e,f.stats=u.stat,f.callback=l.resume.bind(l);try{if(n){if(f=n(f),f===!1)d=!0;else if(typeof f!="object")throw new $r("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:t})}}catch(h){this.emit("error",h);return}if(d){l.resume();return}this._append(u.absolute,f)}o(c,"onGlobMatch");var l=$Qe(t,i);return l.on("error",a.bind(this)),l.on("match",c.bind(this)),l.on("end",s.bind(this)),this};kt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new $r("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new $r("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};kt.prototype.glob=function(t,e,r){this._pending++,e=Jl.defaults(e,{stat:!0,pattern:t});function n(){this._pending--,this._maybeFinalize()}o(n,"onGlobEnd");function i(c){this.emit("error",c)}o(i,"onGlobError");function s(c){a.pause();var l=Object.assign({},r);l.callback=a.resume.bind(a),l.stats=c.stat,l.name=c.relative,this._append(c.absolute,l)}o(s,"onGlobMatch");var a=$Qe(e.cwd||".",e);return a.on("error",i.bind(this)),a.on("match",s.bind(this)),a.on("end",n.bind(this)),this};kt.prototype.finalize=function(){if(this._state.aborted){var t=new $r("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new $r("FINALIZING");return this.emit("error",e),Promise.reject(e)}this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise(function(n,i){var s;r._module.on("end",function(){s||n()}),r._module.on("error",function(a){s=!0,i(a)})})};kt.prototype.setFormat=function(t){return this._format?(this.emit("error",new $r("FORMATSET")),this):(this._format=t,this)};kt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new $r("ABORTED")),this):this._state.module?(this.emit("error",new $r("MODULESET")),this):(this._module=t,this._modulePipe(),this)};kt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new $r("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new $r("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new $r("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new $r("SYMLINKNOTSUPPORTED",{filepath:t})),this;var n={};return n.type="symlink",n.name=t.replace(/\\/g,"/"),n.linkname=e.replace(/\\/g,"/"),n.sourceType="buffer",typeof r=="number"&&(n.mode=r),this._entriesCount++,this._queue.push({data:n,source:Buffer.concat([])}),this};kt.prototype.pointer=function(){return this._pointer};kt.prototype.use=function(t){return this._streams.push(t),this};WQe.exports=kt});var Rk=A((TDr,YQe)=>{var Tk=YQe.exports=function(){};Tk.prototype.getName=function(){};Tk.prototype.getSize=function(){};Tk.prototype.getLastModifiedDate=function(){};Tk.prototype.isDirectory=function(){}});var Dk=A((RDr,KQe)=>{var Ba=KQe.exports={};Ba.dateToDos=function(t,e){e=e||!1;var r=e?t.getFullYear():t.getUTCFullYear();if(r<1980)return 2162688;if(r>=2044)return 2141175677;var n={year:r,month:e?t.getMonth():t.getUTCMonth(),date:e?t.getDate():t.getUTCDate(),hours:e?t.getHours():t.getUTCHours(),minutes:e?t.getMinutes():t.getUTCMinutes(),seconds:e?t.getSeconds():t.getUTCSeconds()};return n.year-1980<<25|n.month+1<<21|n.date<<16|n.hours<<11|n.minutes<<5|n.seconds/2};Ba.dosToDate=function(t){return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(t&31)<<1)};Ba.fromDosTime=function(t){return Ba.dosToDate(t.readUInt32LE(0))};Ba.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};Ba.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};Ba.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};Ba.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};Ba.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};Ba.toDosTime=function(t){return Ba.getLongBytes(Ba.dateToDos(t))}});var J9=A((DDr,n1e)=>{var XQe=Dk(),ZQe=8,e1e=1,M1t=4,U1t=2,t1e=64,r1e=2048,bi=n1e.exports=function(){return this instanceof bi?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new bi};bi.prototype.encode=function(){return XQe.getShortBytes((this.descriptor?ZQe:0)|(this.utf8?r1e:0)|(this.encryption?e1e:0)|(this.strongEncryption?t1e:0))};bi.prototype.parse=function(t,e){var r=XQe.getShortBytesValue(t,e),n=new bi;return n.useDataDescriptor((r&ZQe)!==0),n.useUTF8ForNames((r&r1e)!==0),n.useStrongEncryption((r&t1e)!==0),n.useEncryption((r&e1e)!==0),n.setSlidingDictionarySize((r&U1t)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&M1t)!==0?3:2),n};bi.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};bi.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};bi.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};bi.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};bi.prototype.useDataDescriptor=function(t){this.descriptor=t};bi.prototype.usesDataDescriptor=function(){return this.descriptor};bi.prototype.useEncryption=function(t){this.encryption=t};bi.prototype.usesEncryption=function(){return this.encryption};bi.prototype.useStrongEncryption=function(t){this.strongEncryption=t};bi.prototype.usesStrongEncryption=function(){return this.strongEncryption};bi.prototype.useUTF8ForNames=function(t){this.utf8=t};bi.prototype.usesUTF8ForNames=function(){return this.utf8}});var s1e=A((QDr,i1e)=>{i1e.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var Y9=A((kDr,o1e)=>{o1e.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var K9=A((PDr,d1e)=>{var q1t=require("util").inherits,G1t=QW(),c1e=Rk(),l1e=J9(),a1e=s1e(),ds=Y9(),u1e=Dk(),lt=d1e.exports=function(t){if(!(this instanceof lt))return new lt(t);c1e.call(this),this.platform=ds.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new l1e,this.crc=0,this.time=-1,this.minver=ds.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,t&&this.setName(t)};q1t(lt,c1e);lt.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};lt.prototype.getComment=function(){return this.comment!==null?this.comment:""};lt.prototype.getCompressedSize=function(){return this.csize};lt.prototype.getCrc=function(){return this.crc};lt.prototype.getExternalAttributes=function(){return this.exattr};lt.prototype.getExtra=function(){return this.extra!==null?this.extra:ds.EMPTY};lt.prototype.getGeneralPurposeBit=function(){return this.gpb};lt.prototype.getInternalAttributes=function(){return this.inattr};lt.prototype.getLastModifiedDate=function(){return this.getTime()};lt.prototype.getLocalFileDataExtra=function(){return this.getExtra()};lt.prototype.getMethod=function(){return this.method};lt.prototype.getName=function(){return this.name};lt.prototype.getPlatform=function(){return this.platform};lt.prototype.getSize=function(){return this.size};lt.prototype.getTime=function(){return this.time!==-1?u1e.dosToDate(this.time):-1};lt.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};lt.prototype.getUnixMode=function(){return this.platform!==ds.PLATFORM_UNIX?0:this.getExternalAttributes()>>ds.SHORT_SHIFT&ds.SHORT_MASK};lt.prototype.getVersionNeededToExtract=function(){return this.minver};lt.prototype.setComment=function(t){Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.comment=t};lt.prototype.setCompressedSize=function(t){if(t<0)throw new Error("invalid entry compressed size");this.csize=t};lt.prototype.setCrc=function(t){if(t<0)throw new Error("invalid entry crc32");this.crc=t};lt.prototype.setExternalAttributes=function(t){this.exattr=t>>>0};lt.prototype.setExtra=function(t){this.extra=t};lt.prototype.setGeneralPurposeBit=function(t){if(!(t instanceof l1e))throw new Error("invalid entry GeneralPurposeBit");this.gpb=t};lt.prototype.setInternalAttributes=function(t){this.inattr=t};lt.prototype.setMethod=function(t){if(t<0)throw new Error("invalid entry compression method");this.method=t};lt.prototype.setName=function(t,e=!1){t=G1t(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),e&&(t=`/${t}`),Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.name=t};lt.prototype.setPlatform=function(t){this.platform=t};lt.prototype.setSize=function(t){if(t<0)throw new Error("invalid entry size");this.size=t};lt.prototype.setTime=function(t,e){if(!(t instanceof Date))throw new Error("invalid entry time");this.time=u1e.dateToDos(t,e)};lt.prototype.setUnixMode=function(t){t|=this.isDirectory()?ds.S_IFDIR:ds.S_IFREG;var e=0;e|=t<ds.ZIP64_MAGIC||this.size>ds.ZIP64_MAGIC}});var X9=A((LDr,f1e)=>{var ODr=require("stream").Stream,H1t=yA().PassThrough,V1t=HQ(),z1t=f1e.exports={};z1t.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(V1t(t)&&!t._readableState){var e=new H1t;return t.pipe(e),e}return t}});var eY=A((FDr,h1e)=>{var $1t=require("util").inherits,j1t=HQ(),Z9=yA().Transform,W1t=Rk(),J1t=X9(),_o=h1e.exports=function(t){if(!(this instanceof _o))return new _o(t);Z9.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};$1t(_o,Z9);_o.prototype._appendBuffer=function(t,e,r){};_o.prototype._appendStream=function(t,e,r){};_o.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};_o.prototype._finish=function(t){};_o.prototype._normalizeEntry=function(t){};_o.prototype._transform=function(t,e,r){r(null,t)};_o.prototype.entry=function(t,e,r){if(e=e||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(t instanceof W1t)){r(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){r(new Error("unacceptable entry after finish"));return}if(this._archive.processing){r(new Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(t),this._entry=t,e=J1t.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(j1t(e))this._appendStream(t,e,r);else{this._archive.processing=!1,r(new Error("input source must be valid Stream or Buffer instance"));return}return this};_o.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};_o.prototype.getBytesWritten=function(){return this.offset};_o.prototype.write=function(t,e){return t&&(this.offset+=t.length),Z9.prototype.write.call(this,t,e)}});var Qk=A(tY=>{var p1e;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof tY=="object"?t(tY):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t(p1e={}):t(p1e={})})(function(t){t.version="1.2.2";function e(){for(var v=0,$=new Array(256),D=0;D!=256;++D)v=D,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,$[D]=v;return typeof Int32Array<"u"?new Int32Array($):$}o(e,"signed_crc_table");var r=e();function n(v){var $=0,D=0,H=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(H=0;H!=256;++H)V[H]=v[H];for(H=0;H!=256;++H)for(D=v[H],$=256+H;$<4096;$+=256)D=V[$]=D>>>8^v[D&255];var J=[];for(H=1;H!=16;++H)J[H-1]=typeof Int32Array<"u"?V.subarray(H*256,H*256+256):V.slice(H*256,H*256+256);return J}o(n,"slice_by_16_tables");var i=n(r),s=i[0],a=i[1],c=i[2],l=i[3],u=i[4],d=i[5],f=i[6],h=i[7],p=i[8],g=i[9],m=i[10],E=i[11],y=i[12],C=i[13],I=i[14];function B(v,$){for(var D=$^-1,H=0,V=v.length;H>>8^r[(D^v.charCodeAt(H++))&255];return~D}o(B,"crc32_bstr");function Q(v,$){for(var D=$^-1,H=v.length-15,V=0;V>8&255]^y[v[V++]^D>>16&255]^E[v[V++]^D>>>24]^m[v[V++]]^g[v[V++]]^p[v[V++]]^h[v[V++]]^f[v[V++]]^d[v[V++]]^u[v[V++]]^l[v[V++]]^c[v[V++]]^a[v[V++]]^s[v[V++]]^r[v[V++]];for(H+=15;V>>8^r[(D^v[V++])&255];return~D}o(Q,"crc32_buf");function M(v,$){for(var D=$^-1,H=0,V=v.length,J=0,ee=0;H>>8^r[(D^J)&255]:J<2048?(D=D>>>8^r[(D^(192|J>>6&31))&255],D=D>>>8^r[(D^(128|J&63))&255]):J>=55296&&J<57344?(J=(J&1023)+64,ee=v.charCodeAt(H++)&1023,D=D>>>8^r[(D^(240|J>>8&7))&255],D=D>>>8^r[(D^(128|J>>2&63))&255],D=D>>>8^r[(D^(128|ee>>6&15|(J&3)<<4))&255],D=D>>>8^r[(D^(128|ee&63))&255]):(D=D>>>8^r[(D^(224|J>>12&15))&255],D=D>>>8^r[(D^(128|J>>6&63))&255],D=D>>>8^r[(D^(128|J&63))&255]);return~D}o(M,"crc32_str"),t.table=r,t.bstr=B,t.buf=Q,t.str=M})});var m1e=A((qDr,A1e)=>{"use strict";var{Transform:Y1t}=yA(),K1t=Qk(),rY=class extends Y1t{static{o(this,"CRC32Stream")}constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(e,r,n){e&&(this.checksum=K1t.buf(e,this.checksum)>>>0,this.rawSize+=e.length),n(null,e)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}};A1e.exports=rY});var y1e=A((HDr,g1e)=>{"use strict";var{DeflateRaw:X1t}=require("zlib"),Z1t=Qk(),nY=class extends X1t{static{o(this,"DeflateCRC32Stream")}constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(e,r){return e&&(this.compressedSize+=e.length),super.push(e,r)}_transform(e,r,n){e&&(this.checksum=Z1t.buf(e,this.checksum)>>>0,this.rawSize+=e.length),super._transform(e,r,n)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(e=!1){return e?this.compressedSize:this.rawSize}};g1e.exports=nY});var iY=A((zDr,E1e)=>{"use strict";E1e.exports={CRC32Stream:m1e(),DeflateCRC32Stream:y1e()}});var I1e=A((JDr,b1e)=>{var ekt=require("util").inherits,tkt=Qk(),{CRC32Stream:rkt}=iY(),{DeflateCRC32Stream:nkt}=iY(),C1e=eY(),$Dr=K9(),jDr=J9(),nt=Y9(),WDr=X9(),Le=Dk(),ii=b1e.exports=function(t){if(!(this instanceof ii))return new ii(t);t=this.options=this._defaults(t),C1e.call(this,t),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:t.forceZip64,forceLocalTime:t.forceLocalTime}};ekt(ii,C1e);ii.prototype._afterAppend=function(t){this._entries.push(t),t.getGeneralPurposeBit().usesDataDescriptor()&&this._writeDataDescriptor(t),this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished&&this._finish()};ii.prototype._appendBuffer=function(t,e,r){e.length===0&&t.setMethod(nt.METHOD_STORED);var n=t.getMethod();if(n===nt.METHOD_STORED&&(t.setSize(e.length),t.setCompressedSize(e.length),t.setCrc(tkt.buf(e)>>>0)),this._writeLocalFileHeader(t),n===nt.METHOD_STORED){this.write(e),this._afterAppend(t),r(null,t);return}else if(n===nt.METHOD_DEFLATED){this._smartStream(t,r).end(e);return}else{r(new Error("compression method "+n+" not implemented"));return}};ii.prototype._appendStream=function(t,e,r){t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(t);var n=this._smartStream(t,r);e.once("error",function(i){n.emit("error",i),n.end()}),e.pipe(n)};ii.prototype._defaults=function(t){return typeof t!="object"&&(t={}),typeof t.zlib!="object"&&(t.zlib={}),typeof t.zlib.level!="number"&&(t.zlib.level=nt.ZLIB_BEST_SPEED),t.forceZip64=!!t.forceZip64,t.forceLocalTime=!!t.forceLocalTime,t};ii.prototype._finish=function(){this._archive.centralOffset=this.offset,this._entries.forEach(function(t){this._writeCentralFileHeader(t)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64()&&this._writeCentralDirectoryZip64(),this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};ii.prototype._normalizeEntry=function(t){t.getMethod()===-1&&t.setMethod(nt.METHOD_DEFLATED),t.getMethod()===nt.METHOD_DEFLATED&&(t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_DATA_DESCRIPTOR)),t.getTime()===-1&&t.setTime(new Date,this._archive.forceLocalTime),t._offsets={file:0,data:0,contents:0}};ii.prototype._smartStream=function(t,e){var r=t.getMethod()===nt.METHOD_DEFLATED,n=r?new nkt(this.options.zlib):new rkt,i=null;function s(){var a=n.digest().readUInt32BE(0);t.setCrc(a),t.setSize(n.size()),t.setCompressedSize(n.size(!0)),this._afterAppend(t),e(i,t)}return o(s,"handleStuff"),n.once("end",s.bind(this)),n.once("error",function(a){i=a}),n.pipe(this,{end:!1}),n};ii.prototype._writeCentralDirectoryEnd=function(){var t=this._entries.length,e=this._archive.centralLength,r=this._archive.centralOffset;this.isZip64()&&(t=nt.ZIP64_MAGIC_SHORT,e=nt.ZIP64_MAGIC,r=nt.ZIP64_MAGIC),this.write(Le.getLongBytes(nt.SIG_EOCD)),this.write(nt.SHORT_ZERO),this.write(nt.SHORT_ZERO),this.write(Le.getShortBytes(t)),this.write(Le.getShortBytes(t)),this.write(Le.getLongBytes(e)),this.write(Le.getLongBytes(r));var n=this.getComment(),i=Buffer.byteLength(n);this.write(Le.getShortBytes(i)),this.write(n)};ii.prototype._writeCentralDirectoryZip64=function(){this.write(Le.getLongBytes(nt.SIG_ZIP64_EOCD)),this.write(Le.getEightBytes(44)),this.write(Le.getShortBytes(nt.MIN_VERSION_ZIP64)),this.write(Le.getShortBytes(nt.MIN_VERSION_ZIP64)),this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO),this.write(Le.getEightBytes(this._entries.length)),this.write(Le.getEightBytes(this._entries.length)),this.write(Le.getEightBytes(this._archive.centralLength)),this.write(Le.getEightBytes(this._archive.centralOffset)),this.write(Le.getLongBytes(nt.SIG_ZIP64_EOCD_LOC)),this.write(nt.LONG_ZERO),this.write(Le.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(Le.getLongBytes(1))};ii.prototype._writeCentralFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t._offsets.file,i=t.getSize(),s=t.getCompressedSize();if(t.isZip64()||n>nt.ZIP64_MAGIC){i=nt.ZIP64_MAGIC,s=nt.ZIP64_MAGIC,n=nt.ZIP64_MAGIC,t.setVersionNeededToExtract(nt.MIN_VERSION_ZIP64);var a=Buffer.concat([Le.getShortBytes(nt.ZIP64_EXTRA_ID),Le.getShortBytes(24),Le.getEightBytes(t.getSize()),Le.getEightBytes(t.getCompressedSize()),Le.getEightBytes(t._offsets.file)],28);t.setExtra(a)}this.write(Le.getLongBytes(nt.SIG_CFH)),this.write(Le.getShortBytes(t.getPlatform()<<8|nt.VERSION_MADEBY)),this.write(Le.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Le.getShortBytes(r)),this.write(Le.getLongBytes(t.getTimeDos())),this.write(Le.getLongBytes(t.getCrc())),this.write(Le.getLongBytes(s)),this.write(Le.getLongBytes(i));var c=t.getName(),l=t.getComment(),u=t.getCentralDirectoryExtra();e.usesUTF8ForNames()&&(c=Buffer.from(c),l=Buffer.from(l)),this.write(Le.getShortBytes(c.length)),this.write(Le.getShortBytes(u.length)),this.write(Le.getShortBytes(l.length)),this.write(nt.SHORT_ZERO),this.write(Le.getShortBytes(t.getInternalAttributes())),this.write(Le.getLongBytes(t.getExternalAttributes())),this.write(Le.getLongBytes(n)),this.write(c),this.write(u),this.write(l)};ii.prototype._writeDataDescriptor=function(t){this.write(Le.getLongBytes(nt.SIG_DD)),this.write(Le.getLongBytes(t.getCrc())),t.isZip64()?(this.write(Le.getEightBytes(t.getCompressedSize())),this.write(Le.getEightBytes(t.getSize()))):(this.write(Le.getLongBytes(t.getCompressedSize())),this.write(Le.getLongBytes(t.getSize())))};ii.prototype._writeLocalFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t.getName(),i=t.getLocalFileDataExtra();t.isZip64()&&(e.useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_ZIP64)),e.usesUTF8ForNames()&&(n=Buffer.from(n)),t._offsets.file=this.offset,this.write(Le.getLongBytes(nt.SIG_LFH)),this.write(Le.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Le.getShortBytes(r)),this.write(Le.getLongBytes(t.getTimeDos())),t._offsets.data=this.offset,e.usesDataDescriptor()?(this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO)):(this.write(Le.getLongBytes(t.getCrc())),this.write(Le.getLongBytes(t.getCompressedSize())),this.write(Le.getLongBytes(t.getSize()))),this.write(Le.getShortBytes(n.length)),this.write(Le.getShortBytes(i.length)),this.write(n),this.write(i),t._offsets.contents=this.offset};ii.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};ii.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>nt.ZIP64_MAGIC_SHORT||this._archive.centralLength>nt.ZIP64_MAGIC||this._archive.centralOffset>nt.ZIP64_MAGIC};ii.prototype.setComment=function(t){this._archive.comment=t}});var sY=A((KDr,w1e)=>{w1e.exports={ArchiveEntry:Rk(),ZipArchiveEntry:K9(),ArchiveOutputStream:eY(),ZipArchiveOutputStream:I1e()}});var B1e=A((XDr,S1e)=>{var ikt=require("util").inherits,aY=sY().ZipArchiveOutputStream,skt=sY().ZipArchiveEntry,oY=ME(),UE=S1e.exports=function(t){if(!(this instanceof UE))return new UE(t);t=this.options=t||{},t.zlib=t.zlib||{},aY.call(this,t),typeof t.level=="number"&&t.level>=0&&(t.zlib.level=t.level,delete t.level),!t.forceZip64&&typeof t.zlib.level=="number"&&t.zlib.level===0&&(t.store=!0),t.namePrependSlash=t.namePrependSlash||!1,t.comment&&t.comment.length>0&&this.setComment(t.comment)};ikt(UE,aY);UE.prototype._normalizeFileData=function(t){t=oY.defaults(t,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var e=t.type==="directory",r=t.type==="symlink";return t.name&&(t.name=oY.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=oY.dateify(t.date),t};UE.prototype.entry=function(t,e,r){if(typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),e=this._normalizeFileData(e),e.type!=="file"&&e.type!=="directory"&&e.type!=="symlink"){r(new Error(e.type+" entries not currently supported"));return}if(typeof e.name!="string"||e.name.length===0){r(new Error("entry name must be a non-empty string value"));return}if(e.type==="symlink"&&typeof e.linkname!="string"){r(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var n=new skt(e.name);return n.setTime(e.date,this.options.forceLocalTime),e.namePrependSlash&&n.setName(e.name,!0),e.store&&n.setMethod(0),e.comment.length>0&&n.setComment(e.comment),e.type==="symlink"&&typeof e.mode!="number"&&(e.mode=40960),typeof e.mode=="number"&&(e.type==="symlink"&&(e.mode|=40960),n.setUnixMode(e.mode)),e.type==="symlink"&&typeof e.linkname=="string"&&(t=Buffer.from(e.linkname)),aY.prototype.entry.call(this,n,t,r)};UE.prototype.finalize=function(){this.finish()}});var v1e=A((ZDr,x1e)=>{var okt=B1e(),akt=ME(),Jf=o(function(t){if(!(this instanceof Jf))return new Jf(t);t=this.options=akt.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new okt(t)},"Zip");Jf.prototype.append=function(t,e,r){this.engine.entry(t,e,r)};Jf.prototype.finalize=function(){this.engine.finalize()};Jf.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Jf.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Jf.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};x1e.exports=Jf});var _1e=A((tQr,N1e)=>{N1e.exports=typeof queueMicrotask=="function"?queueMicrotask:t=>Promise.resolve().then(t)});var R1e=A((rQr,T1e)=>{T1e.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):_1e()});var Q1e=A((iQr,D1e)=>{D1e.exports=class{static{o(this,"FixedFIFO")}constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return this.buffer[this.top]!==void 0?!1:(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(e!==void 0)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var cY=A((aQr,P1e)=>{var k1e=Q1e();P1e.exports=class{static{o(this,"FastFIFO")}constructor(e){this.hwm=e||16,this.head=new k1e(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let r=this.head;this.head=r.next=new k1e(2*this.head.buffer.length),this.head.push(e)}}shift(){this.length!==0&&this.length--;let e=this.tail.shift();if(e===void 0&&this.tail.next){let r=this.tail.next;return this.tail.next=null,this.tail=r,this.tail.shift()}return e}peek(){let e=this.tail.peek();return e===void 0&&this.tail.next?this.tail.next.peek():e}isEmpty(){return this.length===0}}});var SY=A((lQr,ike)=>{var{EventEmitter:ckt}=require("events"),Mk=new Error("Stream was destroyed"),lY=new Error("Premature close"),U1e=R1e(),q1e=cY(),jr=(1<<28)-1,_A=1,mY=2,BA=4,JS=8,G1e=jr^_A,lkt=jr^mY,tB=16,YS=32,zE=64,Yf=128,rB=256,gY=512,xA=1024,uY=2048,yY=4096,EY=8192,Cc=16384,qE=32768,Uk=65536,vA=131072,H1e=rB|gY,ukt=tB|Uk,dkt=zE|tB,fkt=yY|Yf,CY=rB|vA,hkt=jr^tB,pkt=jr^zE,Akt=jr^(zE|Uk),mkt=jr^Uk,gkt=jr^rB,ykt=jr^(Yf|EY),Ekt=jr^xA,O1e=jr^H1e,V1e=jr^qE,Ckt=jr^YS,z1e=jr^vA,bkt=jr^CY,Kf=1<<18,HE=2<<18,nB=4<<18,NA=8<<18,iB=16<<18,TA=32<<18,dY=64<<18,GE=128<<18,bY=256<<18,VE=512<<18,$1e=jr^(Kf|bY),j1e=jr^nB,Ikt=jr^VE,wkt=jr^iB,Skt=jr^NA,W1e=jr^GE,Bkt=jr^HE,KS=tB|Kf,J1e=jr^KS,IY=Cc|TA,Ed=BA|JS|mY,To=Ed|_A,Y1e=Ed|IY,xkt=j1e&pkt,wY=GE|qE,vkt=wY&J1e,K1e=To|vkt,Nkt=To|xA|Cc,L1e=To|Cc|Yf,_kt=To|xA|Yf,Tkt=To|yY|Yf|EY,Rkt=To|tB|xA|Cc|Uk|vA,Dkt=Ed|xA|Cc,Qkt=YS|To|qE|zE,kkt=To|VE|TA,Pkt=NA|iB,X1e=NA|Kf,Okt=NA|iB|To|Kf,F1e=To|Kf|NA,Lkt=nB|Kf,Fkt=Kf|bY,Mkt=To|VE|X1e|TA,Ukt=iB|Ed|VE|TA,qkt=HE|To|GE|nB,kk=Symbol.asyncIterator||Symbol("asyncIterator"),Pk=class{static{o(this,"WritableState")}constructor(e,{highWaterMark:r=16384,map:n=null,mapWritable:i,byteLength:s,byteLengthWritable:a}={}){this.stream=e,this.queue=new q1e,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=a||s||nke,this.map=i||n,this.afterWrite=Vkt.bind(this),this.afterUpdateNextTick=jkt.bind(this)}get ended(){return(this.stream._duplexState&TA)!==0}push(e){return this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=a||s||nke,this.map=i||n,this.pipeTo=null,this.afterRead=zkt.bind(this),this.afterUpdateNextTick=$kt.bind(this)}get ended(){return(this.stream._duplexState&Cc)!==0}pipe(e,r){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof r!="function"&&(r=null),this.stream._duplexState|=gY,this.pipeTo=e,this.pipeline=new pY(this.stream,e,r),r&&this.stream.on("error",M1e),eB(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",M1e),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{let n=this.pipeline.done.bind(this.pipeline,e),i=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",i),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",Gkt.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}push(e){let r=this.stream;return e===null?(this.highWaterMark=0,r._duplexState=(r._duplexState|xA)&Akt,!1):(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),r._duplexState=(r._duplexState|Yf)&mkt,this.buffered0;)r.push(this.shift());for(let n=0;n0;)n.drains.shift().resolve(!1);n.pipeline!==null&&n.pipeline.done(e,t)}}o(Z1e,"afterDestroy");function Vkt(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=$1e,this.drains!==null&&Wkt(this.drains),(e._duplexState&Okt)===iB&&(e._duplexState&=wkt,(e._duplexState&dY)===dY&&e.emit("drain")),this.updateCallback()}o(Vkt,"afterWrite");function zkt(t){t&&this.stream.destroy(t),this.stream._duplexState&=hkt,this.readAhead===!1&&(this.stream._duplexState&rB)===0&&(this.stream._duplexState&=z1e),this.updateCallback()}o(zkt,"afterRead");function $kt(){(this.stream._duplexState&YS)===0&&(this.stream._duplexState&=V1e,this.update())}o($kt,"updateReadNT");function jkt(){(this.stream._duplexState&HE)===0&&(this.stream._duplexState&=W1e,this.update())}o(jkt,"updateWriteNT");function Wkt(t){for(let e=0;e=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&rB)===0}[kk](){let e=this,r=null,n=null,i=null;return this.on("error",u=>{r=u}),this.on("readable",s),this.on("close",a),{[kk](){return this},next(){return new Promise(function(u,d){n=u,i=d;let f=e.read();f!==null?c(f):(e._duplexState&JS)!==0&&c(null)})},return(){return l(null)},throw(u){return l(u)}};function s(){n!==null&&c(e.read())}o(s,"onreadable");function a(){n!==null&&c(null)}o(a,"onclose");function c(u){i!==null&&(r?i(r):u===null&&(e._duplexState&Cc)===0?i(Mk):n({value:u,done:u===null}),i=n=null)}o(c,"ondata");function l(u){return e.destroy(u),new Promise((d,f)=>{if(e._duplexState&JS)return d({value:void 0,done:!0});e.once("close",function(){u?f(u):d({value:void 0,done:!0})})})}o(l,"destroy")}},Lk=class extends XS{static{o(this,"Writable")}constructor(e){super(e),this._duplexState|=_A|Cc,this._writableState=new Pk(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}static isBackpressured(e){return(e._duplexState&Ukt)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(nPt(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&bY?1:0);return i===0?Promise.resolve(!0):(r.drains===null&&(r.drains=[]),new Promise(s=>{r.drains.push({writes:i,resolve:s})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},ZS=class extends Ok{static{o(this,"Duplex")}constructor(e){super(e),this._duplexState=_A|this._duplexState&vA,this._writableState=new Pk(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Fk=class extends ZS{static{o(this,"Transform")}constructor(e){super(e),this._transformState=new hY(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,r){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(this._transformState.data!==null){let r=this._transformState.data;this._transformState.data=null,e(null),this._transform(r,this._transformState.afterTransform)}else e(null)}destroy(e){super.destroy(e),this._transformState.data!==null&&(this._transformState.data=null,this._transformState.afterTransform())}_transform(e,r){r(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(Kkt.bind(this))}},AY=class extends Fk{static{o(this,"PassThrough")}};function Kkt(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}o(Kkt,"transformAfterFlush");function Xkt(...t){return new Promise((e,r)=>tke(...t,n=>{if(n)return r(n);e()}))}o(Xkt,"pipelinePromise");function tke(t,...e){let r=Array.isArray(t)?[...t,...e]:[t,...e],n=r.length&&typeof r[r.length-1]=="function"?r.pop():null;if(r.length<2)throw new Error("Pipeline requires at least 2 streams");let i=r[0],s=null,a=null;for(let u=1;u1,l),i.pipe(s)),i=s;if(n){let u=!1,d=eB(s)||!!(s._writableState&&s._writableState.autoDestroy);s.on("error",f=>{a===null&&(a=f)}),s.on("finish",()=>{u=!0,d||n(a)}),d&&s.on("close",()=>n(a||(u?null:lY)))}return s;function c(u,d,f,h){u.on("error",h),u.on("close",p);function p(){if(d&&u._readableState&&!u._readableState.ended||f&&u._writableState&&!u._writableState.ended)return h(lY)}o(p,"onclose")}function l(u){if(!(!u||a)){a=u;for(let d of r)d.destroy(u)}}}o(tke,"pipeline");function rke(t){return!!t._readableState||!!t._writableState}o(rke,"isStream");function eB(t){return typeof t._duplexState=="number"&&rke(t)}o(eB,"isStreamx");function Zkt(t){let e=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return e===Mk?null:e}o(Zkt,"getStreamError");function ePt(t){return eB(t)&&t.readable}o(ePt,"isReadStreamx");function tPt(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}o(tPt,"isTypedArray");function nke(t){return tPt(t)?t.byteLength:1024}o(nke,"defaultByteLength");function M1e(){}o(M1e,"noop");function rPt(){this.destroy(new Error("Stream aborted."))}o(rPt,"abort");function nPt(t){return t._writev!==Lk.prototype._writev&&t._writev!==ZS.prototype._writev}o(nPt,"isWritev");ike.exports={pipeline:tke,pipelinePromise:Xkt,isStream:rke,isStreamx:eB,getStreamError:Zkt,Stream:XS,Writable:Lk,Readable:Ok,Duplex:ZS,Transform:Fk,PassThrough:AY}});var qk=A((dQr,ske)=>{function iPt(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}o(iPt,"isBuffer");function sPt(t){return Buffer.isEncoding(t)}o(sPt,"isEncoding");function oPt(t,e,r){return Buffer.alloc(t,e,r)}o(oPt,"alloc");function aPt(t){return Buffer.allocUnsafe(t)}o(aPt,"allocUnsafe");function cPt(t){return Buffer.allocUnsafeSlow(t)}o(cPt,"allocUnsafeSlow");function lPt(t,e){return Buffer.byteLength(t,e)}o(lPt,"byteLength");function uPt(t,e){return Buffer.compare(t,e)}o(uPt,"compare");function dPt(t,e){return Buffer.concat(t,e)}o(dPt,"concat");function fPt(t,e,r,n,i){return wn(t).copy(e,r,n,i)}o(fPt,"copy");function hPt(t,e){return wn(t).equals(e)}o(hPt,"equals");function pPt(t,e,r,n,i){return wn(t).fill(e,r,n,i)}o(pPt,"fill");function APt(t,e,r){return Buffer.from(t,e,r)}o(APt,"from");function mPt(t,e,r,n){return wn(t).includes(e,r,n)}o(mPt,"includes");function gPt(t,e,r,n){return wn(t).indexOf(e,r,n)}o(gPt,"indexOf");function yPt(t,e,r,n){return wn(t).lastIndexOf(e,r,n)}o(yPt,"lastIndexOf");function EPt(t){return wn(t).swap16()}o(EPt,"swap16");function CPt(t){return wn(t).swap32()}o(CPt,"swap32");function bPt(t){return wn(t).swap64()}o(bPt,"swap64");function wn(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}o(wn,"toBuffer");function IPt(t,e,r,n){return wn(t).toString(e,r,n)}o(IPt,"toString");function wPt(t,e,r,n,i){return wn(t).write(e,r,n,i)}o(wPt,"write");function SPt(t,e,r){return wn(t).writeDoubleLE(e,r)}o(SPt,"writeDoubleLE");function BPt(t,e,r){return wn(t).writeFloatLE(e,r)}o(BPt,"writeFloatLE");function xPt(t,e,r){return wn(t).writeUInt32LE(e,r)}o(xPt,"writeUInt32LE");function vPt(t,e,r){return wn(t).writeInt32LE(e,r)}o(vPt,"writeInt32LE");function NPt(t,e){return wn(t).readDoubleLE(e)}o(NPt,"readDoubleLE");function _Pt(t,e){return wn(t).readFloatLE(e)}o(_Pt,"readFloatLE");function TPt(t,e){return wn(t).readUInt32LE(e)}o(TPt,"readUInt32LE");function RPt(t,e){return wn(t).readInt32LE(e)}o(RPt,"readInt32LE");ske.exports={isBuffer:iPt,isEncoding:sPt,alloc:oPt,allocUnsafe:aPt,allocUnsafeSlow:cPt,byteLength:lPt,compare:uPt,concat:dPt,copy:fPt,equals:hPt,fill:pPt,from:APt,includes:mPt,indexOf:gPt,lastIndexOf:yPt,swap16:EPt,swap32:CPt,swap64:bPt,toBuffer:wn,toString:IPt,write:wPt,writeDoubleLE:SPt,writeFloatLE:BPt,writeUInt32LE:xPt,writeInt32LE:vPt,readDoubleLE:NPt,readFloatLE:_Pt,readUInt32LE:TPt,readInt32LE:RPt}});var vY=A(jE=>{var Tt=qk(),DPt="0000000000000000000",QPt="7777777777777777777",Gk=48,oke=Tt.from([117,115,116,97,114,0]),kPt=Tt.from([Gk,Gk]),PPt=Tt.from([117,115,116,97,114,32]),OPt=Tt.from([32,0]),LPt=4095,sB=257,xY=263;jE.decodeLongPath=o(function(e,r){return $E(e,0,e.length,r)},"decodeLongPath");jE.encodePax=o(function(e){let r="";e.name&&(r+=BY(" path="+e.name+` -`)),e.linkname&&(r+=BY(" linkpath="+e.linkname+` -`));let n=e.pax;if(n)for(let i in n)r+=BY(" "+i+"="+n[i]+` -`);return Tt.from(r)},"encodePax");jE.decodePax=o(function(e){let r={};for(;e.length;){let n=0;for(;n100;){let s=n.indexOf("/");if(s===-1)return null;i+=i?"/"+n.slice(0,s):n.slice(0,s),n=n.slice(s+1)}return Tt.byteLength(n)>100||Tt.byteLength(i)>155||e.linkname&&Tt.byteLength(e.linkname)>100?null:(Tt.write(r,n),Tt.write(r,Zf(e.mode&LPt,6),100),Tt.write(r,Zf(e.uid,6),108),Tt.write(r,Zf(e.gid,6),116),VPt(e.size,r,124),Tt.write(r,Zf(e.mtime.getTime()/1e3|0,11),136),r[156]=Gk+GPt(e.type),e.linkname&&Tt.write(r,e.linkname,157),Tt.copy(oke,r,sB),Tt.copy(kPt,r,xY),e.uname&&Tt.write(r,e.uname,265),e.gname&&Tt.write(r,e.gname,297),Tt.write(r,Zf(e.devmajor||0,6),329),Tt.write(r,Zf(e.devminor||0,6),337),i&&Tt.write(r,i,345),Tt.write(r,Zf(cke(r),6),148),r)},"encode");jE.decode=o(function(e,r,n){let i=e[156]===0?0:e[156]-Gk,s=$E(e,0,100,r),a=Xf(e,100,8),c=Xf(e,108,8),l=Xf(e,116,8),u=Xf(e,124,12),d=Xf(e,136,12),f=qPt(i),h=e[157]===0?null:$E(e,157,100,r),p=$E(e,265,32),g=$E(e,297,32),m=Xf(e,329,8),E=Xf(e,337,8),y=cke(e);if(y===256)return null;if(y!==Xf(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(FPt(e))e[345]&&(s=$E(e,345,155,r)+"/"+s);else if(!MPt(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return i===0&&s&&s[s.length-1]==="/"&&(i=5),{name:s,mode:a,uid:c,gid:l,size:u,mtime:new Date(1e3*d),type:f,linkname:h,uname:p,gname:g,devmajor:m,devminor:E,pax:null}},"decode");function FPt(t){return Tt.equals(oke,t.subarray(sB,sB+6))}o(FPt,"isUSTAR");function MPt(t){return Tt.equals(PPt,t.subarray(sB,sB+6))&&Tt.equals(OPt,t.subarray(xY,xY+2))}o(MPt,"isGNU");function UPt(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}o(UPt,"clamp");function qPt(t){switch(t){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}o(qPt,"toType");function GPt(t){switch(t){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}o(GPt,"toTypeflag");function ake(t,e,r,n){for(;re?QPt.slice(0,e)+" ":DPt.slice(0,e-t.length)+t+" "}o(Zf,"encodeOct");function HPt(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}o(HPt,"encodeSizeBin");function VPt(t,e,r){t.toString(8).length>11?HPt(t,e,r):Tt.write(e,Zf(t,11),r)}o(VPt,"encodeSize");function zPt(t){let e;if(t[0]===128)e=!0;else if(t[0]===255)e=!1;else return null;let r=[],n;for(n=t.length-1;n>0;n--){let a=t[n];e?r.push(a):r.push(255-a)}let i=0,s=r.length;for(n=0;n=Math.pow(10,r)&&r++,e+r+t}o(BY,"addLength")});var hke=A((AQr,fke)=>{var{Writable:$Pt,Readable:jPt,getStreamError:lke}=SY(),WPt=cY(),uke=qk(),WE=vY(),JPt=uke.alloc(0),_Y=class{static{o(this,"BufferList")}constructor(){this.buffered=0,this.shifted=0,this.queue=new WPt,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return JPt;let r=this._next(e);if(e===r.byteLength)return r;let n=[r];for(;(e-=r.byteLength)>0;)r=this._next(e),n.push(r);return uke.concat(n)}_next(e){let r=this.queue.peek(),n=r.byteLength-this._offset;if(e>=n){let i=this._offset?r.subarray(this._offset,r.byteLength):r;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,i}return this.buffered-=e,this.shifted+=e,r.subarray(this._offset,this._offset+=e)}},TY=class extends jPt{static{o(this,"Source")}constructor(e,r,n){super(),this.header=r,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(lke(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=dke(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},RY=class extends $Pt{static{o(this,"Extract")}constructor(e){super(e),e||(e={}),this._buffer=new _Y,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=NY,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=WE.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),this._header.size===0||this._header.type==="directory"?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=WE.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=WE.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=WE.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?WE.decodePax(e):Object.assign({},this._paxGlobal,WE.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=dke(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(r){return this._continueWrite(r),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(e===null)return!1;this._missing-=e.byteLength;let r=this._stream.push(e);return this._missing===0?(this._stream.push(null),r&&this._stream._detach(),r&&this._locked===!1):r}_createStream(){return new TY(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let e=this._buffer.shiftFirst(this._missing);e!==null&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(e){let r=this._callback;this._callback=NY,r(e)}_write(e,r){this._callback=r,this._buffer.push(e),this._update()}_final(e){this._finished=this._missing===0&&this._buffer.buffered===0,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(lke(this)),e(null)}[Symbol.asyncIterator](){let e=null,r=null,n=null,i=null,s=null,a=this;return this.on("entry",u),this.on("error",h=>{e=h}),this.on("close",d),{[Symbol.asyncIterator](){return this},next(){return new Promise(l)},return(){return f(null)},throw(h){return f(h)}};function c(h){if(!s)return;let p=s;s=null,p(h)}o(c,"consumeCallback");function l(h,p){if(e)return p(e);if(i){h({value:i,done:!1}),i=null;return}r=h,n=p,c(null),a._finished&&r&&(r({value:void 0,done:!0}),r=n=null)}o(l,"onnext");function u(h,p,g){s=g,p.on("error",NY),r?(r({value:p,done:!1}),r=n=null):i=p}o(u,"onentry");function d(){c(e),r&&(e?n(e):r({value:void 0,done:!0}),r=n=null)}o(d,"onclose");function f(h){return a.destroy(h),c(h),new Promise((p,g)=>{if(a.destroyed)return p({value:void 0,done:!0});a.once("close",function(){h?g(h):p({value:void 0,done:!0})})})}o(f,"destroy")}};fke.exports=o(function(e){return new RY(e)},"extract");function NY(){}o(NY,"noop");function dke(t){return t&=511,t&&512-t}o(dke,"overflow")});var Ake=A((gQr,DY)=>{var pke={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{DY.exports=require("fs").constants||pke}catch{DY.exports=pke}});var Cke=A((yQr,Eke)=>{var{Readable:YPt,Writable:KPt,getStreamError:mke}=SY(),RA=qk(),JE=Ake(),Hk=vY(),XPt=493,ZPt=420,gke=RA.alloc(1024),kY=class extends KPt{static{o(this,"Sink")}constructor(e,r,n){super({mapWritable:tOt,eagerOpen:!0}),this.written=0,this.header=r,this._callback=n,this._linkname=null,this._isLinkname=r.type==="symlink"&&!r.linkname,this._isVoid=r.type!=="file"&&r.type!=="contiguous-file",this._finished=!1,this._pack=e,this._openCallback=null,this._pack._stream===null?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(this._callback===null)return;let r=this._callback;this._callback=null,r(e)}_continueOpen(){this._pack._stream===null&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,e!==null){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,r){if(this._isLinkname)return this._linkname=this._linkname?RA.concat([this._linkname,e]):e,r(null);if(this._isVoid)return e.byteLength>0?r(new Error("No body allowed for this entry")):r();if(this.written+=e.byteLength,this._pack.push(e))return r();this._pack._drain=r}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?RA.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),yke(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return mke(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}},PY=class extends YPt{static{o(this,"Pack")}constructor(e){super(e),this._drain=QY,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,r,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");typeof r=="function"&&(n=r,r=null),n||(n=QY),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=eOt(e.mode)),e.mode||(e.mode=e.type==="directory"?XPt:ZPt),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=RA.from(r));let i=new kY(this,e,n);return RA.isBuffer(r)?(e.size=r.byteLength,i.write(r),i.end(),i):(i._isVoid,i)}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(gke),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let r=Hk.encode(e);if(r){this.push(r);return}}this._encodePax(e)}_encodePax(e){let r=Hk.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:r.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(Hk.encode(n)),this.push(r),yke(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(Hk.encode(n))}_doDrain(){let e=this._drain;this._drain=QY,e()}_predestroy(){let e=mke(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let r=this._pending.shift();r.destroy(e),r._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}};Eke.exports=o(function(e){return new PY(e)},"pack");function eOt(t){switch(t&JE.S_IFMT){case JE.S_IFBLK:return"block-device";case JE.S_IFCHR:return"character-device";case JE.S_IFDIR:return"directory";case JE.S_IFIFO:return"fifo";case JE.S_IFLNK:return"symlink"}return"file"}o(eOt,"modeToType");function QY(){}o(QY,"noop");function yke(t,e){e&=511,e&&t.push(gke.subarray(0,512-e))}o(yke,"overflow");function tOt(t){return RA.isBuffer(t)?t:RA.from(t)}o(tOt,"mapWritable")});var bke=A(OY=>{OY.extract=hke();OY.pack=Cke()});var Ske=A((bQr,wke)=>{var rOt=require("zlib"),nOt=bke(),Ike=ME(),Cd=o(function(t){if(!(this instanceof Cd))return new Cd(t);t=this.options=Ike.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=nOt.pack(t),this.compressor=!1,t.gzip&&(this.compressor=rOt.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))},"Tar");Cd.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Cd.prototype.append=function(t,e,r){var n=this;e.mtime=e.date;function i(a,c){if(a){r(a);return}n.engine.entry(e,c,function(l){r(l,e)})}if(o(i,"append"),e.sourceType==="buffer")i(null,t);else if(e.sourceType==="stream"&&e.stats){e.size=e.stats.size;var s=n.engine.entry(e,function(a){r(a,e)});t.pipe(s)}else e.sourceType==="stream"&&Ike.collectStream(t,i)};Cd.prototype.finalize=function(){this.engine.finalize()};Cd.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Cd.prototype.pipe=function(t,e){return this.compressor?this.engine.pipe.apply(this.engine,[this.compressor]).pipe(t,e):this.engine.pipe.apply(this.engine,arguments)};Cd.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};wke.exports=Cd});var vke=A((wQr,xke)=>{"use strict";function iOt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(iOt,"getDefaultExportFromCjs");var sOt=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function Bke(t){if(Buffer.isBuffer(t))return t;if(typeof t=="number")return Buffer.alloc(t);if(typeof t=="string")return Buffer.from(t);throw new Error("input must be buffer, number, or string, received "+typeof t)}o(Bke,"ensureBuffer");function oOt(t){let e=Bke(4);return e.writeInt32BE(t,0),e}o(oOt,"bufferizeInt");function LY(t,e){t=Bke(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n>>8;return r^-1}o(LY,"_crc32");function FY(){return oOt(LY.apply(null,arguments))}o(FY,"crc32");FY.signed=function(){return LY.apply(null,arguments)};FY.unsigned=function(){return LY.apply(null,arguments)>>>0};var aOt=FY,cOt=iOt(aOt);xke.exports=cOt});var Rke=A((BQr,Tke)=>{var lOt=require("util").inherits,Nke=yA().Transform,uOt=vke(),_ke=ME(),eh=o(function(t){if(!(this instanceof eh))return new eh(t);t=this.options=_ke.defaults(t,{}),Nke.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]},"Json");lOt(eh,Nke);eh.prototype._transform=function(t,e,r){r(null,t)};eh.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};eh.prototype.append=function(t,e,r){var n=this;e.crc32=0;function i(s,a){if(s){r(s);return}e.size=a.length||0,e.crc32=uOt.unsigned(a),n.files.push(e),r(null,e)}o(i,"onend"),e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&_ke.collectStream(t,i)};eh.prototype.finalize=function(){this._writeStringified(),this.end()};Tke.exports=eh});var Qke=A((vQr,Dke)=>{var dOt=JQe(),oB={},th=o(function(t,e){return th.create(t,e)},"vending");th.create=function(t,e){if(oB[t]){var r=new dOt(t,e);return r.setFormat(t),r.setModule(new oB[t](e)),r}else throw new Error("create("+t+"): format not registered")};th.registerFormat=function(t,e){if(oB[t])throw new Error("register("+t+"): format already registered");if(typeof e!="function")throw new Error("register("+t+"): format module invalid");if(typeof e.prototype.append!="function"||typeof e.prototype.finalize!="function")throw new Error("register("+t+"): format module missing methods");oB[t]=e};th.isRegisteredFormat=function(t){return!!oB[t]};th.registerFormat("zip",v1e());th.registerFormat("tar",Ske());th.registerFormat("json",Rke());Dke.exports=th});var Wke=A(jk=>{"use strict";Object.defineProperty(jk,"__esModule",{value:!0});jk.getProxyUrl=bOt;jk.checkBypass=jke;function bOt(t){let e=t.protocol==="https:";if(jke(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 $k(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new $k(`http://${r}`)}else return}o(bOt,"getProxyUrl");function jke(t){if(!t.hostname)return!1;let e=t.hostname;if(IOt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(jke,"checkBypass");function IOt(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(IOt,"isLoopbackAddress");var $k=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 Yke=A(Sr=>{"use strict";var wOt=Sr&&Sr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),SOt=Sr&&Sr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Kk=Sr&&Sr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ifn(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return fn(this,void 0,void 0,function*(){return new Promise(e=>fn(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Sr.HttpClientResponse=Yk;function DOt(t){return new URL(t).protocol==="https:"}o(DOt,"isHttps");var qY=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return fn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return fn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return fn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return fn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return fn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return fn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return fn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return fn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return fn(this,arguments,void 0,function*(r,n={}){n[fs.Accept]=this._getExistingOrDefaultHeader(n,fs.Accept,bd.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return fn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,bd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,bd.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return fn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,bd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,bd.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return fn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,bd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,bd.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return fn(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&_Ot.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===xa.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&vOt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!NOt.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new Yk(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=UY.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?Jke:MY;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},cB(this.requestOptions.headers),cB(e||{})):cB(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=cB(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=cB(this.requestOptions.headers)[fs.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[fs.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=UY.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||MY.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?Wk.httpsOverHttps:Wk.httpsOverHttp:l=u?Wk.httpOverHttps:Wk.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new Jke.Agent(c):new MY.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new BOt.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return fn(this,void 0,void 0,function*(){e=Math.min(TOt,e);let r=ROt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return fn(this,void 0,void 0,function*(){return new Promise((n,i)=>fn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===xa.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}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(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new Jk(d,s);f.result=a.result,i(f)}else n(a)}))})}};Sr.HttpClient=qY;var cB=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var aPe=A((f1r,oPe)=>{oPe.exports=Pi;function Pi(t){if(!(this instanceof Pi))return new Pi(t);this.value=t}o(Pi,"Traverse");Pi.prototype.get=function(t){for(var e=this.value,r=0;r{var LOt=aPe(),FOt=require("events").EventEmitter;cPe.exports=KE;function KE(t){var e=KE.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}o(KE,"Chainsaw");KE.light=o(function(e){var r=KE.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()},"ChainsawLight");KE.saw=function(t,e){var r=new FOt;return r.handlers=e,r.actions=[],r.chain=function(){var n=LOt(r.handlers).map(function(i){if(this.isRoot)return i;var s=this.path;typeof i=="function"&&this.update(function(){return r.actions.push({path:s,args:[].slice.call(arguments)}),n})});return process.nextTick(function(){r.emit("begin"),r.next()}),n},r.pop=function(){return r.actions.shift()},r.next=function(){var n=r.pop();if(!n)r.emit("end");else if(!n.trap){var i=r.handlers;n.path.forEach(function(s){i=i[s]}),i.apply(r.handlers,n.args)}},r.nest=function(n){var i=[].slice.call(arguments,1),s=!0;if(typeof n=="boolean"){var s=n;n=i.shift()}var a=KE.saw(t,{}),c=t.call(a.handlers,a);c!==void 0&&(a.handlers=c),typeof r.step<"u"&&a.record(),n.apply(a.chain(),i),s!==!1&&a.on("end",r.next)},r.record=function(){MOt(r)},["trap","down","jump"].forEach(function(n){r[n]=function(){throw new Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),r};function MOt(t){t.step=0,t.pop=function(){return t.actions[t.step++]},t.trap=function(e,r){var n=Array.isArray(e)?e:[e];t.actions.push({path:n,step:t.step,cb:r,trap:!0})},t.down=function(e){var r=(Array.isArray(e)?e:[e]).join("/"),n=t.actions.slice(t.step).map(function(s){return s.trap&&s.step<=t.step?!1:s.path.join("/")==r}).indexOf(!0);n>=0?t.step+=n:t.step=t.actions.length;var i=t.actions[t.step-1];i&&i.trap?(t.step=i.step,i.cb()):t.next()},t.jump=function(e){t.step=e,t.next()}}o(MOt,"upgradeChainsaw")});var dPe=A((m1r,uPe)=>{uPe.exports=hs;function hs(t){if(!(this instanceof hs))return new hs(t);this.buffers=t||[],this.length=this.buffers.reduce(function(e,r){return e+r.length},0)}o(hs,"Buffers");hs.prototype.push=function(){for(var t=0;t=0?t:this.length-t,i=[].slice.call(arguments,2);e===void 0?e=this.length-n:e>this.length-n&&(e=this.length-n);for(var t=0;t0){var u=n-c;if(u+e0){var p=i.slice();p.unshift(f),p.push(h),r.splice.apply(r,[l,1].concat(p)),l+=p.length,i=[]}else r.splice(l,1,f,h),l+=2}else s.push(r[l].slice(u)),r[l]=r[l].slice(0,u),l++}for(i.length>0&&(r.splice.apply(r,[l,0].concat(i)),l+=i.length);s.lengththis.length&&(e=this.length);for(var n=0,i=0;i=e-t?Math.min(u+(e-t)-a,l):l;r[c].copy(s,a,u,d),a+=d-u}return s};hs.prototype.pos=function(t){if(t<0||t>=this.length)throw new Error("oob");for(var e=t,r=0,n=null;;){if(n=this.buffers[r],e=this.buffers[r].length;)if(n=0,r++,r>=this.buffers.length)return-1;var l=this.buffers[r][n];if(l==t[i]){if(i==0&&(s={i:r,j:n,pos:a}),i++,i==t.length)return s.pos}else i!=0&&(r=s.i,n=s.j,a=s.pos,i=0);n++,a++}};hs.prototype.toBuffer=function(){return this.slice()};hs.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)}});var hPe=A((y1r,fPe)=>{fPe.exports=function(t){function e(n,i){var s=r.store,a=n.split(".");a.slice(0,-1).forEach(function(l){s[l]===void 0&&(s[l]={}),s=s[l]});var c=a[a.length-1];return arguments.length==1?s[c]:s[c]=i}o(e,"getset");var r={get:o(function(n){return e(n)},"get"),set:o(function(n,i){return e(n,i)},"set"),store:t||{}};return r}});var EPe=A((QA,yPe)=>{var UOt=lPe(),pPe=require("events").EventEmitter,qOt=dPe(),Xk=hPe(),GOt=require("stream").Stream;QA=yPe.exports=function(t,e){if(Buffer.isBuffer(t))return QA.parse(t);var r=QA.stream();return t&&t.pipe?t.pipe(r):t&&(t.on(e||"data",function(n){r.write(n)}),t.on("end",function(){r.end()})),r};QA.stream=function(t){if(t)return QA.apply(null,arguments);var e=null;function r(f,h,p){e={bytes:f,skip:p,cb:o(function(g){e=null,h(g)},"cb")},i()}o(r,"getBytes");var n=null;function i(){if(!e){d&&(u=!0);return}if(typeof e=="function")e();else{var f=n+e.bytes;if(c.length>=f){var h;n==null?(h=c.splice(0,f),e.skip||(h=h.slice())):(e.skip||(h=c.slice(n,f)),n=f),e.skip?e.cb():e.cb(h)}}}o(i,"dispatch");function s(f){function h(){u||f.next()}o(h,"next");var p=gPe(function(g,m){return function(E){r(g,function(y){l.set(E,m(y)),h()})}});return p.tap=function(g){f.nest(g,l.store)},p.into=function(g,m){l.get(g)||l.set(g,{});var E=l;l=Xk(E.get(g)),f.nest(function(){m.apply(this,arguments),this.tap(function(){l=E})},l.store)},p.flush=function(){l.store={},h()},p.loop=function(g){var m=!1;f.nest(!1,o(function E(){this.vars=l.store,g.call(this,function(){m=!0,h()},l.store),this.tap(function(){m?f.next():E.call(this)}.bind(this))},"loop"),l.store)},p.buffer=function(g,m){typeof m=="string"&&(m=l.get(m)),r(m,function(E){l.set(g,E),h()})},p.skip=function(g){typeof g=="string"&&(g=l.get(g)),r(g,function(){h()})},p.scan=o(function(m,E){if(typeof E=="string")E=new Buffer(E);else if(!Buffer.isBuffer(E))throw new Error("search must be a Buffer or a string");var y=0;e=o(function(){var C=c.indexOf(E,n+y),I=C-n-y;C!==-1?(e=null,n!=null?(l.set(m,c.slice(n,n+y+I)),n+=y+I+E.length):(l.set(m,c.slice(0,y+I)),c.splice(0,y+I+E.length)),h(),i()):I=Math.max(c.length-E.length-n-y,0),y+=I},"pending"),i()},"find"),p.peek=function(g){n=0,f.nest(function(){g.call(this,l.store),this.tap(function(){n=null})})},p}o(s,"builder");var a=UOt.light(s);a.writable=!0;var c=qOt();a.write=function(f){c.push(f),i()};var l=Xk(),u=!1,d=!1;return a.end=function(){d=!0},a.pipe=GOt.prototype.pipe,Object.getOwnPropertyNames(pPe.prototype).forEach(function(f){a[f]=pPe.prototype[f]}),a};QA.parse=o(function(e){var r=gPe(function(s,a){return function(c){if(n+s<=e.length){var l=e.slice(n,n+s);n+=s,i.set(c,a(l))}else i.set(c,null);return r}}),n=0,i=Xk();return r.vars=i.store,r.tap=function(s){return s.call(r,i.store),r},r.into=function(s,a){i.get(s)||i.set(s,{});var c=i;return i=Xk(c.get(s)),a.call(r,i.store),i=c,r},r.loop=function(s){for(var a=!1,c=o(function(){a=!0},"ender");a===!1;)s.call(r,c,i.store);return r},r.buffer=function(s,a){typeof a=="string"&&(a=i.get(a));var c=e.slice(n,Math.min(e.length,n+a));return n+=a,i.set(s,c),r},r.skip=function(s){return typeof s=="string"&&(s=i.get(s)),n+=s,r},r.scan=function(s,a){if(typeof a=="string")a=new Buffer(a);else if(!Buffer.isBuffer(a))throw new Error("search must be a Buffer or a string");i.set(s,null);for(var c=0;c+n<=e.length-a.length+1;c++){for(var l=0;l=e.length},r},"parse");function APe(t){for(var e=0,r=0;r{var CPe=require("stream").Transform,zOt=require("util");function kA(t,e){if(!(this instanceof kA))return new kA;CPe.call(this);var r=typeof t=="object"?t.pattern:t;this.pattern=Buffer.isBuffer(r)?r:Buffer.from(r),this.requiredLength=this.pattern.length,t.requiredExtraSize&&(this.requiredLength+=t.requiredExtraSize),this.data=new Buffer(""),this.bytesSoFar=0,this.matchFn=e}o(kA,"MatcherStream");zOt.inherits(kA,CPe);kA.prototype.checkDataChunk=function(t){var e=this.data.length>=this.requiredLength;if(e){var r=this.data.indexOf(this.pattern,t?1:0);if(r>=0&&r+this.requiredLength>this.data.length){if(r>0){var n=this.data.slice(0,r);this.push(n),this.bytesSoFar+=r,this.data=this.data.slice(r)}return}if(r===-1){var i=this.data.length-this.requiredLength+1,n=this.data.slice(0,i);this.push(n),this.bytesSoFar+=i,this.data=this.data.slice(i);return}if(r>0){var n=this.data.slice(0,r);this.data=this.data.slice(r),this.push(n),this.bytesSoFar+=r}var s=this.matchFn?this.matchFn(this.data,this.bytesSoFar):!0;if(s){this.data=new Buffer("");return}return!0}};kA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};kA.prototype._flush=function(t){if(this.data.length>0)for(var e=!0;this.checkDataChunk(!e);)e=!1;this.data.length>0&&(this.push(this.data),this.data=null),t()};bPe.exports=kA});var SPe=A((w1r,wPe)=>{"use strict";var VY=require("stream"),$Ot=require("util").inherits;function lB(){if(!(this instanceof lB))return new lB;VY.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}o(lB,"Entry");$Ot(lB,VY.PassThrough);lB.prototype.autodrain=function(){return this.pipe(new VY.Transform({transform:o(function(t,e,r){r()},"transform")}))};wPe.exports=lB});var $Y=A((B1r,xPe)=>{"use strict";var nh=EPe(),zY=require("stream"),jOt=require("util"),WOt=require("zlib"),JOt=IPe(),BPe=SPe(),Fe={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99},uB=4294967296,YOt=67324752,KOt=134695760,XOt=33639248,ZOt=101075792,eLt=117853008,tLt=101010256;function Ii(t){if(!(this instanceof Ii))return new Ii(t);zY.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Fe.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}o(Ii,"UnzipStream");jOt.inherits(Ii,zY.Transform);Ii.prototype.processDataChunk=function(t){var e;switch(this.state){case Fe.STREAM_START:case Fe.START:e=4;break;case Fe.LOCAL_FILE_HEADER:e=26;break;case Fe.LOCAL_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case Fe.DATA_DESCRIPTOR:e=12;break;case Fe.CENTRAL_DIRECTORY_FILE_HEADER:e=42;break;case Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case Fe.CDIR64_END:e=52;break;case Fe.CDIR64_END_DATA_SECTOR:e=this.parsedEntity.centralDirectoryRecordSize-44;break;case Fe.CDIR64_LOCATOR:e=16;break;case Fe.CENTRAL_DIRECTORY_END:e=18;break;case Fe.CENTRAL_DIRECTORY_END_COMMENT:e=this.parsedEntity.commentLength;break;case Fe.FILE_DATA:return 0;case Fe.FILE_DATA_END:return 0;case Fe.TRAILING_JUNK:return this.options.debug&&console.log("found",t.length,"bytes of TRAILING_JUNK"),t.length;default:return t.length}var r=t.length;if(r>>8,(s&255)===80){a=c;break}return this.skippedBytes+=a,this.options.debug&&console.log("Skipped",this.skippedBytes,"bytes"),a}this.state=Fe.ERROR;var l=i?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var u=t.readUInt32LE(0),d;try{d=t.slice(0,4).toString()}catch{}console.log("Unexpected signature in zip file: 0x"+u.toString(16),'"'+d+'", skipped',this.skippedBytes,"bytes")}return this.emit("error",new Error(l)),t.length}return this.skippedBytes=0,e;case Fe.LOCAL_FILE_HEADER:return this.parsedEntity=this._readFile(t),this.state=Fe.LOCAL_FILE_HEADER_SUFFIX,e;case Fe.LOCAL_FILE_HEADER_SUFFIX:var f=new BPe,h=(this.parsedEntity.flags&2048)!==0;f.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h);var g=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),m=this._readExtraFields(g);if(m&&m.parsed&&(m.parsed.path&&!h&&(f.path=m.parsed.path),Number.isFinite(m.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===uB-1&&(this.parsedEntity.uncompressedSize=m.parsed.uncompressedSize),Number.isFinite(m.parsed.compressedSize)&&this.parsedEntity.compressedSize===uB-1&&(this.parsedEntity.compressedSize=m.parsed.compressedSize)),this.parsedEntity.extra=m.parsed||{},this.options.debug){let B=Object.assign({},this.parsedEntity,{path:f.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:m&&m.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(B,null,2))}return this._prepareOutStream(this.parsedEntity,f),this.emit("entry",f),this.state=Fe.FILE_DATA,e;case Fe.CENTRAL_DIRECTORY_FILE_HEADER:return this.parsedEntity=this._readCentralDirectoryEntry(t),this.state=Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX,e;case Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var h=(this.parsedEntity.flags&2048)!==0,p=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h),g=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),m=this._readExtraFields(g);m&&m.parsed&&m.parsed.path&&!h&&(p=m.parsed.path),this.parsedEntity.extra=m.parsed;var E=(this.parsedEntity.versionMadeBy&65280)>>8===3,y,C;if(E){y=this.parsedEntity.externalFileAttributes>>>16;var I=y>>>12;C=(I&10)===10}if(this.options.debug){let B=Object.assign({},this.parsedEntity,{path:p,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:y&&"0"+y.toString(8),isSymlink:C,extraFields:m.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(B,null,2))}return this.state=Fe.START,e;case Fe.CDIR64_END:return this.parsedEntity=this._readEndOfCentralDirectory64(t),this.options.debug&&console.log("decoded CDIR64_END_RECORD:",this.parsedEntity),this.state=Fe.CDIR64_END_DATA_SECTOR,e;case Fe.CDIR64_END_DATA_SECTOR:return this.state=Fe.START,e;case Fe.CDIR64_LOCATOR:return this.state=Fe.START,e;case Fe.CENTRAL_DIRECTORY_END:return this.parsedEntity=this._readEndOfCentralDirectory(t),this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity),this.state=Fe.CENTRAL_DIRECTORY_END_COMMENT,e;case Fe.CENTRAL_DIRECTORY_END_COMMENT:return this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",t.slice(0,e).toString()),this.state=Fe.TRAILING_JUNK,e;case Fe.ERROR:return t.length;default:return console.log("didn't handle state #",this.state,"discarding"),t.length}};Ii.prototype._prepareOutStream=function(t,e){var r=this,n=t.uncompressedSize===0&&/[\/\\]$/.test(e.path);e.path=e.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,"."),e.type=n?"Directory":"File",e.isDirectory=n;var i=!(t.flags&8);i&&(e.size=t.uncompressedSize);var s=t.versionsNeededToExtract<=45;if(this.outStreamInfo={stream:null,limit:i?t.compressedSize:-1,written:0},i)this.outStreamInfo.stream=new zY.PassThrough;else{var a=new Buffer(4);a.writeUInt32LE(KOt,0);var c=t.extra.zip64Mode,l=c?20:12,u={pattern:a,requiredExtraSize:l},d=new JOt(u,function(m,E){var y=r._readDataDescriptor(m,c),C=y.compressedSize===E;if(!c&&!C&&E>=uB)for(var I=E-uB;I>=0&&(C=y.compressedSize===I,!C);)I-=uB;if(C){r.state=Fe.FILE_DATA_END;var B=c?24:16;return r.data.length>0?r.data=Buffer.concat([m.slice(B),r.data]):r.data=m.slice(B),!0}});this.outStreamInfo.stream=d}var f=t.flags&1||t.flags&64;if(f||!s){var h=f?"Encrypted files are not supported!":"Zip version "+Math.floor(t.versionsNeededToExtract/10)+"."+t.versionsNeededToExtract%10+" is not supported";e.skip=!0,setImmediate(()=>{r.emit("error",new Error(h))}),this.outStreamInfo.stream.pipe(new BPe().autodrain());return}var p=t.compressionMethod>0;if(p){var g=WOt.createInflateRaw();g.on("error",function(m){r.state=Fe.ERROR,r.emit("error",m)}),this.outStreamInfo.stream.pipe(g).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};Ii.prototype._readFile=function(t){var e=nh.parse(t).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return e};Ii.prototype._readExtraFields=function(t){var e={},r={parsed:e};this.options.debug&&(r.debug=[]);for(var n=0;n=C+4&&c&1&&(e.mtime=new Date(t.readUInt32LE(n+C)*1e3),C+=4),i.extraSize>=C+4&&c&2&&(e.atime=new Date(t.readUInt32LE(n+C)*1e3),C+=4),i.extraSize>=C+4&&c&4&&(e.ctime=new Date(t.readUInt32LE(n+C)*1e3));break;case 28789:s="Info-ZIP Unicode Path Extra Field";var l=t.readUInt8(n);if(l===1){var C=1,u=t.readUInt32LE(n+C);C+=4;var d=t.slice(n+C);e.path=d.toString()}break;case 13:case 22613:s=i.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var C=0;if(i.extraSize>=8){var f=new Date(t.readUInt32LE(n+C)*1e3);C+=4;var h=new Date(t.readUInt32LE(n+C)*1e3);if(C+=4,e.atime=f,e.mtime=h,i.extraSize>=12){var p=t.readUInt16LE(n+C);C+=2;var g=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=g}}break;case 30805:s="Info-ZIP UNIX (type 2)";var C=0;if(i.extraSize>=4){var p=t.readUInt16LE(n+C);C+=2;var g=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=g}break;case 30837:s="Info-ZIP New Unix";var C=0,m=t.readUInt8(n);if(C+=1,m===1){var E=t.readUInt8(n+C);C+=1,E<=6&&(e.uid=t.readUIntLE(n+C,E)),C+=E;var y=t.readUInt8(n+C);C+=1,y<=6&&(e.gid=t.readUIntLE(n+C,y))}break;case 30062:s="ASi Unix";var C=0;if(i.extraSize>=14){var I=t.readUInt32LE(n+C);C+=4;var B=t.readUInt16LE(n+C);C+=2;var Q=t.readUInt32LE(n+C);C+=4;var p=t.readUInt16LE(n+C);C+=2;var g=t.readUInt16LE(n+C);if(C+=2,e.mode=B,e.uid=p,e.gid=g,i.extraSize>14){var M=n+C,v=n+i.extraSize-14,$=this._decodeString(t.slice(M,v));e.symlink=$}}break}this.options.debug&&r.debug.push({extraId:"0x"+i.extraId.toString(16),description:s,data:t.slice(n,n+i.extraSize).inspect()}),n+=i.extraSize}return r};Ii.prototype._readDataDescriptor=function(t,e){if(e){var r=nh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=nh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};Ii.prototype._readCentralDirectoryEntry=function(t){var e=nh.parse(t).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return e};Ii.prototype._readEndOfCentralDirectory64=function(t){var e=nh.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};Ii.prototype._readEndOfCentralDirectory=function(t){var e=nh.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var rLt="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0 ";Ii.prototype._decodeString=function(t,e){if(e)return t.toString("utf8");if(this.options.decodeString)return this.options.decodeString(t);let r="";for(var n=0;n0&&(this.data=this.data.slice(r),this.data.length!==0););if(this.state===Fe.FILE_DATA){if(this.outStreamInfo.limit>=0){var n=this.outStreamInfo.limit-this.outStreamInfo.written,i;n{if(this.state===Fe.FILE_DATA_END)return this.state=Fe.START,s.end(e);e()})}return}e()};Ii.prototype.drainAll=function(){this._drainAllEntries=!0};Ii.prototype._transform=function(t,e,r){var n=this;n.data.length>0?n.data=Buffer.concat([n.data,t]):n.data=t;var i=n.data.length,s=o(function(){if(n.data.length>0&&n.data.length0){e._parseOrOutput("buffer",function(){if(e.data.length>0)return setImmediate(function(){e._flush(t)});t()});return}if(e.state===Fe.FILE_DATA)return t(new Error("Stream finished in an invalid state, uncompression failed"));setImmediate(t)};xPe.exports=Ii});var NPe=A((v1r,vPe)=>{var dB=require("stream").Transform,nLt=require("util"),iLt=$Y();function ih(t){if(!(this instanceof ih))return new ih(t);var e=t||{};dB.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new iLt(this.opts);var r=this;this.unzipStream.on("entry",function(n){r.push(n)}),this.unzipStream.on("error",function(n){r.emit("error",n)})}o(ih,"ParserStream");nLt.inherits(ih,dB);ih.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};ih.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};ih.prototype.on=function(t,e){return t==="entry"?dB.prototype.on.call(this,"data",e):dB.prototype.on.call(this,t,e)};ih.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new dB({objectMode:!0,transform:o(function(t,e,r){r()},"transform")}))};vPe.exports=ih});var DPe=A((_1r,RPe)=>{var fB=require("path"),_Pe=require("fs"),TPe=parseInt("0777",8);RPe.exports=XE.mkdirp=XE.mkdirP=XE;function XE(t,e,r,n){typeof e=="function"?(r=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var i=e.mode,s=e.fs||_Pe;i===void 0&&(i=TPe),n||(n=null);var a=r||function(){};t=fB.resolve(t),s.mkdir(t,i,function(c){if(!c)return n=n||t,a(null,n);switch(c.code){case"ENOENT":if(fB.dirname(t)===t)return a(c);XE(fB.dirname(t),e,function(l,u){l?a(l,u):XE(t,e,a,u)});break;default:s.stat(t,function(l,u){l||!u.isDirectory()?a(c,n):a(null,n)});break}})}o(XE,"mkdirP");XE.sync=o(function t(e,r,n){(!r||typeof r!="object")&&(r={mode:r});var i=r.mode,s=r.fs||_Pe;i===void 0&&(i=TPe),n||(n=null),e=fB.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(c){switch(c.code){case"ENOENT":n=t(fB.dirname(e),r,n),t(e,r,n);break;default:var a;try{a=s.statSync(e)}catch{throw c}if(!a.isDirectory())throw c;break}}return n},"sync")});var OPe=A((R1r,PPe)=>{var sLt=require("fs"),QPe=require("path"),oLt=require("util"),aLt=DPe(),kPe=require("stream").Transform,cLt=$Y();function sh(t){if(!(this instanceof sh))return new sh(t);kPe.call(this),this.opts=t||{},this.unzipStream=new cLt(this.opts),this.unfinishedEntries=0,this.afterFlushWait=!1,this.createdDirectories={};var e=this;this.unzipStream.on("entry",this._processEntry.bind(this)),this.unzipStream.on("error",function(r){e.emit("error",r)})}o(sh,"Extract");oLt.inherits(sh,kPe);sh.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};sh.prototype._flush=function(t){var e=this,r=o(function(){process.nextTick(function(){e.emit("close")}),t()},"allDone");this.unzipStream.end(function(){if(e.unfinishedEntries>0)return e.afterFlushWait=!0,e.on("await-finished",r);r()})};sh.prototype._processEntry=function(t){var e=this,r=QPe.join(this.opts.path,t.path),n=t.isDirectory?r:QPe.dirname(r);this.unfinishedEntries++;var i=o(function(){var s=sLt.createWriteStream(r);s.on("close",function(){e.unfinishedEntries--,e._notifyAwaiter()}),s.on("error",function(a){e.emit("error",a)}),t.pipe(s)},"writeFileFn");if(this.createdDirectories[n]||n===".")return i();aLt(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};sh.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};PPe.exports=sh});var LPe=A(jY=>{"use strict";jY.Parse=NPe();jY.Extract=OPe()});var WPe=A((JY,YY)=>{(function(t,e){typeof JY=="object"&&typeof YY<"u"?YY.exports=e():typeof define=="function"&&define.amd?define(e):t.Bottleneck=e()})(JY,(function(){"use strict";var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e(be){return be&&be.default||be}o(e,"getCjsExportFromNamespace");var r=o(function(be,P,x={}){var F,q,j;for(F in P)j=P[F],x[F]=(q=be[F])!=null?q:j;return x},"load"),n=o(function(be,P,x={}){var F,q;for(F in be)q=be[F],P[F]!==void 0&&(x[F]=q);return x},"overwrite"),i={load:r,overwrite:n},s;s=class{static{o(this,"DLList")}constructor(P,x){this.incr=P,this.decr=x,this._first=null,this._last=null,this.length=0}push(P){var x;this.length++,typeof this.incr=="function"&&this.incr(),x={value:P,prev:this._last,next:null},this._last!=null?(this._last.next=x,this._last=x):this._first=this._last=x}shift(){var P;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),P=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,P}first(){if(this._first!=null)return this._first.value}getArray(){var P,x,F;for(P=this._first,F=[];P!=null;)F.push((x=P,P=P.next,x.value));return F}forEachShift(P){var x;for(x=this.shift();x!=null;)P(x),x=this.shift()}debug(){var P,x,F,q,j;for(P=this._first,j=[];P!=null;)j.push((x=P,P=P.next,{value:x.value,prev:(F=x.prev)!=null?F.value:void 0,next:(q=x.next)!=null?q.value:void 0}));return j}};var a=s,c;c=class{static{o(this,"Events")}constructor(P){if(this.instance=P,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(x,F)=>this._addListener(x,"many",F),this.instance.once=(x,F)=>this._addListener(x,"once",F),this.instance.removeAllListeners=(x=null)=>x!=null?delete this._events[x]:this._events={}}_addListener(P,x,F){var q;return(q=this._events)[P]==null&&(q[P]=[]),this._events[P].push({cb:F,status:x}),this.instance}listenerCount(P){return this._events[P]!=null?this._events[P].length:0}async trigger(P,...x){var F,q;try{return P!=="debug"&&this.trigger("debug",`Event triggered: ${P}`,x),this._events[P]==null?void 0:(this._events[P]=this._events[P].filter(function(j){return j.status!=="none"}),q=this._events[P].map(async j=>{var X,ge;if(j.status!=="none"){j.status==="once"&&(j.status="none");try{return ge=typeof j.cb=="function"?j.cb(...x):void 0,typeof ge?.then=="function"?await ge:ge}catch(St){return X=St,this.trigger("error",X),null}}}),(await Promise.all(q)).find(function(j){return j!=null}))}catch(j){return F=j,this.trigger("error",F),null}}};var l=c,u,d,f;u=a,d=l,f=class{static{o(this,"Queues")}constructor(P){var x;this.Events=new d(this),this._length=0,this._lists=(function(){var F,q,j;for(j=[],x=F=1,q=P;1<=q?F<=q:F>=q;x=1<=q?++F:--F)j.push(new u((()=>this.incr()),(()=>this.decr())));return j}).call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(P){return this._lists[P.options.priority].push(P)}queued(P){return P!=null?this._lists[P].length:this._length}shiftAll(P){return this._lists.forEach(function(x){return x.forEachShift(P)})}getFirst(P=this._lists){var x,F,q;for(x=0,F=P.length;x0)return q;return[]}shiftLastFrom(P){return this.getFirst(this._lists.slice(P).reverse()).shift()}};var h=f,p;p=class extends Error{static{o(this,"BottleneckError")}};var g=p,m,E,y,C,I;C=10,E=5,I=i,m=g,y=class{static{o(this,"Job")}constructor(P,x,F,q,j,X,ge,St){this.task=P,this.args=x,this.rejectOnDrop=j,this.Events=X,this._states=ge,this.Promise=St,this.options=I.load(F,q),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===q.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((pn,Kt)=>{this._resolve=pn,this._reject=Kt}),this.retryCount=0}_sanitizePriority(P){var x;return x=~~P!==P?E:P,x<0?0:x>C-1?C-1:x}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:P,message:x="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(P??new m(x)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(P){var x;if(x=this._states.jobStatus(this.options.id),!(x===P||P==="DONE"&&x===null))throw new m(`Invalid job status ${x}, expected ${P}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(P,x){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:P,blocked:x})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(P,x,F,q){var j,X,ge;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),X={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",X);try{if(ge=await(P!=null?P.schedule(this.options,this.task,...this.args):this.task(...this.args)),x())return this.doDone(X),await q(this.options,X),this._assertStatus("DONE"),this._resolve(ge)}catch(St){return j=St,this._onFailure(j,X,x,F,q)}}doExpire(P,x,F){var q,j;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),j={args:this.args,options:this.options,retryCount:this.retryCount},q=new m(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(q,j,P,x,F)}async _onFailure(P,x,F,q,j){var X,ge;if(F())return X=await this.Events.trigger("failed",P,x),X!=null?(ge=~~X,this.Events.trigger("retry",`Retrying ${this.options.id} after ${ge} ms`,x),this.retryCount++,q(ge)):(this.doDone(x),await j(this.options,x),this._assertStatus("DONE"),this._reject(P))}doDone(P){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",P)}};var B=y,Q,M,v;v=i,Q=g,M=class{static{o(this,"LocalDatastore")}constructor(P,x,F){this.instance=P,this.storeOptions=x,this.clientId=this.instance._randomIndex(),v.load(F,F,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var P;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(P=this.heartbeat=setInterval(()=>{var x,F,q,j,X;if(j=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&j>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=j,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&j>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:x,reservoirIncreaseMaximum:q,reservoir:X}=this.storeOptions,this._lastReservoirIncrease=j,F=q!=null?Math.min(x,q-X):x,F>0))return this.storeOptions.reservoir+=F,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?P.unref():void 0:clearInterval(this.heartbeat)}async __publish__(P){return await this.yieldLoop(),this.instance.Events.trigger("message",P.toString())}async __disconnect__(P){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(P=0){return new this.Promise(function(x,F){return setTimeout(x,P)})}computePenalty(){var P;return(P=this.storeOptions.penalty)!=null?P:15*this.storeOptions.minTime||5e3}async __updateSettings__(P){return await this.yieldLoop(),v.overwrite(P,P,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(P){return await this.yieldLoop(),this._nextRequest+this.timeout=P}check(P,x){return this.conditionsCheck(P)&&this._nextRequest-x<=0}async __check__(P){var x;return await this.yieldLoop(),x=Date.now(),this.check(P,x)}async __register__(P,x,F){var q,j;return await this.yieldLoop(),q=Date.now(),this.conditionsCheck(x)?(this._running+=x,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=x),j=Math.max(this._nextRequest-q,0),this._nextRequest=q+j+this.storeOptions.minTime,{success:!0,wait:j,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(P,x){var F,q,j;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&x>this.storeOptions.maxConcurrent)throw new Q(`Impossible to add a job having a weight of ${x} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return q=Date.now(),j=this.storeOptions.highWater!=null&&P===this.storeOptions.highWater&&!this.check(x,q),F=this.strategyIsBlock()&&(j||this.isBlocked(q)),F&&(this._unblockTime=q+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:j,blocked:F,strategy:this.storeOptions.strategy}}async __free__(P,x){return await this.yieldLoop(),this._running-=x,this._done+=x,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var $=M,D,H;D=g,H=class{static{o(this,"States")}constructor(P){this.status=P,this._jobs={},this.counts=this.status.map(function(){return 0})}next(P){var x,F;if(x=this._jobs[P],F=x+1,x!=null&&F(P[this.status[F]]=x,P)),{})}};var V=H,J,ee;J=a,ee=class{static{o(this,"Sync")}constructor(P,x){this.schedule=this.schedule.bind(this),this.name=P,this.Promise=x,this._running=0,this._queue=new J}isEmpty(){return this._queue.length===0}async _tryToRun(){var P,x,F,q,j,X,ge;if(this._running<1&&this._queue.length>0)return this._running++,{task:ge,args:P,resolve:j,reject:q}=this._queue.shift(),x=await(async function(){try{return X=await ge(...P),function(){return j(X)}}catch(St){return F=St,function(){return q(F)}}})(),this._running--,this._tryToRun(),x()}schedule(P,...x){var F,q,j;return j=q=null,F=new this.Promise(function(X,ge){return j=X,q=ge}),this._queue.push({task:P,args:x,resolve:j,reject:q}),this._tryToRun(),F}};var ae=ee,Ae="2.19.5",Y={version:Ae},z=Object.freeze({version:Ae,default:Y}),we=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$2"),Be=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$3"),st=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4"),bt,hr,hn,oi,pr,Jr;Jr=i,bt=l,oi=we,hn=Be,pr=st,hr=(function(){class be{static{o(this,"Group")}constructor(x={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=x,Jr.load(this.limiterOptions,this.defaults,this),this.Events=new bt(this),this.instances={},this.Bottleneck=Oa,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new oi(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new hn(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(x=""){var F;return(F=this.instances[x])!=null?F:(()=>{var q;return q=this.instances[x]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${x}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",q,x),q})()}async deleteKey(x=""){var F,q;return q=this.instances[x],this.connection&&(F=await this.connection.__runCommand__(["del",...pr.allKeys(`${this.id}-${x}`)])),q!=null&&(delete this.instances[x],await q.disconnect()),q!=null||F>0}limiters(){var x,F,q,j;F=this.instances,q=[];for(x in F)j=F[x],q.push({key:x,limiter:j});return q}keys(){return Object.keys(this.instances)}async clusterKeys(){var x,F,q,j,X,ge,St,pn,Kt;if(this.connection==null)return this.Promise.resolve(this.keys());for(ge=[],x=null,Kt=`b_${this.id}-`.length,F=9;x!==0;)for([pn,q]=await this.connection.__runCommand__(["scan",x??0,"match",`b_${this.id}-*_settings`,"count",1e4]),x=~~pn,j=0,St=q.length;j{var F,q,j,X,ge,St;ge=Date.now(),j=this.instances,X=[];for(q in j){St=j[q];try{await St._store.__groupCheck__(ge)?X.push(this.deleteKey(q)):X.push(void 0)}catch(pn){F=pn,X.push(St.Events.trigger("error",F))}}return X},this.timeout/2)).unref=="function"?x.unref():void 0}updateSettings(x={}){if(Jr.overwrite(x,this.defaults,this),Jr.overwrite(x,x,this.limiterOptions),x.timeout!=null)return this._startAutoCleanup()}disconnect(x=!0){var F;if(!this.sharedConnection)return(F=this.connection)!=null?F.disconnect(x):void 0}}return be.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},be}).call(t);var Sh=hr,du,Bc,As;As=i,Bc=l,du=(function(){class be{static{o(this,"Batcher")}constructor(x={}){this.options=x,As.load(this.options,this.defaults,this),this.Events=new Bc(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((x,F)=>this._resolve=x)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(x){var F;return this._arr.push(x),F=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),F}}return be.prototype.defaults={maxTime:null,maxSize:null,Promise},be}).call(t);var Pa=du,Dd=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4$1"),Qd=e(z),fu,jB,GC,HC,WB,nm,JB,VC,im,sm,zs,YB=[].splice;nm=10,jB=5,zs=i,JB=h,HC=B,WB=$,VC=Dd,GC=l,im=V,sm=ae,fu=(function(){class be{static{o(this,"Bottleneck")}constructor(x={},...F){var q,j;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(x,F),zs.load(x,this.instanceDefaults,this),this._queues=new JB(nm),this._scheduled={},this._states=new im(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new GC(this),this._submitLock=new sm("submit",this.Promise),this._registerLock=new sm("register",this.Promise),j=zs.load(x,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return q=zs.load(x,this.redisStoreDefaults,{}),new VC(this,j,q);if(this.datastore==="local")return q=zs.load(x,this.localStoreDefaults,{}),new WB(this,j,q);throw new be.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on("leftzero",()=>{var X;return(X=this._store.heartbeat)!=null&&typeof X.ref=="function"?X.ref():void 0}),this._queues.on("zero",()=>{var X;return(X=this._store.heartbeat)!=null&&typeof X.unref=="function"?X.unref():void 0})}_validateOptions(x,F){if(!(x!=null&&typeof x=="object"&&F.length===0))throw new be.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(x){return this._store.__publish__(x)}disconnect(x=!0){return this._store.__disconnect__(x)}chain(x){return this._limiter=x,this}queued(x){return this._queues.queued(x)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(x){return this._states.jobStatus(x)}jobs(x){return this._states.statusJobs(x)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(x=1){return this._store.__check__(x)}_clearGlobalState(x){return this._scheduled[x]!=null?(clearTimeout(this._scheduled[x].expiration),delete this._scheduled[x],!0):!1}async _free(x,F,q,j){var X,ge;try{if({running:ge}=await this._store.__free__(x,q.weight),this.Events.trigger("debug",`Freed ${q.id}`,j),ge===0&&this.empty())return this.Events.trigger("idle")}catch(St){return X=St,this.Events.trigger("error",X)}}_run(x,F,q){var j,X,ge;return F.doRun(),j=this._clearGlobalState.bind(this,x),ge=this._run.bind(this,x,F),X=this._free.bind(this,x,F),this._scheduled[x]={timeout:setTimeout(()=>F.doExecute(this._limiter,j,ge,X),q),expiration:F.options.expiration!=null?setTimeout(function(){return F.doExpire(j,ge,X)},q+F.options.expiration):void 0,job:F}}_drainOne(x){return this._registerLock.schedule(()=>{var F,q,j,X,ge;return this.queued()===0?this.Promise.resolve(null):(ge=this._queues.getFirst(),{options:X,args:F}=j=ge.first(),x!=null&&X.weight>x?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${X.id}`,{args:F,options:X}),q=this._randomIndex(),this._store.__register__(q,X.weight,X.expiration).then(({success:St,wait:pn,reservoir:Kt})=>{var Bh;return this.Events.trigger("debug",`Drained ${X.id}`,{success:St,args:F,options:X}),St?(ge.shift(),Bh=this.empty(),Bh&&this.Events.trigger("empty"),Kt===0&&this.Events.trigger("depleted",Bh),this._run(q,j,pn),this.Promise.resolve(X.weight)):this.Promise.resolve(null)})))})}_drainAll(x,F=0){return this._drainOne(x).then(q=>{var j;return q!=null?(j=x!=null?x-q:x,this._drainAll(j,F+q)):this.Promise.resolve(F)}).catch(q=>this.Events.trigger("error",q))}_dropAllQueued(x){return this._queues.shiftAll(function(F){return F.doDrop({message:x})})}stop(x={}){var F,q;return x=zs.load(x,this.stopDefaults),q=o(j=>{var X;return X=o(()=>{var ge;return ge=this._states.counts,ge[0]+ge[1]+ge[2]+ge[3]===j},"finished"),new this.Promise((ge,St)=>X()?ge():this.on("done",()=>{if(X())return this.removeAllListeners("done"),ge()}))},"waitForExecuting"),F=x.dropWaitingJobs?(this._run=function(j,X){return X.doDrop({message:x.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var j,X,ge;X=this._scheduled;for(j in X)ge=X[j],this.jobStatus(ge.job.options.id)==="RUNNING"&&(clearTimeout(ge.timeout),clearTimeout(ge.expiration),ge.job.doDrop({message:x.dropErrorMessage}));return this._dropAllQueued(x.dropErrorMessage),q(0)}))):this.schedule({priority:nm-1,weight:0},()=>q(1)),this._receive=function(j){return j._reject(new be.prototype.BottleneckError(x.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new be.prototype.BottleneckError("stop() has already been called")),F}async _addToQueue(x){var F,q,j,X,ge,St,pn;({args:F,options:X}=x);try{({reachedHWM:ge,blocked:q,strategy:pn}=await this._store.__submit__(this.queued(),X.weight))}catch(Kt){return j=Kt,this.Events.trigger("debug",`Could not queue ${X.id}`,{args:F,options:X,error:j}),x.doDrop({error:j}),!1}return q?(x.doDrop(),!0):ge&&(St=pn===be.prototype.strategy.LEAK?this._queues.shiftLastFrom(X.priority):pn===be.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(X.priority+1):pn===be.prototype.strategy.OVERFLOW?x:void 0,St?.doDrop(),St==null||pn===be.prototype.strategy.OVERFLOW)?(St==null&&x.doDrop(),ge):(x.doQueue(ge,q),this._queues.push(x),await this._drainAll(),ge)}_receive(x){return this._states.jobStatus(x.options.id)!=null?(x._reject(new be.prototype.BottleneckError(`A job with the same id already exists (id=${x.options.id})`)),!1):(x.doReceive(),this._submitLock.schedule(this._addToQueue,x))}submit(...x){var F,q,j,X,ge,St,pn;return typeof x[0]=="function"?(ge=x,[q,...x]=ge,[F]=YB.call(x,-1),X=zs.load({},this.jobDefaults)):(St=x,[X,q,...x]=St,[F]=YB.call(x,-1),X=zs.load(X,this.jobDefaults)),pn=o((...Kt)=>new this.Promise(function(Bh,om){return q(...Kt,function(...KB){return(KB[0]!=null?om:Bh)(KB)})}),"task"),j=new HC(pn,x,X,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),j.promise.then(function(Kt){return typeof F=="function"?F(...Kt):void 0}).catch(function(Kt){return Array.isArray(Kt)?typeof F=="function"?F(...Kt):void 0:typeof F=="function"?F(Kt):void 0}),this._receive(j)}schedule(...x){var F,q,j;return typeof x[0]=="function"?([j,...x]=x,q={}):[q,j,...x]=x,F=new HC(j,x,q,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(F),F.promise}wrap(x){var F,q;return F=this.schedule.bind(this),q=o(function(...j){return F(x.bind(this),...j)},"wrapped"),q.withOptions=function(j,...X){return F(j,x,...X)},q}async updateSettings(x={}){return await this._store.__updateSettings__(zs.overwrite(x,this.storeDefaults)),zs.overwrite(x,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(x=0){return this._store.__incrementReservoir__(x)}}return be.default=be,be.Events=GC,be.version=be.prototype.version=Qd.version,be.strategy=be.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},be.BottleneckError=be.prototype.BottleneckError=g,be.Group=be.prototype.Group=Sh,be.RedisConnection=be.prototype.RedisConnection=we,be.IORedisConnection=be.prototype.IORedisConnection=Be,be.Batcher=be.prototype.Batcher=Pa,be.prototype.jobDefaults={priority:jB,weight:1,expiration:null,id:""},be.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:be.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},be.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},be.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},be.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},be.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},be}).call(t);var Oa=fu,zC=Oa;return zC}))});var aOe=A((iP,pB)=>{(function(t){var e=typeof iP=="object"&&iP,r=typeof pB=="object"&&pB&&pB.exports==e&&pB,n=typeof global=="object"&&global;(n.global===n||n.window===n)&&(t=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,a=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot"," ":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},u=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},f=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,h=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|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c|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\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",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},m={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},E={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,I={},B=I.hasOwnProperty,Q=o(function(z,we){return B.call(z,we)},"has"),M=o(function(z,we){for(var Be=-1,st=z.length;++Be=55296&&z<=57343||z>1114111?(we&&V("character reference outside the permissible Unicode range"),"\uFFFD"):Q(E,z)?(we&&V("disallowed character reference"),E[z]):(we&&M(y,z)&&V("disallowed character reference"),z>65535&&(z-=65536,Be+=C(z>>>10&1023|55296),z=56320|z&1023),Be+=C(z),Be)},"codePointToSymbol"),D=o(function(z){return"&#x"+z.toString(16).toUpperCase()+";"},"hexEscape"),H=o(function(z){return"&#"+z+";"},"decEscape"),V=o(function(z){throw Error("Parse error: "+z)},"parseError"),J=o(function(z,we){we=v(we,J.options);var Be=we.strict;Be&&h.test(z)&&V("forbidden code point");var st=we.encodeEverything,bt=we.useNamedReferences,hr=we.allowUnsafeSymbols,hn=we.decimal?H:D,oi=o(function(pr){return hn(pr.charCodeAt(0))},"escapeBmpSymbol");return st?(z=z.replace(s,function(pr){return bt&&Q(l,pr)?"&"+l[pr]+";":oi(pr)}),bt&&(z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),bt&&(z=z.replace(c,function(pr){return"&"+l[pr]+";"}))):bt?(hr||(z=z.replace(u,function(pr){return"&"+l[pr]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),z=z.replace(c,function(pr){return"&"+l[pr]+";"})):hr||(z=z.replace(u,oi)),z.replace(i,function(pr){var Jr=pr.charCodeAt(0),Sh=pr.charCodeAt(1),du=(Jr-55296)*1024+Sh-56320+65536;return hn(du)}).replace(a,oi)},"encode");J.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ee=o(function(z,we){we=v(we,ee.options);var Be=we.strict;return Be&&f.test(z)&&V("malformed character reference"),z.replace(p,function(st,bt,hr,hn,oi,pr,Jr,Sh,du){var Bc,As,Pa,Dd,Qd,fu;return bt?(Qd=bt,g[Qd]):hr?(Qd=hr,fu=hn,fu&&we.isAttributeValue?(Be&&fu=="="&&V("`&` did not start a character reference"),st):(Be&&V("named character reference was not terminated by a semicolon"),m[Qd]+(fu||""))):oi?(Pa=oi,As=pr,Be&&!As&&V("character reference was not terminated by a semicolon"),Bc=parseInt(Pa,10),$(Bc,Be)):Jr?(Dd=Jr,As=Sh,Be&&!As&&V("character reference was not terminated by a semicolon"),Bc=parseInt(Dd,16),$(Bc,Be)):(Be&&V("named character reference was not terminated by a semicolon"),st)})},"decode");ee.options={isAttributeValue:!1,strict:!1};var ae=o(function(z){return z.replace(u,function(we){return d[we]})},"escape"),Ae={version:"1.2.0",encode:J,decode:ee,escape:ae,unescape:ee};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return Ae});else if(e&&!e.nodeType)if(r)r.exports=Ae;else for(var Y in Ae)Q(Ae,Y)&&(e[Y]=Ae[Y]);else t.he=Ae})(iP)});var AP=A(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.Signature=ah.Envelope=void 0;ah.Envelope={fromJSON(t){return{payload:pP(t.payload)?Buffer.from(UOe(t.payload)):Buffer.alloc(0),payloadType:pP(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>ah.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=qOe(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>ah.Signature.toJSON(r))),e}};ah.Signature={fromJSON(t){return{sig:pP(t.sig)?Buffer.from(UOe(t.sig)):Buffer.alloc(0),keyid:pP(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=qOe(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function UOe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(UOe,"bytesFromBase64");function qOe(t){return globalThis.Buffer.from(t).toString("base64")}o(qOe,"base64FromBytes");function pP(t){return t!=null}o(pP,"isSet")});var HOe=A(mP=>{"use strict";Object.defineProperty(mP,"__esModule",{value:!0});mP.Timestamp=void 0;mP.Timestamp={fromJSON(t){return{seconds:GOe(t.seconds)?globalThis.String(t.seconds):"0",nanos:GOe(t.nanos)?globalThis.Number(t.nanos):0}},toJSON(t){let e={};return t.seconds!=="0"&&(e.seconds=t.seconds),t.nanos!==0&&(e.nanos=Math.round(t.nanos)),e}};function GOe(t){return t!=null}o(GOe,"isSet")});var wd=A(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.TimeRange=Ge.X509CertificateChain=Ge.SubjectAlternativeName=Ge.X509Certificate=Ge.DistinguishedName=Ge.ObjectIdentifierValuePair=Ge.ObjectIdentifier=Ge.PublicKeyIdentifier=Ge.PublicKey=Ge.RFC3161SignedTimestamp=Ge.LogId=Ge.MessageSignature=Ge.HashOutput=Ge.SubjectAlternativeNameType=Ge.PublicKeyDetails=Ge.HashAlgorithm=void 0;Ge.hashAlgorithmFromJSON=zOe;Ge.hashAlgorithmToJSON=$Oe;Ge.publicKeyDetailsFromJSON=jOe;Ge.publicKeyDetailsToJSON=WOe;Ge.subjectAlternativeNameTypeFromJSON=JOe;Ge.subjectAlternativeNameTypeToJSON=YOe;var OMt=HOe(),Ms;(function(t){t[t.HASH_ALGORITHM_UNSPECIFIED=0]="HASH_ALGORITHM_UNSPECIFIED",t[t.SHA2_256=1]="SHA2_256",t[t.SHA2_384=2]="SHA2_384",t[t.SHA2_512=3]="SHA2_512",t[t.SHA3_256=4]="SHA3_256",t[t.SHA3_384=5]="SHA3_384"})(Ms||(Ge.HashAlgorithm=Ms={}));function zOe(t){switch(t){case 0:case"HASH_ALGORITHM_UNSPECIFIED":return Ms.HASH_ALGORITHM_UNSPECIFIED;case 1:case"SHA2_256":return Ms.SHA2_256;case 2:case"SHA2_384":return Ms.SHA2_384;case 3:case"SHA2_512":return Ms.SHA2_512;case 4:case"SHA3_256":return Ms.SHA3_256;case 5:case"SHA3_384":return Ms.SHA3_384;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum HashAlgorithm")}}o(zOe,"hashAlgorithmFromJSON");function $Oe(t){switch(t){case Ms.HASH_ALGORITHM_UNSPECIFIED:return"HASH_ALGORITHM_UNSPECIFIED";case Ms.SHA2_256:return"SHA2_256";case Ms.SHA2_384:return"SHA2_384";case Ms.SHA2_512:return"SHA2_512";case Ms.SHA3_256:return"SHA3_256";case Ms.SHA3_384:return"SHA3_384";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum HashAlgorithm")}}o($Oe,"hashAlgorithmToJSON");var qe;(function(t){t[t.PUBLIC_KEY_DETAILS_UNSPECIFIED=0]="PUBLIC_KEY_DETAILS_UNSPECIFIED",t[t.PKCS1_RSA_PKCS1V5=1]="PKCS1_RSA_PKCS1V5",t[t.PKCS1_RSA_PSS=2]="PKCS1_RSA_PSS",t[t.PKIX_RSA_PKCS1V5=3]="PKIX_RSA_PKCS1V5",t[t.PKIX_RSA_PSS=4]="PKIX_RSA_PSS",t[t.PKIX_RSA_PKCS1V15_2048_SHA256=9]="PKIX_RSA_PKCS1V15_2048_SHA256",t[t.PKIX_RSA_PKCS1V15_3072_SHA256=10]="PKIX_RSA_PKCS1V15_3072_SHA256",t[t.PKIX_RSA_PKCS1V15_4096_SHA256=11]="PKIX_RSA_PKCS1V15_4096_SHA256",t[t.PKIX_RSA_PSS_2048_SHA256=16]="PKIX_RSA_PSS_2048_SHA256",t[t.PKIX_RSA_PSS_3072_SHA256=17]="PKIX_RSA_PSS_3072_SHA256",t[t.PKIX_RSA_PSS_4096_SHA256=18]="PKIX_RSA_PSS_4096_SHA256",t[t.PKIX_ECDSA_P256_HMAC_SHA_256=6]="PKIX_ECDSA_P256_HMAC_SHA_256",t[t.PKIX_ECDSA_P256_SHA_256=5]="PKIX_ECDSA_P256_SHA_256",t[t.PKIX_ECDSA_P384_SHA_384=12]="PKIX_ECDSA_P384_SHA_384",t[t.PKIX_ECDSA_P521_SHA_512=13]="PKIX_ECDSA_P521_SHA_512",t[t.PKIX_ED25519=7]="PKIX_ED25519",t[t.PKIX_ED25519_PH=8]="PKIX_ED25519_PH",t[t.PKIX_ECDSA_P384_SHA_256=19]="PKIX_ECDSA_P384_SHA_256",t[t.PKIX_ECDSA_P521_SHA_256=20]="PKIX_ECDSA_P521_SHA_256",t[t.LMS_SHA256=14]="LMS_SHA256",t[t.LMOTS_SHA256=15]="LMOTS_SHA256",t[t.ML_DSA_65=21]="ML_DSA_65",t[t.ML_DSA_87=22]="ML_DSA_87"})(qe||(Ge.PublicKeyDetails=qe={}));function jOe(t){switch(t){case 0:case"PUBLIC_KEY_DETAILS_UNSPECIFIED":return qe.PUBLIC_KEY_DETAILS_UNSPECIFIED;case 1:case"PKCS1_RSA_PKCS1V5":return qe.PKCS1_RSA_PKCS1V5;case 2:case"PKCS1_RSA_PSS":return qe.PKCS1_RSA_PSS;case 3:case"PKIX_RSA_PKCS1V5":return qe.PKIX_RSA_PKCS1V5;case 4:case"PKIX_RSA_PSS":return qe.PKIX_RSA_PSS;case 9:case"PKIX_RSA_PKCS1V15_2048_SHA256":return qe.PKIX_RSA_PKCS1V15_2048_SHA256;case 10:case"PKIX_RSA_PKCS1V15_3072_SHA256":return qe.PKIX_RSA_PKCS1V15_3072_SHA256;case 11:case"PKIX_RSA_PKCS1V15_4096_SHA256":return qe.PKIX_RSA_PKCS1V15_4096_SHA256;case 16:case"PKIX_RSA_PSS_2048_SHA256":return qe.PKIX_RSA_PSS_2048_SHA256;case 17:case"PKIX_RSA_PSS_3072_SHA256":return qe.PKIX_RSA_PSS_3072_SHA256;case 18:case"PKIX_RSA_PSS_4096_SHA256":return qe.PKIX_RSA_PSS_4096_SHA256;case 6:case"PKIX_ECDSA_P256_HMAC_SHA_256":return qe.PKIX_ECDSA_P256_HMAC_SHA_256;case 5:case"PKIX_ECDSA_P256_SHA_256":return qe.PKIX_ECDSA_P256_SHA_256;case 12:case"PKIX_ECDSA_P384_SHA_384":return qe.PKIX_ECDSA_P384_SHA_384;case 13:case"PKIX_ECDSA_P521_SHA_512":return qe.PKIX_ECDSA_P521_SHA_512;case 7:case"PKIX_ED25519":return qe.PKIX_ED25519;case 8:case"PKIX_ED25519_PH":return qe.PKIX_ED25519_PH;case 19:case"PKIX_ECDSA_P384_SHA_256":return qe.PKIX_ECDSA_P384_SHA_256;case 20:case"PKIX_ECDSA_P521_SHA_256":return qe.PKIX_ECDSA_P521_SHA_256;case 14:case"LMS_SHA256":return qe.LMS_SHA256;case 15:case"LMOTS_SHA256":return qe.LMOTS_SHA256;case 21:case"ML_DSA_65":return qe.ML_DSA_65;case 22:case"ML_DSA_87":return qe.ML_DSA_87;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum PublicKeyDetails")}}o(jOe,"publicKeyDetailsFromJSON");function WOe(t){switch(t){case qe.PUBLIC_KEY_DETAILS_UNSPECIFIED:return"PUBLIC_KEY_DETAILS_UNSPECIFIED";case qe.PKCS1_RSA_PKCS1V5:return"PKCS1_RSA_PKCS1V5";case qe.PKCS1_RSA_PSS:return"PKCS1_RSA_PSS";case qe.PKIX_RSA_PKCS1V5:return"PKIX_RSA_PKCS1V5";case qe.PKIX_RSA_PSS:return"PKIX_RSA_PSS";case qe.PKIX_RSA_PKCS1V15_2048_SHA256:return"PKIX_RSA_PKCS1V15_2048_SHA256";case qe.PKIX_RSA_PKCS1V15_3072_SHA256:return"PKIX_RSA_PKCS1V15_3072_SHA256";case qe.PKIX_RSA_PKCS1V15_4096_SHA256:return"PKIX_RSA_PKCS1V15_4096_SHA256";case qe.PKIX_RSA_PSS_2048_SHA256:return"PKIX_RSA_PSS_2048_SHA256";case qe.PKIX_RSA_PSS_3072_SHA256:return"PKIX_RSA_PSS_3072_SHA256";case qe.PKIX_RSA_PSS_4096_SHA256:return"PKIX_RSA_PSS_4096_SHA256";case qe.PKIX_ECDSA_P256_HMAC_SHA_256:return"PKIX_ECDSA_P256_HMAC_SHA_256";case qe.PKIX_ECDSA_P256_SHA_256:return"PKIX_ECDSA_P256_SHA_256";case qe.PKIX_ECDSA_P384_SHA_384:return"PKIX_ECDSA_P384_SHA_384";case qe.PKIX_ECDSA_P521_SHA_512:return"PKIX_ECDSA_P521_SHA_512";case qe.PKIX_ED25519:return"PKIX_ED25519";case qe.PKIX_ED25519_PH:return"PKIX_ED25519_PH";case qe.PKIX_ECDSA_P384_SHA_256:return"PKIX_ECDSA_P384_SHA_256";case qe.PKIX_ECDSA_P521_SHA_256:return"PKIX_ECDSA_P521_SHA_256";case qe.LMS_SHA256:return"LMS_SHA256";case qe.LMOTS_SHA256:return"LMOTS_SHA256";case qe.ML_DSA_65:return"ML_DSA_65";case qe.ML_DSA_87:return"ML_DSA_87";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum PublicKeyDetails")}}o(WOe,"publicKeyDetailsToJSON");var Yl;(function(t){t[t.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED=0]="SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED",t[t.EMAIL=1]="EMAIL",t[t.URI=2]="URI",t[t.OTHER_NAME=3]="OTHER_NAME"})(Yl||(Ge.SubjectAlternativeNameType=Yl={}));function JOe(t){switch(t){case 0:case"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED":return Yl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED;case 1:case"EMAIL":return Yl.EMAIL;case 2:case"URI":return Yl.URI;case 3:case"OTHER_NAME":return Yl.OTHER_NAME;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(JOe,"subjectAlternativeNameTypeFromJSON");function YOe(t){switch(t){case Yl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED:return"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";case Yl.EMAIL:return"EMAIL";case Yl.URI:return"URI";case Yl.OTHER_NAME:return"OTHER_NAME";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(YOe,"subjectAlternativeNameTypeToJSON");Ge.HashOutput={fromJSON(t){return{algorithm:Sn(t.algorithm)?zOe(t.algorithm):0,digest:Sn(t.digest)?Buffer.from(MA(t.digest)):Buffer.alloc(0)}},toJSON(t){let e={};return t.algorithm!==0&&(e.algorithm=$Oe(t.algorithm)),t.digest.length!==0&&(e.digest=UA(t.digest)),e}};Ge.MessageSignature={fromJSON(t){return{messageDigest:Sn(t.messageDigest)?Ge.HashOutput.fromJSON(t.messageDigest):void 0,signature:Sn(t.signature)?Buffer.from(MA(t.signature)):Buffer.alloc(0)}},toJSON(t){let e={};return t.messageDigest!==void 0&&(e.messageDigest=Ge.HashOutput.toJSON(t.messageDigest)),t.signature.length!==0&&(e.signature=UA(t.signature)),e}};Ge.LogId={fromJSON(t){return{keyId:Sn(t.keyId)?Buffer.from(MA(t.keyId)):Buffer.alloc(0)}},toJSON(t){let e={};return t.keyId.length!==0&&(e.keyId=UA(t.keyId)),e}};Ge.RFC3161SignedTimestamp={fromJSON(t){return{signedTimestamp:Sn(t.signedTimestamp)?Buffer.from(MA(t.signedTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedTimestamp.length!==0&&(e.signedTimestamp=UA(t.signedTimestamp)),e}};Ge.PublicKey={fromJSON(t){return{rawBytes:Sn(t.rawBytes)?Buffer.from(MA(t.rawBytes)):void 0,keyDetails:Sn(t.keyDetails)?jOe(t.keyDetails):0,validFor:Sn(t.validFor)?Ge.TimeRange.fromJSON(t.validFor):void 0}},toJSON(t){let e={};return t.rawBytes!==void 0&&(e.rawBytes=UA(t.rawBytes)),t.keyDetails!==0&&(e.keyDetails=WOe(t.keyDetails)),t.validFor!==void 0&&(e.validFor=Ge.TimeRange.toJSON(t.validFor)),e}};Ge.PublicKeyIdentifier={fromJSON(t){return{hint:Sn(t.hint)?globalThis.String(t.hint):""}},toJSON(t){let e={};return t.hint!==""&&(e.hint=t.hint),e}};Ge.ObjectIdentifier={fromJSON(t){return{id:globalThis.Array.isArray(t?.id)?t.id.map(e=>globalThis.Number(e)):[]}},toJSON(t){let e={};return t.id?.length&&(e.id=t.id.map(r=>Math.round(r))),e}};Ge.ObjectIdentifierValuePair={fromJSON(t){return{oid:Sn(t.oid)?Ge.ObjectIdentifier.fromJSON(t.oid):void 0,value:Sn(t.value)?Buffer.from(MA(t.value)):Buffer.alloc(0)}},toJSON(t){let e={};return t.oid!==void 0&&(e.oid=Ge.ObjectIdentifier.toJSON(t.oid)),t.value.length!==0&&(e.value=UA(t.value)),e}};Ge.DistinguishedName={fromJSON(t){return{organization:Sn(t.organization)?globalThis.String(t.organization):"",commonName:Sn(t.commonName)?globalThis.String(t.commonName):""}},toJSON(t){let e={};return t.organization!==""&&(e.organization=t.organization),t.commonName!==""&&(e.commonName=t.commonName),e}};Ge.X509Certificate={fromJSON(t){return{rawBytes:Sn(t.rawBytes)?Buffer.from(MA(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=UA(t.rawBytes)),e}};Ge.SubjectAlternativeName={fromJSON(t){return{type:Sn(t.type)?JOe(t.type):0,identity:Sn(t.regexp)?{$case:"regexp",regexp:globalThis.String(t.regexp)}:Sn(t.value)?{$case:"value",value:globalThis.String(t.value)}:void 0}},toJSON(t){let e={};return t.type!==0&&(e.type=YOe(t.type)),t.identity?.$case==="regexp"?e.regexp=t.identity.regexp:t.identity?.$case==="value"&&(e.value=t.identity.value),e}};Ge.X509CertificateChain={fromJSON(t){return{certificates:globalThis.Array.isArray(t?.certificates)?t.certificates.map(e=>Ge.X509Certificate.fromJSON(e)):[]}},toJSON(t){let e={};return t.certificates?.length&&(e.certificates=t.certificates.map(r=>Ge.X509Certificate.toJSON(r))),e}};Ge.TimeRange={fromJSON(t){return{start:Sn(t.start)?VOe(t.start):void 0,end:Sn(t.end)?VOe(t.end):void 0}},toJSON(t){let e={};return t.start!==void 0&&(e.start=t.start.toISOString()),t.end!==void 0&&(e.end=t.end.toISOString()),e}};function MA(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(MA,"bytesFromBase64");function UA(t){return globalThis.Buffer.from(t).toString("base64")}o(UA,"base64FromBytes");function LMt(t){let e=(globalThis.Number(t.seconds)||0)*1e3;return e+=(t.nanos||0)/1e6,new globalThis.Date(e)}o(LMt,"fromTimestamp");function VOe(t){return t instanceof globalThis.Date?t:typeof t=="string"?new globalThis.Date(t):LMt(OMt.Timestamp.fromJSON(t))}o(VOe,"fromJsonTimestamp");function Sn(t){return t!=null}o(Sn,"isSet")});var yK=A(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.TransparencyLogEntry=Bn.InclusionPromise=Bn.InclusionProof=Bn.Checkpoint=Bn.KindVersion=void 0;var KOe=wd();Bn.KindVersion={fromJSON(t){return{kind:ps(t.kind)?globalThis.String(t.kind):"",version:ps(t.version)?globalThis.String(t.version):""}},toJSON(t){let e={};return t.kind!==""&&(e.kind=t.kind),t.version!==""&&(e.version=t.version),e}};Bn.Checkpoint={fromJSON(t){return{envelope:ps(t.envelope)?globalThis.String(t.envelope):""}},toJSON(t){let e={};return t.envelope!==""&&(e.envelope=t.envelope),e}};Bn.InclusionProof={fromJSON(t){return{logIndex:ps(t.logIndex)?globalThis.String(t.logIndex):"0",rootHash:ps(t.rootHash)?Buffer.from(gP(t.rootHash)):Buffer.alloc(0),treeSize:ps(t.treeSize)?globalThis.String(t.treeSize):"0",hashes:globalThis.Array.isArray(t?.hashes)?t.hashes.map(e=>Buffer.from(gP(e))):[],checkpoint:ps(t.checkpoint)?Bn.Checkpoint.fromJSON(t.checkpoint):void 0}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.rootHash.length!==0&&(e.rootHash=yP(t.rootHash)),t.treeSize!=="0"&&(e.treeSize=t.treeSize),t.hashes?.length&&(e.hashes=t.hashes.map(r=>yP(r))),t.checkpoint!==void 0&&(e.checkpoint=Bn.Checkpoint.toJSON(t.checkpoint)),e}};Bn.InclusionPromise={fromJSON(t){return{signedEntryTimestamp:ps(t.signedEntryTimestamp)?Buffer.from(gP(t.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedEntryTimestamp.length!==0&&(e.signedEntryTimestamp=yP(t.signedEntryTimestamp)),e}};Bn.TransparencyLogEntry={fromJSON(t){return{logIndex:ps(t.logIndex)?globalThis.String(t.logIndex):"0",logId:ps(t.logId)?KOe.LogId.fromJSON(t.logId):void 0,kindVersion:ps(t.kindVersion)?Bn.KindVersion.fromJSON(t.kindVersion):void 0,integratedTime:ps(t.integratedTime)?globalThis.String(t.integratedTime):"0",inclusionPromise:ps(t.inclusionPromise)?Bn.InclusionPromise.fromJSON(t.inclusionPromise):void 0,inclusionProof:ps(t.inclusionProof)?Bn.InclusionProof.fromJSON(t.inclusionProof):void 0,canonicalizedBody:ps(t.canonicalizedBody)?Buffer.from(gP(t.canonicalizedBody)):Buffer.alloc(0)}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.logId!==void 0&&(e.logId=KOe.LogId.toJSON(t.logId)),t.kindVersion!==void 0&&(e.kindVersion=Bn.KindVersion.toJSON(t.kindVersion)),t.integratedTime!=="0"&&(e.integratedTime=t.integratedTime),t.inclusionPromise!==void 0&&(e.inclusionPromise=Bn.InclusionPromise.toJSON(t.inclusionPromise)),t.inclusionProof!==void 0&&(e.inclusionProof=Bn.InclusionProof.toJSON(t.inclusionProof)),t.canonicalizedBody.length!==0&&(e.canonicalizedBody=yP(t.canonicalizedBody)),e}};function gP(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(gP,"bytesFromBase64");function yP(t){return globalThis.Buffer.from(t).toString("base64")}o(yP,"base64FromBytes");function ps(t){return t!=null}o(ps,"isSet")});var EK=A(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});va.Bundle=va.VerificationMaterial=va.TimestampVerificationData=void 0;var XOe=AP(),Kl=wd(),ZOe=yK();va.TimestampVerificationData={fromJSON(t){return{rfc3161Timestamps:globalThis.Array.isArray(t?.rfc3161Timestamps)?t.rfc3161Timestamps.map(e=>Kl.RFC3161SignedTimestamp.fromJSON(e)):[]}},toJSON(t){let e={};return t.rfc3161Timestamps?.length&&(e.rfc3161Timestamps=t.rfc3161Timestamps.map(r=>Kl.RFC3161SignedTimestamp.toJSON(r))),e}};va.VerificationMaterial={fromJSON(t){return{content:ch(t.publicKey)?{$case:"publicKey",publicKey:Kl.PublicKeyIdentifier.fromJSON(t.publicKey)}:ch(t.x509CertificateChain)?{$case:"x509CertificateChain",x509CertificateChain:Kl.X509CertificateChain.fromJSON(t.x509CertificateChain)}:ch(t.certificate)?{$case:"certificate",certificate:Kl.X509Certificate.fromJSON(t.certificate)}:void 0,tlogEntries:globalThis.Array.isArray(t?.tlogEntries)?t.tlogEntries.map(e=>ZOe.TransparencyLogEntry.fromJSON(e)):[],timestampVerificationData:ch(t.timestampVerificationData)?va.TimestampVerificationData.fromJSON(t.timestampVerificationData):void 0}},toJSON(t){let e={};return t.content?.$case==="publicKey"?e.publicKey=Kl.PublicKeyIdentifier.toJSON(t.content.publicKey):t.content?.$case==="x509CertificateChain"?e.x509CertificateChain=Kl.X509CertificateChain.toJSON(t.content.x509CertificateChain):t.content?.$case==="certificate"&&(e.certificate=Kl.X509Certificate.toJSON(t.content.certificate)),t.tlogEntries?.length&&(e.tlogEntries=t.tlogEntries.map(r=>ZOe.TransparencyLogEntry.toJSON(r))),t.timestampVerificationData!==void 0&&(e.timestampVerificationData=va.TimestampVerificationData.toJSON(t.timestampVerificationData)),e}};va.Bundle={fromJSON(t){return{mediaType:ch(t.mediaType)?globalThis.String(t.mediaType):"",verificationMaterial:ch(t.verificationMaterial)?va.VerificationMaterial.fromJSON(t.verificationMaterial):void 0,content:ch(t.messageSignature)?{$case:"messageSignature",messageSignature:Kl.MessageSignature.fromJSON(t.messageSignature)}:ch(t.dsseEnvelope)?{$case:"dsseEnvelope",dsseEnvelope:XOe.Envelope.fromJSON(t.dsseEnvelope)}:void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.verificationMaterial!==void 0&&(e.verificationMaterial=va.VerificationMaterial.toJSON(t.verificationMaterial)),t.content?.$case==="messageSignature"?e.messageSignature=Kl.MessageSignature.toJSON(t.content.messageSignature):t.content?.$case==="dsseEnvelope"&&(e.dsseEnvelope=XOe.Envelope.toJSON(t.content.dsseEnvelope)),e}};function ch(t){return t!=null}o(ch,"isSet")});var CK=A(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.ClientTrustConfig=ze.ServiceConfiguration=ze.Service=ze.SigningConfig=ze.TrustedRoot=ze.CertificateAuthority=ze.TransparencyLogInstance=ze.ServiceSelector=void 0;ze.serviceSelectorFromJSON=eLe;ze.serviceSelectorToJSON=tLe;var Li=wd(),Xl;(function(t){t[t.SERVICE_SELECTOR_UNDEFINED=0]="SERVICE_SELECTOR_UNDEFINED",t[t.ALL=1]="ALL",t[t.ANY=2]="ANY",t[t.EXACT=3]="EXACT"})(Xl||(ze.ServiceSelector=Xl={}));function eLe(t){switch(t){case 0:case"SERVICE_SELECTOR_UNDEFINED":return Xl.SERVICE_SELECTOR_UNDEFINED;case 1:case"ALL":return Xl.ALL;case 2:case"ANY":return Xl.ANY;case 3:case"EXACT":return Xl.EXACT;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(eLe,"serviceSelectorFromJSON");function tLe(t){switch(t){case Xl.SERVICE_SELECTOR_UNDEFINED:return"SERVICE_SELECTOR_UNDEFINED";case Xl.ALL:return"ALL";case Xl.ANY:return"ANY";case Xl.EXACT:return"EXACT";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(tLe,"serviceSelectorToJSON");ze.TransparencyLogInstance={fromJSON(t){return{baseUrl:Br(t.baseUrl)?globalThis.String(t.baseUrl):"",hashAlgorithm:Br(t.hashAlgorithm)?(0,Li.hashAlgorithmFromJSON)(t.hashAlgorithm):0,publicKey:Br(t.publicKey)?Li.PublicKey.fromJSON(t.publicKey):void 0,logId:Br(t.logId)?Li.LogId.fromJSON(t.logId):void 0,checkpointKeyId:Br(t.checkpointKeyId)?Li.LogId.fromJSON(t.checkpointKeyId):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.baseUrl!==""&&(e.baseUrl=t.baseUrl),t.hashAlgorithm!==0&&(e.hashAlgorithm=(0,Li.hashAlgorithmToJSON)(t.hashAlgorithm)),t.publicKey!==void 0&&(e.publicKey=Li.PublicKey.toJSON(t.publicKey)),t.logId!==void 0&&(e.logId=Li.LogId.toJSON(t.logId)),t.checkpointKeyId!==void 0&&(e.checkpointKeyId=Li.LogId.toJSON(t.checkpointKeyId)),t.operator!==""&&(e.operator=t.operator),e}};ze.CertificateAuthority={fromJSON(t){return{subject:Br(t.subject)?Li.DistinguishedName.fromJSON(t.subject):void 0,uri:Br(t.uri)?globalThis.String(t.uri):"",certChain:Br(t.certChain)?Li.X509CertificateChain.fromJSON(t.certChain):void 0,validFor:Br(t.validFor)?Li.TimeRange.fromJSON(t.validFor):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.subject!==void 0&&(e.subject=Li.DistinguishedName.toJSON(t.subject)),t.uri!==""&&(e.uri=t.uri),t.certChain!==void 0&&(e.certChain=Li.X509CertificateChain.toJSON(t.certChain)),t.validFor!==void 0&&(e.validFor=Li.TimeRange.toJSON(t.validFor)),t.operator!==""&&(e.operator=t.operator),e}};ze.TrustedRoot={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",tlogs:globalThis.Array.isArray(t?.tlogs)?t.tlogs.map(e=>ze.TransparencyLogInstance.fromJSON(e)):[],certificateAuthorities:globalThis.Array.isArray(t?.certificateAuthorities)?t.certificateAuthorities.map(e=>ze.CertificateAuthority.fromJSON(e)):[],ctlogs:globalThis.Array.isArray(t?.ctlogs)?t.ctlogs.map(e=>ze.TransparencyLogInstance.fromJSON(e)):[],timestampAuthorities:globalThis.Array.isArray(t?.timestampAuthorities)?t.timestampAuthorities.map(e=>ze.CertificateAuthority.fromJSON(e)):[]}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.tlogs?.length&&(e.tlogs=t.tlogs.map(r=>ze.TransparencyLogInstance.toJSON(r))),t.certificateAuthorities?.length&&(e.certificateAuthorities=t.certificateAuthorities.map(r=>ze.CertificateAuthority.toJSON(r))),t.ctlogs?.length&&(e.ctlogs=t.ctlogs.map(r=>ze.TransparencyLogInstance.toJSON(r))),t.timestampAuthorities?.length&&(e.timestampAuthorities=t.timestampAuthorities.map(r=>ze.CertificateAuthority.toJSON(r))),e}};ze.SigningConfig={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",caUrls:globalThis.Array.isArray(t?.caUrls)?t.caUrls.map(e=>ze.Service.fromJSON(e)):[],oidcUrls:globalThis.Array.isArray(t?.oidcUrls)?t.oidcUrls.map(e=>ze.Service.fromJSON(e)):[],rekorTlogUrls:globalThis.Array.isArray(t?.rekorTlogUrls)?t.rekorTlogUrls.map(e=>ze.Service.fromJSON(e)):[],rekorTlogConfig:Br(t.rekorTlogConfig)?ze.ServiceConfiguration.fromJSON(t.rekorTlogConfig):void 0,tsaUrls:globalThis.Array.isArray(t?.tsaUrls)?t.tsaUrls.map(e=>ze.Service.fromJSON(e)):[],tsaConfig:Br(t.tsaConfig)?ze.ServiceConfiguration.fromJSON(t.tsaConfig):void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.caUrls?.length&&(e.caUrls=t.caUrls.map(r=>ze.Service.toJSON(r))),t.oidcUrls?.length&&(e.oidcUrls=t.oidcUrls.map(r=>ze.Service.toJSON(r))),t.rekorTlogUrls?.length&&(e.rekorTlogUrls=t.rekorTlogUrls.map(r=>ze.Service.toJSON(r))),t.rekorTlogConfig!==void 0&&(e.rekorTlogConfig=ze.ServiceConfiguration.toJSON(t.rekorTlogConfig)),t.tsaUrls?.length&&(e.tsaUrls=t.tsaUrls.map(r=>ze.Service.toJSON(r))),t.tsaConfig!==void 0&&(e.tsaConfig=ze.ServiceConfiguration.toJSON(t.tsaConfig)),e}};ze.Service={fromJSON(t){return{url:Br(t.url)?globalThis.String(t.url):"",majorApiVersion:Br(t.majorApiVersion)?globalThis.Number(t.majorApiVersion):0,validFor:Br(t.validFor)?Li.TimeRange.fromJSON(t.validFor):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.url!==""&&(e.url=t.url),t.majorApiVersion!==0&&(e.majorApiVersion=Math.round(t.majorApiVersion)),t.validFor!==void 0&&(e.validFor=Li.TimeRange.toJSON(t.validFor)),t.operator!==""&&(e.operator=t.operator),e}};ze.ServiceConfiguration={fromJSON(t){return{selector:Br(t.selector)?eLe(t.selector):0,count:Br(t.count)?globalThis.Number(t.count):0}},toJSON(t){let e={};return t.selector!==0&&(e.selector=tLe(t.selector)),t.count!==0&&(e.count=Math.round(t.count)),e}};ze.ClientTrustConfig={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",trustedRoot:Br(t.trustedRoot)?ze.TrustedRoot.fromJSON(t.trustedRoot):void 0,signingConfig:Br(t.signingConfig)?ze.SigningConfig.fromJSON(t.signingConfig):void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.trustedRoot!==void 0&&(e.trustedRoot=ze.TrustedRoot.toJSON(t.trustedRoot)),t.signingConfig!==void 0&&(e.signingConfig=ze.SigningConfig.toJSON(t.signingConfig)),e}};function Br(t){return t!=null}o(Br,"isSet")});var iLe=A($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.Input=$e.Artifact=$e.ArtifactVerificationOptions_ObserverTimestampOptions=$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions=$e.ArtifactVerificationOptions_TimestampAuthorityOptions=$e.ArtifactVerificationOptions_CtlogOptions=$e.ArtifactVerificationOptions_TlogOptions=$e.ArtifactVerificationOptions=$e.PublicKeyIdentities=$e.CertificateIdentities=$e.CertificateIdentity=void 0;var rLe=EK(),lh=wd(),nLe=CK();$e.CertificateIdentity={fromJSON(t){return{issuer:Yt(t.issuer)?globalThis.String(t.issuer):"",san:Yt(t.san)?lh.SubjectAlternativeName.fromJSON(t.san):void 0,oids:globalThis.Array.isArray(t?.oids)?t.oids.map(e=>lh.ObjectIdentifierValuePair.fromJSON(e)):[]}},toJSON(t){let e={};return t.issuer!==""&&(e.issuer=t.issuer),t.san!==void 0&&(e.san=lh.SubjectAlternativeName.toJSON(t.san)),t.oids?.length&&(e.oids=t.oids.map(r=>lh.ObjectIdentifierValuePair.toJSON(r))),e}};$e.CertificateIdentities={fromJSON(t){return{identities:globalThis.Array.isArray(t?.identities)?t.identities.map(e=>$e.CertificateIdentity.fromJSON(e)):[]}},toJSON(t){let e={};return t.identities?.length&&(e.identities=t.identities.map(r=>$e.CertificateIdentity.toJSON(r))),e}};$e.PublicKeyIdentities={fromJSON(t){return{publicKeys:globalThis.Array.isArray(t?.publicKeys)?t.publicKeys.map(e=>lh.PublicKey.fromJSON(e)):[]}},toJSON(t){let e={};return t.publicKeys?.length&&(e.publicKeys=t.publicKeys.map(r=>lh.PublicKey.toJSON(r))),e}};$e.ArtifactVerificationOptions={fromJSON(t){return{signers:Yt(t.certificateIdentities)?{$case:"certificateIdentities",certificateIdentities:$e.CertificateIdentities.fromJSON(t.certificateIdentities)}:Yt(t.publicKeys)?{$case:"publicKeys",publicKeys:$e.PublicKeyIdentities.fromJSON(t.publicKeys)}:void 0,tlogOptions:Yt(t.tlogOptions)?$e.ArtifactVerificationOptions_TlogOptions.fromJSON(t.tlogOptions):void 0,ctlogOptions:Yt(t.ctlogOptions)?$e.ArtifactVerificationOptions_CtlogOptions.fromJSON(t.ctlogOptions):void 0,tsaOptions:Yt(t.tsaOptions)?$e.ArtifactVerificationOptions_TimestampAuthorityOptions.fromJSON(t.tsaOptions):void 0,integratedTsOptions:Yt(t.integratedTsOptions)?$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.fromJSON(t.integratedTsOptions):void 0,observerOptions:Yt(t.observerOptions)?$e.ArtifactVerificationOptions_ObserverTimestampOptions.fromJSON(t.observerOptions):void 0}},toJSON(t){let e={};return t.signers?.$case==="certificateIdentities"?e.certificateIdentities=$e.CertificateIdentities.toJSON(t.signers.certificateIdentities):t.signers?.$case==="publicKeys"&&(e.publicKeys=$e.PublicKeyIdentities.toJSON(t.signers.publicKeys)),t.tlogOptions!==void 0&&(e.tlogOptions=$e.ArtifactVerificationOptions_TlogOptions.toJSON(t.tlogOptions)),t.ctlogOptions!==void 0&&(e.ctlogOptions=$e.ArtifactVerificationOptions_CtlogOptions.toJSON(t.ctlogOptions)),t.tsaOptions!==void 0&&(e.tsaOptions=$e.ArtifactVerificationOptions_TimestampAuthorityOptions.toJSON(t.tsaOptions)),t.integratedTsOptions!==void 0&&(e.integratedTsOptions=$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.toJSON(t.integratedTsOptions)),t.observerOptions!==void 0&&(e.observerOptions=$e.ArtifactVerificationOptions_ObserverTimestampOptions.toJSON(t.observerOptions)),e}};$e.ArtifactVerificationOptions_TlogOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,performOnlineVerification:Yt(t.performOnlineVerification)?globalThis.Boolean(t.performOnlineVerification):!1,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.performOnlineVerification!==!1&&(e.performOnlineVerification=t.performOnlineVerification),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_CtlogOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_TimestampAuthorityOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_TlogIntegratedTimestampOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.ArtifactVerificationOptions_ObserverTimestampOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};$e.Artifact={fromJSON(t){return{data:Yt(t.artifactUri)?{$case:"artifactUri",artifactUri:globalThis.String(t.artifactUri)}:Yt(t.artifact)?{$case:"artifact",artifact:Buffer.from(FMt(t.artifact))}:Yt(t.artifactDigest)?{$case:"artifactDigest",artifactDigest:lh.HashOutput.fromJSON(t.artifactDigest)}:void 0}},toJSON(t){let e={};return t.data?.$case==="artifactUri"?e.artifactUri=t.data.artifactUri:t.data?.$case==="artifact"?e.artifact=MMt(t.data.artifact):t.data?.$case==="artifactDigest"&&(e.artifactDigest=lh.HashOutput.toJSON(t.data.artifactDigest)),e}};$e.Input={fromJSON(t){return{artifactTrustRoot:Yt(t.artifactTrustRoot)?nLe.TrustedRoot.fromJSON(t.artifactTrustRoot):void 0,artifactVerificationOptions:Yt(t.artifactVerificationOptions)?$e.ArtifactVerificationOptions.fromJSON(t.artifactVerificationOptions):void 0,bundle:Yt(t.bundle)?rLe.Bundle.fromJSON(t.bundle):void 0,artifact:Yt(t.artifact)?$e.Artifact.fromJSON(t.artifact):void 0}},toJSON(t){let e={};return t.artifactTrustRoot!==void 0&&(e.artifactTrustRoot=nLe.TrustedRoot.toJSON(t.artifactTrustRoot)),t.artifactVerificationOptions!==void 0&&(e.artifactVerificationOptions=$e.ArtifactVerificationOptions.toJSON(t.artifactVerificationOptions)),t.bundle!==void 0&&(e.bundle=rLe.Bundle.toJSON(t.bundle)),t.artifact!==void 0&&(e.artifact=$e.Artifact.toJSON(t.artifact)),e}};function FMt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(FMt,"bytesFromBase64");function MMt(t){return globalThis.Buffer.from(t).toString("base64")}o(MMt,"base64FromBytes");function Yt(t){return t!=null}o(Yt,"isSet")});var sC=A(Na=>{"use strict";var UMt=Na&&Na.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),iC=Na&&Na.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&UMt(e,t,r)};Object.defineProperty(Na,"__esModule",{value:!0});iC(AP(),Na);iC(EK(),Na);iC(wd(),Na);iC(yK(),Na);iC(CK(),Na);iC(iLe(),Na)});var EP=A(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.BUNDLE_V03_MEDIA_TYPE=Us.BUNDLE_V03_LEGACY_MEDIA_TYPE=Us.BUNDLE_V02_MEDIA_TYPE=Us.BUNDLE_V01_MEDIA_TYPE=void 0;Us.isBundleWithCertificateChain=qMt;Us.isBundleWithPublicKey=GMt;Us.isBundleWithMessageSignature=HMt;Us.isBundleWithDsseEnvelope=VMt;Us.BUNDLE_V01_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.1";Us.BUNDLE_V02_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.2";Us.BUNDLE_V03_LEGACY_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.3";Us.BUNDLE_V03_MEDIA_TYPE="application/vnd.dev.sigstore.bundle.v0.3+json";function qMt(t){return t.verificationMaterial.content.$case==="x509CertificateChain"}o(qMt,"isBundleWithCertificateChain");function GMt(t){return t.verificationMaterial.content.$case==="publicKey"}o(GMt,"isBundleWithPublicKey");function HMt(t){return t.content.$case==="messageSignature"}o(HMt,"isBundleWithMessageSignature");function VMt(t){return t.content.$case==="dsseEnvelope"}o(VMt,"isBundleWithDsseEnvelope")});var oLe=A(bP=>{"use strict";Object.defineProperty(bP,"__esModule",{value:!0});bP.toMessageSignatureBundle=$Mt;bP.toDSSEBundle=jMt;var zMt=sC(),CP=EP();function $Mt(t){return{mediaType:t.certificateChain?CP.BUNDLE_V02_MEDIA_TYPE:CP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:zMt.HashAlgorithm.SHA2_256,digest:t.digest},signature:t.signature}},verificationMaterial:sLe(t)}}o($Mt,"toMessageSignatureBundle");function jMt(t){return{mediaType:t.certificateChain?CP.BUNDLE_V02_MEDIA_TYPE:CP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:WMt(t)},verificationMaterial:sLe(t)}}o(jMt,"toDSSEBundle");function WMt(t){return{payloadType:t.artifactType,payload:t.artifact,signatures:[JMt(t)]}}o(WMt,"toEnvelope");function JMt(t){return{keyid:t.keyHint||"",sig:t.signature}}o(JMt,"toSignature");function sLe(t){return{content:YMt(t),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}o(sLe,"toVerificationMaterial");function YMt(t){return t.certificate?t.certificateChain?{$case:"x509CertificateChain",x509CertificateChain:{certificates:[{rawBytes:t.certificate}]}}:{$case:"certificate",certificate:{rawBytes:t.certificate}}:{$case:"publicKey",publicKey:{hint:t.keyHint||""}}}o(YMt,"toKeyContent")});var IK=A(IP=>{"use strict";Object.defineProperty(IP,"__esModule",{value:!0});IP.ValidationError=void 0;var bK=class extends Error{static{o(this,"ValidationError")}fields;constructor(e,r){super(e),this.fields=r}};IP.ValidationError=bK});var wK=A(qA=>{"use strict";Object.defineProperty(qA,"__esModule",{value:!0});qA.assertBundle=KMt;qA.assertBundleV01=aLe;qA.isBundleV01=XMt;qA.assertBundleV02=ZMt;qA.assertBundleLatest=eUt;var wP=IK();function KMt(t){let e=SP(t);if(e.length>0)throw new wP.ValidationError("invalid bundle",e)}o(KMt,"assertBundle");function aLe(t){let e=[];if(e.push(...SP(t)),e.push(...tUt(t)),e.length>0)throw new wP.ValidationError("invalid v0.1 bundle",e)}o(aLe,"assertBundleV01");function XMt(t){try{return aLe(t),!0}catch{return!1}}o(XMt,"isBundleV01");function ZMt(t){let e=[];if(e.push(...SP(t)),e.push(...cLe(t)),e.length>0)throw new wP.ValidationError("invalid v0.2 bundle",e)}o(ZMt,"assertBundleV02");function eUt(t){let e=[];if(e.push(...SP(t)),e.push(...cLe(t)),e.push(...rUt(t)),e.length>0)throw new wP.ValidationError("invalid bundle",e)}o(eUt,"assertBundleLatest");function SP(t){let e=[];if((t.mediaType===void 0||!t.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\+json;version=\d\.\d/)&&!t.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\.v\d\.\d\+json/))&&e.push("mediaType"),t.content===void 0)e.push("content");else switch(t.content.$case){case"messageSignature":t.content.messageSignature.messageDigest===void 0?e.push("content.messageSignature.messageDigest"):t.content.messageSignature.messageDigest.digest.length===0&&e.push("content.messageSignature.messageDigest.digest"),t.content.messageSignature.signature.length===0&&e.push("content.messageSignature.signature");break;case"dsseEnvelope":t.content.dsseEnvelope.payload.length===0&&e.push("content.dsseEnvelope.payload"),t.content.dsseEnvelope.signatures.length!==1?e.push("content.dsseEnvelope.signatures"):t.content.dsseEnvelope.signatures[0].sig.length===0&&e.push("content.dsseEnvelope.signatures[0].sig");break}if(t.verificationMaterial===void 0)e.push("verificationMaterial");else{if(t.verificationMaterial.content===void 0)e.push("verificationMaterial.content");else switch(t.verificationMaterial.content.$case){case"x509CertificateChain":t.verificationMaterial.content.x509CertificateChain.certificates.length===0&&e.push("verificationMaterial.content.x509CertificateChain.certificates"),t.verificationMaterial.content.x509CertificateChain.certificates.forEach((r,n)=>{r.rawBytes.length===0&&e.push(`verificationMaterial.content.x509CertificateChain.certificates[${n}].rawBytes`)});break;case"certificate":t.verificationMaterial.content.certificate.rawBytes.length===0&&e.push("verificationMaterial.content.certificate.rawBytes");break}t.verificationMaterial.tlogEntries===void 0?e.push("verificationMaterial.tlogEntries"):t.verificationMaterial.tlogEntries.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.logId===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].logId`),r.kindVersion===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].kindVersion`)})}return e}o(SP,"validateBundleBase");function tUt(t){let e=[];return t.verificationMaterial&&t.verificationMaterial.tlogEntries?.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.inclusionPromise===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].inclusionPromise`)}),e}o(tUt,"validateInclusionPromise");function cLe(t){let e=[];return t.verificationMaterial&&t.verificationMaterial.tlogEntries?.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.inclusionProof===void 0?e.push(`verificationMaterial.tlogEntries[${n}].inclusionProof`):r.inclusionProof.checkpoint===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].inclusionProof.checkpoint`)}),e}o(cLe,"validateInclusionProof");function rUt(t){let e=[];return t.verificationMaterial?.content?.$case==="x509CertificateChain"&&e.push("verificationMaterial.content.$case"),e}o(rUt,"validateNoCertificateChain")});var uLe=A(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.envelopeToJSON=Zl.envelopeFromJSON=Zl.bundleToJSON=Zl.bundleFromJSON=void 0;var BP=sC(),lLe=EP(),SK=wK(),nUt=o(t=>{let e=BP.Bundle.fromJSON(t);switch(e.mediaType){case lLe.BUNDLE_V01_MEDIA_TYPE:(0,SK.assertBundleV01)(e);break;case lLe.BUNDLE_V02_MEDIA_TYPE:(0,SK.assertBundleV02)(e);break;default:(0,SK.assertBundleLatest)(e);break}return e},"bundleFromJSON");Zl.bundleFromJSON=nUt;var iUt=o(t=>BP.Bundle.toJSON(t),"bundleToJSON");Zl.bundleToJSON=iUt;var sUt=o(t=>BP.Envelope.fromJSON(t),"envelopeFromJSON");Zl.envelopeFromJSON=sUt;var oUt=o(t=>BP.Envelope.toJSON(t),"envelopeToJSON");Zl.envelopeToJSON=oUt});var BK=A(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.isBundleV01=et.assertBundleV02=et.assertBundleV01=et.assertBundleLatest=et.assertBundle=et.envelopeToJSON=et.envelopeFromJSON=et.bundleToJSON=et.bundleFromJSON=et.ValidationError=et.isBundleWithPublicKey=et.isBundleWithMessageSignature=et.isBundleWithDsseEnvelope=et.isBundleWithCertificateChain=et.BUNDLE_V03_MEDIA_TYPE=et.BUNDLE_V03_LEGACY_MEDIA_TYPE=et.BUNDLE_V02_MEDIA_TYPE=et.BUNDLE_V01_MEDIA_TYPE=et.toMessageSignatureBundle=et.toDSSEBundle=void 0;var dLe=oLe();Object.defineProperty(et,"toDSSEBundle",{enumerable:!0,get:o(function(){return dLe.toDSSEBundle},"get")});Object.defineProperty(et,"toMessageSignatureBundle",{enumerable:!0,get:o(function(){return dLe.toMessageSignatureBundle},"get")});var uh=EP();Object.defineProperty(et,"BUNDLE_V01_MEDIA_TYPE",{enumerable:!0,get:o(function(){return uh.BUNDLE_V01_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V02_MEDIA_TYPE",{enumerable:!0,get:o(function(){return uh.BUNDLE_V02_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_LEGACY_MEDIA_TYPE",{enumerable:!0,get:o(function(){return uh.BUNDLE_V03_LEGACY_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_MEDIA_TYPE",{enumerable:!0,get:o(function(){return uh.BUNDLE_V03_MEDIA_TYPE},"get")});Object.defineProperty(et,"isBundleWithCertificateChain",{enumerable:!0,get:o(function(){return uh.isBundleWithCertificateChain},"get")});Object.defineProperty(et,"isBundleWithDsseEnvelope",{enumerable:!0,get:o(function(){return uh.isBundleWithDsseEnvelope},"get")});Object.defineProperty(et,"isBundleWithMessageSignature",{enumerable:!0,get:o(function(){return uh.isBundleWithMessageSignature},"get")});Object.defineProperty(et,"isBundleWithPublicKey",{enumerable:!0,get:o(function(){return uh.isBundleWithPublicKey},"get")});var aUt=IK();Object.defineProperty(et,"ValidationError",{enumerable:!0,get:o(function(){return aUt.ValidationError},"get")});var xP=uLe();Object.defineProperty(et,"bundleFromJSON",{enumerable:!0,get:o(function(){return xP.bundleFromJSON},"get")});Object.defineProperty(et,"bundleToJSON",{enumerable:!0,get:o(function(){return xP.bundleToJSON},"get")});Object.defineProperty(et,"envelopeFromJSON",{enumerable:!0,get:o(function(){return xP.envelopeFromJSON},"get")});Object.defineProperty(et,"envelopeToJSON",{enumerable:!0,get:o(function(){return xP.envelopeToJSON},"get")});var gB=wK();Object.defineProperty(et,"assertBundle",{enumerable:!0,get:o(function(){return gB.assertBundle},"get")});Object.defineProperty(et,"assertBundleLatest",{enumerable:!0,get:o(function(){return gB.assertBundleLatest},"get")});Object.defineProperty(et,"assertBundleV01",{enumerable:!0,get:o(function(){return gB.assertBundleV01},"get")});Object.defineProperty(et,"assertBundleV02",{enumerable:!0,get:o(function(){return gB.assertBundleV02},"get")});Object.defineProperty(et,"isBundleV01",{enumerable:!0,get:o(function(){return gB.isBundleV01},"get")})});var hLe=A(yB=>{"use strict";var fLe=yB&&yB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yB,"__esModule",{value:!0});yB.appDataPath=lUt;var cUt=fLe(require("os")),oC=fLe(require("path"));function lUt(t){let e=cUt.default.homedir();switch(process.platform){case"darwin":{let r=oC.default.join(e,"Library","Application Support");return oC.default.join(r,t)}case"win32":{let r=process.env.LOCALAPPDATA||oC.default.join(e,"AppData","Local");return oC.default.join(r,t,"Data")}default:{let r=process.env.XDG_DATA_HOME||oC.default.join(e,".local","share");return oC.default.join(r,t)}}}o(lUt,"appDataPath")});var eu=A(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.UnsupportedAlgorithmError=qs.CryptoError=qs.LengthOrHashMismatchError=qs.UnsignedMetadataError=qs.RepositoryError=qs.ValueError=void 0;var xK=class extends Error{static{o(this,"ValueError")}};qs.ValueError=xK;var EB=class extends Error{static{o(this,"RepositoryError")}};qs.RepositoryError=EB;var vK=class extends EB{static{o(this,"UnsignedMetadataError")}};qs.UnsignedMetadataError=vK;var NK=class extends EB{static{o(this,"LengthOrHashMismatchError")}};qs.LengthOrHashMismatchError=NK;var vP=class extends Error{static{o(this,"CryptoError")}};qs.CryptoError=vP;var _K=class extends vP{static{o(this,"UnsupportedAlgorithmError")}};qs.UnsupportedAlgorithmError=_K});var ALe=A(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.isDefined=uUt;dh.isObject=pLe;dh.isStringArray=dUt;dh.isObjectArray=fUt;dh.isStringRecord=hUt;dh.isObjectRecord=pUt;function uUt(t){return t!==void 0}o(uUt,"isDefined");function pLe(t){return typeof t=="object"&&t!==null}o(pLe,"isObject");function dUt(t){return Array.isArray(t)&&t.every(e=>typeof e=="string")}o(dUt,"isStringArray");function fUt(t){return Array.isArray(t)&&t.every(pLe)}o(fUt,"isObjectArray");function hUt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="string")}o(hUt,"isStringRecord");function pUt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="object"&&e!==null)}o(pUt,"isObjectRecord")});var RK=A((qOr,gLe)=>{function TK(t){let e=[];if(typeof t=="string")e.push(mLe(t));else if(typeof t=="boolean")e.push(JSON.stringify(t));else if(Number.isInteger(t))e.push(JSON.stringify(t));else if(t===null)e.push(JSON.stringify(t));else if(Array.isArray(t)){e.push("[");let r=!0;t.forEach(n=>{r||e.push(","),r=!1,e.push(TK(n))}),e.push("]")}else if(typeof t=="object"){e.push("{");let r=!0;Object.keys(t).sort().forEach(n=>{r||e.push(","),r=!1,e.push(mLe(n)),e.push(":"),e.push(TK(t[n]))}),e.push("}")}else throw new TypeError("cannot encode "+t.toString());return e.join("")}o(TK,"canonicalize");function mLe(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}o(mLe,"canonicalizeString");gLe.exports={canonicalize:TK}});var yLe=A(aC=>{"use strict";var AUt=aC&&aC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(aC,"__esModule",{value:!0});aC.verifySignature=void 0;var mUt=RK(),gUt=AUt(require("crypto")),yUt=o((t,e,r)=>{let n=Buffer.from((0,mUt.canonicalize)(t));return gUt.default.verify(void 0,n,e,Buffer.from(r,"hex"))},"verifySignature");aC.verifySignature=yUt});var bc=A(_a=>{"use strict";var EUt=_a&&_a.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),CUt=_a&&_a.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ELe=_a&&_a.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var bUt=Sd&&Sd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sd,"__esModule",{value:!0});Sd.Signed=Sd.MetadataKind=void 0;Sd.isMetadataKind=wUt;var IUt=bUt(require("util")),CB=eu(),DK=bc(),CLe=["1","0","31"],QK;(function(t){t.Root="root",t.Timestamp="timestamp",t.Snapshot="snapshot",t.Targets="targets"})(QK||(Sd.MetadataKind=QK={}));function wUt(t){return typeof t=="string"&&Object.values(QK).includes(t)}o(wUt,"isMetadataKind");var kK=class t{static{o(this,"Signed")}specVersion;expires;version;unrecognizedFields;constructor(e){this.specVersion=e.specVersion||CLe.join(".");let r=this.specVersion.split(".");if(!(r.length===2||r.length===3)||!r.every(n=>SUt(n)))throw new CB.ValueError("Failed to parse specVersion");if(r[0]!=CLe[0])throw new CB.ValueError("Unsupported specVersion");this.expires=e.expires,this.version=e.version,this.unrecognizedFields=e.unrecognizedFields||{}}equals(e){return e instanceof t?this.specVersion===e.specVersion&&this.expires===e.expires&&this.version===e.version&&IUt.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}isExpired(e){return e||(e=new Date),e>=new Date(this.expires)}static commonFieldsFromJSON(e){let{spec_version:r,expires:n,version:i,...s}=e;if(DK.guard.isDefined(r)){if(typeof r!="string")throw new TypeError("spec_version must be a string")}else throw new CB.ValueError("spec_version is not defined");if(DK.guard.isDefined(n)){if(typeof n!="string")throw new TypeError("expires must be a string")}else throw new CB.ValueError("expires is not defined");if(DK.guard.isDefined(i)){if(typeof i!="number")throw new TypeError("version must be a number")}else throw new CB.ValueError("version is not defined");return{specVersion:r,expires:n,version:i,unrecognizedFields:s}}};Sd.Signed=kK;function SUt(t){return!isNaN(Number(t))}o(SUt,"isNumeric")});var bB=A(hh=>{"use strict";var bLe=hh&&hh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hh,"__esModule",{value:!0});hh.TargetFile=hh.MetaFile=void 0;var ILe=bLe(require("crypto")),_P=bLe(require("util")),fh=eu(),NP=bc(),PK=class t{static{o(this,"MetaFile")}version;length;hashes;unrecognizedFields;constructor(e){if(e.version<=0)throw new fh.ValueError("Metafile version must be at least 1");e.length!==void 0&&wLe(e.length),this.version=e.version,this.length=e.length,this.hashes=e.hashes,this.unrecognizedFields=e.unrecognizedFields||{}}equals(e){return e instanceof t?this.version===e.version&&this.length===e.length&&_P.default.isDeepStrictEqual(this.hashes,e.hashes)&&_P.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}verify(e){if(this.length!==void 0&&e.length!==this.length)throw new fh.LengthOrHashMismatchError(`Expected length ${this.length} but got ${e.length}`);this.hashes&&Object.entries(this.hashes).forEach(([r,n])=>{let i;try{i=ILe.default.createHash(r)}catch{throw new fh.LengthOrHashMismatchError(`Hash algorithm ${r} not supported`)}let s=i.update(e).digest("hex");if(s!==n)throw new fh.LengthOrHashMismatchError(`Expected hash ${n} but got ${s}`)})}toJSON(){let e={version:this.version,...this.unrecognizedFields};return this.length!==void 0&&(e.length=this.length),this.hashes&&(e.hashes=this.hashes),e}static fromJSON(e){let{version:r,length:n,hashes:i,...s}=e;if(typeof r!="number")throw new TypeError("version must be a number");if(NP.guard.isDefined(n)&&typeof n!="number")throw new TypeError("length must be a number");if(NP.guard.isDefined(i)&&!NP.guard.isStringRecord(i))throw new TypeError("hashes must be string keys and values");return new t({version:r,length:n,hashes:i,unrecognizedFields:s})}};hh.MetaFile=PK;var OK=class t{static{o(this,"TargetFile")}length;path;hashes;unrecognizedFields;constructor(e){wLe(e.length),this.length=e.length,this.path=e.path,this.hashes=e.hashes,this.unrecognizedFields=e.unrecognizedFields||{}}get custom(){let e=this.unrecognizedFields.custom;return!e||Array.isArray(e)||typeof e!="object"?{}:e}equals(e){return e instanceof t?this.length===e.length&&this.path===e.path&&_P.default.isDeepStrictEqual(this.hashes,e.hashes)&&_P.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}async verify(e){let r=0,n=Object.keys(this.hashes).reduce((i,s)=>{try{i[s]=ILe.default.createHash(s)}catch{throw new fh.LengthOrHashMismatchError(`Hash algorithm ${s} not supported`)}return i},{});for await(let i of e)r+=i.length,Object.values(n).forEach(s=>{s.update(i)});if(r!==this.length)throw new fh.LengthOrHashMismatchError(`Expected length ${this.length} but got ${r}`);Object.entries(n).forEach(([i,s])=>{let a=this.hashes[i],c=s.digest("hex");if(c!==a)throw new fh.LengthOrHashMismatchError(`Expected hash ${a} but got ${c}`)})}toJSON(){return{length:this.length,hashes:this.hashes,...this.unrecognizedFields}}static fromJSON(e,r){let{length:n,hashes:i,...s}=r;if(typeof n!="number")throw new TypeError("length must be a number");if(!NP.guard.isStringRecord(i))throw new TypeError("hashes must have string keys and values");return new t({length:n,path:e,hashes:i,unrecognizedFields:s})}};hh.TargetFile=OK;function wLe(t){if(t<0)throw new fh.ValueError("Length must be at least 0")}o(wLe,"validateLength")});var SLe=A(LK=>{"use strict";Object.defineProperty(LK,"__esModule",{value:!0});LK.encodeOIDString=xUt;var BUt=6;function xUt(t){let e=t.split("."),r=parseInt(e[0],10)*40+parseInt(e[1],10),n=[];e.slice(2).forEach(s=>{let a=vUt(parseInt(s,10));n.push(...a)});let i=Buffer.from([r,...n]);return Buffer.from([BUt,i.length,...i])}o(xUt,"encodeOIDString");function vUt(t){let e=[],r=0;for(;t>0;)e.unshift(t&127|r),t>>=7,r=128;return e}o(vUt,"encodeVariableLengthInteger")});var NLe=A(wB=>{"use strict";var NUt=wB&&wB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wB,"__esModule",{value:!0});wB.getPublicKey=DUt;var cC=NUt(require("crypto")),IB=eu(),FK=SLe(),TP=48,BLe=3,xLe=0,_Ut="1.3.101.112",TUt="1.2.840.10045.2.1",RUt="1.2.840.10045.3.1.7",MK="-----BEGIN PUBLIC KEY-----";function DUt(t){switch(t.keyType){case"rsa":return QUt(t);case"ed25519":return kUt(t);case"ecdsa":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":return PUt(t);default:throw new IB.UnsupportedAlgorithmError(`Unsupported key type: ${t.keyType}`)}}o(DUt,"getPublicKey");function QUt(t){if(!t.keyVal.startsWith(MK))throw new IB.CryptoError("Invalid key format");let e=cC.default.createPublicKey(t.keyVal);if(t.scheme==="rsassa-pss-sha256")return{key:e,padding:cC.default.constants.RSA_PKCS1_PSS_PADDING};throw new IB.UnsupportedAlgorithmError(`Unsupported RSA scheme: ${t.scheme}`)}o(QUt,"getRSAPublicKey");function kUt(t){let e;if(t.keyVal.startsWith(MK))e=cC.default.createPublicKey(t.keyVal);else{if(!vLe(t.keyVal))throw new IB.CryptoError("Invalid key format");e=cC.default.createPublicKey({key:OUt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(kUt,"getED25519PublicKey");function PUt(t){let e;if(t.keyVal.startsWith(MK))e=cC.default.createPublicKey(t.keyVal);else{if(!vLe(t.keyVal))throw new IB.CryptoError("Invalid key format");e=cC.default.createPublicKey({key:LUt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(PUt,"getECDCSAPublicKey");var OUt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=(0,FK.encodeOIDString)(_Ut),n=Buffer.concat([Buffer.concat([Buffer.from([TP]),Buffer.from([r.length]),r]),Buffer.concat([Buffer.from([BLe]),Buffer.from([e.length+1]),Buffer.from([xLe]),e])]);return Buffer.concat([Buffer.from([TP]),Buffer.from([n.length]),n])},"hexToDER")},LUt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=Buffer.concat([Buffer.from([BLe]),Buffer.from([e.length+1]),Buffer.from([xLe]),e]),n=Buffer.concat([(0,FK.encodeOIDString)(TUt),(0,FK.encodeOIDString)(RUt)]),i=Buffer.concat([Buffer.from([TP]),Buffer.from([n.length]),n]);return Buffer.concat([Buffer.from([TP]),Buffer.from([i.length+r.length]),i,r])},"hexToDER")},vLe=o(t=>/^[0-9a-fA-F]+$/.test(t),"isHex")});var RP=A(lC=>{"use strict";var FUt=lC&&lC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lC,"__esModule",{value:!0});lC.Key=void 0;var _Le=FUt(require("util")),SB=eu(),TLe=bc(),MUt=NLe(),UK=class t{static{o(this,"Key")}keyID;keyType;scheme;keyVal;unrecognizedFields;constructor(e){let{keyID:r,keyType:n,scheme:i,keyVal:s,unrecognizedFields:a}=e;this.keyID=r,this.keyType=n,this.scheme=i,this.keyVal=s,this.unrecognizedFields=a||{}}verifySignature(e){let r=e.signatures[this.keyID];if(!r)throw new SB.UnsignedMetadataError("no signature for key found in metadata");if(!this.keyVal.public)throw new SB.UnsignedMetadataError("no public key found");let n=(0,MUt.getPublicKey)({keyType:this.keyType,scheme:this.scheme,keyVal:this.keyVal.public}),i=e.signed.toJSON();try{if(!TLe.crypto.verifySignature(i,n,r.sig))throw new SB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}catch(s){throw s instanceof SB.UnsignedMetadataError?s:new SB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}}equals(e){return e instanceof t?this.keyID===e.keyID&&this.keyType===e.keyType&&this.scheme===e.scheme&&_Le.default.isDeepStrictEqual(this.keyVal,e.keyVal)&&_Le.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{keytype:this.keyType,scheme:this.scheme,keyval:this.keyVal,...this.unrecognizedFields}}static fromJSON(e,r){let{keytype:n,scheme:i,keyval:s,...a}=r;if(typeof n!="string")throw new TypeError("keytype must be a string");if(typeof i!="string")throw new TypeError("scheme must be a string");if(!TLe.guard.isStringRecord(s))throw new TypeError("keyval must be a string record");return new t({keyID:e,keyType:n,scheme:i,keyVal:s,unrecognizedFields:a})}};lC.Key=UK});var DLe=A(HA=>{"use strict";Object.defineProperty(HA,"__esModule",{value:!0});HA.range=HA.balanced=void 0;var UUt=o((t,e,r)=>{let n=t instanceof RegExp?RLe(t,r):t,i=e instanceof RegExp?RLe(e,r):e,s=n!==null&&i!=null&&(0,HA.range)(n,i,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+n.length,s[1]),post:r.slice(s[1]+i.length)}},"balanced");HA.balanced=UUt;var RLe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),qUt=o((t,e,r)=>{let n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),d=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;d>=0&&!c;){if(d===l)n.push(d),l=r.indexOf(t,d+1);else if(n.length===1){let f=n.pop();f!==void 0&&(c=[f,u])}else i=n.pop(),i!==void 0&&i=0?l:u}n.length&&a!==void 0&&(c=[s,a])}return c},"range");HA.range=qUt});var MLe=A(uC=>{"use strict";Object.defineProperty(uC,"__esModule",{value:!0});uC.EXPANSION_MAX=void 0;uC.expand=eqt;var QLe=DLe(),kLe="\0SLASH"+Math.random()+"\0",PLe="\0OPEN"+Math.random()+"\0",GK="\0CLOSE"+Math.random()+"\0",OLe="\0COMMA"+Math.random()+"\0",LLe="\0PERIOD"+Math.random()+"\0",GUt=new RegExp(kLe,"g"),HUt=new RegExp(PLe,"g"),VUt=new RegExp(GK,"g"),zUt=new RegExp(OLe,"g"),$Ut=new RegExp(LLe,"g"),jUt=/\\\\/g,WUt=/\\{/g,JUt=/\\}/g,YUt=/\\,/g,KUt=/\\\./g;uC.EXPANSION_MAX=1e5;function qK(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(qK,"numeric");function XUt(t){return t.replace(jUt,kLe).replace(WUt,PLe).replace(JUt,GK).replace(YUt,OLe).replace(KUt,LLe)}o(XUt,"escapeBraces");function ZUt(t){return t.replace(GUt,"\\").replace(HUt,"{").replace(VUt,"}").replace(zUt,",").replace($Ut,".")}o(ZUt,"unescapeBraces");function FLe(t){if(!t)return[""];let e=[],r=(0,QLe.balanced)("{","}",t);if(!r)return t.split(",");let{pre:n,body:i,post:s}=r,a=n.split(",");a[a.length-1]+="{"+i+"}";let c=FLe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(FLe,"parseCommaParts");function eqt(t,e={}){if(!t)return[];let{max:r=uC.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),BB(XUt(t),r,!0).map(ZUt)}o(eqt,"expand");function tqt(t){return"{"+t+"}"}o(tqt,"embrace");function rqt(t){return/^-?0\d/.test(t)}o(rqt,"isPadded");function nqt(t,e){return t<=e}o(nqt,"lte");function iqt(t,e){return t>=e}o(iqt,"gte");function BB(t,e,r){let n=[],i=(0,QLe.balanced)("{","}",t);if(!i)return[t];let s=i.pre,a=i.post.length?BB(i.post,e,!1):[""];if(/\$$/.test(i.pre))for(let c=0;c=0;if(!u&&!d)return i.post.match(/,(?!,).*\}/)?(t=i.pre+"{"+i.body+GK+i.post,BB(t,e,!0)):[t];let f;if(u)f=i.body.split(/\.\./);else if(f=FLe(i.body),f.length===1&&f[0]!==void 0&&(f=BB(f[0],e,!1).map(tqt),f.length===1))return a.map(p=>i.pre+f[0]+p);let h;if(u&&f[0]!==void 0&&f[1]!==void 0){let p=qK(f[0]),g=qK(f[1]),m=Math.max(f[0].length,f[1].length),E=f.length===3&&f[2]!==void 0?Math.max(Math.abs(qK(f[2])),1):1,y=nqt;g0){let v=new Array(M+1).join("0");B<0?Q="-"+v+Q.slice(1):Q=v+Q}}h.push(Q)}}else{h=[];for(let p=0;p{"use strict";Object.defineProperty(DP,"__esModule",{value:!0});DP.assertValidPattern=void 0;var sqt=1024*64,oqt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>sqt)throw new TypeError("pattern is too long")},"assertValidPattern");DP.assertValidPattern=oqt});var GLe=A(QP=>{"use strict";Object.defineProperty(QP,"__esModule",{value:!0});QP.parseClass=void 0;var aqt={"[: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]},xB=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),cqt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),qLe=o(t=>t.join(""),"rangesToString"),lqt=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,c=!1,l=!1,u=!1,d=r,f="";e:for(;sf?n.push(xB(f)+"-"+xB(m)):m===f&&n.push(xB(m)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(xB(m+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=m,s+=2;continue}n.push(xB(m)),s++}if(d{"use strict";Object.defineProperty(kP,"__esModule",{value:!0});kP.unescape=void 0;var uqt=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!0}={})=>r?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");kP.unescape=uqt});var zK=A(MP=>{"use strict";var Gs;Object.defineProperty(MP,"__esModule",{value:!0});MP.AST=void 0;var dqt=GLe(),OP=PP(),fqt=new Set(["!","?","+","*","@"]),HK=o(t=>fqt.has(t),"isExtglobType"),HLe=o(t=>HK(t.type),"isExtglobAST"),hqt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),pqt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),Aqt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),VLe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),mqt="(?!(?:^|/)\\.\\.?(?:$|/))",LP="(?!\\.)",gqt=new Set(["[","."]),yqt=new Set(["..","."]),Eqt=new Set("().*{}+?[]^$\\!"),Cqt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),VK="[^/]",zLe=VK+"*?",$Le=VK+"+?",bqt=0,FP=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;id=++bqt;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,r,n={}){this.type=e,e&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#a&&this.#l.push(this),this.#s=this.#i?this.#i.#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.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#o=this.#r.map(e=>String(e)).join("")}#y(){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.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&itypeof 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.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;let e=this.#i;for(let r=0;rtypeof p!="string"),u=this.#r.map(p=>{let[g,m,E,y]=typeof p=="string"?Gs.#S(p,this.#t,l):p.toRegExpSource(e);return this.#t=this.#t||E,this.#n=this.#n||y,g}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&yqt.has(this.#r[0]))){let g=gqt,m=r&&g.has(u.charAt(0))||u.startsWith("\\.")&&g.has(u.charAt(2))||u.startsWith("\\.\\.")&&g.has(u.charAt(4)),E=!r&&!e&&g.has(u.charAt(0));d=m?mqt:E?LP:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,OP.unescape)(u),this.#t=!!this.#t,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#w(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,(0,OP.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!LP?"":this.#w(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?LP:"")+$Le;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?LP:"")+zLe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,OP.unescape)(s),this.#t=!!this.#t,this.#n]}#d(){if(HLe(this)){let e=0,r=!1;do{r=!0;for(let n=0;n{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#S(e,r,n=!1){let i=!1,s="",a=!1,c=!1;for(let l=0;l{"use strict";Object.defineProperty(UP,"__esModule",{value:!0});UP.escape=void 0;var Iqt=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");UP.escape=Iqt});var ZLe=A(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.unescape=me.escape=me.AST=me.Minimatch=me.match=me.makeRe=me.braceExpand=me.defaults=me.filter=me.GLOBSTAR=me.sep=me.minimatch=void 0;var wqt=MLe(),qP=ULe(),JLe=zK(),Sqt=$K(),Bqt=PP(),xqt=o((t,e,r={})=>((0,qP.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new VA(e,r).match(t)),"minimatch");me.minimatch=xqt;var vqt=/^\*+([^+@!?*[(]*)$/,Nqt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),_qt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),Tqt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),Rqt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),Dqt=/^\*+\.\*+$/,Qqt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),kqt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),Pqt=/^\.\*+$/,Oqt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),Lqt=/^\*+$/,Fqt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),Mqt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),Uqt=/^\?+([^+@!?*[(]*)?$/,qqt=o(([t,e=""])=>{let r=YLe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),Gqt=o(([t,e=""])=>{let r=KLe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),Hqt=o(([t,e=""])=>{let r=KLe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),Vqt=o(([t,e=""])=>{let r=YLe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),YLe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),KLe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),XLe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",jLe={win32:{sep:"\\"},posix:{sep:"/"}};me.sep=XLe==="win32"?jLe.win32.sep:jLe.posix.sep;me.minimatch.sep=me.sep;me.GLOBSTAR=Symbol("globstar **");me.minimatch.GLOBSTAR=me.GLOBSTAR;var zqt="[^/]",$qt=zqt+"*?",jqt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Wqt="(?:(?!(?:\\/|^)\\.).)*?",Jqt=o((t,e={})=>r=>(0,me.minimatch)(r,t,e),"filter");me.filter=Jqt;me.minimatch.filter=me.filter;var Ta=o((t,e={})=>Object.assign({},t,e),"ext"),Yqt=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return me.minimatch;let e=me.minimatch;return Object.assign(o((n,i,s={})=>e(n,i,Ta(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Ta(t,s))}static defaults(i){return e.defaults(Ta(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Ta(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Ta(t,s))}},unescape:o((n,i={})=>e.unescape(n,Ta(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Ta(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Ta(t,i)),"filter"),defaults:o(n=>e.defaults(Ta(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Ta(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Ta(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Ta(t,s)),"match"),sep:e.sep,GLOBSTAR:me.GLOBSTAR})},"defaults");me.defaults=Yqt;me.minimatch.defaults=me.defaults;var Kqt=o((t,e={})=>((0,qP.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,wqt.expand)(t,{max:e.braceExpandMax})),"braceExpand");me.braceExpand=Kqt;me.minimatch.braceExpand=me.braceExpand;var Xqt=o((t,e={})=>new VA(t,e).makeRe(),"makeRe");me.makeRe=Xqt;me.minimatch.makeRe=me.makeRe;var Zqt=o((t,e,r={})=>{let n=new VA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");me.match=Zqt;me.minimatch.match=me.match;var WLe=/[?*]|[+@!]\(.*?\)|\[|\]/,e3t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),VA=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={}){(0,qP.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||XLe,this.isWindows=this.platform==="win32";let n="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[n]===!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=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!WLe.test(s[2]))&&!WLe.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(d=>this.parse(d))];if(u)return[s[0],...s.slice(1).map(d=>this.parse(d))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=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 n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,a-i);let c=n[i+1],l=n[i+2],u=n[i+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let d=n.slice(0);d[i]="**",e.push(d),i--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,n=!1){let i=0,s=0,a=[],c="";for(;i=2&&(e=this.levelTwoFileOptimize(e)),r.includes(me.GLOBSTAR)?this.#e(e,r,n,i,s):this.#n(e,r,n,i,s)}#e(e,r,n,i,s){let a=r.indexOf(me.GLOBSTAR,s),c=r.lastIndexOf(me.GLOBSTAR),[l,u,d]=n?[r.slice(s,a),r.slice(a+1),[]]:[r.slice(s,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let C=e.slice(i,i+l.length);if(!this.#n(C,l,n,0,0))return!1;i+=l.length,s+=l.length}let f=0;if(d.length){if(d.length+i>e.length)return!1;let C=e.length-d.length;if(this.#n(e,d,n,C,0))f=d.length;else{if(e[e.length-1]!==""||i+d.length===e.length||(C--,!this.#n(e,d,n,C,0)))return!1;f=d.length+1}}if(!u.length){let C=!!f;for(let I=i;I{let u=l.map(f=>{if(f instanceof RegExp)for(let h of f.flags.split(""))i.add(h);return typeof f=="string"?e3t(f):f===me.GLOBSTAR?me.GLOBSTAR:f._src});u.forEach((f,h)=>{let p=u[h+1],g=u[h-1];f!==me.GLOBSTAR||g===me.GLOBSTAR||(g===void 0?p!==void 0&&p!==me.GLOBSTAR?u[h+1]="(?:\\/|"+n+"\\/)?"+p:u[h]=n:p===void 0?u[h-1]=g+"(?:\\/|\\/"+n+")?":p!==me.GLOBSTAR&&(u[h-1]=g+"(?:\\/|\\/"+n+"\\/)"+p,u[h+1]=me.GLOBSTAR))});let d=u.filter(f=>f!==me.GLOBSTAR);if(this.partial&&d.length>=1){let f=[];for(let h=1;h<=d.length;h++)f.push(d.slice(0,h).join("/"));return"(?:"+f.join("|")+")"}return d.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];s="^"+a+s+c+"$",this.partial&&(s="^(?:\\/|"+a+s.slice(1,-1)+c+")$"),this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].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 n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let c=i.length-2;!a&&c>=0;c--)a=i[c];for(let c of s){let l=i;if(n.matchBase&&c.length===1&&(l=[a]),this.matchOne(l,c,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return me.minimatch.defaults(e).Minimatch}};me.Minimatch=VA;var t3t=zK();Object.defineProperty(me,"AST",{enumerable:!0,get:o(function(){return t3t.AST},"get")});var r3t=$K();Object.defineProperty(me,"escape",{enumerable:!0,get:o(function(){return r3t.escape},"get")});var n3t=PP();Object.defineProperty(me,"unescape",{enumerable:!0,get:o(function(){return n3t.unescape},"get")});me.minimatch.AST=JLe.AST;me.minimatch.Minimatch=VA;me.minimatch.escape=Sqt.escape;me.minimatch.unescape=Bqt.unescape});var JK=A(Ra=>{"use strict";var eFe=Ra&&Ra.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ra,"__esModule",{value:!0});Ra.SuccinctRoles=Ra.DelegatedRole=Ra.Role=Ra.TOP_LEVEL_ROLE_NAMES=void 0;var tFe=eFe(require("crypto")),i3t=ZLe(),GP=eFe(require("util")),HP=eu(),zA=bc();Ra.TOP_LEVEL_ROLE_NAMES=["root","targets","snapshot","timestamp"];var vB=class t{static{o(this,"Role")}keyIDs;threshold;unrecognizedFields;constructor(e){let{keyIDs:r,threshold:n,unrecognizedFields:i}=e;if(s3t(r))throw new HP.ValueError("duplicate key IDs found");if(n<1)throw new HP.ValueError("threshold must be at least 1");this.keyIDs=r,this.threshold=n,this.unrecognizedFields=i||{}}equals(e){return e instanceof t?this.threshold===e.threshold&&GP.default.isDeepStrictEqual(this.keyIDs,e.keyIDs)&&GP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{keyids:this.keyIDs,threshold:this.threshold,...this.unrecognizedFields}}static fromJSON(e){let{keyids:r,threshold:n,...i}=e;if(!zA.guard.isStringArray(r))throw new TypeError("keyids must be an array");if(typeof n!="number")throw new TypeError("threshold must be a number");return new t({keyIDs:r,threshold:n,unrecognizedFields:i})}};Ra.Role=vB;function s3t(t){return new Set(t).size!==t.length}o(s3t,"hasDuplicates");var jK=class t extends vB{static{o(this,"DelegatedRole")}name;terminating;paths;pathHashPrefixes;constructor(e){super(e);let{name:r,terminating:n,paths:i,pathHashPrefixes:s}=e;if(this.name=r,this.terminating=n,e.paths&&e.pathHashPrefixes)throw new HP.ValueError("paths and pathHashPrefixes are mutually exclusive");this.paths=i,this.pathHashPrefixes=s}equals(e){return e instanceof t?super.equals(e)&&this.name===e.name&&this.terminating===e.terminating&&GP.default.isDeepStrictEqual(this.paths,e.paths)&&GP.default.isDeepStrictEqual(this.pathHashPrefixes,e.pathHashPrefixes):!1}isDelegatedPath(e){if(this.paths)return this.paths.some(r=>a3t(e,r));if(this.pathHashPrefixes){let n=tFe.default.createHash("sha256").update(e).digest("hex");return this.pathHashPrefixes.some(i=>n.startsWith(i))}return!1}toJSON(){let e={...super.toJSON(),name:this.name,terminating:this.terminating};return this.paths&&(e.paths=this.paths),this.pathHashPrefixes&&(e.path_hash_prefixes=this.pathHashPrefixes),e}static fromJSON(e){let{keyids:r,threshold:n,name:i,terminating:s,paths:a,path_hash_prefixes:c,...l}=e;if(!zA.guard.isStringArray(r))throw new TypeError("keyids must be an array of strings");if(typeof n!="number")throw new TypeError("threshold must be a number");if(typeof i!="string")throw new TypeError("name must be a string");if(typeof s!="boolean")throw new TypeError("terminating must be a boolean");if(zA.guard.isDefined(a)&&!zA.guard.isStringArray(a))throw new TypeError("paths must be an array of strings");if(zA.guard.isDefined(c)&&!zA.guard.isStringArray(c))throw new TypeError("path_hash_prefixes must be an array of strings");return new t({keyIDs:r,threshold:n,name:i,terminating:s,paths:a,pathHashPrefixes:c,unrecognizedFields:l})}};Ra.DelegatedRole=jK;var o3t=o((t,e)=>t.map((r,n)=>[r,e[n]]),"zip");function a3t(t,e){let r=t.split("/"),n=e.split("/");return n.length!=r.length?!1:o3t(r,n).every(([i,s])=>(0,i3t.minimatch)(i,s))}o(a3t,"isTargetInPathPattern");var WK=class t extends vB{static{o(this,"SuccinctRoles")}bitLength;namePrefix;numberOfBins;suffixLen;constructor(e){super(e);let{bitLength:r,namePrefix:n}=e;if(r<=0||r>32)throw new HP.ValueError("bitLength must be between 1 and 32");this.bitLength=r,this.namePrefix=n,this.numberOfBins=Math.pow(2,r),this.suffixLen=(this.numberOfBins-1).toString(16).length}equals(e){return e instanceof t?super.equals(e)&&this.bitLength===e.bitLength&&this.namePrefix===e.namePrefix:!1}getRoleForTarget(e){let i=tFe.default.createHash("sha256").update(e).digest().subarray(0,4),s=32-this.bitLength,c=(i.readUInt32BE()>>>s).toString(16).padStart(this.suffixLen,"0");return`${this.namePrefix}-${c}`}*getRoles(){for(let e=0;e{"use strict";var c3t=dC&&dC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(dC,"__esModule",{value:!0});dC.Root=void 0;var rFe=c3t(require("util")),YK=GA(),nFe=eu(),l3t=RP(),VP=JK(),zP=bc(),KK=class t extends YK.Signed{static{o(this,"Root")}type=YK.MetadataKind.Root;keys;roles;consistentSnapshot;constructor(e){if(super(e),this.keys=e.keys||{},this.consistentSnapshot=e.consistentSnapshot??!0,!e.roles)this.roles=VP.TOP_LEVEL_ROLE_NAMES.reduce((r,n)=>({...r,[n]:new VP.Role({keyIDs:[],threshold:1})}),{});else{let r=new Set(Object.keys(e.roles));if(!VP.TOP_LEVEL_ROLE_NAMES.every(n=>r.has(n)))throw new nFe.ValueError("missing top-level role");this.roles=e.roles}}addKey(e,r){if(!this.roles[r])throw new nFe.ValueError(`role ${r} does not exist`);this.roles[r].keyIDs.includes(e.keyID)||this.roles[r].keyIDs.push(e.keyID),this.keys[e.keyID]=e}equals(e){return e instanceof t?super.equals(e)&&this.consistentSnapshot===e.consistentSnapshot&&rFe.default.isDeepStrictEqual(this.keys,e.keys)&&rFe.default.isDeepStrictEqual(this.roles,e.roles):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,keys:u3t(this.keys),roles:d3t(this.roles),consistent_snapshot:this.consistentSnapshot,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=YK.Signed.commonFieldsFromJSON(e),{keys:i,roles:s,consistent_snapshot:a,...c}=r;if(typeof a!="boolean")throw new TypeError("consistent_snapshot must be a boolean");return new t({...n,keys:f3t(i),roles:h3t(s),consistentSnapshot:a,unrecognizedFields:c})}};dC.Root=KK;function u3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(u3t,"keysToJSON");function d3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(d3t,"rolesToJSON");function f3t(t){let e;if(zP.guard.isDefined(t)){if(!zP.guard.isObjectRecord(t))throw new TypeError("keys must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:l3t.Key.fromJSON(n,i)}),{})}return e}o(f3t,"keysFromJSON");function h3t(t){let e;if(zP.guard.isDefined(t)){if(!zP.guard.isObjectRecord(t))throw new TypeError("roles must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:VP.Role.fromJSON(i)}),{})}return e}o(h3t,"rolesFromJSON")});var e7=A($P=>{"use strict";Object.defineProperty($P,"__esModule",{value:!0});$P.Signature=void 0;var ZK=class t{static{o(this,"Signature")}keyID;sig;constructor(e){let{keyID:r,sig:n}=e;this.keyID=r,this.sig=n}toJSON(){return{keyid:this.keyID,sig:this.sig}}static fromJSON(e){let{keyid:r,sig:n}=e;if(typeof r!="string")throw new TypeError("keyid must be a string");if(typeof n!="string")throw new TypeError("sig must be a string");return new t({keyID:r,sig:n})}};$P.Signature=ZK});var n7=A(fC=>{"use strict";var p3t=fC&&fC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fC,"__esModule",{value:!0});fC.Snapshot=void 0;var A3t=p3t(require("util")),t7=GA(),sFe=bB(),iFe=bc(),r7=class t extends t7.Signed{static{o(this,"Snapshot")}type=t7.MetadataKind.Snapshot;meta;constructor(e){super(e),this.meta=e.meta||{"targets.json":new sFe.MetaFile({version:1})}}equals(e){return e instanceof t?super.equals(e)&&A3t.default.isDeepStrictEqual(this.meta,e.meta):!1}toJSON(){return{_type:this.type,meta:m3t(this.meta),spec_version:this.specVersion,version:this.version,expires:this.expires,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=t7.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,meta:g3t(i),unrecognizedFields:s})}};fC.Snapshot=r7;function m3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(m3t,"metaToJSON");function g3t(t){let e;if(iFe.guard.isDefined(t))if(iFe.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:sFe.MetaFile.fromJSON(i)}),{});else throw new TypeError("meta field is malformed");return e}o(g3t,"metaFromJSON")});var oFe=A(hC=>{"use strict";var y3t=hC&&hC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hC,"__esModule",{value:!0});hC.Delegations=void 0;var jP=y3t(require("util")),E3t=eu(),C3t=RP(),i7=JK(),WP=bc(),s7=class t{static{o(this,"Delegations")}keys;roles;unrecognizedFields;succinctRoles;constructor(e){if(this.keys=e.keys,this.unrecognizedFields=e.unrecognizedFields||{},e.roles&&Object.keys(e.roles).some(r=>i7.TOP_LEVEL_ROLE_NAMES.includes(r)))throw new E3t.ValueError("Delegated role name conflicts with top-level role name");this.succinctRoles=e.succinctRoles,this.roles=e.roles}equals(e){return e instanceof t?jP.default.isDeepStrictEqual(this.keys,e.keys)&&jP.default.isDeepStrictEqual(this.roles,e.roles)&&jP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields)&&jP.default.isDeepStrictEqual(this.succinctRoles,e.succinctRoles):!1}*rolesForTarget(e){if(this.roles)for(let r of Object.values(this.roles))r.isDelegatedPath(e)&&(yield{role:r.name,terminating:r.terminating});else this.succinctRoles&&(yield{role:this.succinctRoles.getRoleForTarget(e),terminating:!0})}toJSON(){let e={keys:b3t(this.keys),...this.unrecognizedFields};return this.roles?e.roles=I3t(this.roles):this.succinctRoles&&(e.succinct_roles=this.succinctRoles.toJSON()),e}static fromJSON(e){let{keys:r,roles:n,succinct_roles:i,...s}=e,a;return WP.guard.isObject(i)&&(a=i7.SuccinctRoles.fromJSON(i)),new t({keys:w3t(r),roles:S3t(n),unrecognizedFields:s,succinctRoles:a})}};hC.Delegations=s7;function b3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(b3t,"keysToJSON");function I3t(t){return Object.values(t).map(e=>e.toJSON())}o(I3t,"rolesToJSON");function w3t(t){if(!WP.guard.isObjectRecord(t))throw new TypeError("keys is malformed");return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:C3t.Key.fromJSON(r,n)}),{})}o(w3t,"keysFromJSON");function S3t(t){let e;if(WP.guard.isDefined(t)){if(!WP.guard.isObjectArray(t))throw new TypeError("roles is malformed");e=t.reduce((r,n)=>{let i=i7.DelegatedRole.fromJSON(n);return{...r,[i.name]:i}},{})}return e}o(S3t,"rolesFromJSON")});var c7=A(pC=>{"use strict";var B3t=pC&&pC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pC,"__esModule",{value:!0});pC.Targets=void 0;var aFe=B3t(require("util")),o7=GA(),x3t=oFe(),v3t=bB(),JP=bc(),a7=class t extends o7.Signed{static{o(this,"Targets")}type=o7.MetadataKind.Targets;targets;delegations;constructor(e){super(e),this.targets=e.targets||{},this.delegations=e.delegations}addTarget(e){this.targets[e.path]=e}equals(e){return e instanceof t?super.equals(e)&&aFe.default.isDeepStrictEqual(this.targets,e.targets)&&aFe.default.isDeepStrictEqual(this.delegations,e.delegations):!1}toJSON(){let e={_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,targets:N3t(this.targets),...this.unrecognizedFields};return this.delegations&&(e.delegations=this.delegations.toJSON()),e}static fromJSON(e){let{unrecognizedFields:r,...n}=o7.Signed.commonFieldsFromJSON(e),{targets:i,delegations:s,...a}=r;return new t({...n,targets:_3t(i),delegations:T3t(s),unrecognizedFields:a})}};pC.Targets=a7;function N3t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(N3t,"targetsToJSON");function _3t(t){let e;if(JP.guard.isDefined(t))if(JP.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:v3t.TargetFile.fromJSON(n,i)}),{});else throw new TypeError("targets must be an object");return e}o(_3t,"targetsFromJSON");function T3t(t){let e;if(JP.guard.isDefined(t))if(JP.guard.isObject(t))e=x3t.Delegations.fromJSON(t);else throw new TypeError("delegations must be an object");return e}o(T3t,"delegationsFromJSON")});var f7=A(YP=>{"use strict";Object.defineProperty(YP,"__esModule",{value:!0});YP.Timestamp=void 0;var l7=GA(),cFe=bB(),u7=bc(),d7=class t extends l7.Signed{static{o(this,"Timestamp")}type=l7.MetadataKind.Timestamp;snapshotMeta;constructor(e){super(e),this.snapshotMeta=e.snapshotMeta||new cFe.MetaFile({version:1})}equals(e){return e instanceof t?super.equals(e)&&this.snapshotMeta.equals(e.snapshotMeta):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,meta:{"snapshot.json":this.snapshotMeta.toJSON()},...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=l7.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,snapshotMeta:R3t(i),unrecognizedFields:s})}};YP.Timestamp=d7;function R3t(t){let e;if(u7.guard.isDefined(t)){let r=t["snapshot.json"];if(!u7.guard.isDefined(r)||!u7.guard.isObject(r))throw new TypeError("missing snapshot.json in meta");e=cFe.MetaFile.fromJSON(r)}return e}o(R3t,"snapshotMetaFromJSON")});var uFe=A(mC=>{"use strict";var D3t=mC&&mC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mC,"__esModule",{value:!0});mC.Metadata=void 0;var Q3t=RK(),lFe=D3t(require("util")),AC=GA(),NB=eu(),k3t=XK(),P3t=e7(),O3t=n7(),L3t=c7(),F3t=f7(),h7=bc(),p7=class t{static{o(this,"Metadata")}signed;signatures;unrecognizedFields;constructor(e,r,n){this.signed=e,this.signatures=r||{},this.unrecognizedFields=n||{}}sign(e,r=!0){let n=Buffer.from((0,Q3t.canonicalize)(this.signed.toJSON())),i=e(n);r||(this.signatures={}),this.signatures[i.keyID]=i}verifyDelegate(e,r){let n,i={};switch(this.signed.type){case AC.MetadataKind.Root:i=this.signed.keys,n=this.signed.roles[e];break;case AC.MetadataKind.Targets:if(!this.signed.delegations)throw new NB.ValueError(`No delegations found for ${e}`);i=this.signed.delegations.keys,this.signed.delegations.roles?n=this.signed.delegations.roles[e]:this.signed.delegations.succinctRoles&&this.signed.delegations.succinctRoles.isDelegatedRole(e)&&(n=this.signed.delegations.succinctRoles);break;default:throw new TypeError("invalid metadata type")}if(!n)throw new NB.ValueError(`no delegation found for ${e}`);let s=new Set;if(n.keyIDs.forEach(a=>{let c=i[a];if(c)try{c.verifySignature(r),s.add(c.keyID)}catch{}}),s.sizer.toJSON()),signed:this.signed.toJSON(),...this.unrecognizedFields}}static fromJSON(e,r){let{signed:n,signatures:i,...s}=r;if(!h7.guard.isDefined(n)||!h7.guard.isObject(n))throw new TypeError("signed is not defined");if(e!==n._type)throw new NB.ValueError(`expected '${e}', got ${n._type}`);if(!h7.guard.isObjectArray(i))throw new TypeError("signatures is not an array");let a;switch(e){case AC.MetadataKind.Root:a=k3t.Root.fromJSON(n);break;case AC.MetadataKind.Timestamp:a=F3t.Timestamp.fromJSON(n);break;case AC.MetadataKind.Snapshot:a=O3t.Snapshot.fromJSON(n);break;case AC.MetadataKind.Targets:a=L3t.Targets.fromJSON(n);break;default:throw new TypeError("invalid metadata type")}let c={};return i.forEach(l=>{let u=P3t.Signature.fromJSON(l);if(c[u.keyID])throw new NB.ValueError(`multiple signatures found for keyid: ${u.keyID}`);c[u.keyID]=u}),new t(a,c,s)}};mC.Metadata=p7});var KP=A(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.Timestamp=xr.Targets=xr.Snapshot=xr.Signature=xr.Root=xr.Metadata=xr.Key=xr.TargetFile=xr.MetaFile=xr.ValueError=xr.MetadataKind=void 0;var M3t=GA();Object.defineProperty(xr,"MetadataKind",{enumerable:!0,get:o(function(){return M3t.MetadataKind},"get")});var U3t=eu();Object.defineProperty(xr,"ValueError",{enumerable:!0,get:o(function(){return U3t.ValueError},"get")});var dFe=bB();Object.defineProperty(xr,"MetaFile",{enumerable:!0,get:o(function(){return dFe.MetaFile},"get")});Object.defineProperty(xr,"TargetFile",{enumerable:!0,get:o(function(){return dFe.TargetFile},"get")});var q3t=RP();Object.defineProperty(xr,"Key",{enumerable:!0,get:o(function(){return q3t.Key},"get")});var G3t=uFe();Object.defineProperty(xr,"Metadata",{enumerable:!0,get:o(function(){return G3t.Metadata},"get")});var H3t=XK();Object.defineProperty(xr,"Root",{enumerable:!0,get:o(function(){return H3t.Root},"get")});var V3t=e7();Object.defineProperty(xr,"Signature",{enumerable:!0,get:o(function(){return V3t.Signature},"get")});var z3t=n7();Object.defineProperty(xr,"Snapshot",{enumerable:!0,get:o(function(){return z3t.Snapshot},"get")});var $3t=c7();Object.defineProperty(xr,"Targets",{enumerable:!0,get:o(function(){return $3t.Targets},"get")});var j3t=f7();Object.defineProperty(xr,"Timestamp",{enumerable:!0,get:o(function(){return j3t.Timestamp},"get")})});var hFe=A((MLr,fFe)=>{var gC=1e3,yC=gC*60,EC=yC*60,$A=EC*24,W3t=$A*7,J3t=$A*365.25;fFe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Y3t(t);if(r==="number"&&isFinite(t))return e.long?X3t(t):K3t(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Y3t(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]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*J3t;case"weeks":case"week":case"w":return r*W3t;case"days":case"day":case"d":return r*$A;case"hours":case"hour":case"hrs":case"hr":case"h":return r*EC;case"minutes":case"minute":case"mins":case"min":case"m":return r*yC;case"seconds":case"second":case"secs":case"sec":case"s":return r*gC;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Y3t,"parse");function K3t(t){var e=Math.abs(t);return e>=$A?Math.round(t/$A)+"d":e>=EC?Math.round(t/EC)+"h":e>=yC?Math.round(t/yC)+"m":e>=gC?Math.round(t/gC)+"s":t+"ms"}o(K3t,"fmtShort");function X3t(t){var e=Math.abs(t);return e>=$A?XP(t,e,$A,"day"):e>=EC?XP(t,e,EC,"hour"):e>=yC?XP(t,e,yC,"minute"):e>=gC?XP(t,e,gC,"second"):t+" ms"}o(X3t,"fmtLong");function XP(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(XP,"plural")});var A7=A((qLr,pFe)=>{function Z3t(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=hFe(),r.destroy=u,Object.keys(t).forEach(d=>{r[d]=t[d]}),r.names=[],r.skips=[],r.formatters={};function e(d){let f=0;for(let h=0;h{if(M==="%%")return"%";B++;let $=r.formatters[v];if(typeof $=="function"){let D=E[B];M=$.call(y,D),E.splice(B,1),B--}return M}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(m,"debug"),m.namespace=d,m.useColors=r.useColors(),m.color=r.selectColor(d),m.extend=n,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:o(()=>h!==null?h:(p!==r.namespaces&&(p=r.namespaces,g=r.enabled(d)),g),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(m),m}o(r,"createDebug");function n(d,f){let h=r(this.namespace+(typeof f>"u"?":":f)+d);return h.log=this.log,h}o(n,"extend");function i(d){r.save(d),r.namespaces=d,r.names=[],r.skips=[];let f=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let h of f)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}o(i,"enable");function s(d,f){let h=0,p=0,g=-1,m=0;for(;h"-"+f)].join(",");return r.enable(""),d}o(a,"disable");function c(d){for(let f of r.skips)if(s(d,f))return!1;for(let f of r.names)if(s(d,f))return!0;return!1}o(c,"enabled");function l(d){return d instanceof Error?d.stack||d.message:d}o(l,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(u,"destroy"),r.enable(r.load()),r}o(Z3t,"setup");pFe.exports=Z3t});var AFe=A((Hs,ZP)=>{Hs.formatArgs=tGt;Hs.save=rGt;Hs.load=nGt;Hs.useColors=eGt;Hs.storage=iGt();Hs.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`."))}})();Hs.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 eGt(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return 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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(eGt,"useColors");function tGt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+ZP.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(tGt,"formatArgs");Hs.log=console.debug||console.log||(()=>{});function rGt(t){try{t?Hs.storage.setItem("debug",t):Hs.storage.removeItem("debug")}catch{}}o(rGt,"save");function nGt(){let t;try{t=Hs.storage.getItem("debug")||Hs.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(nGt,"load");function iGt(){try{return localStorage}catch{}}o(iGt,"localstorage");ZP.exports=A7()(Hs);var{formatters:sGt}=ZP.exports;sGt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var gFe=A((si,tO)=>{var oGt=require("tty"),eO=require("util");si.init=hGt;si.log=uGt;si.formatArgs=cGt;si.save=dGt;si.load=fGt;si.useColors=aGt;si.destroy=eO.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");si.colors=[6,2,3,4,5,1];try{let t=$3();t&&(t.stderr||t).level>=2&&(si.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{}si.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function aGt(){return"colors"in si.inspectOpts?!!si.inspectOpts.colors:oGt.isatty(process.stderr.fd)}o(aGt,"useColors");function cGt(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` +`+b);let[,R]=B;return R.replace(/\s/g,"").split(Sv).map(k=>k.replace(hb,"").trim())}o(Bv,"parseParams");function bA(I,b){var B={};return Object.keys(I).forEach(R=>{var k=I[R],L,U=p(k),V=!U&&k.length===1||U&&k.length===0;if(Array.isArray(k))L=[...k],k=L.pop(),B[R]=L.concat(L.length>0?Y:k);else if(V)B[R]=k;else{if(L=Bv(k),k.length===0&&!U&&L.length===0)throw new Error("autoInject task functions require explicit parameters.");U||L.pop(),B[R]=L.concat(Y)}function Y(Se,wt){var Dt=L.map(Bt=>Se[Bt]);Dt.push(wt),E(k)(...Dt)}o(Y,"newTask")}),Hf(B,b)}o(bA,"autoInject");class vv{static{o(this,"DLL")}constructor(){this.head=this.tail=null,this.length=0}removeLink(b){return b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev,b.prev=b.next=null,this.length-=1,b}empty(){for(;this.head;)this.shift();return this}insertAfter(b,B){B.prev=b,B.next=b.next,b.next?b.next.prev=B:this.tail=B,b.next=B,this.length+=1}insertBefore(b,B){B.prev=b.prev,B.next=b,b.prev?b.prev.next=B:this.head=B,b.prev=B,this.length+=1}unshift(b){this.head?this.insertBefore(this.head,b):mb(this,b)}push(b){this.tail?this.insertAfter(this.tail,b):mb(this,b)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var b=this.head;b;)yield b.data,b=b.next}remove(b){for(var B=this.head;B;){var{next:R}=B;b(B)&&this.removeLink(B),B=R}return this}}function mb(I,b){I.length=1,I.head=I.tail=b}o(mb,"setInitial");function wA(I,b,B){if(b==null)b=1;else if(b===0)throw new RangeError("Concurrency must not be zero");var R=E(I),k=0,L=[];let U={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function V(Pe,we){U[Pe].push(we)}o(V,"on");function Y(Pe,we){let Oe=o((...vt)=>{Se(Pe,Oe),we(...vt)},"handleAndRemove");U[Pe].push(Oe)}o(Y,"once");function Se(Pe,we){if(!Pe)return Object.keys(U).forEach(Oe=>U[Oe]=[]);if(!we)return U[Pe]=[];U[Pe]=U[Pe].filter(Oe=>Oe!==we)}o(Se,"off");function wt(Pe,...we){U[Pe].forEach(Oe=>Oe(...we))}o(wt,"trigger");var Dt=!1;function Bt(Pe,we,Oe,vt){if(vt!=null&&typeof vt!="function")throw new Error("task callback must be a function");Qt.started=!0;var mr,qn;function Oo(Uh,...wb){if(Uh)return Oe?qn(Uh):mr();if(wb.length<=1)return mr(wb[0]);mr(wb)}o(Oo,"promiseCallback");var vA=Qt._createTaskItem(Pe,Oe?Oo:vt||Oo);if(we?Qt._tasks.unshift(vA):Qt._tasks.push(vA),Dt||(Dt=!0,u(()=>{Dt=!1,Qt.process()})),Oe||!vt)return new Promise((Uh,wb)=>{mr=Uh,qn=wb})}o(Bt,"_insert");function Po(Pe){return function(we,...Oe){k-=1;for(var vt=0,mr=Pe.length;vt0&&L.splice(Oo,1),qn.callback(we,...Oe),we!=null&&wt("error",we,qn.data)}k<=Qt.concurrency-Qt.buffer&&wt("unsaturated"),Qt.idle()&&wt("drain"),Qt.process()}}o(Po,"_createCB");function BA(Pe){return Pe.length===0&&Qt.idle()?(u(()=>wt("drain")),!0):!1}o(BA,"_maybeDrain");let Mh=o(Pe=>we=>{if(!we)return new Promise((Oe,vt)=>{Y(Pe,(mr,qn)=>{if(mr)return vt(mr);Oe(qn)})});Se(Pe),V(Pe,we)},"eventMethod");var bb=!1,Qt={_tasks:new vv,_createTaskItem(Pe,we){return{data:Pe,callback:we}},*[Symbol.iterator](){yield*Qt._tasks[Symbol.iterator]()},concurrency:b,payload:B,buffer:b/4,started:!1,paused:!1,push(Pe,we){return Array.isArray(Pe)?BA(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!1,we)):Bt(Pe,!1,!1,we)},pushAsync(Pe,we){return Array.isArray(Pe)?BA(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!1,!0,we)):Bt(Pe,!1,!0,we)},kill(){Se(),Qt._tasks.empty()},unshift(Pe,we){return Array.isArray(Pe)?BA(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!1,we)):Bt(Pe,!0,!1,we)},unshiftAsync(Pe,we){return Array.isArray(Pe)?BA(Pe)?void 0:Pe.map(Oe=>Bt(Oe,!0,!0,we)):Bt(Pe,!0,!0,we)},remove(Pe){Qt._tasks.remove(Pe)},process(){if(!bb){for(bb=!0;!Qt.paused&&k{k(b,L,(Y,Se)=>{b=Se,V(Y)})},L=>R(L,b))}o(xv,"reduce");var qa=y(xv,4);function Ab(...I){var b=I.map(E);return function(...B){var R=this,k=B[B.length-1];return typeof k=="function"?B.pop():k=Ua(),qa(b,B,(L,U,V)=>{U.apply(R,L.concat((Y,...Se)=>{V(Y,Se)}))},(L,U)=>k(L,...U)),k[gs]}}o(Ab,"seq");function be(...I){return Ab(...I.reverse())}o(be,"compose");function P(I,b,B,R){return w(ce(b),I,B,R)}o(P,"mapLimit");var v=y(P,4);function M(I,b,B,R){var k=E(B);return v(I,b,(L,U)=>{k(L,(V,...Y)=>V?U(V):U(V,Y))},(L,U)=>{for(var V=[],Y=0;Y{var U=!1,V;let Y=E(k);B(R,(Se,wt,Dt)=>{Y(Se,(Bt,Po)=>{if(Bt||Bt===!1)return Dt(Bt);if(I(Po)&&!V)return U=!0,V=b(!0,Se),Dt(null,F);Dt()})},Se=>{if(Se)return L(Se);L(null,U?V:b(!1))})}}o(Kt,"_createTester");function Fh(I,b,B){return Kt(R=>R,(R,k)=>k)(bt,I,b,B)}o(Fh,"detect");var SA=y(Fh,3);function _v(I,b,B,R){return Kt(k=>k,(k,L)=>L)(ce(b),I,B,R)}o(_v,"detectLimit");var Nv=y(_v,4);function MGe(I,b,B){return Kt(R=>R,(R,k)=>k)(ce(1),I,b,B)}o(MGe,"detectSeries");var Rv=y(MGe,3);function Vee(I){return(b,...B)=>E(b)(...B,(R,...k)=>{typeof console=="object"&&(R?console.error&&console.error(R):console[I]&&k.forEach(L=>console[I](L)))})}o(Vee,"consoleFunc");var zee=Vee("dir");function UGe(I,b,B){B=ee(B);var R=E(I),k=E(b),L;function U(Y,...Se){if(Y)return B(Y);Y!==!1&&(L=Se,k(...Se,V))}o(U,"next");function V(Y,Se){if(Y)return B(Y);if(Y!==!1){if(!Se)return B(null,...L);R(U)}}return o(V,"check"),V(null,!0)}o(UGe,"doWhilst");var gb=y(UGe,3);function jee(I,b,B){let R=E(b);return gb(I,(...k)=>{let L=k.pop();R(...k,(U,V)=>L(U,!V))},B)}o(jee,"doUntil");function $ee(I){return(b,B,R)=>I(b,R)}o($ee,"_withoutIndex");function qGe(I,b,B){return bt(I,$ee(E(b)),B)}o(qGe,"eachLimit$2");var Tv=y(qGe,3);function GGe(I,b,B,R){return ce(b)(I,$ee(E(B)),R)}o(GGe,"eachLimit");var yb=y(GGe,4);function HGe(I,b,B){return yb(I,1,b,B)}o(HGe,"eachSeries");var Eb=y(HGe,3);function EF(I){return p(I)?I:function(...b){var B=b.pop(),R=!0;b.push((...k)=>{R?u(()=>B(...k)):B(...k)}),I.apply(this,b),R=!1}}o(EF,"ensureAsync");function VGe(I,b,B){return Kt(R=>!R,R=>!R)(bt,I,b,B)}o(VGe,"every");var Dv=y(VGe,3);function zGe(I,b,B,R){return Kt(k=>!k,k=>!k)(ce(b),I,B,R)}o(zGe,"everyLimit");var Qv=y(zGe,4);function jGe(I,b,B){return Kt(R=>!R,R=>!R)(Yr,I,b,B)}o(jGe,"everySeries");var kv=y(jGe,3);function $Ge(I,b,B,R){var k=new Array(b.length);I(b,(L,U,V)=>{B(L,(Y,Se)=>{k[U]=!!Se,V(Y)})},L=>{if(L)return R(L);for(var U=[],V=0;V{B(L,(Y,Se)=>{if(Y)return V(Y);Se&&k.push({index:U,value:L}),V(Y)})},L=>{if(L)return R(L);R(null,k.sort((U,V)=>U.index-V.index).map(U=>U.value))})}o(WGe,"filterGeneric");function Pv(I,b,B,R){var k=S(b)?$Ge:WGe;return k(I,b,E(B),R)}o(Pv,"_filter");function JGe(I,b,B){return Pv(bt,I,b,B)}o(JGe,"filter");var Ov=y(JGe,3);function YGe(I,b,B,R){return Pv(ce(b),I,B,R)}o(YGe,"filterLimit");var Lv=y(YGe,4);function KGe(I,b,B){return Pv(Yr,I,b,B)}o(KGe,"filterSeries");var Fv=y(KGe,3);function XGe(I,b){var B=ee(b),R=E(EF(I));function k(L){if(L)return B(L);L!==!1&&R(k)}return o(k,"next"),k()}o(XGe,"forever");var Wee=y(XGe,2);function ZGe(I,b,B,R){var k=E(B);return v(I,b,(L,U)=>{k(L,(V,Y)=>V?U(V):U(V,{key:Y,val:L}))},(L,U)=>{for(var V={},{hasOwnProperty:Y}=Object.prototype,Se=0;Se{L(U,V,(Se,wt)=>{if(Se)return Y(Se);k[V]=wt,Y(Se)})},U=>R(U,k))}o(e4e,"mapValuesLimit");var Uv=y(e4e,4);function Xee(I,b,B){return Uv(I,1/0,b,B)}o(Xee,"mapValues");function Zee(I,b,B){return Uv(I,1,b,B)}o(Zee,"mapValuesSeries");function ete(I,b=B=>B){var B=Object.create(null),R=Object.create(null),k=E(I),L=r((U,V)=>{var Y=b(...U);Y in B?u(()=>V(null,...B[Y])):Y in R?R[Y].push(V):(R[Y]=[V],k(...U,(Se,...wt)=>{Se||(B[Y]=wt);var Dt=R[Y];delete R[Y];for(var Bt=0,Po=Dt.length;Bt{var R=S(b)?[]:{};I(b,(k,L,U)=>{E(k)((V,...Y)=>{Y.length<2&&([Y]=Y),R[L]=Y,U(V)})},k=>B(k,R))},3);function rte(I,b){return CF(bt,I,b)}o(rte,"parallel");function nte(I,b,B){return CF(ce(b),I,B)}o(nte,"parallelLimit");function bF(I,b){var B=E(I);return wA((R,k)=>{B(R[0],k)},b,1)}o(bF,"queue");class t4e{static{o(this,"Heap")}constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(b){let B;for(;b>0&&wF(this.heap[b],this.heap[B=ite(b)]);){let R=this.heap[b];this.heap[b]=this.heap[B],this.heap[B]=R,b=B}}percDown(b){let B;for(;(B=r4e(b))=0;R--)this.percDown(R);return this}}function r4e(I){return(I<<1)+1}o(r4e,"leftChi");function ite(I){return(I+1>>1)-1}o(ite,"parent");function wF(I,b){return I.priority!==b.priority?I.priority({data:U,priority:V,callback:Y});function L(U,V){return Array.isArray(U)?U.map(Y=>({data:Y,priority:V})):{data:U,priority:V}}return o(L,"createDataItems"),B.push=function(U,V=0,Y){return R(L(U,V),Y)},B.pushAsync=function(U,V=0,Y){return k(L(U,V),Y)},delete B.unshift,delete B.unshiftAsync,B}o(ste,"priorityQueue");function n4e(I,b){if(b=x(b),!Array.isArray(I))return b(new TypeError("First argument to race must be an array of functions"));if(!I.length)return b();for(var B=0,R=I.length;B{let V={};if(L&&(V.error=L),U.length>0){var Y=U;U.length<=1&&([Y]=U),V.value=Y}k(null,V)}),b.apply(this,R)},"reflectOn"))}o(Hv,"reflect");function ate(I){var b;return Array.isArray(I)?b=I.map(Hv):(b={},Object.keys(I).forEach(B=>{b[B]=Hv.call(this,I[B])})),b}o(ate,"reflectAll");function IF(I,b,B,R){let k=E(B);return Pv(I,b,(L,U)=>{k(L,(V,Y)=>{U(V,!Y)})},R)}o(IF,"reject$2");function i4e(I,b,B){return IF(bt,I,b,B)}o(i4e,"reject");var cte=y(i4e,3);function s4e(I,b,B,R){return IF(ce(b),I,B,R)}o(s4e,"rejectLimit");var lte=y(s4e,4);function o4e(I,b,B){return IF(Yr,I,b,B)}o(o4e,"rejectSeries");var ute=y(o4e,3);function fte(I){return function(){return I}}o(fte,"constant");let SF=5,dte=0;function Vv(I,b,B){var R={times:SF,intervalFunc:fte(dte)};if(arguments.length<3&&typeof I=="function"?(B=b||Ua(),b=I):(a4e(R,I),B=B||Ua()),typeof b!="function")throw new Error("Invalid arguments for async.retry");var k=E(b),L=1;function U(){k((V,...Y)=>{V!==!1&&(V&&L++{(k.lengthR)(bt,I,b,B)}o(c4e,"some");var zv=y(c4e,3);function l4e(I,b,B,R){return Kt(Boolean,k=>k)(ce(b),I,B,R)}o(l4e,"someLimit");var jv=y(l4e,4);function u4e(I,b,B){return Kt(Boolean,R=>R)(Yr,I,b,B)}o(u4e,"someSeries");var $v=y(u4e,3);function f4e(I,b,B){var R=E(b);return pn(I,(L,U)=>{R(L,(V,Y)=>{if(V)return U(V);U(V,{value:L,criteria:Y})})},(L,U)=>{if(L)return B(L);B(null,U.sort(k).map(V=>V.value))});function k(L,U){var V=L.criteria,Y=U.criteria;return VY?1:0}}o(f4e,"sortBy");var mte=y(f4e,3);function Ate(I,b,B){var R=E(I);return r((k,L)=>{var U=!1,V;function Y(){var Se=I.name||"anonymous",wt=new Error('Callback function "'+Se+'" timed out.');wt.code="ETIMEDOUT",B&&(wt.info=B),U=!0,L(wt)}o(Y,"timeoutCallback"),k.push((...Se)=>{U||(L(...Se),clearTimeout(V))}),V=setTimeout(Y,b),R(...k)})}o(Ate,"timeout");function d4e(I){for(var b=Array(I);I--;)b[I]=I;return b}o(d4e,"range");function Wv(I,b,B,R){var k=E(B);return v(d4e(I),b,k,R)}o(Wv,"timesLimit");function gte(I,b,B){return Wv(I,1/0,b,B)}o(gte,"times");function yte(I,b,B){return Wv(I,1,b,B)}o(yte,"timesSeries");function Ete(I,b,B,R){arguments.length<=3&&typeof b=="function"&&(R=B,B=b,b=Array.isArray(I)?[]:{}),R=x(R||Ua());var k=E(B);return bt(I,(L,U,V)=>{k(b,L,U,V)},L=>R(L,b)),R[gs]}o(Ete,"transform");function h4e(I,b){var B=null,R;return Eb(I,(k,L)=>{E(k)((U,...V)=>{if(U===!1)return L(U);V.length<2?[R]=V:R=V,B=U,L(U?null:{})})},()=>b(B,R))}o(h4e,"tryEach");var Cte=y(h4e);function bte(I){return(...b)=>(I.unmemoized||I)(...b)}o(bte,"unmemoize");function p4e(I,b,B){B=ee(B);var R=E(b),k=E(I),L=[];function U(Y,...Se){if(Y)return B(Y);L=Se,Y!==!1&&k(V)}o(U,"next");function V(Y,Se){if(Y)return B(Y);if(Y!==!1){if(!Se)return B(null,...L);R(U)}}return o(V,"check"),k(V)}o(p4e,"whilst");var Cb=y(p4e,3);function wte(I,b,B){let R=E(I);return Cb(k=>R((L,U)=>k(L,!U)),b,B)}o(wte,"until");function m4e(I,b){if(b=x(b),!Array.isArray(I))return b(new Error("First argument to waterfall must be an array of functions"));if(!I.length)return b();var B=0;function R(L){var U=E(I[B++]);U(...L,ee(k))}o(R,"nextTask");function k(L,...U){if(L!==!1){if(L||B===I.length)return b(L,...U);R(U)}}o(k,"next"),R([])}o(m4e,"waterfall");var Ite=y(m4e),A4e={apply:e,applyEach:ai,applyEachSeries:Tc,asyncify:f,auto:Hf,autoInject:bA,cargo:IA,cargoQueue:$s,compose:be,concat:X,concatLimit:G,concatSeries:St,constant:mn,detect:SA,detectLimit:Nv,detectSeries:Rv,dir:zee,doUntil:jee,doWhilst:gb,each:Tv,eachLimit:yb,eachOf:bt,eachOfLimit:z,eachOfSeries:Yr,eachSeries:Eb,ensureAsync:EF,every:Dv,everyLimit:Qv,everySeries:kv,filter:Ov,filterLimit:Lv,filterSeries:Fv,forever:Wee,groupBy:Jee,groupByLimit:Mv,groupBySeries:Yee,log:Kee,map:pn,mapLimit:v,mapSeries:Eu,mapValues:Xee,mapValuesLimit:Uv,mapValuesSeries:Zee,memoize:ete,nextTick:tte,parallel:rte,parallelLimit:nte,priorityQueue:ste,queue:bF,race:ote,reduce:qa,reduceRight:Gv,reflect:Hv,reflectAll:ate,reject:cte,rejectLimit:lte,rejectSeries:ute,retry:Vv,retryable:hte,seq:Ab,series:pte,setImmediate:u,some:zv,someLimit:jv,someSeries:$v,sortBy:mte,timeout:Ate,times:gte,timesLimit:Wv,timesSeries:yte,transform:Ete,tryEach:Cte,unmemoize:bte,until:wte,waterfall:Ite,whilst:Cb,all:Dv,allLimit:Qv,allSeries:kv,any:zv,anyLimit:jv,anySeries:$v,find:SA,findLimit:Nv,findSeries:Rv,flatMap:X,flatMapLimit:G,flatMapSeries:St,forEach:Tv,forEachSeries:Eb,forEachLimit:yb,forEachOf:bt,forEachOfSeries:Yr,forEachOfLimit:z,inject:qa,foldl:qa,foldr:Gv,select:Ov,selectLimit:Lv,selectSeries:Fv,wrapSync:f,during:Cb,doDuring:gb};t.all=Dv,t.allLimit=Qv,t.allSeries=kv,t.any=zv,t.anyLimit=jv,t.anySeries=$v,t.apply=e,t.applyEach=ai,t.applyEachSeries=Tc,t.asyncify=f,t.auto=Hf,t.autoInject=bA,t.cargo=IA,t.cargoQueue=$s,t.compose=be,t.concat=X,t.concatLimit=G,t.concatSeries=St,t.constant=mn,t.default=A4e,t.detect=SA,t.detectLimit=Nv,t.detectSeries=Rv,t.dir=zee,t.doDuring=gb,t.doUntil=jee,t.doWhilst=gb,t.during=Cb,t.each=Tv,t.eachLimit=yb,t.eachOf=bt,t.eachOfLimit=z,t.eachOfSeries=Yr,t.eachSeries=Eb,t.ensureAsync=EF,t.every=Dv,t.everyLimit=Qv,t.everySeries=kv,t.filter=Ov,t.filterLimit=Lv,t.filterSeries=Fv,t.find=SA,t.findLimit=Nv,t.findSeries=Rv,t.flatMap=X,t.flatMapLimit=G,t.flatMapSeries=St,t.foldl=qa,t.foldr=Gv,t.forEach=Tv,t.forEachLimit=yb,t.forEachOf=bt,t.forEachOfLimit=z,t.forEachOfSeries=Yr,t.forEachSeries=Eb,t.forever=Wee,t.groupBy=Jee,t.groupByLimit=Mv,t.groupBySeries=Yee,t.inject=qa,t.log=Kee,t.map=pn,t.mapLimit=v,t.mapSeries=Eu,t.mapValues=Xee,t.mapValuesLimit=Uv,t.mapValuesSeries=Zee,t.memoize=ete,t.nextTick=tte,t.parallel=rte,t.parallelLimit=nte,t.priorityQueue=ste,t.queue=bF,t.race=ote,t.reduce=qa,t.reduceRight=Gv,t.reflect=Hv,t.reflectAll=ate,t.reject=cte,t.rejectLimit=lte,t.rejectSeries=ute,t.retry=Vv,t.retryable=hte,t.select=Ov,t.selectLimit=Lv,t.selectSeries=Fv,t.seq=Ab,t.series=pte,t.setImmediate=u,t.some=zv,t.someLimit=jv,t.someSeries=$v,t.sortBy=mte,t.timeout=Ate,t.times=gte,t.timesLimit=Wv,t.timesSeries=yte,t.transform=Ete,t.tryEach=Cte,t.unmemoize=bte,t.until=wte,t.waterfall=Ite,t.whilst=Cb,t.wrapSync=f,Object.defineProperty(t,"__esModule",{value:!0})}))});var Jxe=m((HDr,Wxe)=>{var $d=require("constants"),PSt=process.cwd,AQ=null,OSt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return AQ||(AQ=PSt.call(process)),AQ};try{process.cwd()}catch{}typeof process.chdir=="function"&&(mW=process.chdir,process.chdir=function(t){AQ=null,mW.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,mW));var mW;Wxe.exports=LSt;function LSt(t){$d.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||r(t),t.chown=s(t.chown),t.fchown=s(t.fchown),t.lchown=s(t.lchown),t.chmod=n(t.chmod),t.fchmod=n(t.fchmod),t.lchmod=n(t.lchmod),t.chownSync=a(t.chownSync),t.fchownSync=a(t.fchownSync),t.lchownSync=a(t.lchownSync),t.chmodSync=i(t.chmodSync),t.fchmodSync=i(t.fchmodSync),t.lchmodSync=i(t.lchmodSync),t.stat=c(t.stat),t.fstat=c(t.fstat),t.lstat=c(t.lstat),t.statSync=l(t.statSync),t.fstatSync=l(t.fstatSync),t.lstatSync=l(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(f,d,h){h&&process.nextTick(h)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(f,d,h,p){p&&process.nextTick(p)},t.lchownSync=function(){}),OSt==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(f){function d(h,p,A){var g=Date.now(),E=0;f(h,p,o(function y(C){if(C&&(C.code==="EACCES"||C.code==="EPERM"||C.code==="EBUSY")&&Date.now()-g<6e4){setTimeout(function(){t.stat(p,function(w,S){w&&w.code==="ENOENT"?f(h,p,y):A(C)})},E),E<100&&(E+=10);return}A&&A(C)},"CB"))}return o(d,"rename"),Object.setPrototypeOf&&Object.setPrototypeOf(d,f),d})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(f){function d(h,p,A,g,E,y){var C;if(y&&typeof y=="function"){var w=0;C=o(function(S,Q,F){if(S&&S.code==="EAGAIN"&&w<10)return w++,f.call(t,h,p,A,g,E,C);y.apply(this,arguments)},"callback")}return f.call(t,h,p,A,g,E,C)}return o(d,"read"),Object.setPrototypeOf&&Object.setPrototypeOf(d,f),d})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(f){return function(d,h,p,A,g){for(var E=0;;)try{return f.call(t,d,h,p,A,g)}catch(y){if(y.code==="EAGAIN"&&E<10){E++;continue}throw y}}})(t.readSync);function e(f){f.lchmod=function(d,h,p){f.open(d,$d.O_WRONLY|$d.O_SYMLINK,h,function(A,g){if(A){p&&p(A);return}f.fchmod(g,h,function(E){f.close(g,function(y){p&&p(E||y)})})})},f.lchmodSync=function(d,h){var p=f.openSync(d,$d.O_WRONLY|$d.O_SYMLINK,h),A=!0,g;try{g=f.fchmodSync(p,h),A=!1}finally{if(A)try{f.closeSync(p)}catch{}else f.closeSync(p)}return g}}o(e,"patchLchmod");function r(f){$d.hasOwnProperty("O_SYMLINK")&&f.futimes?(f.lutimes=function(d,h,p,A){f.open(d,$d.O_SYMLINK,function(g,E){if(g){A&&A(g);return}f.futimes(E,h,p,function(y){f.close(E,function(C){A&&A(y||C)})})})},f.lutimesSync=function(d,h,p){var A=f.openSync(d,$d.O_SYMLINK),g,E=!0;try{g=f.futimesSync(A,h,p),E=!1}finally{if(E)try{f.closeSync(A)}catch{}else f.closeSync(A)}return g}):f.futimes&&(f.lutimes=function(d,h,p,A){A&&process.nextTick(A)},f.lutimesSync=function(){})}o(r,"patchLutimes");function n(f){return f&&function(d,h,p){return f.call(t,d,h,function(A){u(A)&&(A=null),p&&p.apply(this,arguments)})}}o(n,"chmodFix");function i(f){return f&&function(d,h){try{return f.call(t,d,h)}catch(p){if(!u(p))throw p}}}o(i,"chmodFixSync");function s(f){return f&&function(d,h,p,A){return f.call(t,d,h,p,function(g){u(g)&&(g=null),A&&A.apply(this,arguments)})}}o(s,"chownFix");function a(f){return f&&function(d,h,p){try{return f.call(t,d,h,p)}catch(A){if(!u(A))throw A}}}o(a,"chownFixSync");function c(f){return f&&function(d,h,p){typeof h=="function"&&(p=h,h=null);function A(g,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),p&&p.apply(this,arguments)}return o(A,"callback"),h?f.call(t,d,h,A):f.call(t,d,A)}}o(c,"statFix");function l(f){return f&&function(d,h){var p=h?f.call(t,d,h):f.call(t,d);return p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),p}}o(l,"statFixSync");function u(f){if(!f||f.code==="ENOSYS")return!0;var d=!process.getuid||process.getuid()!==0;return!!(d&&(f.code==="EINVAL"||f.code==="EPERM"))}o(u,"chownErOk")}o(LSt,"patch")});var Xxe=m((zDr,Kxe)=>{var Yxe=require("stream").Stream;Kxe.exports=FSt;function FSt(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);Yxe.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var a=Object.keys(i),c=0,l=a.length;cthis.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}t.open(this.path,this.flags,this.mode,function(f,d){if(f){s.emit("error",f),s.readable=!1;return}s.fd=d,s.emit("open",d),s._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);Yxe.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),a=0,c=s.length;a= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}o(FSt,"legacy")});var e2e=m(($Dr,Zxe)=>{"use strict";Zxe.exports=USt;var MSt=Object.getPrototypeOf||function(t){return t.__proto__};function USt(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:MSt(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}o(USt,"clone")});var EW=m((JDr,yW)=>{var Nr=require("fs"),qSt=Jxe(),GSt=Xxe(),HSt=e2e(),gQ=require("util"),yi,EQ;typeof Symbol=="function"&&typeof Symbol.for=="function"?(yi=Symbol.for("graceful-fs.queue"),EQ=Symbol.for("graceful-fs.previous")):(yi="___graceful-fs.queue",EQ="___graceful-fs.previous");function VSt(){}o(VSt,"noop");function n2e(t,e){Object.defineProperty(t,yi,{get:o(function(){return e},"get")})}o(n2e,"publishQueue");var ym=VSt;gQ.debuglog?ym=gQ.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(ym=o(function(){var t=gQ.format.apply(gQ,arguments);t="GFS4: "+t.split(/\n/).join(` +GFS4: `),console.error(t)},"debug"));Nr[yi]||(t2e=global[yi]||[],n2e(Nr,t2e),Nr.close=(function(t){function e(r,n){return t.call(Nr,r,function(i){i||r2e(),typeof n=="function"&&n.apply(this,arguments)})}return o(e,"close"),Object.defineProperty(e,EQ,{value:t}),e})(Nr.close),Nr.closeSync=(function(t){function e(r){t.apply(Nr,arguments),r2e()}return o(e,"closeSync"),Object.defineProperty(e,EQ,{value:t}),e})(Nr.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){ym(Nr[yi]),require("assert").equal(Nr[yi].length,0)}));var t2e;global[yi]||n2e(global,Nr[yi]);yW.exports=AW(HSt(Nr));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Nr.__patched&&(yW.exports=AW(Nr),Nr.__patched=!0);function AW(t){qSt(t),t.gracefulify=AW,t.createReadStream=Q,t.createWriteStream=F;var e=t.readFile;t.readFile=r;function r(T,q,H){return typeof q=="function"&&(H=q,q=null),W(T,q,H);function W(ee,te,ce,J){return e(ee,te,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?wE([W,[ee,te,ce],z,J||Date.now(),Date.now()]):typeof ce=="function"&&ce.apply(this,arguments)})}o(W,"go$readFile")}o(r,"readFile");var n=t.writeFile;t.writeFile=i;function i(T,q,H,W){return typeof H=="function"&&(W=H,H=null),ee(T,q,H,W);function ee(te,ce,J,z,Ie){return n(te,ce,J,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?wE([ee,[te,ce,J,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$writeFile")}o(i,"writeFile");var s=t.appendFile;s&&(t.appendFile=a);function a(T,q,H,W){return typeof H=="function"&&(W=H,H=null),ee(T,q,H,W);function ee(te,ce,J,z,Ie){return s(te,ce,J,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?wE([ee,[te,ce,J,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$appendFile")}o(a,"appendFile");var c=t.copyFile;c&&(t.copyFile=l);function l(T,q,H,W){return typeof H=="function"&&(W=H,H=0),ee(T,q,H,W);function ee(te,ce,J,z,Ie){return c(te,ce,J,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?wE([ee,[te,ce,J,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$copyFile")}o(l,"copyFile");var u=t.readdir;t.readdir=d;var f=/^v[0-5]\./;function d(T,q,H){typeof q=="function"&&(H=q,q=null);var W=f.test(process.version)?o(function(ce,J,z,Ie){return u(ce,ee(ce,J,z,Ie))},"go$readdir"):o(function(ce,J,z,Ie){return u(ce,J,ee(ce,J,z,Ie))},"go$readdir");return W(T,q,H);function ee(te,ce,J,z){return function(Ie,Be){Ie&&(Ie.code==="EMFILE"||Ie.code==="ENFILE")?wE([W,[te,ce,J],Ie,z||Date.now(),Date.now()]):(Be&&Be.sort&&Be.sort(),typeof J=="function"&&J.call(this,Ie,Be))}}}if(o(d,"readdir"),process.version.substr(0,4)==="v0.8"){var h=GSt(t);y=h.ReadStream,w=h.WriteStream}var p=t.ReadStream;p&&(y.prototype=Object.create(p.prototype),y.prototype.open=C);var A=t.WriteStream;A&&(w.prototype=Object.create(A.prototype),w.prototype.open=S),Object.defineProperty(t,"ReadStream",{get:o(function(){return y},"get"),set:o(function(T){y=T},"set"),enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:o(function(){return w},"get"),set:o(function(T){w=T},"set"),enumerable:!0,configurable:!0});var g=y;Object.defineProperty(t,"FileReadStream",{get:o(function(){return g},"get"),set:o(function(T){g=T},"set"),enumerable:!0,configurable:!0});var E=w;Object.defineProperty(t,"FileWriteStream",{get:o(function(){return E},"get"),set:o(function(T){E=T},"set"),enumerable:!0,configurable:!0});function y(T,q){return this instanceof y?(p.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}o(y,"ReadStream");function C(){var T=this;j(T.path,T.flags,T.mode,function(q,H){q?(T.autoClose&&T.destroy(),T.emit("error",q)):(T.fd=H,T.emit("open",H),T.read())})}o(C,"ReadStream$open");function w(T,q){return this instanceof w?(A.apply(this,arguments),this):w.apply(Object.create(w.prototype),arguments)}o(w,"WriteStream");function S(){var T=this;j(T.path,T.flags,T.mode,function(q,H){q?(T.destroy(),T.emit("error",q)):(T.fd=H,T.emit("open",H))})}o(S,"WriteStream$open");function Q(T,q){return new t.ReadStream(T,q)}o(Q,"createReadStream");function F(T,q){return new t.WriteStream(T,q)}o(F,"createWriteStream");var x=t.open;t.open=j;function j(T,q,H,W){return typeof H=="function"&&(W=H,H=null),ee(T,q,H,W);function ee(te,ce,J,z,Ie){return x(te,ce,J,function(Be,st){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?wE([ee,[te,ce,J,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$open")}return o(j,"open"),t}o(AW,"patch");function wE(t){ym("ENQUEUE",t[0].name,t[1]),Nr[yi].push(t),gW()}o(wE,"enqueue");var yQ;function r2e(){for(var t=Date.now(),e=0;e2&&(Nr[yi][e][3]=t,Nr[yi][e][4]=t);gW()}o(r2e,"resetQueue");function gW(){if(clearTimeout(yQ),yQ=void 0,Nr[yi].length!==0){var t=Nr[yi].shift(),e=t[0],r=t[1],n=t[2],i=t[3],s=t[4];if(i===void 0)ym("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){ym("TIMEOUT",e.name,r);var a=r.pop();typeof a=="function"&&a.call(null,n)}else{var c=Date.now()-s,l=Math.max(s-i,1),u=Math.min(l*1.2,100);c>=u?(ym("RETRY",e.name,r),e.apply(null,r.concat([i]))):Nr[yi].push(t)}yQ===void 0&&(yQ=setTimeout(gW,0))}}o(gW,"retry")});var CQ=m((KDr,i2e)=>{"use strict";var Vl=o(t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function","isStream");Vl.writable=t=>Vl(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";Vl.readable=t=>Vl(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";Vl.duplex=t=>Vl.writable(t)&&Vl.readable(t);Vl.transform=t=>Vl.duplex(t)&&typeof t._transform=="function";i2e.exports=Vl});var AS=m((ZDr,CW)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?CW.exports={nextTick:zSt}:CW.exports=process;function zSt(t,e,r,n){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,s,a;switch(i){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick(o(function(){t.call(null,e)},"afterTickOne"));case 3:return process.nextTick(o(function(){t.call(null,e,r)},"afterTickTwo"));case 4:return process.nextTick(o(function(){t.call(null,e,r,n)},"afterTickThree"));default:for(s=new Array(i-1),a=0;a{var jSt={}.toString;s2e.exports=Array.isArray||function(t){return jSt.call(t)=="[object Array]"}});var bW=m((r1r,a2e)=>{a2e.exports=require("stream")});var gS=m((wW,l2e)=>{var bQ=require("buffer"),gf=bQ.Buffer;function c2e(t,e){for(var r in t)e[r]=t[r]}o(c2e,"copyProps");gf.from&&gf.alloc&&gf.allocUnsafe&&gf.allocUnsafeSlow?l2e.exports=bQ:(c2e(bQ,wW),wW.Buffer=IE);function IE(t,e,r){return gf(t,e,r)}o(IE,"SafeBuffer");c2e(gf,IE);IE.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return gf(t,e,r)};IE.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=gf(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};IE.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return gf(t)};IE.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return bQ.SlowBuffer(t)}});var SE=m(Ti=>{function $St(t){return Array.isArray?Array.isArray(t):wQ(t)==="[object Array]"}o($St,"isArray");Ti.isArray=$St;function WSt(t){return typeof t=="boolean"}o(WSt,"isBoolean");Ti.isBoolean=WSt;function JSt(t){return t===null}o(JSt,"isNull");Ti.isNull=JSt;function YSt(t){return t==null}o(YSt,"isNullOrUndefined");Ti.isNullOrUndefined=YSt;function KSt(t){return typeof t=="number"}o(KSt,"isNumber");Ti.isNumber=KSt;function XSt(t){return typeof t=="string"}o(XSt,"isString");Ti.isString=XSt;function ZSt(t){return typeof t=="symbol"}o(ZSt,"isSymbol");Ti.isSymbol=ZSt;function eBt(t){return t===void 0}o(eBt,"isUndefined");Ti.isUndefined=eBt;function tBt(t){return wQ(t)==="[object RegExp]"}o(tBt,"isRegExp");Ti.isRegExp=tBt;function rBt(t){return typeof t=="object"&&t!==null}o(rBt,"isObject");Ti.isObject=rBt;function nBt(t){return wQ(t)==="[object Date]"}o(nBt,"isDate");Ti.isDate=nBt;function iBt(t){return wQ(t)==="[object Error]"||t instanceof Error}o(iBt,"isError");Ti.isError=iBt;function sBt(t){return typeof t=="function"}o(sBt,"isFunction");Ti.isFunction=sBt;function oBt(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}o(oBt,"isPrimitive");Ti.isPrimitive=oBt;Ti.isBuffer=require("buffer").Buffer.isBuffer;function wQ(t){return Object.prototype.toString.call(t)}o(wQ,"objectToString")});var u2e=m((o1r,IW)=>{typeof Object.create=="function"?IW.exports=o(function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):IW.exports=o(function(e,r){if(r){e.super_=r;var n=o(function(){},"TempCtor");n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}},"inherits")});var BE=m((c1r,BW)=>{try{if(SW=require("util"),typeof SW.inherits!="function")throw"";BW.exports=SW.inherits}catch{BW.exports=u2e()}var SW});var d2e=m((l1r,vW)=>{"use strict";function aBt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o(aBt,"_classCallCheck");var f2e=gS().Buffer,yS=require("util");function cBt(t,e,r){t.copy(e,r)}o(cBt,"copyBuffer");vW.exports=(function(){function t(){aBt(this,t),this.head=null,this.tail=null,this.length=0}return o(t,"BufferList"),t.prototype.push=o(function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length},"push"),t.prototype.unshift=o(function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length},"unshift"),t.prototype.shift=o(function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},"shift"),t.prototype.clear=o(function(){this.head=this.tail=null,this.length=0},"clear"),t.prototype.join=o(function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i},"join"),t.prototype.concat=o(function(r){if(this.length===0)return f2e.alloc(0);for(var n=f2e.allocUnsafe(r>>>0),i=this.head,s=0;i;)cBt(i.data,n,s),s+=i.data.length,i=i.next;return n},"concat"),t})();yS&&yS.inspect&&yS.inspect.custom&&(vW.exports.prototype[yS.inspect.custom]=function(){var t=yS.inspect({length:this.length});return this.constructor.name+" "+t})});var xW=m((f1r,h2e)=>{"use strict";var IQ=AS();function lBt(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,IQ.nextTick(SQ,this,t)):IQ.nextTick(SQ,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,IQ.nextTick(SQ,r,s)):IQ.nextTick(SQ,r,s):e&&e(s)}),this)}o(lBt,"destroy");function uBt(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}o(uBt,"undestroy");function SQ(t,e){t.emit("error",e)}o(SQ,"emitErrorNT");h2e.exports={destroy:lBt,undestroy:uBt}});var m2e=m((h1r,p2e)=>{p2e.exports=require("util").deprecate});var NW=m((p1r,I2e)=>{"use strict";var Em=AS();I2e.exports=In;function g2e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){_Bt(e,t)}}o(g2e,"CorkedRequest");var fBt=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Em.nextTick,vE;In.WritableState=CS;var y2e=Object.create(SE());y2e.inherits=BE();var dBt={deprecate:m2e()},E2e=bW(),vQ=gS().Buffer,hBt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pBt(t){return vQ.from(t)}o(pBt,"_uint8ArrayToBuffer");function mBt(t){return vQ.isBuffer(t)||t instanceof hBt}o(mBt,"_isUint8Array");var C2e=xW();y2e.inherits(In,E2e);function ABt(){}o(ABt,"nop");function CS(t,e){vE=vE||Cm(),t=t||{};var r=e instanceof vE;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=t.writableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(c){IBt(e,c)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new g2e(this)}o(CS,"WritableState");CS.prototype.getBuffer=o(function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r},"getBuffer");(function(){try{Object.defineProperty(CS.prototype,"buffer",{get:dBt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var BQ;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(BQ=Function.prototype[Symbol.hasInstance],Object.defineProperty(In,Symbol.hasInstance,{value:o(function(t){return BQ.call(this,t)?!0:this!==In?!1:t&&t._writableState instanceof CS},"value")})):BQ=o(function(t){return t instanceof this},"realHasInstance");function In(t){if(vE=vE||Cm(),!BQ.call(In,this)&&!(this instanceof vE))return new In(t);this._writableState=new CS(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),E2e.call(this)}o(In,"Writable");In.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function gBt(t,e){var r=new Error("write after end");t.emit("error",r),Em.nextTick(e,r)}o(gBt,"writeAfterEnd");function yBt(t,e,r,n){var i=!0,s=!1;return r===null?s=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!e.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),Em.nextTick(n,s),i=!1),i}o(yBt,"validChunk");In.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&mBt(t);return s&&!vQ.isBuffer(t)&&(t=pBt(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=ABt),n.ended?gBt(this,r):(s||yBt(this,n,t,r))&&(n.pendingcb++,i=CBt(this,n,s,t,e,r)),i};In.prototype.cork=function(){var t=this._writableState;t.corked++};In.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&b2e(this,t))};In.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function EBt(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=vQ.from(e,r)),e}o(EBt,"decodeChunk");Object.defineProperty(In.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function CBt(t,e,r,n,i,s){if(!r){var a=EBt(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var c=e.objectMode?1:n.length;e.length+=c;var l=e.length{"use strict";var S2e=AS(),NBt=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};x2e.exports=yf;var B2e=Object.create(SE());B2e.inherits=BE();var v2e=DW(),TW=NW();B2e.inherits(yf,v2e);for(RW=NBt(TW.prototype),xQ=0;xQ{"use strict";var kW=gS().Buffer,_2e=kW.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function DBt(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}o(DBt,"_normalizeEncoding");function QBt(t){var e=DBt(t);if(typeof e!="string"&&(kW.isEncoding===_2e||!_2e(t)))throw new Error("Unknown encoding: "+t);return e||t}o(QBt,"normalizeEncoding");N2e.StringDecoder=bS;function bS(t){this.encoding=QBt(t);var e;switch(this.encoding){case"utf16le":this.text=MBt,this.end=UBt,e=4;break;case"utf8":this.fillLast=OBt,e=4;break;case"base64":this.text=qBt,this.end=GBt,e=3;break;default:this.write=HBt,this.end=VBt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=kW.allocUnsafe(e)}o(bS,"StringDecoder");bS.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}o(QW,"utf8CheckByte");function kBt(t,e,r){var n=e.length-1;if(n=0?(i>0&&(t.lastNeed=i-1),i):--n=0?(i>0&&(t.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}o(kBt,"utf8CheckIncomplete");function PBt(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}o(PBt,"utf8CheckExtraBytes");function OBt(t){var e=this.lastTotal-this.lastNeed,r=PBt(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}o(OBt,"utf8FillLast");function LBt(t,e){var r=kBt(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}o(LBt,"utf8Text");function FBt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}o(FBt,"utf8End");function MBt(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}o(MBt,"utf16Text");function UBt(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}o(UBt,"utf16End");function qBt(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}o(qBt,"base64Text");function GBt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}o(GBt,"base64End");function HBt(t){return t.toString(this.encoding)}o(HBt,"simpleWrite");function VBt(t){return t&&t.length?this.write(t):""}o(VBt,"simpleEnd")});var DW=m((b1r,q2e)=>{"use strict";var _E=AS();q2e.exports=lr;var zBt=o2e(),wS;lr.ReadableState=O2e;var C1r=require("events").EventEmitter,Q2e=o(function(t,e){return t.listeners(e).length},"EElistenerCount"),UW=bW(),IS=gS().Buffer,jBt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function $Bt(t){return IS.from(t)}o($Bt,"_uint8ArrayToBuffer");function WBt(t){return IS.isBuffer(t)||t instanceof jBt}o(WBt,"_isUint8Array");var k2e=Object.create(SE());k2e.inherits=BE();var OW=require("util"),Mt=void 0;OW&&OW.debuglog?Mt=OW.debuglog("stream"):Mt=o(function(){},"debug");var JBt=d2e(),P2e=xW(),xE;k2e.inherits(lr,UW);var LW=["error","close","destroy","pause","resume"];function YBt(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):zBt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(YBt,"prependListener");function O2e(t,e){wS=wS||Cm(),t=t||{};var r=e instanceof wS;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=t.readableHighWaterMark,s=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new JBt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(xE||(xE=PW().StringDecoder),this.decoder=new xE(t.encoding),this.encoding=t.encoding)}o(O2e,"ReadableState");function lr(t){if(wS=wS||Cm(),!(this instanceof lr))return new lr(t);this._readableState=new O2e(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),UW.call(this)}o(lr,"Readable");Object.defineProperty(lr.prototype,"destroyed",{get:o(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:o(function(t){this._readableState&&(this._readableState.destroyed=t)},"set")});lr.prototype.destroy=P2e.destroy;lr.prototype._undestroy=P2e.undestroy;lr.prototype._destroy=function(t,e){this.push(null),e(t)};lr.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=IS.from(t,e),e=""),n=!0),L2e(this,t,e,!1,n)};lr.prototype.unshift=function(t){return L2e(this,t,null,!0,!1)};function L2e(t,e,r,n,i){var s=t._readableState;if(e===null)s.reading=!1,evt(t,s);else{var a;i||(a=KBt(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==IS.prototype&&(e=$Bt(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):FW(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||e.length!==0?FW(t,s,e,!1):F2e(t,s)):FW(t,s,e,!1))):n||(s.reading=!1)}return XBt(s)}o(L2e,"readableAddChunk");function FW(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&NQ(t)),F2e(t,e)}o(FW,"addChunk");function KBt(t,e){var r;return!WBt(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}o(KBt,"chunkInvalid");function XBt(t){return!t.ended&&(t.needReadable||t.length=R2e?t=R2e:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}o(ZBt,"computeNewHighWaterMark");function T2e(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=ZBt(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}o(T2e,"howMuchToRead");lr.prototype.read=function(t){Mt("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return Mt("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?MW(this):NQ(this),null;if(t=T2e(t,e),t===0&&e.ended)return e.length===0&&MW(this),null;var n=e.needReadable;Mt("need readable",n),(e.length===0||e.length-t0?i=M2e(t,e):i=null,i===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&MW(this)),i!==null&&this.emit("data",i),i};function evt(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,NQ(t)}}o(evt,"onEofChunk");function NQ(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Mt("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?_E.nextTick(D2e,t):D2e(t))}o(NQ,"emitReadable");function D2e(t){Mt("emit readable"),t.emit("readable"),qW(t)}o(D2e,"emitReadable_");function F2e(t,e){e.readingMore||(e.readingMore=!0,_E.nextTick(tvt,t,e))}o(F2e,"maybeReadMore");function tvt(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&U2e(n.pipes,t)!==-1)&&!u&&(Mt("false write response, pause",n.awaitDrain),n.awaitDrain++,d=!0),r.pause())}o(h,"ondata");function p(y){Mt("onerror",y),E(),t.removeListener("error",p),Q2e(t,"error")===0&&t.emit("error",y)}o(p,"onerror"),YBt(t,"error",p);function A(){t.removeListener("finish",g),E()}o(A,"onclose"),t.once("close",A);function g(){Mt("onfinish"),t.removeListener("close",A),E()}o(g,"onfinish"),t.once("finish",g);function E(){Mt("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),n.flowing||(Mt("pipe resume"),r.resume()),t};function rvt(t){return function(){var e=t._readableState;Mt("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&Q2e(t,"data")&&(e.flowing=!0,qW(t))}}o(rvt,"pipeOnDrain");lr.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.head.data:r=e.buffer.concat(e.length),e.buffer.clear()):r=ovt(t,e.buffer,e.decoder),r}o(M2e,"fromList");function ovt(t,e,r){var n;return ts.length?s.length:t;if(a===s.length?i+=s:i+=s.slice(0,t),t-=a,t===0){a===s.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(a));break}++n}return e.length-=n,i}o(avt,"copyFromBufferString");function cvt(t,e){var r=IS.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var s=n.data,a=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,a),t-=a,t===0){a===s.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(a));break}++i}return e.length-=i,r}o(cvt,"copyFromBuffer");function MW(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,_E.nextTick(lvt,e,t))}o(MW,"endReadable");function lvt(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}o(lvt,"endReadableNT");function U2e(t,e){for(var r=0,n=t.length;r{"use strict";V2e.exports=Ef;var RQ=Cm(),H2e=Object.create(SE());H2e.inherits=BE();H2e.inherits(Ef,RQ);function uvt(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";$2e.exports=SS;var z2e=GW(),j2e=Object.create(SE());j2e.inherits=BE();j2e.inherits(SS,z2e);function SS(t){if(!(this instanceof SS))return new SS(t);z2e.call(this,t)}o(SS,"PassThrough");SS.prototype._transform=function(t,e,r){r(null,t)}});var J2e=m((Ei,TQ)=>{var zl=require("stream");process.env.READABLE_STREAM==="disable"&&zl?(TQ.exports=zl,Ei=TQ.exports=zl.Readable,Ei.Readable=zl.Readable,Ei.Writable=zl.Writable,Ei.Duplex=zl.Duplex,Ei.Transform=zl.Transform,Ei.PassThrough=zl.PassThrough,Ei.Stream=zl):(Ei=TQ.exports=DW(),Ei.Stream=zl||Ei,Ei.Readable=Ei,Ei.Writable=NW(),Ei.Duplex=Cm(),Ei.Transform=GW(),Ei.PassThrough=W2e())});var K2e=m((x1r,Y2e)=>{Y2e.exports=J2e().PassThrough});var t_e=m((_1r,e_e)=>{var X2e=require("util"),kQ=K2e();e_e.exports={Readable:DQ,Writable:QQ};X2e.inherits(DQ,kQ);X2e.inherits(QQ,kQ);function Z2e(t,e,r){t[e]=function(){return delete t[e],r.apply(this,arguments),this[e].apply(this,arguments)}}o(Z2e,"beforeFirstCall");function DQ(t,e){if(!(this instanceof DQ))return new DQ(t,e);kQ.call(this,e),Z2e(this,"_read",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),r.pipe(this)}),this.emit("readable")}o(DQ,"Readable");function QQ(t,e){if(!(this instanceof QQ))return new QQ(t,e);kQ.call(this,e),Z2e(this,"_write",function(){var r=t.call(this,e),n=this.emit.bind(this,"error");r.on("error",n),this.pipe(r)}),this.emit("writable")}o(QQ,"Writable")});var HW=m((R1r,r_e)=>{r_e.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var VW=m((T1r,n_e)=>{function dvt(t){return t}o(dvt,"identity");n_e.exports=dvt});var s_e=m((Q1r,i_e)=>{function hvt(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}o(hvt,"apply");i_e.exports=hvt});var c_e=m((P1r,a_e)=>{var pvt=s_e(),o_e=Math.max;function mvt(t,e,r){return e=o_e(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=o_e(n.length-e,0),a=Array(s);++i{function Avt(t){return function(){return t}}o(Avt,"constant");l_e.exports=Avt});var zW=m((M1r,f_e)=>{var gvt=typeof global=="object"&&global&&global.Object===Object&&global;f_e.exports=gvt});var NE=m((U1r,d_e)=>{var yvt=zW(),Evt=typeof self=="object"&&self&&self.Object===Object&&self,Cvt=yvt||Evt||Function("return this")();d_e.exports=Cvt});var PQ=m((q1r,h_e)=>{var bvt=NE(),wvt=bvt.Symbol;h_e.exports=wvt});var g_e=m((G1r,A_e)=>{var p_e=PQ(),m_e=Object.prototype,Ivt=m_e.hasOwnProperty,Svt=m_e.toString,BS=p_e?p_e.toStringTag:void 0;function Bvt(t){var e=Ivt.call(t,BS),r=t[BS];try{t[BS]=void 0;var n=!0}catch{}var i=Svt.call(t);return n&&(e?t[BS]=r:delete t[BS]),i}o(Bvt,"getRawTag");A_e.exports=Bvt});var E_e=m((V1r,y_e)=>{var vvt=Object.prototype,xvt=vvt.toString;function _vt(t){return xvt.call(t)}o(_vt,"objectToString");y_e.exports=_vt});var vS=m((j1r,w_e)=>{var C_e=PQ(),Nvt=g_e(),Rvt=E_e(),Tvt="[object Null]",Dvt="[object Undefined]",b_e=C_e?C_e.toStringTag:void 0;function Qvt(t){return t==null?t===void 0?Dvt:Tvt:b_e&&b_e in Object(t)?Nvt(t):Rvt(t)}o(Qvt,"baseGetTag");w_e.exports=Qvt});var xS=m((W1r,I_e)=>{function kvt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}o(kvt,"isObject");I_e.exports=kvt});var jW=m((Y1r,S_e)=>{var Pvt=vS(),Ovt=xS(),Lvt="[object AsyncFunction]",Fvt="[object Function]",Mvt="[object GeneratorFunction]",Uvt="[object Proxy]";function qvt(t){if(!Ovt(t))return!1;var e=Pvt(t);return e==Fvt||e==Mvt||e==Lvt||e==Uvt}o(qvt,"isFunction");S_e.exports=qvt});var v_e=m((X1r,B_e)=>{var Gvt=NE(),Hvt=Gvt["__core-js_shared__"];B_e.exports=Hvt});var N_e=m((Z1r,__e)=>{var $W=v_e(),x_e=(function(){var t=/[^.]+$/.exec($W&&$W.keys&&$W.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function Vvt(t){return!!x_e&&x_e in t}o(Vvt,"isMasked");__e.exports=Vvt});var T_e=m((tQr,R_e)=>{var zvt=Function.prototype,jvt=zvt.toString;function $vt(t){if(t!=null){try{return jvt.call(t)}catch{}try{return t+""}catch{}}return""}o($vt,"toSource");R_e.exports=$vt});var Q_e=m((nQr,D_e)=>{var Wvt=jW(),Jvt=N_e(),Yvt=xS(),Kvt=T_e(),Xvt=/[\\^$.*+?()[\]{}|]/g,Zvt=/^\[object .+?Constructor\]$/,ext=Function.prototype,txt=Object.prototype,rxt=ext.toString,nxt=txt.hasOwnProperty,ixt=RegExp("^"+rxt.call(nxt).replace(Xvt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function sxt(t){if(!Yvt(t)||Jvt(t))return!1;var e=Wvt(t)?ixt:Zvt;return e.test(Kvt(t))}o(sxt,"baseIsNative");D_e.exports=sxt});var P_e=m((sQr,k_e)=>{function oxt(t,e){return t?.[e]}o(oxt,"getValue");k_e.exports=oxt});var _S=m((aQr,O_e)=>{var axt=Q_e(),cxt=P_e();function lxt(t,e){var r=cxt(t,e);return axt(r)?r:void 0}o(lxt,"getNative");O_e.exports=lxt});var F_e=m((lQr,L_e)=>{var uxt=_S(),fxt=(function(){try{var t=uxt(Object,"defineProperty");return t({},"",{}),t}catch{}})();L_e.exports=fxt});var q_e=m((uQr,U_e)=>{var dxt=u_e(),M_e=F_e(),hxt=VW(),pxt=M_e?function(t,e){return M_e(t,"toString",{configurable:!0,enumerable:!1,value:dxt(e),writable:!0})}:hxt;U_e.exports=pxt});var H_e=m((fQr,G_e)=>{var mxt=800,Axt=16,gxt=Date.now;function yxt(t){var e=0,r=0;return function(){var n=gxt(),i=Axt-(n-r);if(r=n,i>0){if(++e>=mxt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}o(yxt,"shortOut");G_e.exports=yxt});var z_e=m((hQr,V_e)=>{var Ext=q_e(),Cxt=H_e(),bxt=Cxt(Ext);V_e.exports=bxt});var OQ=m((pQr,j_e)=>{var wxt=VW(),Ixt=c_e(),Sxt=z_e();function Bxt(t,e){return Sxt(Ixt(t,e,wxt),t+"")}o(Bxt,"baseRest");j_e.exports=Bxt});var LQ=m((AQr,$_e)=>{function vxt(t,e){return t===e||t!==t&&e!==e}o(vxt,"eq");$_e.exports=vxt});var WW=m((yQr,W_e)=>{var xxt=9007199254740991;function _xt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=xxt}o(_xt,"isLength");W_e.exports=_xt});var FQ=m((CQr,J_e)=>{var Nxt=jW(),Rxt=WW();function Txt(t){return t!=null&&Rxt(t.length)&&!Nxt(t)}o(Txt,"isArrayLike");J_e.exports=Txt});var JW=m((wQr,Y_e)=>{var Dxt=9007199254740991,Qxt=/^(?:0|[1-9]\d*)$/;function kxt(t,e){var r=typeof t;return e=e??Dxt,!!e&&(r=="number"||r!="symbol"&&Qxt.test(t))&&t>-1&&t%1==0&&t{var Pxt=LQ(),Oxt=FQ(),Lxt=JW(),Fxt=xS();function Mxt(t,e,r){if(!Fxt(r))return!1;var n=typeof e;return(n=="number"?Oxt(r)&&Lxt(e,r.length):n=="string"&&e in r)?Pxt(r[e],t):!1}o(Mxt,"isIterateeCall");K_e.exports=Mxt});var eNe=m((vQr,Z_e)=>{function Uxt(t,e){for(var r=-1,n=Array(t);++r{function qxt(t){return t!=null&&typeof t=="object"}o(qxt,"isObjectLike");tNe.exports=qxt});var nNe=m((RQr,rNe)=>{var Gxt=vS(),Hxt=RE(),Vxt="[object Arguments]";function zxt(t){return Hxt(t)&&Gxt(t)==Vxt}o(zxt,"baseIsArguments");rNe.exports=zxt});var YW=m((DQr,oNe)=>{var iNe=nNe(),jxt=RE(),sNe=Object.prototype,$xt=sNe.hasOwnProperty,Wxt=sNe.propertyIsEnumerable,Jxt=iNe((function(){return arguments})())?iNe:function(t){return jxt(t)&&$xt.call(t,"callee")&&!Wxt.call(t,"callee")};oNe.exports=Jxt});var KW=m((QQr,aNe)=>{var Yxt=Array.isArray;aNe.exports=Yxt});var lNe=m((kQr,cNe)=>{function Kxt(){return!1}o(Kxt,"stubFalse");cNe.exports=Kxt});var hNe=m((NS,TE)=>{var Xxt=NE(),Zxt=lNe(),dNe=typeof NS=="object"&&NS&&!NS.nodeType&&NS,uNe=dNe&&typeof TE=="object"&&TE&&!TE.nodeType&&TE,e2t=uNe&&uNe.exports===dNe,fNe=e2t?Xxt.Buffer:void 0,t2t=fNe?fNe.isBuffer:void 0,r2t=t2t||Zxt;TE.exports=r2t});var mNe=m((OQr,pNe)=>{var n2t=vS(),i2t=WW(),s2t=RE(),o2t="[object Arguments]",a2t="[object Array]",c2t="[object Boolean]",l2t="[object Date]",u2t="[object Error]",f2t="[object Function]",d2t="[object Map]",h2t="[object Number]",p2t="[object Object]",m2t="[object RegExp]",A2t="[object Set]",g2t="[object String]",y2t="[object WeakMap]",E2t="[object ArrayBuffer]",C2t="[object DataView]",b2t="[object Float32Array]",w2t="[object Float64Array]",I2t="[object Int8Array]",S2t="[object Int16Array]",B2t="[object Int32Array]",v2t="[object Uint8Array]",x2t="[object Uint8ClampedArray]",_2t="[object Uint16Array]",N2t="[object Uint32Array]",ur={};ur[b2t]=ur[w2t]=ur[I2t]=ur[S2t]=ur[B2t]=ur[v2t]=ur[x2t]=ur[_2t]=ur[N2t]=!0;ur[o2t]=ur[a2t]=ur[E2t]=ur[c2t]=ur[C2t]=ur[l2t]=ur[u2t]=ur[f2t]=ur[d2t]=ur[h2t]=ur[p2t]=ur[m2t]=ur[A2t]=ur[g2t]=ur[y2t]=!1;function R2t(t){return s2t(t)&&i2t(t.length)&&!!ur[n2t(t)]}o(R2t,"baseIsTypedArray");pNe.exports=R2t});var XW=m((FQr,ANe)=>{function T2t(t){return function(e){return t(e)}}o(T2t,"baseUnary");ANe.exports=T2t});var yNe=m((RS,DE)=>{var D2t=zW(),gNe=typeof RS=="object"&&RS&&!RS.nodeType&&RS,TS=gNe&&typeof DE=="object"&&DE&&!DE.nodeType&&DE,Q2t=TS&&TS.exports===gNe,ZW=Q2t&&D2t.process,k2t=(function(){try{var t=TS&&TS.require&&TS.require("util").types;return t||ZW&&ZW.binding&&ZW.binding("util")}catch{}})();DE.exports=k2t});var wNe=m((UQr,bNe)=>{var P2t=mNe(),O2t=XW(),ENe=yNe(),CNe=ENe&&ENe.isTypedArray,L2t=CNe?O2t(CNe):P2t;bNe.exports=L2t});var SNe=m((qQr,INe)=>{var F2t=eNe(),M2t=YW(),U2t=KW(),q2t=hNe(),G2t=JW(),H2t=wNe(),V2t=Object.prototype,z2t=V2t.hasOwnProperty;function j2t(t,e){var r=U2t(t),n=!r&&M2t(t),i=!r&&!n&&q2t(t),s=!r&&!n&&!i&&H2t(t),a=r||n||i||s,c=a?F2t(t.length,String):[],l=c.length;for(var u in t)(e||z2t.call(t,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||G2t(u,l)))&&c.push(u);return c}o(j2t,"arrayLikeKeys");INe.exports=j2t});var vNe=m((HQr,BNe)=>{var $2t=Object.prototype;function W2t(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||$2t;return t===r}o(W2t,"isPrototype");BNe.exports=W2t});var _Ne=m((zQr,xNe)=>{function J2t(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}o(J2t,"nativeKeysIn");xNe.exports=J2t});var RNe=m(($Qr,NNe)=>{var Y2t=xS(),K2t=vNe(),X2t=_Ne(),Z2t=Object.prototype,e_t=Z2t.hasOwnProperty;function t_t(t){if(!Y2t(t))return X2t(t);var e=K2t(t),r=[];for(var n in t)n=="constructor"&&(e||!e_t.call(t,n))||r.push(n);return r}o(t_t,"baseKeysIn");NNe.exports=t_t});var DNe=m((JQr,TNe)=>{var r_t=SNe(),n_t=RNe(),i_t=FQ();function s_t(t){return i_t(t)?r_t(t,!0):n_t(t)}o(s_t,"keysIn");TNe.exports=s_t});var PNe=m((KQr,kNe)=>{var o_t=OQ(),a_t=LQ(),c_t=X_e(),l_t=DNe(),QNe=Object.prototype,u_t=QNe.hasOwnProperty,f_t=o_t(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&c_t(e[0],e[1],i)&&(n=1);++r{"use strict";ONe.exports={ArrayIsArray(t){return Array.isArray(t)},ArrayPrototypeIncludes(t,e){return t.includes(e)},ArrayPrototypeIndexOf(t,e){return t.indexOf(e)},ArrayPrototypeJoin(t,e){return t.join(e)},ArrayPrototypeMap(t,e){return t.map(e)},ArrayPrototypePop(t,e){return t.pop(e)},ArrayPrototypePush(t,e){return t.push(e)},ArrayPrototypeSlice(t,e,r){return t.slice(e,r)},Error,FunctionPrototypeCall(t,e,...r){return t.call(e,...r)},FunctionPrototypeSymbolHasInstance(t,e){return Function.prototype[Symbol.hasInstance].call(t,e)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(t,e){return Object.defineProperties(t,e)},ObjectDefineProperty(t,e,r){return Object.defineProperty(t,e,r)},ObjectGetOwnPropertyDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)},ObjectKeys(t){return Object.keys(t)},ObjectSetPrototypeOf(t,e){return Object.setPrototypeOf(t,e)},Promise,PromisePrototypeCatch(t,e){return t.catch(e)},PromisePrototypeThen(t,e,r){return t.then(e,r)},PromiseReject(t){return Promise.reject(t)},PromiseResolve(t){return Promise.resolve(t)},ReflectApply:Reflect.apply,RegExpPrototypeTest(t,e){return t.test(e)},SafeSet:Set,String,StringPrototypeSlice(t,e,r){return t.slice(e,r)},StringPrototypeToLowerCase(t){return t.toLowerCase()},StringPrototypeToUpperCase(t){return t.toUpperCase()},StringPrototypeTrim(t){return t.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(t,e,r){return t.set(e,r)},Boolean,Uint8Array}});var jNe=m((kS,QS)=>{"use strict";Object.defineProperty(kS,"__esModule",{value:!0});var GNe=new WeakMap,eJ=new WeakMap;function fr(t){let e=GNe.get(t);return console.assert(e!=null,"'this' is expected an Event object, but got",t),e}o(fr,"pd");function LNe(t){if(t.passiveListener!=null){typeof console<"u"&&typeof console.error=="function"&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}t.event.cancelable&&(t.canceled=!0,typeof t.event.preventDefault=="function"&&t.event.preventDefault())}o(LNe,"setCancelFlag");function QE(t,e){GNe.set(this,{eventTarget:t,event:e,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:e.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let r=Object.keys(e);for(let n=0;n0){let t=new Array(arguments.length);for(let e=0;e{"use strict";Object.defineProperty(OS,"__esModule",{value:!0});var rJ=jNe(),Wd=class extends rJ.EventTarget{static{o(this,"AbortSignal")}constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let e=qQ.get(this);if(typeof e!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return e}};rJ.defineEventAttribute(Wd.prototype,"abort");function E_t(){let t=Object.create(Wd.prototype);return rJ.EventTarget.call(t),qQ.set(t,!1),t}o(E_t,"createAbortSignal");function C_t(t){qQ.get(t)===!1&&(qQ.set(t,!0),t.dispatchEvent({type:"abort"}))}o(C_t,"abortSignal");var qQ=new WeakMap;Object.defineProperties(Wd.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Wd.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});var Jd=class{static{o(this,"AbortController")}constructor(){WNe.set(this,E_t())}get signal(){return $Ne(this)}abort(){C_t($Ne(this))}},WNe=new WeakMap;function $Ne(t){let e=WNe.get(t);if(e==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${t===null?"null":typeof t}`);return e}o($Ne,"getSignal");Object.defineProperties(Jd.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Jd.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});OS.AbortController=Jd;OS.AbortSignal=Wd;OS.default=Jd;PS.exports=Jd;PS.exports.AbortController=PS.exports.default=Jd;PS.exports.AbortSignal=Wd});var Di=m((tkr,iJ)=>{"use strict";var b_t=require("buffer"),{kResistStopPropagation:w_t,SymbolDispose:I_t}=Rr(),S_t=globalThis.AbortSignal||kE().AbortSignal,B_t=globalThis.AbortController||kE().AbortController,v_t=Object.getPrototypeOf(async function(){}).constructor,JNe=globalThis.Blob||b_t.Blob,x_t=o(typeof JNe<"u"?function(e){return e instanceof JNe}:function(e){return!1},"isBlob"),YNe=o((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new ERR_INVALID_ARG_TYPE(e,"AbortSignal",t)},"validateAbortSignal"),__t=o((t,e)=>{if(typeof t!="function")throw new ERR_INVALID_ARG_TYPE(e,"Function",t)},"validateFunction"),nJ=class extends Error{static{o(this,"AggregateError")}constructor(e){if(!Array.isArray(e))throw new TypeError(`Expected input to be an Array, got ${typeof e}`);let r="";for(let n=0;n{t=n,e=i}),resolve:t,reject:e}},"createDeferredPromise"),promisify(t){return new Promise((e,r)=>{t((n,...i)=>n?r(n):e(...i))})},debuglog(){return function(){}},format(t,...e){return t.replace(/%([sdifj])/g,function(...[r,n]){let i=e.shift();return n==="f"?i.toFixed(6):n==="j"?JSON.stringify(i):n==="s"&&typeof i=="object"?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})},inspect(t){switch(typeof t){case"string":if(t.includes("'"))if(t.includes('"')){if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}else return`"${t}"`;return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return`${String(t)}n`;case"boolean":case"undefined":return String(t);case"object":return"{}"}},types:{isAsyncFunction(t){return t instanceof v_t},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:x_t,deprecate(t,e){return t},addAbortListener:require("events").addAbortListener||o(function(e,r){if(e===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);YNe(e,"signal"),__t(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[w_t]:!0}),n=o(()=>{e.removeEventListener("abort",r)},"removeEventListener")),{__proto__:null,[I_t](){var i;(i=n)===null||i===void 0||i()}}},"addAbortListener"),AbortSignalAny:S_t.any||o(function(e){if(e.length===1)return e[0];let r=new B_t,n=o(()=>r.abort(),"abort");return e.forEach(i=>{YNe(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{e.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal},"AbortSignalAny")};iJ.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var cs=m((nkr,ZNe)=>{"use strict";var{format:N_t,inspect:GQ,AggregateError:R_t}=Di(),T_t=globalThis.AggregateError||R_t,D_t=Symbol("kIsNodeError"),Q_t=["string","function","number","object","Function","Object","boolean","bigint","symbol"],k_t=/^([A-Z][a-z0-9]*)+$/,P_t="__node_internal_",HQ={};function bm(t,e){if(!t)throw new HQ.ERR_INTERNAL_ASSERTION(e)}o(bm,"assert");function KNe(t){let e="",r=t.length,n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}o(KNe,"addNumericalSeparator");function O_t(t,e,r){if(typeof e=="function")return bm(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);let n=(e.match(/%[dfijoOs]/g)||[]).length;return bm(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:N_t(e,...r)}o(O_t,"getMessage");function Ci(t,e,r){r||(r=Error);class n extends r{static{o(this,"NodeError")}constructor(...s){super(O_t(t,e,s))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[D_t]=!0,HQ[t]=n}o(Ci,"E");function XNe(t){let e=P_t+t.name;return Object.defineProperty(t,"name",{value:e}),t}o(XNe,"hideStackFrames");function L_t(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new T_t([e,t],e.message);return r.code=e.code,r}return t||e}o(L_t,"aggregateTwoErrors");var sJ=class extends Error{static{o(this,"AbortError")}constructor(e="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new HQ.ERR_INVALID_ARG_TYPE("options","Object",r);super(e,r),this.code="ABORT_ERR",this.name="AbortError"}};Ci("ERR_ASSERTION","%s",Error);Ci("ERR_INVALID_ARG_TYPE",(t,e,r)=>{bm(typeof t=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=`${t} `:n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";let i=[],s=[],a=[];for(let l of e)bm(typeof l=="string","All expected entries have to be of type string"),Q_t.includes(l)?i.push(l.toLowerCase()):k_t.test(l)?s.push(l):(bm(l!=="object",'The value "object" should be written as "Object"'),a.push(l));if(s.length>0){let l=i.indexOf("object");l!==-1&&(i.splice(i,l,1),s.push("Object"))}if(i.length>0){switch(i.length){case 1:n+=`of type ${i[0]}`;break;case 2:n+=`one of type ${i[0]} or ${i[1]}`;break;default:{let l=i.pop();n+=`one of type ${i.join(", ")}, or ${l}`}}(s.length>0||a.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{let l=s.pop();n+=`an instance of ${s.join(", ")}, or ${l}`}}a.length>0&&(n+=" or ")}switch(a.length){case 0:break;case 1:a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`;break;case 2:n+=`one of ${a[0]} or ${a[1]}`;break;default:{let l=a.pop();n+=`one of ${a.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var c;if((c=r.constructor)!==null&&c!==void 0&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{let l=GQ(r,{depth:-1});n+=`. Received ${l}`}}else{let l=GQ(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);Ci("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=GQ(e);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError);Ci("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;let i=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${t} to be returned from the "${e}" function but got ${i}.`},TypeError);Ci("ERR_MISSING_ARGS",(...t)=>{bm(t.length>0,"At least one arg needs to be specified");let e,r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(n=>`"${n}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{let n=t.pop();e+=`The ${t.join(", ")}, and ${n} arguments`}break}return`${e} must be specified`},TypeError);Ci("ERR_OUT_OF_RANGE",(t,e,r)=>{bm(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=KNe(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=KNe(n)),n+="n"):n=GQ(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);Ci("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Ci("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Ci("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Ci("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Ci("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Ci("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Ci("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Ci("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Ci("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Ci("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Ci("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);ZNe.exports={AbortError:sJ,aggregateTwoErrors:XNe(L_t),hideStackFrames:XNe,codes:HQ}});var OE=m((skr,lRe)=>{"use strict";var{ArrayIsArray:aJ,ArrayPrototypeIncludes:nRe,ArrayPrototypeJoin:iRe,ArrayPrototypeMap:F_t,NumberIsInteger:cJ,NumberIsNaN:M_t,NumberMAX_SAFE_INTEGER:U_t,NumberMIN_SAFE_INTEGER:q_t,NumberParseInt:G_t,ObjectPrototypeHasOwnProperty:H_t,RegExpPrototypeExec:sRe,String:V_t,StringPrototypeToUpperCase:z_t,StringPrototypeTrim:j_t}=Rr(),{hideStackFrames:Ia,codes:{ERR_SOCKET_BAD_PORT:$_t,ERR_INVALID_ARG_TYPE:Qi,ERR_INVALID_ARG_VALUE:PE,ERR_OUT_OF_RANGE:wm,ERR_UNKNOWN_SIGNAL:eRe}}=cs(),{normalizeEncoding:W_t}=Di(),{isAsyncFunction:J_t,isArrayBufferView:Y_t}=Di().types,tRe={};function K_t(t){return t===(t|0)}o(K_t,"isInt32");function X_t(t){return t===t>>>0}o(X_t,"isUint32");var Z_t=/^[0-7]+$/,eNt="must be a 32-bit unsigned integer or an octal string";function tNt(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(sRe(Z_t,t)===null)throw new PE(e,t,eNt);t=G_t(t,8)}return oRe(t,e),t}o(tNt,"parseFileMode");var rNt=Ia((t,e,r=q_t,n=U_t)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!cJ(t))throw new wm(e,"an integer",t);if(tn)throw new wm(e,`>= ${r} && <= ${n}`,t)}),nNt=Ia((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!cJ(t))throw new wm(e,"an integer",t);if(tn)throw new wm(e,`>= ${r} && <= ${n}`,t)}),oRe=Ia((t,e,r=!1)=>{if(typeof t!="number")throw new Qi(e,"number",t);if(!cJ(t))throw new wm(e,"an integer",t);let n=r?1:0,i=4294967295;if(ti)throw new wm(e,`>= ${n} && <= ${i}`,t)});function lJ(t,e){if(typeof t!="string")throw new Qi(e,"string",t)}o(lJ,"validateString");function iNt(t,e,r=void 0,n){if(typeof t!="number")throw new Qi(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&M_t(t))throw new wm(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}o(iNt,"validateNumber");var sNt=Ia((t,e,r)=>{if(!nRe(r,t)){let i="must be one of: "+iRe(F_t(r,s=>typeof s=="string"?`'${s}'`:V_t(s)),", ");throw new PE(e,t,i)}});function aRe(t,e){if(typeof t!="boolean")throw new Qi(e,"boolean",t)}o(aRe,"validateBoolean");function oJ(t,e,r){return t==null||!H_t(t,e)?r:t[e]}o(oJ,"getOwnPropertyValueOrDefault");var oNt=Ia((t,e,r=null)=>{let n=oJ(r,"allowArray",!1),i=oJ(r,"allowFunction",!1);if(!oJ(r,"nullable",!1)&&t===null||!n&&aJ(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new Qi(e,"Object",t)}),aNt=Ia((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Qi(e,"a dictionary",t)}),VQ=Ia((t,e,r=0)=>{if(!aJ(t))throw new Qi(e,"Array",t);if(t.length{if(!Y_t(t))throw new Qi(e,["Buffer","TypedArray","DataView"],t)});function hNt(t,e){let r=W_t(e),n=t.length;if(r==="hex"&&n%2!==0)throw new PE("encoding",e,`is invalid for data of length ${n}`)}o(hNt,"validateEncoding");function pNt(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&j_t(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new $_t(e,t,r);return t|0}o(pNt,"validatePort");var cRe=Ia((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Qi(e,"AbortSignal",t)}),mNt=Ia((t,e)=>{if(typeof t!="function")throw new Qi(e,"Function",t)}),ANt=Ia((t,e)=>{if(typeof t!="function"||J_t(t))throw new Qi(e,"Function",t)}),gNt=Ia((t,e)=>{if(t!==void 0)throw new Qi(e,"undefined",t)});function yNt(t,e,r){if(!nRe(r,t))throw new Qi(e,`('${iRe(r,"|")}')`,t)}o(yNt,"validateUnion");var ENt=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function rRe(t,e){if(typeof t>"u"||!sRe(ENt,t))throw new PE(e,t,'must be an array or string of format "; rel=preload; as=style"')}o(rRe,"validateLinkHeaderFormat");function CNt(t){if(typeof t=="string")return rRe(t,"hints"),t;if(aJ(t)){let e=t.length,r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}o(CNt,"validateLinkHeaderValue");lRe.exports={isInt32:K_t,isUint32:X_t,parseFileMode:tNt,validateArray:VQ,validateStringArray:cNt,validateBooleanArray:lNt,validateAbortSignalArray:uNt,validateBoolean:aRe,validateBuffer:dNt,validateDictionary:aNt,validateEncoding:hNt,validateFunction:mNt,validateInt32:nNt,validateInteger:rNt,validateNumber:iNt,validateObject:oNt,validateOneOf:sNt,validatePlainFunction:ANt,validatePort:pNt,validateSignalName:fNt,validateString:lJ,validateUint32:oRe,validateUndefined:gNt,validateUnion:yNt,validateAbortSignal:cRe,validateLinkHeaderValue:CNt}});var Yd=m((akr,uRe)=>{uRe.exports=global.process});var $l=m((ckr,BRe)=>{"use strict";var{SymbolAsyncIterator:fRe,SymbolIterator:dRe,SymbolFor:Im}=Rr(),hRe=Im("nodejs.stream.destroyed"),pRe=Im("nodejs.stream.errored"),uJ=Im("nodejs.stream.readable"),fJ=Im("nodejs.stream.writable"),mRe=Im("nodejs.stream.disturbed"),bNt=Im("nodejs.webstream.isClosedPromise"),wNt=Im("nodejs.webstream.controllerErrorFunction");function zQ(t,e=!1){var r;return!!(t&&typeof t.pipe=="function"&&typeof t.on=="function"&&(!e||typeof t.pause=="function"&&typeof t.resume=="function")&&(!t._writableState||((r=t._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!t._writableState||t._readableState))}o(zQ,"isReadableNodeStream");function jQ(t){var e;return!!(t&&typeof t.write=="function"&&typeof t.on=="function"&&(!t._readableState||((e=t._writableState)===null||e===void 0?void 0:e.writable)!==!1))}o(jQ,"isWritableNodeStream");function INt(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}o(INt,"isDuplexNodeStream");function jl(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}o(jl,"isNodeStream");function ARe(t){return!!(t&&!jl(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}o(ARe,"isReadableStream");function gRe(t){return!!(t&&!jl(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}o(gRe,"isWritableStream");function yRe(t){return!!(t&&!jl(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}o(yRe,"isTransformStream");function SNt(t){return ARe(t)||gRe(t)||yRe(t)}o(SNt,"isWebStream");function BNt(t,e){return t==null?!1:e===!0?typeof t[fRe]=="function":e===!1?typeof t[dRe]=="function":typeof t[fRe]=="function"||typeof t[dRe]=="function"}o(BNt,"isIterable");function $Q(t){if(!jl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[hRe]||n!=null&&n.destroyed)}o($Q,"isDestroyed");function ERe(t){if(!jQ(t))return null;if(t.writableEnded===!0)return!0;let e=t._writableState;return e!=null&&e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}o(ERe,"isWritableEnded");function vNt(t,e){if(!jQ(t))return null;if(t.writableFinished===!0)return!0;let r=t._writableState;return r!=null&&r.errored?!1:typeof r?.finished!="boolean"?null:!!(r.finished||e===!1&&r.ended===!0&&r.length===0)}o(vNt,"isWritableFinished");function xNt(t){if(!zQ(t))return null;if(t.readableEnded===!0)return!0;let e=t._readableState;return!e||e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}o(xNt,"isReadableEnded");function CRe(t,e){if(!zQ(t))return null;let r=t._readableState;return r!=null&&r.errored?!1:typeof r?.endEmitted!="boolean"?null:!!(r.endEmitted||e===!1&&r.ended===!0&&r.length===0)}o(CRe,"isReadableFinished");function bRe(t){return t&&t[uJ]!=null?t[uJ]:typeof t?.readable!="boolean"?null:$Q(t)?!1:zQ(t)&&t.readable&&!CRe(t)}o(bRe,"isReadable");function wRe(t){return t&&t[fJ]!=null?t[fJ]:typeof t?.writable!="boolean"?null:$Q(t)?!1:jQ(t)&&t.writable&&!ERe(t)}o(wRe,"isWritable");function _Nt(t,e){return jl(t)?$Q(t)?!0:!(e?.readable!==!1&&bRe(t)||e?.writable!==!1&&wRe(t)):null}o(_Nt,"isFinished");function NNt(t){var e,r;return jl(t)?t.writableErrored?t.writableErrored:(e=(r=t._writableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}o(NNt,"isWritableErrored");function RNt(t){var e,r;return jl(t)?t.readableErrored?t.readableErrored:(e=(r=t._readableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}o(RNt,"isReadableErrored");function TNt(t){if(!jl(t))return null;if(typeof t.closed=="boolean")return t.closed;let e=t._writableState,r=t._readableState;return typeof e?.closed=="boolean"||typeof r?.closed=="boolean"?e?.closed||r?.closed:typeof t._closed=="boolean"&&IRe(t)?t._closed:null}o(TNt,"isClosed");function IRe(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}o(IRe,"isOutgoingMessage");function SRe(t){return typeof t._sent100=="boolean"&&IRe(t)}o(SRe,"isServerResponse");function DNt(t){var e;return typeof t._consuming=="boolean"&&typeof t._dumped=="boolean"&&((e=t.req)===null||e===void 0?void 0:e.upgradeOrConnect)===void 0}o(DNt,"isServerRequest");function QNt(t){if(!jl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!n&&SRe(t)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}o(QNt,"willEmitClose");function kNt(t){var e;return!!(t&&((e=t[mRe])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}o(kNt,"isDisturbed");function PNt(t){var e,r,n,i,s,a,c,l,u,f;return!!(t&&((e=(r=(n=(i=(s=(a=t[pRe])!==null&&a!==void 0?a:t.readableErrored)!==null&&s!==void 0?s:t.writableErrored)!==null&&i!==void 0?i:(c=t._readableState)===null||c===void 0?void 0:c.errorEmitted)!==null&&n!==void 0?n:(l=t._writableState)===null||l===void 0?void 0:l.errorEmitted)!==null&&r!==void 0?r:(u=t._readableState)===null||u===void 0?void 0:u.errored)!==null&&e!==void 0?e:!((f=t._writableState)===null||f===void 0)&&f.errored))}o(PNt,"isErrored");BRe.exports={isDestroyed:$Q,kIsDestroyed:hRe,isDisturbed:kNt,kIsDisturbed:mRe,isErrored:PNt,kIsErrored:pRe,isReadable:bRe,kIsReadable:uJ,kIsClosedPromise:bNt,kControllerErrorFunction:wNt,kIsWritable:fJ,isClosed:TNt,isDuplexNodeStream:INt,isFinished:_Nt,isIterable:BNt,isReadableNodeStream:zQ,isReadableStream:ARe,isReadableEnded:xNt,isReadableFinished:CRe,isReadableErrored:RNt,isNodeStream:jl,isWebStream:SNt,isWritable:wRe,isWritableNodeStream:jQ,isWritableStream:gRe,isWritableEnded:ERe,isWritableFinished:vNt,isWritableErrored:NNt,isServerRequest:DNt,isServerResponse:SRe,willEmitClose:QNt,isTransformStream:yRe}});var Cf=m((ukr,AJ)=>{var Kd=Yd(),{AbortError:kRe,codes:ONt}=cs(),{ERR_INVALID_ARG_TYPE:LNt,ERR_STREAM_PREMATURE_CLOSE:vRe}=ONt,{kEmptyObject:hJ,once:pJ}=Di(),{validateAbortSignal:FNt,validateFunction:MNt,validateObject:UNt,validateBoolean:qNt}=OE(),{Promise:GNt,PromisePrototypeThen:HNt,SymbolDispose:PRe}=Rr(),{isClosed:VNt,isReadable:xRe,isReadableNodeStream:dJ,isReadableStream:zNt,isReadableFinished:_Re,isReadableErrored:NRe,isWritable:RRe,isWritableNodeStream:TRe,isWritableStream:jNt,isWritableFinished:DRe,isWritableErrored:QRe,isNodeStream:$Nt,willEmitClose:WNt,kIsClosedPromise:JNt}=$l(),LE;function YNt(t){return t.setHeader&&typeof t.abort=="function"}o(YNt,"isRequest");var mJ=o(()=>{},"nop");function ORe(t,e,r){var n,i;if(arguments.length===2?(r=e,e=hJ):e==null?e=hJ:UNt(e,"options"),MNt(r,"callback"),FNt(e.signal,"options.signal"),r=pJ(r),zNt(t)||jNt(t))return KNt(t,e,r);if(!$Nt(t))throw new LNt("stream",["ReadableStream","WritableStream","Stream"],t);let s=(n=e.readable)!==null&&n!==void 0?n:dJ(t),a=(i=e.writable)!==null&&i!==void 0?i:TRe(t),c=t._writableState,l=t._readableState,u=o(()=>{t.writable||h()},"onlegacyfinish"),f=WNt(t)&&dJ(t)===s&&TRe(t)===a,d=DRe(t,!1),h=o(()=>{d=!0,t.destroyed&&(f=!1),!(f&&(!t.readable||s))&&(!s||p)&&r.call(t)},"onfinish"),p=_Re(t,!1),A=o(()=>{p=!0,t.destroyed&&(f=!1),!(f&&(!t.writable||a))&&(!a||d)&&r.call(t)},"onend"),g=o(Q=>{r.call(t,Q)},"onerror"),E=VNt(t),y=o(()=>{E=!0;let Q=QRe(t)||NRe(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);if(s&&!p&&dJ(t,!0)&&!_Re(t,!1))return r.call(t,new vRe);if(a&&!d&&!DRe(t,!1))return r.call(t,new vRe);r.call(t)},"onclose"),C=o(()=>{E=!0;let Q=QRe(t)||NRe(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);r.call(t)},"onclosed"),w=o(()=>{t.req.on("finish",h)},"onrequest");YNt(t)?(t.on("complete",h),f||t.on("abort",y),t.req?w():t.on("request",w)):a&&!c&&(t.on("end",u),t.on("close",u)),!f&&typeof t.aborted=="boolean"&&t.on("aborted",y),t.on("end",A),t.on("finish",h),e.error!==!1&&t.on("error",g),t.on("close",y),E?Kd.nextTick(y):c!=null&&c.errorEmitted||l!=null&&l.errorEmitted?f||Kd.nextTick(C):(!s&&(!f||xRe(t))&&(d||RRe(t)===!1)||!a&&(!f||RRe(t))&&(p||xRe(t)===!1)||l&&t.req&&t.aborted)&&Kd.nextTick(C);let S=o(()=>{r=mJ,t.removeListener("aborted",y),t.removeListener("complete",h),t.removeListener("abort",y),t.removeListener("request",w),t.req&&t.req.removeListener("finish",h),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",h),t.removeListener("end",A),t.removeListener("error",g),t.removeListener("close",y)},"cleanup");if(e.signal&&!E){let Q=o(()=>{let F=r;S(),F.call(t,new kRe(void 0,{cause:e.signal.reason}))},"abort");if(e.signal.aborted)Kd.nextTick(Q);else{LE=LE||Di().addAbortListener;let F=LE(e.signal,Q),x=r;r=pJ((...j)=>{F[PRe](),x.apply(t,j)})}}return S}o(ORe,"eos");function KNt(t,e,r){let n=!1,i=mJ;if(e.signal)if(i=o(()=>{n=!0,r.call(t,new kRe(void 0,{cause:e.signal.reason}))},"abort"),e.signal.aborted)Kd.nextTick(i);else{LE=LE||Di().addAbortListener;let a=LE(e.signal,i),c=r;r=pJ((...l)=>{a[PRe](),c.apply(t,l)})}let s=o((...a)=>{n||Kd.nextTick(()=>r.apply(t,a))},"resolverFn");return HNt(t[JNt].promise,s,s),mJ}o(KNt,"eosWeb");function XNt(t,e){var r;let n=!1;return e===null&&(e=hJ),(r=e)!==null&&r!==void 0&&r.cleanup&&(qNt(e.cleanup,"cleanup"),n=e.cleanup),new GNt((i,s)=>{let a=ORe(t,e,c=>{n&&a(),c?s(c):i()})})}o(XNt,"finished");AJ.exports=ORe;AJ.exports.finished=XNt});var Sm=m((dkr,VRe)=>{"use strict";var Wl=Yd(),{aggregateTwoErrors:ZNt,codes:{ERR_MULTIPLE_CALLBACK:eRt},AbortError:tRt}=cs(),{Symbol:MRe}=Rr(),{kIsDestroyed:rRt,isDestroyed:nRt,isFinished:iRt,isServerRequest:sRt}=$l(),URe=MRe("kDestroy"),gJ=MRe("kConstruct");function qRe(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}o(qRe,"checkError");function oRt(t,e){let r=this._readableState,n=this._writableState,i=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof e=="function"&&e(),this):(qRe(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?LRe(this,t,e):this.once(URe,function(s){LRe(this,ZNt(s,t),e)}),this)}o(oRt,"destroy");function LRe(t,e,r){let n=!1;function i(s){if(n)return;n=!0;let a=t._readableState,c=t._writableState;qRe(s,c,a),c&&(c.closed=!0),a&&(a.closed=!0),typeof r=="function"&&r(s),s?Wl.nextTick(aRt,t,s):Wl.nextTick(GRe,t)}o(i,"onDestroy");try{t._destroy(e||null,i)}catch(s){i(s)}}o(LRe,"_destroy");function aRt(t,e){yJ(t,e),GRe(t)}o(aRt,"emitErrorCloseNT");function GRe(t){let e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(r!=null&&r.emitClose||e!=null&&e.emitClose)&&t.emit("close")}o(GRe,"emitCloseNT");function yJ(t,e){let r=t._readableState,n=t._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}o(yJ,"emitErrorNT");function cRt(){let t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=t.readable===!1,t.endEmitted=t.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}o(cRt,"undestroy");function EJ(t,e,r){let n=t._readableState,i=t._writableState;if(i!=null&&i.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||i!=null&&i.autoDestroy?t.destroy(e):e&&(e.stack,i&&!i.errored&&(i.errored=e),n&&!n.errored&&(n.errored=e),r?Wl.nextTick(yJ,t,e):yJ(t,e))}o(EJ,"errorOrDestroy");function lRt(t,e){if(typeof t._construct!="function")return;let r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(gJ,e),!(t.listenerCount(gJ)>1)&&Wl.nextTick(uRt,t)}o(lRt,"construct");function uRt(t){let e=!1;function r(n){if(e){EJ(t,n??new eRt);return}e=!0;let i=t._readableState,s=t._writableState,a=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),a.destroyed?t.emit(URe,n):n?EJ(t,n,!0):Wl.nextTick(fRt,t)}o(r,"onConstruct");try{t._construct(n=>{Wl.nextTick(r,n)})}catch(n){Wl.nextTick(r,n)}}o(uRt,"constructNT");function fRt(t){t.emit(gJ)}o(fRt,"emitConstructNT");function FRe(t){return t?.setHeader&&typeof t.abort=="function"}o(FRe,"isRequest");function HRe(t){t.emit("close")}o(HRe,"emitCloseLegacy");function dRt(t,e){t.emit("error",e),Wl.nextTick(HRe,t)}o(dRt,"emitErrorCloseLegacy");function hRt(t,e){!t||nRt(t)||(!e&&!iRt(t)&&(e=new tRt),sRt(t)?(t.socket=null,t.destroy(e)):FRe(t)?t.abort():FRe(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?Wl.nextTick(dRt,t,e):Wl.nextTick(HRe,t),t.destroyed||(t[rRt]=!0))}o(hRt,"destroyer");VRe.exports={construct:lRt,destroyer:hRt,destroy:oRt,undestroy:cRt,errorOrDestroy:EJ}});var YQ=m((pkr,jRe)=>{"use strict";var{ArrayIsArray:pRt,ObjectSetPrototypeOf:zRe}=Rr(),{EventEmitter:WQ}=require("events");function JQ(t){WQ.call(this,t)}o(JQ,"Stream");zRe(JQ.prototype,WQ.prototype);zRe(JQ,WQ);JQ.prototype.pipe=function(t,e){let r=this;function n(f){t.writable&&t.write(f)===!1&&r.pause&&r.pause()}o(n,"ondata"),r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}o(i,"ondrain"),t.on("drain",i),!t._isStdio&&(!e||e.end!==!1)&&(r.on("end",a),r.on("close",c));let s=!1;function a(){s||(s=!0,t.end())}o(a,"onend");function c(){s||(s=!0,typeof t.destroy=="function"&&t.destroy())}o(c,"onclose");function l(f){u(),WQ.listenerCount(this,"error")===0&&this.emit("error",f)}o(l,"onerror"),CJ(r,"error",l),CJ(t,"error",l);function u(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",a),r.removeListener("close",c),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return o(u,"cleanup"),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t};function CJ(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):pRt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(CJ,"prependListener");jRe.exports={Stream:JQ,prependListener:CJ}});var LS=m((Akr,KQ)=>{"use strict";var{SymbolDispose:mRt}=Rr(),{AbortError:$Re,codes:ARt}=cs(),{isNodeStream:WRe,isWebStream:gRt,kControllerErrorFunction:yRt}=$l(),ERt=Cf(),{ERR_INVALID_ARG_TYPE:JRe}=ARt,bJ,CRt=o((t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new JRe(e,"AbortSignal",t)},"validateAbortSignal");KQ.exports.addAbortSignal=o(function(e,r){if(CRt(e,"signal"),!WRe(r)&&!gRt(r))throw new JRe("stream",["ReadableStream","WritableStream","Stream"],r);return KQ.exports.addAbortSignalNoValidate(e,r)},"addAbortSignal");KQ.exports.addAbortSignalNoValidate=function(t,e){if(typeof t!="object"||!("aborted"in t))return e;let r=WRe(e)?()=>{e.destroy(new $Re(void 0,{cause:t.reason}))}:()=>{e[yRt](new $Re(void 0,{cause:t.reason}))};if(t.aborted)r();else{bJ=bJ||Di().addAbortListener;let n=bJ(t,r);ERt(e,n[mRt])}return e}});var XRe=m((Ekr,KRe)=>{"use strict";var{StringPrototypeSlice:YRe,SymbolIterator:bRt,TypedArrayPrototypeSet:XQ,Uint8Array:wRt}=Rr(),{Buffer:wJ}=require("buffer"),{inspect:IRt}=Di();KRe.exports=class{static{o(this,"BufferList")}constructor(){this.head=null,this.tail=null,this.length=0}push(e){let r={data:e,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(e){let r={data:e,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;let e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=e+r.data;return n}concat(e){if(this.length===0)return wJ.alloc(0);let r=wJ.allocUnsafe(e>>>0),n=this.head,i=0;for(;n;)XQ(r,n.data,i),i+=n.data.length,n=n.next;return r}consume(e,r){let n=this.head.data;if(es.length)r+=s,e-=s.length;else{e===s.length?(r+=s,++i,n.next?this.head=n.next:this.head=this.tail=null):(r+=YRe(s,0,e),this.head=n,n.data=YRe(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){let r=wJ.allocUnsafe(e),n=e,i=this.head,s=0;do{let a=i.data;if(e>a.length)XQ(r,a,n-e),e-=a.length;else{e===a.length?(XQ(r,a,n-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(XQ(r,new wRt(a.buffer,a.byteOffset,e),n-e),this.head=i,i.data=a.slice(e));break}++s}while((i=i.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](e,r){return IRt(this,{...r,depth:0,customInspect:!1})}}});var FS=m((bkr,rTe)=>{"use strict";var{MathFloor:SRt,NumberIsInteger:BRt}=Rr(),{validateInteger:vRt}=OE(),{ERR_INVALID_ARG_VALUE:xRt}=cs().codes,ZRe=16*1024,eTe=16;function _Rt(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}o(_Rt,"highWaterMarkFrom");function tTe(t){return t?eTe:ZRe}o(tTe,"getDefaultHighWaterMark");function NRt(t,e){vRt(e,"value",0),t?eTe=e:ZRe=e}o(NRt,"setDefaultHighWaterMark");function RRt(t,e,r,n){let i=_Rt(e,n,r);if(i!=null){if(!BRt(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new xRt(s,i)}return SRt(i)}return tTe(t.objectMode)}o(RRt,"getHighWaterMark");rTe.exports={getHighWaterMark:RRt,getDefaultHighWaterMark:tTe,setDefaultHighWaterMark:NRt}});var IJ=m((Ikr,oTe)=>{"use strict";var nTe=Yd(),{PromisePrototypeThen:TRt,SymbolAsyncIterator:iTe,SymbolIterator:sTe}=Rr(),{Buffer:DRt}=require("buffer"),{ERR_INVALID_ARG_TYPE:QRt,ERR_STREAM_NULL_VALUES:kRt}=cs().codes;function PRt(t,e,r){let n;if(typeof e=="string"||e instanceof DRt)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[iTe])i=!0,n=e[iTe]();else if(e&&e[sTe])i=!1,n=e[sTe]();else throw new QRt("iterable",["Iterable"],e);let s=new t({objectMode:!0,highWaterMark:1,...r}),a=!1;s._read=function(){a||(a=!0,l())},s._destroy=function(u,f){TRt(c(u),()=>nTe.nextTick(f,u),d=>nTe.nextTick(f,d||u))};async function c(u){let f=u!=null,d=typeof n.throw=="function";if(f&&d){let{value:h,done:p}=await n.throw(u);if(await h,p)return}if(typeof n.return=="function"){let{value:h}=await n.return();await h}}o(c,"close");async function l(){for(;;){try{let{value:u,done:f}=i?await n.next():n.next();if(f)s.push(null);else{let d=u&&typeof u.then=="function"?await u:u;if(d===null)throw a=!1,new kRt;if(s.push(d))continue;a=!1}}catch(u){s.destroy(u)}break}}return o(l,"next"),s}o(PRt,"from");oTe.exports=PRt});var US=m((Bkr,STe)=>{var Cc=Yd(),{ArrayPrototypeIndexOf:ORt,NumberIsInteger:LRt,NumberIsNaN:FRt,NumberParseInt:MRt,ObjectDefineProperties:TJ,ObjectKeys:URt,ObjectSetPrototypeOf:lTe,Promise:uTe,SafeSet:qRt,SymbolAsyncDispose:GRt,SymbolAsyncIterator:HRt,Symbol:VRt}=Rr();STe.exports=ot;ot.ReadableState=rk;var{EventEmitter:zRt}=require("events"),{Stream:Xd,prependListener:jRt}=YQ(),{Buffer:SJ}=require("buffer"),{addAbortSignal:$Rt}=LS(),fTe=Cf(),Et=Di().debuglog("stream",t=>{Et=t}),WRt=XRe(),UE=Sm(),{getHighWaterMark:JRt,getDefaultHighWaterMark:YRt}=FS(),{aggregateTwoErrors:aTe,codes:{ERR_INVALID_ARG_TYPE:KRt,ERR_METHOD_NOT_IMPLEMENTED:XRt,ERR_OUT_OF_RANGE:ZRt,ERR_STREAM_PUSH_AFTER_EOF:eTt,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:tTt},AbortError:rTt}=cs(),{validateObject:nTt}=OE(),Bm=VRt("kPaused"),{StringDecoder:dTe}=require("string_decoder"),iTt=IJ();lTe(ot.prototype,Xd.prototype);lTe(ot,Xd);var BJ=o(()=>{},"nop"),{errorOrDestroy:FE}=UE,ME=1,sTt=2,hTe=4,MS=8,pTe=16,ZQ=32,ek=64,mTe=128,oTt=256,aTt=512,cTt=1024,NJ=2048,RJ=4096,lTt=8192,uTt=16384,fTt=32768,ATe=65536,dTt=1<<17,hTt=1<<18;function Mn(t){return{enumerable:!1,get(){return(this.state&t)!==0},set(e){e?this.state|=t:this.state&=~t}}}o(Mn,"makeBitMapDescriptor");TJ(rk.prototype,{objectMode:Mn(ME),ended:Mn(sTt),endEmitted:Mn(hTe),reading:Mn(MS),constructed:Mn(pTe),sync:Mn(ZQ),needReadable:Mn(ek),emittedReadable:Mn(mTe),readableListening:Mn(oTt),resumeScheduled:Mn(aTt),errorEmitted:Mn(cTt),emitClose:Mn(NJ),autoDestroy:Mn(RJ),destroyed:Mn(lTt),closed:Mn(uTt),closeEmitted:Mn(fTt),multiAwaitDrain:Mn(ATe),readingMore:Mn(dTt),dataEmitted:Mn(hTt)});function rk(t,e,r){typeof r!="boolean"&&(r=e instanceof Jl()),this.state=NJ|RJ|pTe|ZQ,t&&t.objectMode&&(this.state|=ME),r&&t&&t.readableObjectMode&&(this.state|=ME),this.highWaterMark=t?JRt(this,t,"readableHighWaterMark",r):YRt(!1),this.buffer=new WRt,this.length=0,this.pipes=[],this.flowing=null,this[Bm]=null,t&&t.emitClose===!1&&(this.state&=~NJ),t&&t.autoDestroy===!1&&(this.state&=~RJ),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new dTe(t.encoding),this.encoding=t.encoding)}o(rk,"ReadableState");function ot(t){if(!(this instanceof ot))return new ot(t);let e=this instanceof Jl();this._readableState=new rk(t,this,e),t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&!e&&$Rt(t.signal,this)),Xd.call(this,t),UE.construct(this,()=>{this._readableState.needReadable&&tk(this,this._readableState)})}o(ot,"Readable");ot.prototype.destroy=UE.destroy;ot.prototype._undestroy=UE.undestroy;ot.prototype._destroy=function(t,e){e(t)};ot.prototype[zRt.captureRejectionSymbol]=function(t){this.destroy(t)};ot.prototype[GRt]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new rTt,this.destroy(t)),new uTe((e,r)=>fTe(this,n=>n&&n!==t?r(n):e(null)))};ot.prototype.push=function(t,e){return gTe(this,t,e,!1)};ot.prototype.unshift=function(t,e){return gTe(this,t,e,!0)};function gTe(t,e,r,n){Et("readableAddChunk",e);let i=t._readableState,s;if((i.state&ME)===0&&(typeof e=="string"?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=SJ.from(e,r).toString(i.encoding):(e=SJ.from(e,r),r=""))):e instanceof SJ?r="":Xd._isUint8Array(e)?(e=Xd._uint8ArrayToBuffer(e),r=""):e!=null&&(s=new KRt("chunk",["string","Buffer","Uint8Array"],e))),s)FE(t,s);else if(e===null)i.state&=~MS,ATt(t,i);else if((i.state&ME)!==0||e&&e.length>0)if(n)if((i.state&hTe)!==0)FE(t,new tTt);else{if(i.destroyed||i.errored)return!1;vJ(t,i,e,!0)}else if(i.ended)FE(t,new eTt);else{if(i.destroyed||i.errored)return!1;i.state&=~MS,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?vJ(t,i,e,!1):tk(t,i)):vJ(t,i,e,!1)}else n||(i.state&=~MS,tk(t,i));return!i.ended&&(i.length0?((e.state&ATe)!==0?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),(e.state&ek)!==0&&nk(t)),tk(t,e)}o(vJ,"addChunk");ot.prototype.isPaused=function(){let t=this._readableState;return t[Bm]===!0||t.flowing===!1};ot.prototype.setEncoding=function(t){let e=new dTe(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,n="";for(let i of r)n+=e.write(i);return r.clear(),n!==""&&r.push(n),this._readableState.length=n.length,this};var pTt=1073741824;function mTt(t){if(t>pTt)throw new ZRt("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}o(mTt,"computeNewHighWaterMark");function cTe(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&ME)!==0?1:FRt(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}o(cTe,"howMuchToRead");ot.prototype.read=function(t){Et("read",t),t===void 0?t=NaN:LRt(t)||(t=MRt(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=mTt(t)),t!==0&&(e.state&=~mTe),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Et("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?xJ(this):nk(this),null;if(t=cTe(t,e),t===0&&e.ended)return e.length===0&&xJ(this),null;let n=(e.state&ek)!==0;if(Et("need readable",n),(e.length===0||e.length-t0?i=wTe(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&xJ(this)),i!==null&&!e.errorEmitted&&!e.closeEmitted&&(e.dataEmitted=!0,this.emit("data",i)),i};function ATt(t,e){if(Et("onEofChunk"),!e.ended){if(e.decoder){let r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?nk(t):(e.needReadable=!1,e.emittedReadable=!0,yTe(t))}}o(ATt,"onEofChunk");function nk(t){let e=t._readableState;Et("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Et("emitReadable",e.flowing),e.emittedReadable=!0,Cc.nextTick(yTe,t))}o(nk,"emitReadable");function yTe(t){let e=t._readableState;Et("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&!e.errored&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,CTe(t)}o(yTe,"emitReadable_");function tk(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,Cc.nextTick(gTt,t,e))}o(tk,"maybeReadMore");function gTt(t,e){for(;!e.reading&&!e.ended&&(e.length1&&n.pipes.includes(t)&&(Et("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),l||(l=yTt(r,t),t.on("drain",l))}o(d,"pause"),r.on("data",h);function h(y){Et("ondata");let C=t.write(y);Et("dest.write",C),C===!1&&d()}o(h,"ondata");function p(y){if(Et("onerror",y),E(),t.removeListener("error",p),t.listenerCount("error")===0){let C=t._writableState||t._readableState;C&&!C.errorEmitted?FE(t,y):t.emit("error",y)}}o(p,"onerror"),jRt(t,"error",p);function A(){t.removeListener("finish",g),E()}o(A,"onclose"),t.once("close",A);function g(){Et("onfinish"),t.removeListener("close",A),E()}o(g,"onfinish"),t.once("finish",g);function E(){Et("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),t.writableNeedDrain===!0?d():n.flowing||(Et("pipe resume"),r.resume()),t};function yTt(t,e){return o(function(){let n=t._readableState;n.awaitDrainWriters===e?(Et("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(Et("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(e)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&t.listenerCount("data")&&t.resume()},"pipeOnDrainFunctionResult")}o(yTt,"pipeOnDrain");ot.prototype.unpipe=function(t){let e=this._readableState,r={hasUnpiped:!1};if(e.pipes.length===0)return this;if(!t){let i=e.pipes;e.pipes=[],this.pause();for(let s=0;s0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,Et("on readable",n.length,n.reading),n.length?nk(this):n.reading||Cc.nextTick(ETt,this)),r};ot.prototype.addListener=ot.prototype.on;ot.prototype.removeListener=function(t,e){let r=Xd.prototype.removeListener.call(this,t,e);return t==="readable"&&Cc.nextTick(ETe,this),r};ot.prototype.off=ot.prototype.removeListener;ot.prototype.removeAllListeners=function(t){let e=Xd.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&Cc.nextTick(ETe,this),e};function ETe(t){let e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&e[Bm]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}o(ETe,"updateReadableListening");function ETt(t){Et("readable nexttick read 0"),t.read(0)}o(ETt,"nReadingNextTick");ot.prototype.resume=function(){let t=this._readableState;return t.flowing||(Et("resume"),t.flowing=!t.readableListening,CTt(this,t)),t[Bm]=!1,this};function CTt(t,e){e.resumeScheduled||(e.resumeScheduled=!0,Cc.nextTick(bTt,t,e))}o(CTt,"resume");function bTt(t,e){Et("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),CTe(t),e.flowing&&!e.reading&&t.read(0)}o(bTt,"resume_");ot.prototype.pause=function(){return Et("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Et("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[Bm]=!0,this};function CTe(t){let e=t._readableState;for(Et("flow",e.flowing);e.flowing&&t.read()!==null;);}o(CTe,"flow");ot.prototype.wrap=function(t){let e=!1;t.on("data",n=>{!this.push(n)&&t.pause&&(e=!0,t.pause())}),t.on("end",()=>{this.push(null)}),t.on("error",n=>{FE(this,n)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};let r=URt(t);for(let n=1;n{i=a?aTe(i,a):null,r(),r=BJ});try{for(;;){let a=t.destroyed?null:t.read();if(a!==null)yield a;else{if(i)throw i;if(i===null)return;await new uTe(n)}}}catch(a){throw i=aTe(i,a),i}finally{(i||e?.destroyOnReturn!==!1)&&(i===void 0||t._readableState.autoDestroy)?UE.destroyer(t,null):(t.off("readable",n),s())}}o(wTt,"createAsyncIterator");TJ(ot.prototype,{readable:{__proto__:null,get(){let t=this._readableState;return!!t&&t.readable!==!1&&!t.destroyed&&!t.errorEmitted&&!t.endEmitted},set(t){this._readableState&&(this._readableState.readable=!!t)}},readableDidRead:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.dataEmitted},"get")},readableAborted:{__proto__:null,enumerable:!1,get:o(function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)},"get")},readableHighWaterMark:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.highWaterMark},"get")},readableBuffer:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState&&this._readableState.buffer},"get")},readableFlowing:{__proto__:null,enumerable:!1,get:o(function(){return this._readableState.flowing},"get"),set:o(function(t){this._readableState&&(this._readableState.flowing=t)},"set")},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});TJ(rk.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Bm]!==!1},set(t){this[Bm]=!!t}}});ot._fromList=wTe;function wTe(t,e){if(e.length===0)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}o(wTe,"fromList");function xJ(t){let e=t._readableState;Et("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,Cc.nextTick(ITt,e,t))}o(xJ,"endReadable");function ITt(t,e){if(Et("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&t.length===0){if(t.endEmitted=!0,e.emit("end"),e.writable&&e.allowHalfOpen===!1)Cc.nextTick(STt,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}o(ITt,"endReadableNT");function STt(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}o(STt,"endWritableNT");ot.from=function(t,e){return iTt(ot,t,e)};var _J;function ITe(){return _J===void 0&&(_J={}),_J}o(ITe,"lazyWebStreams");ot.fromWeb=function(t,e){return ITe().newStreamReadableFromReadableStream(t,e)};ot.toWeb=function(t,e){return ITe().newReadableStreamFromStreamReadable(t,e)};ot.wrap=function(t,e){var r,n;return new ot({objectMode:(r=(n=t.readableObjectMode)!==null&&n!==void 0?n:t.objectMode)!==null&&r!==void 0?r:!0,...e,destroy(i,s){UE.destroyer(t,i),s(i)}}).wrap(t)}});var ck=m((xkr,OTe)=>{var vm=Yd(),{ArrayPrototypeSlice:xTe,Error:BTt,FunctionPrototypeSymbolHasInstance:_Te,ObjectDefineProperty:NTe,ObjectDefineProperties:vTt,ObjectSetPrototypeOf:RTe,StringPrototypeToLowerCase:xTt,Symbol:_Tt,SymbolHasInstance:NTt}=Rr();OTe.exports=Tr;Tr.WritableState=HS;var{EventEmitter:RTt}=require("events"),qS=YQ().Stream,{Buffer:ik}=require("buffer"),ak=Sm(),{addAbortSignal:TTt}=LS(),{getHighWaterMark:DTt,getDefaultHighWaterMark:QTt}=FS(),{ERR_INVALID_ARG_TYPE:kTt,ERR_METHOD_NOT_IMPLEMENTED:PTt,ERR_MULTIPLE_CALLBACK:TTe,ERR_STREAM_CANNOT_PIPE:OTt,ERR_STREAM_DESTROYED:GS,ERR_STREAM_ALREADY_FINISHED:LTt,ERR_STREAM_NULL_VALUES:FTt,ERR_STREAM_WRITE_AFTER_END:MTt,ERR_UNKNOWN_ENCODING:DTe}=cs().codes,{errorOrDestroy:qE}=ak;RTe(Tr.prototype,qS.prototype);RTe(Tr,qS);function kJ(){}o(kJ,"nop");var GE=_Tt("kOnFinished");function HS(t,e,r){typeof r!="boolean"&&(r=e instanceof Jl()),this.objectMode=!!(t&&t.objectMode),r&&(this.objectMode=this.objectMode||!!(t&&t.writableObjectMode)),this.highWaterMark=t?DTt(this,t,"writableHighWaterMark",r):QTt(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let n=!!(t&&t.decodeStrings===!1);this.decodeStrings=!n,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=qTt.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ok(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||t.emitClose!==!1,this.autoDestroy=!t||t.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[GE]=[]}o(HS,"WritableState");function ok(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}o(ok,"resetBuffer");HS.prototype.getBuffer=o(function(){return xTe(this.buffered,this.bufferedIndex)},"getBuffer");NTe(HS.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Tr(t){let e=this instanceof Jl();if(!e&&!_Te(Tr,this))return new Tr(t);this._writableState=new HS(t,this,e),t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final),typeof t.construct=="function"&&(this._construct=t.construct),t.signal&&TTt(t.signal,this)),qS.call(this,t),ak.construct(this,()=>{let r=this._writableState;r.writing||OJ(this,r),LJ(this,r)})}o(Tr,"Writable");NTe(Tr,NTt,{__proto__:null,value:o(function(t){return _Te(this,t)?!0:this!==Tr?!1:t&&t._writableState instanceof HS},"value")});Tr.prototype.pipe=function(){qE(this,new OTt)};function QTe(t,e,r,n){let i=t._writableState;if(typeof r=="function")n=r,r=i.defaultEncoding;else{if(!r)r=i.defaultEncoding;else if(r!=="buffer"&&!ik.isEncoding(r))throw new DTe(r);typeof n!="function"&&(n=kJ)}if(e===null)throw new FTt;if(!i.objectMode)if(typeof e=="string")i.decodeStrings!==!1&&(e=ik.from(e,r),r="buffer");else if(e instanceof ik)r="buffer";else if(qS._isUint8Array(e))e=qS._uint8ArrayToBuffer(e),r="buffer";else throw new kTt("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new MTt:i.destroyed&&(s=new GS("write")),s?(vm.nextTick(n,s),qE(t,s,!0),s):(i.pendingcb++,UTt(t,i,e,r,n))}o(QTe,"_write");Tr.prototype.write=function(t,e,r){return QTe(this,t,e,r)===!0};Tr.prototype.cork=function(){this._writableState.corked++};Tr.prototype.uncork=function(){let t=this._writableState;t.corked&&(t.corked--,t.writing||OJ(this,t))};Tr.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=xTt(e)),!ik.isEncoding(e))throw new DTe(e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function UTt(t,e,r,n,i){let s=e.objectMode?1:r.length;e.length+=s;let a=e.lengthr.bufferedIndex&&OJ(t,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:t,state:r},vm.nextTick(GTt,r.afterWriteTickInfo)):kTe(t,r,1,i))}o(qTt,"onwrite");function GTt({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,kTe(t,e,r,n)}o(GTt,"afterWriteTick");function kTe(t,e,r,n){for(!e.ending&&!t.destroyed&&e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,n();e.destroyed&&PJ(e),LJ(t,e)}o(kTe,"afterWrite");function PJ(t){if(t.writing)return;for(let i=t.bufferedIndex;i1&&t._writev){e.pendingcb-=s-1;let c=e.allNoop?kJ:u=>{for(let f=a;f256?(r.splice(0,a),e.bufferedIndex=0):e.bufferedIndex=a}e.bufferProcessing=!1}o(OJ,"clearBuffer");Tr.prototype._write=function(t,e,r){if(this._writev)this._writev([{chunk:t,encoding:e}],r);else throw new PTt("_write()")};Tr.prototype._writev=null;Tr.prototype.end=function(t,e,r){let n=this._writableState;typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null);let i;if(t!=null){let s=QTe(this,t,e);s instanceof BTt&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,LJ(this,n,!0),n.ended=!0):n.finished?i=new LTt("end"):n.destroyed&&(i=new GS("end"))),typeof r=="function"&&(i||n.finished?vm.nextTick(r,i):n[GE].push(r)),this};function sk(t){return t.ending&&!t.destroyed&&t.constructed&&t.length===0&&!t.errored&&t.buffered.length===0&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}o(sk,"needFinish");function HTt(t,e){let r=!1;function n(i){if(r){qE(t,i??TTe());return}if(r=!0,e.pendingcb--,i){let s=e[GE].splice(0);for(let a=0;a{sk(i)?QJ(n,i):i.pendingcb--},t,e)):sk(e)&&(e.pendingcb++,QJ(t,e))))}o(LJ,"finishMaybe");function QJ(t,e){e.pendingcb--,e.finished=!0;let r=e[GE].splice(0);for(let n=0;n{var FJ=Yd(),jTt=require("buffer"),{isReadable:$Tt,isWritable:WTt,isIterable:LTe,isNodeStream:JTt,isReadableNodeStream:FTe,isWritableNodeStream:MTe,isDuplexNodeStream:YTt,isReadableStream:UTe,isWritableStream:qTe}=$l(),GTe=Cf(),{AbortError:WTe,codes:{ERR_INVALID_ARG_TYPE:KTt,ERR_INVALID_RETURN_VALUE:HTe}}=cs(),{destroyer:VE}=Sm(),XTt=Jl(),JTe=US(),ZTt=ck(),{createDeferredPromise:VTe}=Di(),zTe=IJ(),jTe=globalThis.Blob||jTt.Blob,eDt=o(typeof jTe<"u"?function(e){return e instanceof jTe}:function(e){return!1},"isBlob"),tDt=globalThis.AbortController||kE().AbortController,{FunctionPrototypeCall:$Te}=Rr(),Zd=class extends XTt{static{o(this,"Duplexify")}constructor(e){super(e),e?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),e?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};YTe.exports=o(function t(e,r){if(YTt(e))return e;if(FTe(e))return HE({readable:e});if(MTe(e))return HE({writable:e});if(JTt(e))return HE({writable:!1,readable:!1});if(UTe(e))return HE({readable:JTe.fromWeb(e)});if(qTe(e))return HE({writable:ZTt.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:a,destroy:c}=rDt(e);if(LTe(i))return zTe(Zd,i,{objectMode:!0,write:s,final:a,destroy:c});let l=i?.then;if(typeof l=="function"){let u,f=$Te(l,i,d=>{if(d!=null)throw new HTe("nully","body",d)},d=>{VE(u,d)});return u=new Zd({objectMode:!0,readable:!1,write:s,final(d){a(async()=>{try{await f,FJ.nextTick(d,null)}catch(h){FJ.nextTick(d,h)}})},destroy:c})}throw new HTe("Iterable, AsyncIterable or AsyncFunction",r,i)}if(eDt(e))return t(e.arrayBuffer());if(LTe(e))return zTe(Zd,e,{objectMode:!0,writable:!1});if(UTe(e?.readable)&&qTe(e?.writable))return Zd.fromWeb(e);if(typeof e?.writable=="object"||typeof e?.readable=="object"){let i=e!=null&&e.readable?FTe(e?.readable)?e?.readable:t(e.readable):void 0,s=e!=null&&e.writable?MTe(e?.writable)?e?.writable:t(e.writable):void 0;return HE({readable:i,writable:s})}let n=e?.then;if(typeof n=="function"){let i;return $Te(n,e,s=>{s!=null&&i.push(s),i.push(null)},s=>{VE(i,s)}),i=new Zd({objectMode:!0,writable:!1,read(){}})}throw new KTt(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)},"duplexify");function rDt(t){let{promise:e,resolve:r}=VTe(),n=new tDt,i=n.signal;return{value:t((async function*(){for(;;){let a=e;e=null;let{chunk:c,done:l,cb:u}=await a;if(FJ.nextTick(u),l)return;if(i.aborted)throw new WTe(void 0,{cause:i.reason});({promise:e,resolve:r}=VTe()),yield c}})(),{signal:i}),write(a,c,l){let u=r;r=null,u({chunk:a,done:!1,cb:l})},final(a){let c=r;r=null,c({done:!0,cb:a})},destroy(a,c){n.abort(),c(a)}}}o(rDt,"fromAsyncGen");function HE(t){let e=t.readable&&typeof t.readable.read!="function"?JTe.wrap(t.readable):t.readable,r=t.writable,n=!!$Tt(e),i=!!WTt(r),s,a,c,l,u;function f(d){let h=l;l=null,h?h(d):d&&u.destroy(d)}return o(f,"onfinished"),u=new Zd({readableObjectMode:!!(e!=null&&e.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(GTe(r,d=>{i=!1,d&&VE(e,d),f(d)}),u._write=function(d,h,p){r.write(d,h)?p():s=p},u._final=function(d){r.end(),a=d},r.on("drain",function(){if(s){let d=s;s=null,d()}}),r.on("finish",function(){if(a){let d=a;a=null,d()}})),n&&(GTe(e,d=>{n=!1,d&&VE(e,d),f(d)}),e.on("readable",function(){if(c){let d=c;c=null,d()}}),e.on("end",function(){u.push(null)}),u._read=function(){for(;;){let d=e.read();if(d===null){c=u._read;return}if(!u.push(d))return}}),u._destroy=function(d,h){!d&&l!==null&&(d=new WTe),c=null,s=null,a=null,l===null?h(d):(l=h,VE(r,d),VE(e,d))},u}o(HE,"_duplexify")});var Jl=m((Tkr,eDe)=>{"use strict";var{ObjectDefineProperties:nDt,ObjectGetOwnPropertyDescriptor:bf,ObjectKeys:iDt,ObjectSetPrototypeOf:XTe}=Rr();eDe.exports=bc;var qJ=US(),Sa=ck();XTe(bc.prototype,qJ.prototype);XTe(bc,qJ);{let t=iDt(Sa.prototype);for(let e=0;e{"use strict";var{ObjectSetPrototypeOf:tDe,Symbol:sDt}=Rr();rDe.exports=wf;var{ERR_METHOD_NOT_IMPLEMENTED:oDt}=cs().codes,HJ=Jl(),{getHighWaterMark:aDt}=FS();tDe(wf.prototype,HJ.prototype);tDe(wf,HJ);var VS=sDt("kCallback");function wf(t){if(!(this instanceof wf))return new wf(t);let e=t?aDt(this,t,"readableHighWaterMark",!0):null;e===0&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),HJ.call(this,t),this._readableState.sync=!1,this[VS]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",cDt)}o(wf,"Transform");function GJ(t){typeof this._flush=="function"&&!this.destroyed?this._flush((e,r)=>{if(e){t?t(e):this.destroy(e);return}r!=null&&this.push(r),this.push(null),t&&t()}):(this.push(null),t&&t())}o(GJ,"final");function cDt(){this._final!==GJ&&GJ.call(this)}o(cDt,"prefinish");wf.prototype._final=GJ;wf.prototype._transform=function(t,e,r){throw new oDt("_transform()")};wf.prototype._write=function(t,e,r){let n=this._readableState,i=this._writableState,s=n.length;this._transform(t,e,(a,c)=>{if(a){r(a);return}c!=null&&this.push(c),i.ended||s===n.length||n.length{"use strict";var{ObjectSetPrototypeOf:nDe}=Rr();iDe.exports=zE;var zJ=VJ();nDe(zE.prototype,zJ.prototype);nDe(zE,zJ);function zE(t){if(!(this instanceof zE))return new zE(t);zJ.call(this,t)}o(zE,"PassThrough");zE.prototype._transform=function(t,e,r){r(null,t)}});var dk=m((Lkr,lDe)=>{var zS=Yd(),{ArrayIsArray:lDt,Promise:uDt,SymbolAsyncIterator:fDt,SymbolDispose:dDt}=Rr(),fk=Cf(),{once:hDt}=Di(),pDt=Sm(),sDe=Jl(),{aggregateTwoErrors:mDt,codes:{ERR_INVALID_ARG_TYPE:tY,ERR_INVALID_RETURN_VALUE:$J,ERR_MISSING_ARGS:ADt,ERR_STREAM_DESTROYED:gDt,ERR_STREAM_PREMATURE_CLOSE:yDt},AbortError:EDt}=cs(),{validateFunction:CDt,validateAbortSignal:bDt}=OE(),{isIterable:xm,isReadable:WJ,isReadableNodeStream:uk,isNodeStream:oDe,isTransformStream:jE,isWebStream:wDt,isReadableStream:JJ,isReadableFinished:IDt}=$l(),SDt=globalThis.AbortController||kE().AbortController,YJ,KJ,XJ;function aDe(t,e,r){let n=!1;t.on("close",()=>{n=!0});let i=fk(t,{readable:e,writable:r},s=>{n=!s});return{destroy:o(s=>{n||(n=!0,pDt.destroyer(t,s||new gDt("pipe")))},"destroy"),cleanup:i}}o(aDe,"destroyer");function BDt(t){return CDt(t[t.length-1],"streams[stream.length - 1]"),t.pop()}o(BDt,"popCallback");function ZJ(t){if(xm(t))return t;if(uk(t))return vDt(t);throw new tY("val",["Readable","Iterable","AsyncIterable"],t)}o(ZJ,"makeAsyncIterable");async function*vDt(t){KJ||(KJ=US()),yield*KJ.prototype[fDt].call(t)}o(vDt,"fromReadable");async function lk(t,e,r,{end:n}){let i,s=null,a=o(u=>{if(u&&(i=u),s){let f=s;s=null,f()}},"resume"),c=o(()=>new uDt((u,f)=>{i?f(i):s=o(()=>{i?f(i):u()},"onresolve")}),"wait");e.on("drain",a);let l=fk(e,{readable:!1},a);try{e.writableNeedDrain&&await c();for await(let u of t)e.write(u)||await c();n&&(e.end(),await c()),r()}catch(u){r(i!==u?mDt(i,u):u)}finally{l(),e.off("drain",a)}}o(lk,"pumpToNode");async function eY(t,e,r,{end:n}){jE(e)&&(e=e.writable);let i=e.getWriter();try{for await(let s of t)await i.ready,i.write(s).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(s){try{await i.abort(s),r(s)}catch(a){r(a)}}}o(eY,"pumpToWeb");function xDt(...t){return cDe(t,hDt(BDt(t)))}o(xDt,"pipeline");function cDe(t,e,r){if(t.length===1&&lDt(t[0])&&(t=t[0]),t.length<2)throw new ADt("streams");let n=new SDt,i=n.signal,s=r?.signal,a=[];bDt(s,"options.signal");function c(){A(new EDt)}o(c,"abort"),XJ=XJ||Di().addAbortListener;let l;s&&(l=XJ(s,c));let u,f,d=[],h=0;function p(w){A(w,--h===0)}o(p,"finish");function A(w,S){var Q;if(w&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=w),!(!u&&!S)){for(;d.length;)d.shift()(u);(Q=l)===null||Q===void 0||Q[dDt](),n.abort(),S&&(u||a.forEach(F=>F()),zS.nextTick(e,u,f))}}o(A,"finishImpl");let g;for(let w=0;w0,x=Q||r?.end!==!1,j=w===t.length-1;if(oDe(S)){let T=function(q){q&&q.name!=="AbortError"&&q.code!=="ERR_STREAM_PREMATURE_CLOSE"&&p(q)};var C=T;if(o(T,"onError"),x){let{destroy:q,cleanup:H}=aDe(S,Q,F);d.push(q),WJ(S)&&j&&a.push(H)}S.on("error",T),WJ(S)&&j&&a.push(()=>{S.removeListener("error",T)})}if(w===0)if(typeof S=="function"){if(g=S({signal:i}),!xm(g))throw new $J("Iterable, AsyncIterable or Stream","source",g)}else xm(S)||uk(S)||jE(S)?g=S:g=sDe.from(S);else if(typeof S=="function"){if(jE(g)){var E;g=ZJ((E=g)===null||E===void 0?void 0:E.readable)}else g=ZJ(g);if(g=S(g,{signal:i}),Q){if(!xm(g,!0))throw new $J("AsyncIterable",`transform[${w-1}]`,g)}else{var y;YJ||(YJ=jJ());let T=new YJ({objectMode:!0}),q=(y=g)===null||y===void 0?void 0:y.then;if(typeof q=="function")h++,q.call(g,ee=>{f=ee,ee!=null&&T.write(ee),x&&T.end(),zS.nextTick(p)},ee=>{T.destroy(ee),zS.nextTick(p,ee)});else if(xm(g,!0))h++,lk(g,T,p,{end:x});else if(JJ(g)||jE(g)){let ee=g.readable||g;h++,lk(ee,T,p,{end:x})}else throw new $J("AsyncIterable or Promise","destination",g);g=T;let{destroy:H,cleanup:W}=aDe(g,!1,!0);d.push(H),j&&a.push(W)}}else if(oDe(S)){if(uk(g)){h+=2;let T=_Dt(g,S,p,{end:x});WJ(S)&&j&&a.push(T)}else if(jE(g)||JJ(g)){let T=g.readable||g;h++,lk(T,S,p,{end:x})}else if(xm(g))h++,lk(g,S,p,{end:x});else throw new tY("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=S}else if(wDt(S)){if(uk(g))h++,eY(ZJ(g),S,p,{end:x});else if(JJ(g)||xm(g))h++,eY(g,S,p,{end:x});else if(jE(g))h++,eY(g.readable,S,p,{end:x});else throw new tY("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=S}else g=sDe.from(S)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&zS.nextTick(c),g}o(cDe,"pipelineImpl");function _Dt(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new yDt)}),t.pipe(e,{end:!1}),n){let a=function(){i=!0,e.end()};var s=a;o(a,"endFn"),IDt(t)?zS.nextTick(a):t.once("end",a)}else r();return fk(t,{readable:!0,writable:!1},a=>{let c=t._readableState;a&&a.code==="ERR_STREAM_PREMATURE_CLOSE"&&c&&c.ended&&!c.errored&&!c.errorEmitted?t.once("end",r).once("error",r):r(a)}),fk(e,{readable:!1,writable:!0},r)}o(_Dt,"pipe");lDe.exports={pipelineImpl:cDe,pipeline:xDt}});var nY=m((Mkr,mDe)=>{"use strict";var{pipeline:NDt}=dk(),hk=Jl(),{destroyer:RDt}=Sm(),{isNodeStream:pk,isReadable:uDe,isWritable:fDe,isWebStream:rY,isTransformStream:_m,isWritableStream:dDe,isReadableStream:hDe}=$l(),{AbortError:TDt,codes:{ERR_INVALID_ARG_VALUE:pDe,ERR_MISSING_ARGS:DDt}}=cs(),QDt=Cf();mDe.exports=o(function(...e){if(e.length===0)throw new DDt("streams");if(e.length===1)return hk.from(e[0]);let r=[...e];if(typeof e[0]=="function"&&(e[0]=hk.from(e[0])),typeof e[e.length-1]=="function"){let p=e.length-1;e[p]=hk.from(e[p])}for(let p=0;p0&&!(fDe(e[p])||dDe(e[p])||_m(e[p])))throw new pDe(`streams[${p}]`,r[p],"must be writable")}let n,i,s,a,c;function l(p){let A=a;a=null,A?A(p):p?c.destroy(p):!h&&!d&&c.destroy()}o(l,"onfinished");let u=e[0],f=NDt(e,l),d=!!(fDe(u)||dDe(u)||_m(u)),h=!!(uDe(f)||hDe(f)||_m(f));if(c=new hk({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(f!=null&&f.readableObjectMode),writable:d,readable:h}),d){if(pk(u))c._write=function(A,g,E){u.write(A,g)?E():n=E},c._final=function(A){u.end(),i=A},u.on("drain",function(){if(n){let A=n;n=null,A()}});else if(rY(u)){let g=(_m(u)?u.writable:u).getWriter();c._write=async function(E,y,C){try{await g.ready,g.write(E).catch(()=>{}),C()}catch(w){C(w)}},c._final=async function(E){try{await g.ready,g.close().catch(()=>{}),i=E}catch(y){E(y)}}}let p=_m(f)?f.readable:f;QDt(p,()=>{if(i){let A=i;i=null,A()}})}if(h){if(pk(f))f.on("readable",function(){if(s){let p=s;s=null,p()}}),f.on("end",function(){c.push(null)}),c._read=function(){for(;;){let p=f.read();if(p===null){s=c._read;return}if(!c.push(p))return}};else if(rY(f)){let A=(_m(f)?f.readable:f).getReader();c._read=async function(){for(;;)try{let{value:g,done:E}=await A.read();if(!c.push(g))return;if(E){c.push(null);return}}catch{return}}}}return c._destroy=function(p,A){!p&&a!==null&&(p=new TDt),s=null,n=null,i=null,a===null?A(p):(a=A,pk(f)&&RDt(f,p))},c},"compose")});var BDe=m((qkr,oY)=>{"use strict";var kDt=globalThis.AbortController||kE().AbortController,{codes:{ERR_INVALID_ARG_VALUE:PDt,ERR_INVALID_ARG_TYPE:jS,ERR_MISSING_ARGS:ODt,ERR_OUT_OF_RANGE:LDt},AbortError:Yl}=cs(),{validateAbortSignal:Nm,validateInteger:ADe,validateObject:Rm}=OE(),FDt=Rr().Symbol("kWeak"),MDt=Rr().Symbol("kResistStopPropagation"),{finished:UDt}=Cf(),qDt=nY(),{addAbortSignalNoValidate:GDt}=LS(),{isWritable:HDt,isNodeStream:VDt}=$l(),{deprecate:zDt}=Di(),{ArrayPrototypePush:jDt,Boolean:$Dt,MathFloor:gDe,Number:WDt,NumberIsNaN:JDt,Promise:yDe,PromiseReject:EDe,PromiseResolve:YDt,PromisePrototypeThen:CDe,Symbol:wDe}=Rr(),mk=wDe("kEmpty"),bDe=wDe("kEof");function KDt(t,e){if(e!=null&&Rm(e,"options"),e?.signal!=null&&Nm(e.signal,"options.signal"),VDt(t)&&!HDt(t))throw new PDt("stream",t,"must be writable");let r=qDt(this,t);return e!=null&&e.signal&&GDt(e.signal,r),r}o(KDt,"compose");function Ak(t,e){if(typeof t!="function")throw new jS("fn",["Function","AsyncFunction"],t);e!=null&&Rm(e,"options"),e?.signal!=null&&Nm(e.signal,"options.signal");let r=1;e?.concurrency!=null&&(r=gDe(e.concurrency));let n=r-1;return e?.highWaterMark!=null&&(n=gDe(e.highWaterMark)),ADe(r,"options.concurrency",1),ADe(n,"options.highWaterMark",0),n+=r,o(async function*(){let s=Di().AbortSignalAny([e?.signal].filter($Dt)),a=this,c=[],l={signal:s},u,f,d=!1,h=0;function p(){d=!0,A()}o(p,"onCatch");function A(){h-=1,g()}o(A,"afterItemProcessed");function g(){f&&!d&&h=n||h>=r)&&await new yDe(C=>{f=C})}c.push(bDe)}catch(y){let C=EDe(y);CDe(C,A,p),c.push(C)}finally{d=!0,u&&(u(),u=null)}}o(E,"pump"),E();try{for(;;){for(;c.length>0;){let y=await c[0];if(y===bDe)return;if(s.aborted)throw new Yl;y!==mk&&(yield y),c.shift(),g()}await new yDe(y=>{u=y})}}finally{d=!0,f&&(f(),f=null)}},"map").call(this)}o(Ak,"map");function XDt(t=void 0){return t!=null&&Rm(t,"options"),t?.signal!=null&&Nm(t.signal,"options.signal"),o(async function*(){let r=0;for await(let i of this){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new Yl({cause:t.signal.reason});yield[r++,i]}},"asIndexedPairs").call(this)}o(XDt,"asIndexedPairs");async function IDe(t,e=void 0){for await(let r of sY.call(this,t,e))return!0;return!1}o(IDe,"some");async function ZDt(t,e=void 0){if(typeof t!="function")throw new jS("fn",["Function","AsyncFunction"],t);return!await IDe.call(this,async(...r)=>!await t(...r),e)}o(ZDt,"every");async function e1t(t,e){for await(let r of sY.call(this,t,e))return r}o(e1t,"find");async function t1t(t,e){if(typeof t!="function")throw new jS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i),mk}o(r,"forEachFn");for await(let n of Ak.call(this,r,e));}o(t1t,"forEach");function sY(t,e){if(typeof t!="function")throw new jS("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i)?n:mk}return o(r,"filterFn"),Ak.call(this,r,e)}o(sY,"filter");var iY=class extends ODt{static{o(this,"ReduceAwareErrMissingArgs")}constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function r1t(t,e,r){var n;if(typeof t!="function")throw new jS("reducer",["Function","AsyncFunction"],t);r!=null&&Rm(r,"options"),r?.signal!=null&&Nm(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let u=new Yl(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await UDt(this.destroy(u)),u}let s=new kDt,a=s.signal;if(r!=null&&r.signal){let u={once:!0,[FDt]:this,[MDt]:!0};r.signal.addEventListener("abort",()=>s.abort(),u)}let c=!1;try{for await(let u of this){var l;if(c=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new Yl;i?e=await t(e,u,{signal:a}):(e=u,i=!0)}if(!c&&!i)throw new iY}finally{s.abort()}return e}o(r1t,"reduce");async function n1t(t){t!=null&&Rm(t,"options"),t?.signal!=null&&Nm(t.signal,"options.signal");let e=[];for await(let n of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new Yl(void 0,{cause:t.signal.reason});jDt(e,n)}return e}o(n1t,"toArray");function i1t(t,e){let r=Ak.call(this,t,e);return o(async function*(){for await(let i of r)yield*i},"flatMap").call(this)}o(i1t,"flatMap");function SDe(t){if(t=WDt(t),JDt(t))return 0;if(t<0)throw new LDt("number",">= 0",t);return t}o(SDe,"toIntegerOrInfinity");function s1t(t,e=void 0){return e!=null&&Rm(e,"options"),e?.signal!=null&&Nm(e.signal,"options.signal"),t=SDe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Yl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Yl;t--<=0&&(yield s)}},"drop").call(this)}o(s1t,"drop");function o1t(t,e=void 0){return e!=null&&Rm(e,"options"),e?.signal!=null&&Nm(e.signal,"options.signal"),t=SDe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Yl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Yl;if(t-- >0&&(yield s),t<=0)return}},"take").call(this)}o(o1t,"take");oY.exports.streamReturningOperators={asIndexedPairs:zDt(XDt,"readable.asIndexedPairs will be removed in a future version."),drop:s1t,filter:sY,flatMap:i1t,map:Ak,take:o1t,compose:KDt};oY.exports.promiseReturningOperators={every:ZDt,forEach:t1t,reduce:r1t,toArray:n1t,some:IDe,find:e1t}});var aY=m((Hkr,vDe)=>{"use strict";var{ArrayPrototypePop:a1t,Promise:c1t}=Rr(),{isIterable:l1t,isNodeStream:u1t,isWebStream:f1t}=$l(),{pipelineImpl:d1t}=dk(),{finished:h1t}=Cf();cY();function p1t(...t){return new c1t((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!u1t(s)&&!l1t(s)&&!f1t(s)){let a=a1t(t);n=a.signal,i=a.end}d1t(t,(a,c)=>{a?r(a):e(c)},{signal:n,end:i})})}o(p1t,"pipeline");vDe.exports={finished:h1t,pipeline:p1t}});var cY=m((zkr,PDe)=>{var{Buffer:m1t}=require("buffer"),{ObjectDefineProperty:If,ObjectKeys:NDe,ReflectApply:RDe}=Rr(),{promisify:{custom:TDe}}=Di(),{streamReturningOperators:xDe,promiseReturningOperators:_De}=BDe(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:DDe}}=cs(),A1t=nY(),{setDefaultHighWaterMark:g1t,getDefaultHighWaterMark:y1t}=FS(),{pipeline:QDe}=dk(),{destroyer:E1t}=Sm(),kDe=Cf(),lY=aY(),$S=$l(),dr=PDe.exports=YQ().Stream;dr.isDestroyed=$S.isDestroyed;dr.isDisturbed=$S.isDisturbed;dr.isErrored=$S.isErrored;dr.isReadable=$S.isReadable;dr.isWritable=$S.isWritable;dr.Readable=US();for(let t of NDe(xDe)){let r=function(...n){if(new.target)throw DDe();return dr.Readable.from(RDe(e,this,n))};uY=r,o(r,"fn");let e=xDe[t];If(r,"name",{__proto__:null,value:e.name}),If(r,"length",{__proto__:null,value:e.length}),If(dr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var uY;for(let t of NDe(_De)){let r=function(...i){if(new.target)throw DDe();return RDe(e,this,i)};uY=r,o(r,"fn");let e=_De[t];If(r,"name",{__proto__:null,value:e.name}),If(r,"length",{__proto__:null,value:e.length}),If(dr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var uY;dr.Writable=ck();dr.Duplex=Jl();dr.Transform=VJ();dr.PassThrough=jJ();dr.pipeline=QDe;var{addAbortSignal:C1t}=LS();dr.addAbortSignal=C1t;dr.finished=kDe;dr.destroy=E1t;dr.compose=A1t;dr.setDefaultHighWaterMark=g1t;dr.getDefaultHighWaterMark=y1t;If(dr,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return lY}});If(QDe,TDe,{__proto__:null,enumerable:!0,get(){return lY.pipeline}});If(kDe,TDe,{__proto__:null,enumerable:!0,get(){return lY.finished}});dr.Stream=dr;dr._isUint8Array=o(function(e){return e instanceof Uint8Array},"isUint8Array");dr._uint8ArrayToBuffer=o(function(e){return m1t.from(e.buffer,e.byteOffset,e.byteLength)},"_uint8ArrayToBuffer")});var Tm=m(($kr,pt)=>{"use strict";var Un=require("stream");if(Un&&process.env.READABLE_STREAM==="disable"){let t=Un.promises;pt.exports._uint8ArrayToBuffer=Un._uint8ArrayToBuffer,pt.exports._isUint8Array=Un._isUint8Array,pt.exports.isDisturbed=Un.isDisturbed,pt.exports.isErrored=Un.isErrored,pt.exports.isReadable=Un.isReadable,pt.exports.Readable=Un.Readable,pt.exports.Writable=Un.Writable,pt.exports.Duplex=Un.Duplex,pt.exports.Transform=Un.Transform,pt.exports.PassThrough=Un.PassThrough,pt.exports.addAbortSignal=Un.addAbortSignal,pt.exports.finished=Un.finished,pt.exports.destroy=Un.destroy,pt.exports.pipeline=Un.pipeline,pt.exports.compose=Un.compose,Object.defineProperty(Un,"promises",{configurable:!0,enumerable:!0,get(){return t}}),pt.exports.Stream=Un.Stream}else{let t=cY(),e=aY(),r=t.Readable.destroy;pt.exports=t.Readable,pt.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,pt.exports._isUint8Array=t._isUint8Array,pt.exports.isDisturbed=t.isDisturbed,pt.exports.isErrored=t.isErrored,pt.exports.isReadable=t.isReadable,pt.exports.Readable=t.Readable,pt.exports.Writable=t.Writable,pt.exports.Duplex=t.Duplex,pt.exports.Transform=t.Transform,pt.exports.PassThrough=t.PassThrough,pt.exports.addAbortSignal=t.addAbortSignal,pt.exports.finished=t.finished,pt.exports.destroy=t.destroy,pt.exports.destroy=r,pt.exports.pipeline=t.pipeline,pt.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return e}}),pt.exports.Stream=t.Stream}pt.exports.default=pt.exports});var LDe=m((Wkr,ODe)=>{function b1t(t,e){for(var r=-1,n=e.length,i=t.length;++r{var FDe=PQ(),w1t=YW(),I1t=KW(),MDe=FDe?FDe.isConcatSpreadable:void 0;function S1t(t){return I1t(t)||w1t(t)||!!(MDe&&t&&t[MDe])}o(S1t,"isFlattenable");UDe.exports=S1t});var gk=m((Xkr,HDe)=>{var B1t=LDe(),v1t=qDe();function GDe(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=v1t),i||(i=[]);++s0&&r(c)?e>1?GDe(c,e-1,r,n,i):B1t(i,c):n||(i[i.length]=c)}return i}o(GDe,"baseFlatten");HDe.exports=GDe});var zDe=m((ePr,VDe)=>{var x1t=gk();function _1t(t){var e=t==null?0:t.length;return e?x1t(t,1):[]}o(_1t,"flatten");VDe.exports=_1t});var WS=m((rPr,jDe)=>{var N1t=_S(),R1t=N1t(Object,"create");jDe.exports=R1t});var JDe=m((nPr,WDe)=>{var $De=WS();function T1t(){this.__data__=$De?$De(null):{},this.size=0}o(T1t,"hashClear");WDe.exports=T1t});var KDe=m((sPr,YDe)=>{function D1t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}o(D1t,"hashDelete");YDe.exports=D1t});var ZDe=m((aPr,XDe)=>{var Q1t=WS(),k1t="__lodash_hash_undefined__",P1t=Object.prototype,O1t=P1t.hasOwnProperty;function L1t(t){var e=this.__data__;if(Q1t){var r=e[t];return r===k1t?void 0:r}return O1t.call(e,t)?e[t]:void 0}o(L1t,"hashGet");XDe.exports=L1t});var t1e=m((lPr,e1e)=>{var F1t=WS(),M1t=Object.prototype,U1t=M1t.hasOwnProperty;function q1t(t){var e=this.__data__;return F1t?e[t]!==void 0:U1t.call(e,t)}o(q1t,"hashHas");e1e.exports=q1t});var n1e=m((fPr,r1e)=>{var G1t=WS(),H1t="__lodash_hash_undefined__";function V1t(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=G1t&&e===void 0?H1t:e,this}o(V1t,"hashSet");r1e.exports=V1t});var s1e=m((hPr,i1e)=>{var z1t=JDe(),j1t=KDe(),$1t=ZDe(),W1t=t1e(),J1t=n1e();function $E(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{function Y1t(){this.__data__=[],this.size=0}o(Y1t,"listCacheClear");o1e.exports=Y1t});var JS=m((gPr,c1e)=>{var K1t=LQ();function X1t(t,e){for(var r=t.length;r--;)if(K1t(t[r][0],e))return r;return-1}o(X1t,"assocIndexOf");c1e.exports=X1t});var u1e=m((EPr,l1e)=>{var Z1t=JS(),eQt=Array.prototype,tQt=eQt.splice;function rQt(t){var e=this.__data__,r=Z1t(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():tQt.call(e,r,1),--this.size,!0}o(rQt,"listCacheDelete");l1e.exports=rQt});var d1e=m((bPr,f1e)=>{var nQt=JS();function iQt(t){var e=this.__data__,r=nQt(e,t);return r<0?void 0:e[r][1]}o(iQt,"listCacheGet");f1e.exports=iQt});var p1e=m((IPr,h1e)=>{var sQt=JS();function oQt(t){return sQt(this.__data__,t)>-1}o(oQt,"listCacheHas");h1e.exports=oQt});var A1e=m((BPr,m1e)=>{var aQt=JS();function cQt(t,e){var r=this.__data__,n=aQt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}o(cQt,"listCacheSet");m1e.exports=cQt});var y1e=m((xPr,g1e)=>{var lQt=a1e(),uQt=u1e(),fQt=d1e(),dQt=p1e(),hQt=A1e();function WE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var pQt=_S(),mQt=NE(),AQt=pQt(mQt,"Map");E1e.exports=AQt});var I1e=m((RPr,w1e)=>{var b1e=s1e(),gQt=y1e(),yQt=C1e();function EQt(){this.size=0,this.__data__={hash:new b1e,map:new(yQt||gQt),string:new b1e}}o(EQt,"mapCacheClear");w1e.exports=EQt});var B1e=m((DPr,S1e)=>{function CQt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}o(CQt,"isKeyable");S1e.exports=CQt});var YS=m((kPr,v1e)=>{var bQt=B1e();function wQt(t,e){var r=t.__data__;return bQt(e)?r[typeof e=="string"?"string":"hash"]:r.map}o(wQt,"getMapData");v1e.exports=wQt});var _1e=m((OPr,x1e)=>{var IQt=YS();function SQt(t){var e=IQt(this,t).delete(t);return this.size-=e?1:0,e}o(SQt,"mapCacheDelete");x1e.exports=SQt});var R1e=m((FPr,N1e)=>{var BQt=YS();function vQt(t){return BQt(this,t).get(t)}o(vQt,"mapCacheGet");N1e.exports=vQt});var D1e=m((UPr,T1e)=>{var xQt=YS();function _Qt(t){return xQt(this,t).has(t)}o(_Qt,"mapCacheHas");T1e.exports=_Qt});var k1e=m((GPr,Q1e)=>{var NQt=YS();function RQt(t,e){var r=NQt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}o(RQt,"mapCacheSet");Q1e.exports=RQt});var O1e=m((VPr,P1e)=>{var TQt=I1e(),DQt=_1e(),QQt=R1e(),kQt=D1e(),PQt=k1e();function JE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var OQt="__lodash_hash_undefined__";function LQt(t){return this.__data__.set(t,OQt),this}o(LQt,"setCacheAdd");L1e.exports=LQt});var U1e=m((WPr,M1e)=>{function FQt(t){return this.__data__.has(t)}o(FQt,"setCacheHas");M1e.exports=FQt});var fY=m((YPr,q1e)=>{var MQt=O1e(),UQt=F1e(),qQt=U1e();function yk(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new MQt;++e{function GQt(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s{function HQt(t){return t!==t}o(HQt,"baseIsNaN");V1e.exports=HQt});var $1e=m((rOr,j1e)=>{function VQt(t,e,r){for(var n=r-1,i=t.length;++n{var zQt=H1e(),jQt=z1e(),$Qt=$1e();function WQt(t,e,r){return e===e?$Qt(t,e,r):zQt(t,jQt,r)}o(WQt,"baseIndexOf");W1e.exports=WQt});var dY=m((oOr,Y1e)=>{var JQt=J1e();function YQt(t,e){var r=t==null?0:t.length;return!!r&&JQt(t,e,0)>-1}o(YQt,"arrayIncludes");Y1e.exports=YQt});var hY=m((cOr,K1e)=>{function KQt(t,e,r){for(var n=-1,i=t==null?0:t.length;++n{function XQt(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{function ZQt(t,e){return t.has(e)}o(ZQt,"cacheHas");eQe.exports=ZQt});var rQe=m((pOr,tQe)=>{var ekt=fY(),tkt=dY(),rkt=hY(),nkt=Z1e(),ikt=XW(),skt=pY(),okt=200;function akt(t,e,r,n){var i=-1,s=tkt,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=nkt(e,ikt(r))),n?(s=rkt,a=!1):e.length>=okt&&(s=skt,a=!1,e=new ekt(e));e:for(;++i{var ckt=FQ(),lkt=RE();function ukt(t){return lkt(t)&&ckt(t)}o(ukt,"isArrayLikeObject");nQe.exports=ukt});var oQe=m((yOr,sQe)=>{var fkt=rQe(),dkt=gk(),hkt=OQ(),iQe=mY(),pkt=hkt(function(t,e){return iQe(t)?fkt(t,dkt(e,1,iQe,!0)):[]});sQe.exports=pkt});var cQe=m((EOr,aQe)=>{var mkt=_S(),Akt=NE(),gkt=mkt(Akt,"Set");aQe.exports=gkt});var uQe=m((COr,lQe)=>{function ykt(){}o(ykt,"noop");lQe.exports=ykt});var AY=m((wOr,fQe)=>{function Ekt(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}o(Ekt,"setToArray");fQe.exports=Ekt});var hQe=m((SOr,dQe)=>{var gY=cQe(),Ckt=uQe(),bkt=AY(),wkt=1/0,Ikt=gY&&1/bkt(new gY([,-0]))[1]==wkt?function(t){return new gY(t)}:Ckt;dQe.exports=Ikt});var mQe=m((BOr,pQe)=>{var Skt=fY(),Bkt=dY(),vkt=hY(),xkt=pY(),_kt=hQe(),Nkt=AY(),Rkt=200;function Tkt(t,e,r){var n=-1,i=Bkt,s=t.length,a=!0,c=[],l=c;if(r)a=!1,i=vkt;else if(s>=Rkt){var u=e?null:_kt(t);if(u)return Nkt(u);a=!1,i=xkt,l=new Skt}else l=e?[]:c;e:for(;++n{var Dkt=gk(),Qkt=OQ(),kkt=mQe(),Pkt=mY(),Okt=Qkt(function(t){return kkt(Dkt(t,1,Pkt,!0))});AQe.exports=Okt});var EQe=m((_Or,yQe)=>{function Lkt(t,e){return function(r){return t(e(r))}}o(Lkt,"overArg");yQe.exports=Lkt});var bQe=m((ROr,CQe)=>{var Fkt=EQe(),Mkt=Fkt(Object.getPrototypeOf,Object);CQe.exports=Mkt});var SQe=m((TOr,IQe)=>{var Ukt=vS(),qkt=bQe(),Gkt=RE(),Hkt="[object Object]",Vkt=Function.prototype,zkt=Object.prototype,wQe=Vkt.toString,jkt=zkt.hasOwnProperty,$kt=wQe.call(Object);function Wkt(t){if(!Gkt(t)||Ukt(t)!=Hkt)return!1;var e=qkt(t);if(e===null)return!0;var r=jkt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&wQe.call(r)==$kt}o(Wkt,"isPlainObject");IQe.exports=Wkt});var BQe=m(Ek=>{"use strict";Object.defineProperty(Ek,"__esModule",{value:!0});Ek.assertValidPattern=void 0;var Jkt=1024*64,Ykt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Jkt)throw new TypeError("pattern is too long")},"assertValidPattern");Ek.assertValidPattern=Ykt});var xQe=m(Ck=>{"use strict";Object.defineProperty(Ck,"__esModule",{value:!0});Ck.parseClass=void 0;var Kkt={"[: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]},KS=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),Xkt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),vQe=o(t=>t.join(""),"rangesToString"),Zkt=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,c=!1,l=!1,u=!1,f=r,d="";e:for(;sd?n.push(KS(d)+"-"+KS(g)):g===d&&n.push(KS(g)),d="",s++;continue}if(t.startsWith("-]",s+1)){n.push(KS(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){d=g,s+=2;continue}n.push(KS(g)),s++}if(f{"use strict";Object.defineProperty(bk,"__esModule",{value:!0});bk.unescape=void 0;var ePt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),"unescape");bk.unescape=ePt});var CY=m(vk=>{"use strict";var Us;Object.defineProperty(vk,"__esModule",{value:!0});vk.AST=void 0;var tPt=xQe(),Ik=wk(),rPt=new Set(["!","?","+","*","@"]),yY=o(t=>rPt.has(t),"isExtglobType"),_Qe=o(t=>yY(t.type),"isExtglobAST"),nPt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),iPt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),sPt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),NQe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),oPt="(?!(?:^|/)\\.\\.?(?:$|/))",Sk="(?!\\.)",aPt=new Set(["[","."]),cPt=new Set(["..","."]),lPt=new Set("().*{}+?[]^$\\!"),uPt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),EY="[^/]",RQe=EY+"*?",TQe=EY+"+?",Bk=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#d=!1;constructor(e,r,n={}){this.type=e,e&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#a&&this.#l.push(this),this.#s=this.#i?this.#i.#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.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#o=this.#r.map(e=>String(e)).join("")}#y(){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.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&itypeof 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.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;let e=this.#i;for(let r=0;r{let[A,g,E,y]=typeof p=="string"?Us.#S(p,this.#t,l):p.toRegExpSource(e);return this.#t=this.#t||E,this.#n=this.#n||y,A}).join(""),f="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&cPt.has(this.#r[0]))){let A=aPt,g=r&&A.has(u.charAt(0))||u.startsWith("\\.")&&A.has(u.charAt(2))||u.startsWith("\\.\\.")&&A.has(u.charAt(4)),E=!r&&!e&&A.has(u.charAt(0));f=g?oPt:E?Sk:""}let d="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(d="(?:$|\\/)"),[f+u+d,(0,Ik.unescape)(u),this.#t=!!this.#t,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#I(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,(0,Ik.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!Sk?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#d)c=(this.isStart()&&!r?Sk:"")+TQe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?Sk:"")+RQe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,Ik.unescape)(s),this.#t=!!this.#t,this.#n]}#I(e){return this.#r.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#S(e,r,n=!1){let i=!1,s="",a=!1,c=!1;for(let l=0;l{"use strict";Object.defineProperty(xk,"__esModule",{value:!0});xk.escape=void 0;var fPt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");xk.escape=fPt});var eh=m(me=>{"use strict";var dPt=me&&me.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(me,"__esModule",{value:!0});me.unescape=me.escape=me.AST=me.Minimatch=me.match=me.makeRe=me.braceExpand=me.defaults=me.filter=me.GLOBSTAR=me.sep=me.minimatch=void 0;var hPt=dPt(aW()),_k=BQe(),kQe=CY(),pPt=bY(),mPt=wk(),APt=o((t,e,r={})=>((0,_k.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Dm(e,r).match(t)),"minimatch");me.minimatch=APt;var gPt=/^\*+([^+@!?\*\[\(]*)$/,yPt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),EPt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),CPt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),bPt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),wPt=/^\*+\.\*+$/,IPt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),SPt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),BPt=/^\.\*+$/,vPt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),xPt=/^\*+$/,_Pt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),NPt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),RPt=/^\?+([^+@!?\*\[\(]*)?$/,TPt=o(([t,e=""])=>{let r=PQe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),DPt=o(([t,e=""])=>{let r=OQe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),QPt=o(([t,e=""])=>{let r=OQe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),kPt=o(([t,e=""])=>{let r=PQe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),PQe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),OQe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),LQe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",DQe={win32:{sep:"\\"},posix:{sep:"/"}};me.sep=LQe==="win32"?DQe.win32.sep:DQe.posix.sep;me.minimatch.sep=me.sep;me.GLOBSTAR=Symbol("globstar **");me.minimatch.GLOBSTAR=me.GLOBSTAR;var PPt="[^/]",OPt=PPt+"*?",LPt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",FPt="(?:(?!(?:\\/|^)\\.).)*?",MPt=o((t,e={})=>r=>(0,me.minimatch)(r,t,e),"filter");me.filter=MPt;me.minimatch.filter=me.filter;var Ba=o((t,e={})=>Object.assign({},t,e),"ext"),UPt=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return me.minimatch;let e=me.minimatch;return Object.assign(o((n,i,s={})=>e(n,i,Ba(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Ba(t,s))}static defaults(i){return e.defaults(Ba(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Ba(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Ba(t,s))}},unescape:o((n,i={})=>e.unescape(n,Ba(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Ba(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Ba(t,i)),"filter"),defaults:o(n=>e.defaults(Ba(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Ba(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Ba(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Ba(t,s)),"match"),sep:e.sep,GLOBSTAR:me.GLOBSTAR})},"defaults");me.defaults=UPt;me.minimatch.defaults=me.defaults;var qPt=o((t,e={})=>((0,_k.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,hPt.default)(t)),"braceExpand");me.braceExpand=qPt;me.minimatch.braceExpand=me.braceExpand;var GPt=o((t,e={})=>new Dm(t,e).makeRe(),"makeRe");me.makeRe=GPt;me.minimatch.makeRe=me.makeRe;var HPt=o((t,e,r={})=>{let n=new Dm(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");me.match=HPt;me.minimatch.match=me.match;var QQe=/[?*]|[+@!]\(.*?\)|\[|\]/,VPt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Dm=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={}){(0,_k.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||LQe,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!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=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!QQe.test(s[2]))&&!QQe.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(f=>this.parse(f))];if(u)return[s[0],...s.slice(1).map(f=>this.parse(f))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=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 n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,a-i);let c=n[i+1],l=n[i+2],u=n[i+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let f=n.slice(0);f[i]="**",e.push(f),i--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,n=!1){let i=0,s=0,a=[],c="";for(;i=2&&(e=this.levelTwoFileOptimize(e)),r.includes(me.GLOBSTAR)?this.#e(e,r,n,i,s):this.#n(e,r,n,i,s)}#e(e,r,n,i,s){let a=r.indexOf(me.GLOBSTAR,s),c=r.lastIndexOf(me.GLOBSTAR),[l,u,f]=n?[r.slice(s,a),r.slice(a+1),[]]:[r.slice(s,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let C=e.slice(i,i+l.length);if(!this.#n(C,l,n,0,0))return!1;i+=l.length}let d=0;if(f.length){if(f.length+i>e.length)return!1;let C=e.length-f.length;if(this.#n(e,f,n,C,0))d=f.length;else{if(e[e.length-1]!==""||i+f.length===e.length||(C--,!this.#n(e,f,n,C,0)))return!1;d=f.length+1}}if(!u.length){let C=!!d;for(let w=i;w{let u=l.map(f=>{if(f instanceof RegExp)for(let d of f.flags.split(""))i.add(d);return typeof f=="string"?VPt(f):f===me.GLOBSTAR?me.GLOBSTAR:f._src});return u.forEach((f,d)=>{let h=u[d+1],p=u[d-1];f!==me.GLOBSTAR||p===me.GLOBSTAR||(p===void 0?h!==void 0&&h!==me.GLOBSTAR?u[d+1]="(?:\\/|"+n+"\\/)?"+h:u[d]=n:h===void 0?u[d-1]=p+"(?:\\/|"+n+")?":h!==me.GLOBSTAR&&(u[d-1]=p+"(?:\\/|\\/"+n+"\\/)"+h,u[d+1]=me.GLOBSTAR))}),u.filter(f=>f!==me.GLOBSTAR).join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];s="^"+a+s+c+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].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 n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let c=i.length-2;!a&&c>=0;c--)a=i[c];for(let c=0;c{"use strict";Object.defineProperty(Rk,"__esModule",{value:!0});Rk.LRUCache=void 0;var YE=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,MQe=new Set,wY=typeof process=="object"&&process?process:{},UQe=o((t,e,r,n)=>{typeof wY.emitWarning=="function"?wY.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},"emitWarning"),Nk=globalThis.AbortController,FQe=globalThis.AbortSignal;if(typeof Nk>"u"){FQe=class{static{o(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},Nk=class{static{o(this,"AbortController")}constructor(){e()}signal=new FQe;abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}}};let t=wY.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{t&&(t=!1,UQe("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))},"warnACPolyfill")}var WPt=o(t=>!MQe.has(t),"shouldWarn"),th=o(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),qQe=o(t=>th(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?KE:null:null,"getUintArray"),KE=class extends Array{static{o(this,"ZeroArray")}constructor(e){super(e),this.fill(0)}},IY=class t{static{o(this,"Stack")}heap;length;static#e=!1;static create(e){let r=qQe(e);if(!r)return[];t.#e=!0;let n=new t(e,r);return t.#e=!1,n}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},SY=class t{static{o(this,"LRUCache")}#e;#t;#n;#r;#i;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#s;#l;#a;#c;#o;#d;#y;#m;#A;#E;#p;#w;#C;#b;#g;#v;#f;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#b,sizes:e.#w,keyMap:e.#a,keyList:e.#c,valList:e.#o,next:e.#d,prev:e.#y,get head(){return e.#m},get tail(){return e.#A},free:e.#E,isBackgroundFetch:o(r=>e.#h(r),"isBackgroundFetch"),backgroundFetch:o((r,n,i,s)=>e.#k(r,n,i,s),"backgroundFetch"),moveToTail:o(r=>e.#Q(r),"moveToTail"),indexes:o(r=>e.#N(r),"indexes"),rindexes:o(r=>e.#R(r),"rindexes"),isStale:o(r=>e.#B(r),"isStale")}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#l}get size(){return this.#s}get fetchMethod(){return this.#i}get dispose(){return this.#n}get disposeAfter(){return this.#r}constructor(e){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:a,updateAgeOnHas:c,allowStale:l,dispose:u,disposeAfter:f,noDisposeOnSet:d,noUpdateTTL:h,maxSize:p=0,maxEntrySize:A=0,sizeCalculation:g,fetchMethod:E,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:S,ignoreFetchAbort:Q}=e;if(r!==0&&!th(r))throw new TypeError("max option must be a nonnegative integer");let F=r?qQe(r):Array;if(!F)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=p,this.maxEntrySize=A||this.#t,this.sizeCalculation=g,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#i=E,this.#v=!!E,this.#a=new Map,this.#c=new Array(r).fill(void 0),this.#o=new Array(r).fill(void 0),this.#d=new F(r),this.#y=new F(r),this.#m=0,this.#A=0,this.#E=IY.create(r),this.#s=0,this.#l=0,typeof u=="function"&&(this.#n=u),typeof f=="function"?(this.#r=f,this.#p=[]):(this.#r=void 0,this.#p=void 0),this.#g=!!this.#n,this.#f=!!this.#r,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!Q,this.maxEntrySize!==0){if(this.#t!==0&&!th(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!th(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#T()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!C,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!c,this.ttlResolution=th(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!th(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#I()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let x="LRU_CACHE_UNBOUNDED";WPt(x)&&(MQe.add(x),UQe("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",x,t))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#I(){let e=new KE(this.#e),r=new KE(this.#e);this.#b=e,this.#C=r,this.#u=(s,a,c=YE.now())=>{if(r[s]=a!==0?c:0,e[s]=a,a!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#B(s)&&this.delete(this.#c[s])},a+1);l.unref&&l.unref()}},this.#S=s=>{r[s]=e[s]!==0?YE.now():0},this.#x=(s,a)=>{if(e[a]){let c=e[a],l=r[a];if(!c||!l)return;s.ttl=c,s.start=l,s.now=n||i();let u=s.now-l;s.remainingTTL=c-u}};let n=0,i=o(()=>{let s=YE.now();if(this.ttlResolution>0){n=s;let a=setTimeout(()=>n=0,this.ttlResolution);a.unref&&a.unref()}return s},"getNow");this.getRemainingTTL=s=>{let a=this.#a.get(s);if(a===void 0)return 0;let c=e[a],l=r[a];if(!c||!l)return 1/0;let u=(n||i())-l;return c-u},this.#B=s=>{let a=r[s],c=e[s];return!!c&&!!a&&(n||i())-a>c}}#S=o(()=>{},"#updateItemAge");#x=o(()=>{},"#statusTTL");#u=o(()=>{},"#setItemTTL");#B=o(()=>!1,"#isStale");#T(){let e=new KE(this.#e);this.#l=0,this.#w=e,this.#_=r=>{this.#l-=e[r],e[r]=0},this.#O=(r,n,i,s)=>{if(this.#h(n))return 0;if(!th(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!th(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#P=(r,n,i)=>{if(e[r]=n,this.#t){let s=this.#t-e[r];for(;this.#l>s;)this.#D(!0)}this.#l+=e[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#l)}}#_=o(e=>{},"#removeItemSize");#P=o((e,r,n)=>{},"#addItemSize");#O=o((e,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0},"#requireSize");*#N({allowStale:e=this.allowStale}={}){if(this.#s)for(let r=this.#A;!(!this.#L(r)||((e||!this.#B(r))&&(yield r),r===this.#m));)r=this.#y[r]}*#R({allowStale:e=this.allowStale}={}){if(this.#s)for(let r=this.#m;!(!this.#L(r)||((e||!this.#B(r))&&(yield r),r===this.#A));)r=this.#d[r]}#L(e){return e!==void 0&&this.#a.get(this.#c[e])===e}*entries(){for(let e of this.#N())this.#o[e]!==void 0&&this.#c[e]!==void 0&&!this.#h(this.#o[e])&&(yield[this.#c[e],this.#o[e]])}*rentries(){for(let e of this.#R())this.#o[e]!==void 0&&this.#c[e]!==void 0&&!this.#h(this.#o[e])&&(yield[this.#c[e],this.#o[e]])}*keys(){for(let e of this.#N()){let r=this.#c[e];r!==void 0&&!this.#h(this.#o[e])&&(yield r)}}*rkeys(){for(let e of this.#R()){let r=this.#c[e];r!==void 0&&!this.#h(this.#o[e])&&(yield r)}}*values(){for(let e of this.#N())this.#o[e]!==void 0&&!this.#h(this.#o[e])&&(yield this.#o[e])}*rvalues(){for(let e of this.#R())this.#o[e]!==void 0&&!this.#h(this.#o[e])&&(yield this.#o[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(let n of this.#N()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#c[n],this))return this.get(this.#c[n],r)}}forEach(e,r=this){for(let n of this.#N()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}rforEach(e,r=this){for(let n of this.#R()){let i=this.#o[n],s=this.#h(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.#c[n],this)}}purgeStale(){let e=!1;for(let r of this.#R({allowStale:!0}))this.#B(r)&&(this.delete(this.#c[r]),e=!0);return e}info(e){let r=this.#a.get(e);if(r===void 0)return;let n=this.#o[r],i=this.#h(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#b&&this.#C){let a=this.#b[r],c=this.#C[r];if(a&&c){let l=a-(YE.now()-c);s.ttl=l,s.start=Date.now()}}return this.#w&&(s.size=this.#w[r]),s}dump(){let e=[];for(let r of this.#N({allowStale:!0})){let n=this.#c[r],i=this.#o[r],s=this.#h(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let a={value:s};if(this.#b&&this.#C){a.ttl=this.#b[r];let c=YE.now()-this.#C[r];a.start=Math.floor(Date.now()-c)}this.#w&&(a.size=this.#w[r]),e.unshift([n,a])}return e}load(e){this.clear();for(let[r,n]of e){if(n.start){let i=Date.now()-n.start;n.start=YE.now()-i}this.set(r,n.value,n)}}set(e,r,n={}){if(r===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:l}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,f=this.#O(e,r,n.size||0,c);if(this.maxEntrySize&&f>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let d=this.#s===0?void 0:this.#a.get(e);if(d===void 0)d=this.#s===0?this.#A:this.#E.length!==0?this.#E.pop():this.#s===this.#e?this.#D(!1):this.#s,this.#c[d]=e,this.#o[d]=r,this.#a.set(e,d),this.#d[this.#A]=d,this.#y[d]=this.#A,this.#A=d,this.#s++,this.#P(d,f,l),l&&(l.set="add"),u=!1;else{this.#Q(d);let h=this.#o[d];if(r!==h){if(this.#v&&this.#h(h)){h.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:p}=h;p!==void 0&&!a&&(this.#g&&this.#n?.(p,e,"set"),this.#f&&this.#p?.push([p,e,"set"]))}else a||(this.#g&&this.#n?.(h,e,"set"),this.#f&&this.#p?.push([h,e,"set"]));if(this.#_(d),this.#P(d,f,l),this.#o[d]=r,l){l.set="replace";let p=h&&this.#h(h)?h.__staleWhileFetching:h;p!==void 0&&(l.oldValue=p)}}else l&&(l.set="update")}if(i!==0&&!this.#b&&this.#I(),this.#b&&(u||this.#u(d,i,s),l&&this.#x(l,d)),!a&&this.#f&&this.#p){let h=this.#p,p;for(;p=h?.shift();)this.#r?.(...p)}return this}pop(){try{for(;this.#s;){let e=this.#o[this.#m];if(this.#D(!0),this.#h(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#f&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#r?.(...r)}}}#D(e){let r=this.#m,n=this.#c[r],i=this.#o[r];return this.#v&&this.#h(i)?i.__abortController.abort(new Error("evicted")):(this.#g||this.#f)&&(this.#g&&this.#n?.(i,n,"evict"),this.#f&&this.#p?.push([i,n,"evict"])),this.#_(r),e&&(this.#c[r]=void 0,this.#o[r]=void 0,this.#E.push(r)),this.#s===1?(this.#m=this.#A=0,this.#E.length=0):this.#m=this.#d[r],this.#a.delete(n),this.#s--,r}has(e,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=this.#a.get(e);if(s!==void 0){let a=this.#o[s];if(this.#h(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#B(s))i&&(i.has="stale",this.#x(i,s));else return n&&this.#S(s),i&&(i.has="hit",this.#x(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){let{allowStale:n=this.allowStale}=r,i=this.#a.get(e);if(i===void 0||!n&&this.#B(i))return;let s=this.#o[i];return this.#h(s)?s.__staleWhileFetching:s}#k(e,r,n,i){let s=r===void 0?void 0:this.#o[r];if(this.#h(s))return s;let a=new Nk,{signal:c}=n;c?.addEventListener("abort",()=>a.abort(c.reason),{signal:a.signal});let l={signal:a.signal,options:n,context:i},u=o((g,E=!1)=>{let{aborted:y}=a.signal,C=n.ignoreFetchAbort&&g!==void 0;if(n.status&&(y&&!E?(n.status.fetchAborted=!0,n.status.fetchError=a.signal.reason,C&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),y&&!C&&!E)return d(a.signal.reason);let w=p;return this.#o[r]===p&&(g===void 0?w.__staleWhileFetching?this.#o[r]=w.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,g,l.options))),g},"cb"),f=o(g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),d(g)),"eb"),d=o(g=>{let{aborted:E}=a.signal,y=E&&n.allowStaleOnFetchAbort,C=y||n.allowStaleOnFetchRejection,w=C||n.noDeleteOnFetchRejection,S=p;if(this.#o[r]===p&&(!w||S.__staleWhileFetching===void 0?this.delete(e):y||(this.#o[r]=S.__staleWhileFetching)),C)return n.status&&S.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),S.__staleWhileFetching;if(S.__returned===S)throw g},"fetchFail"),h=o((g,E)=>{let y=this.#i?.(e,s,l);y&&y instanceof Promise&&y.then(C=>g(C===void 0?void 0:C),E),a.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(g(void 0),n.allowStaleOnFetchAbort&&(g=o(C=>u(C,!0),"res")))})},"pcall");n.status&&(n.status.fetchDispatched=!0);let p=new Promise(h).then(u,f),A=Object.assign(p,{__abortController:a,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,A,{...l.options,status:void 0}),r=this.#a.get(e)):this.#o[r]=A,A}#h(e){if(!this.#v)return!1;let r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof Nk}async fetch(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:c=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:A=this.allowStaleOnFetchAbort,context:g,forceRefresh:E=!1,status:y,signal:C}=r;if(!this.#v)return y&&(y.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:y});let w={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:a,noDisposeOnSet:c,size:l,sizeCalculation:u,noUpdateTTL:f,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:A,ignoreFetchAbort:p,status:y,signal:C},S=this.#a.get(e);if(S===void 0){y&&(y.fetch="miss");let Q=this.#k(e,S,w,g);return Q.__returned=Q}else{let Q=this.#o[S];if(this.#h(Q)){let q=n&&Q.__staleWhileFetching!==void 0;return y&&(y.fetch="inflight",q&&(y.returnedStale=!0)),q?Q.__staleWhileFetching:Q.__returned=Q}let F=this.#B(S);if(!E&&!F)return y&&(y.fetch="hit"),this.#Q(S),i&&this.#S(S),y&&this.#x(y,S),Q;let x=this.#k(e,S,w,g),T=x.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=F?"stale":"refresh",T&&F&&(y.returnedStale=!0)),T?x.__staleWhileFetching:x.__returned=x}}get(e,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:a}=r,c=this.#a.get(e);if(c!==void 0){let l=this.#o[c],u=this.#h(l);return a&&this.#x(a,c),this.#B(c)?(a&&(a.get="stale"),u?(a&&n&&l.__staleWhileFetching!==void 0&&(a.returnedStale=!0),n?l.__staleWhileFetching:void 0):(s||this.delete(e),a&&n&&(a.returnedStale=!0),n?l:void 0)):(a&&(a.get="hit"),u?l.__staleWhileFetching:(this.#Q(c),i&&this.#S(c),l))}else a&&(a.get="miss")}#F(e,r){this.#y[r]=e,this.#d[e]=r}#Q(e){e!==this.#A&&(e===this.#m?this.#m=this.#d[e]:this.#F(this.#y[e],this.#d[e]),this.#F(this.#A,e),this.#A=e)}delete(e){let r=!1;if(this.#s!==0){let n=this.#a.get(e);if(n!==void 0)if(r=!0,this.#s===1)this.clear();else{this.#_(n);let i=this.#o[n];if(this.#h(i)?i.__abortController.abort(new Error("deleted")):(this.#g||this.#f)&&(this.#g&&this.#n?.(i,e,"delete"),this.#f&&this.#p?.push([i,e,"delete"])),this.#a.delete(e),this.#c[n]=void 0,this.#o[n]=void 0,n===this.#A)this.#A=this.#y[n];else if(n===this.#m)this.#m=this.#d[n];else{let s=this.#y[n];this.#d[s]=this.#d[n];let a=this.#d[n];this.#y[a]=this.#y[n]}this.#s--,this.#E.push(n)}}if(this.#f&&this.#p?.length){let n=this.#p,i;for(;i=n?.shift();)this.#r?.(...i)}return r}clear(){for(let e of this.#R({allowStale:!0})){let r=this.#o[e];if(this.#h(r))r.__abortController.abort(new Error("deleted"));else{let n=this.#c[e];this.#g&&this.#n?.(r,n,"delete"),this.#f&&this.#p?.push([r,n,"delete"])}}if(this.#a.clear(),this.#o.fill(void 0),this.#c.fill(void 0),this.#b&&this.#C&&(this.#b.fill(0),this.#C.fill(0)),this.#w&&this.#w.fill(0),this.#m=0,this.#A=0,this.#E.length=0,this.#l=0,this.#s=0,this.#f&&this.#p){let e=this.#p,r;for(;r=e?.shift();)this.#r?.(...r)}}};Rk.LRUCache=SY});var WQe=m(us=>{"use strict";var JPt=us&&us.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(us,"__esModule",{value:!0});us.Minipass=us.isWritable=us.isReadable=us.isStream=void 0;var HQe=typeof process=="object"&&process?process:{stdout:null,stderr:null},TY=require("events"),$Qe=JPt(require("stream")),YPt=require("string_decoder"),KPt=o(t=>!!t&&typeof t=="object"&&(t instanceof Lk||t instanceof $Qe.default||(0,us.isReadable)(t)||(0,us.isWritable)(t)),"isStream");us.isStream=KPt;var XPt=o(t=>!!t&&typeof t=="object"&&t instanceof TY.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==$Qe.default.Writable.prototype.pipe,"isReadable");us.isReadable=XPt;var ZPt=o(t=>!!t&&typeof t=="object"&&t instanceof TY.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");us.isWritable=ZPt;var Sf=Symbol("EOF"),Bf=Symbol("maybeEmitEnd"),rh=Symbol("emittedEnd"),Tk=Symbol("emittingEnd"),XS=Symbol("emittedError"),Dk=Symbol("closed"),VQe=Symbol("read"),Qk=Symbol("flush"),zQe=Symbol("flushChunk"),wc=Symbol("encoding"),XE=Symbol("decoder"),Zn=Symbol("flowing"),ZS=Symbol("paused"),ZE=Symbol("resume"),ei=Symbol("buffer"),ls=Symbol("pipes"),ti=Symbol("bufferLength"),BY=Symbol("bufferPush"),kk=Symbol("bufferShift"),ki=Symbol("objectMode"),fn=Symbol("destroyed"),vY=Symbol("error"),xY=Symbol("emitData"),jQe=Symbol("emitEnd"),_Y=Symbol("emitEnd2"),Kl=Symbol("async"),NY=Symbol("abort"),Pk=Symbol("aborted"),eB=Symbol("signal"),Qm=Symbol("dataListeners"),_o=Symbol("discarded"),tB=o(t=>Promise.resolve().then(t),"defer"),eOt=o(t=>t(),"nodefer"),tOt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),rOt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),nOt=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),Ok=class{static{o(this,"Pipe")}src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[ZE](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},RY=class extends Ok{static{o(this,"PipeProxyErrors")}unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>r.emit("error",i),e.on("error",this.proxyErrors)}},iOt=o(t=>!!t.objectMode,"isObjectModeOptions"),sOt=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),Lk=class extends TY.EventEmitter{static{o(this,"Minipass")}[Zn]=!1;[ZS]=!1;[ls]=[];[ei]=[];[ki];[wc];[Kl];[XE];[Sf]=!1;[rh]=!1;[Tk]=!1;[Dk]=!1;[XS]=null;[ti]=0;[fn]=!1;[eB];[Pk]=!1;[Qm]=0;[_o]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");iOt(r)?(this[ki]=!0,this[wc]=null):sOt(r)?(this[wc]=r.encoding,this[ki]=!1):(this[ki]=!1,this[wc]=null),this[Kl]=!!r.async,this[XE]=this[wc]?new YPt.StringDecoder(this[wc]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[ei],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[ls],"get")});let{signal:n}=r;n&&(this[eB]=n,n.aborted?this[NY]():n.addEventListener("abort",()=>this[NY]()))}get bufferLength(){return this[ti]}get encoding(){return this[wc]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[ki]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Kl]}set async(e){this[Kl]=this[Kl]||!!e}[NY](){this[Pk]=!0,this.emit("abort",this[eB]?.reason),this.destroy(this[eB]?.reason)}get aborted(){return this[Pk]}set aborted(e){}write(e,r,n){if(this[Pk])return!1;if(this[Sf])throw new Error("write after end");if(this[fn])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[Kl]?tB:eOt;if(!this[ki]&&!Buffer.isBuffer(e)){if(nOt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(rOt(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[ki]?(this[Zn]&&this[ti]!==0&&this[Qk](!0),this[Zn]?this.emit("data",e):this[BY](e),this[ti]!==0&&this.emit("readable"),n&&i(n),this[Zn]):e.length?(typeof e=="string"&&!(r===this[wc]&&!this[XE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[wc]&&(e=this[XE].write(e)),this[Zn]&&this[ti]!==0&&this[Qk](!0),this[Zn]?this.emit("data",e):this[BY](e),this[ti]!==0&&this.emit("readable"),n&&i(n),this[Zn]):(this[ti]!==0&&this.emit("readable"),n&&i(n),this[Zn])}read(e){if(this[fn])return null;if(this[_o]=!1,this[ti]===0||e===0||e&&e>this[ti])return this[Bf](),null;this[ki]&&(e=null),this[ei].length>1&&!this[ki]&&(this[ei]=[this[wc]?this[ei].join(""):Buffer.concat(this[ei],this[ti])]);let r=this[VQe](e||null,this[ei][0]);return this[Bf](),r}[VQe](e,r){if(this[ki])this[kk]();else{let n=r;e===n.length||e===null?this[kk]():typeof n=="string"?(this[ei][0]=n.slice(e),r=n.slice(0,e),this[ti]-=e):(this[ei][0]=n.subarray(e),r=n.subarray(0,e),this[ti]-=e)}return this.emit("data",r),!this[ei].length&&!this[Sf]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[Sf]=!0,this.writable=!1,(this[Zn]||!this[ZS])&&this[Bf](),this}[ZE](){this[fn]||(!this[Qm]&&!this[ls].length&&(this[_o]=!0),this[ZS]=!1,this[Zn]=!0,this.emit("resume"),this[ei].length?this[Qk]():this[Sf]?this[Bf]():this.emit("drain"))}resume(){return this[ZE]()}pause(){this[Zn]=!1,this[ZS]=!0,this[_o]=!1}get destroyed(){return this[fn]}get flowing(){return this[Zn]}get paused(){return this[ZS]}[BY](e){this[ki]?this[ti]+=1:this[ti]+=e.length,this[ei].push(e)}[kk](){return this[ki]?this[ti]-=1:this[ti]-=this[ei][0].length,this[ei].shift()}[Qk](e=!1){do;while(this[zQe](this[kk]())&&this[ei].length);!e&&!this[ei].length&&!this[Sf]&&this.emit("drain")}[zQe](e){return this.emit("data",e),this[Zn]}pipe(e,r){if(this[fn])return e;this[_o]=!1;let n=this[rh];return r=r||{},e===HQe.stdout||e===HQe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[ls].push(r.proxyErrors?new RY(this,e,r):new Ok(this,e,r)),this[Kl]?tB(()=>this[ZE]()):this[ZE]()),e}unpipe(e){let r=this[ls].find(n=>n.dest===e);r&&(this[ls].length===1?(this[Zn]&&this[Qm]===0&&(this[Zn]=!1),this[ls]=[]):this[ls].splice(this[ls].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[_o]=!1,this[Qm]++,!this[ls].length&&!this[Zn]&&this[ZE]();else if(e==="readable"&&this[ti]!==0)super.emit("readable");else if(tOt(e)&&this[rh])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[XS]){let i=r;this[Kl]?tB(()=>i.call(this,this[XS])):i.call(this,this[XS])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[Qm]=this.listeners("data").length,this[Qm]===0&&!this[_o]&&!this[ls].length&&(this[Zn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[Qm]=0,!this[_o]&&!this[ls].length&&(this[Zn]=!1)),r}get emittedEnd(){return this[rh]}[Bf](){!this[Tk]&&!this[rh]&&!this[fn]&&this[ei].length===0&&this[Sf]&&(this[Tk]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Dk]&&this.emit("close"),this[Tk]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==fn&&this[fn])return!1;if(e==="data")return!this[ki]&&!n?!1:this[Kl]?(tB(()=>this[xY](n)),!0):this[xY](n);if(e==="end")return this[jQe]();if(e==="close"){if(this[Dk]=!0,!this[rh]&&!this[fn])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[XS]=n,super.emit(vY,n);let s=!this[eB]||this.listeners("error").length?super.emit("error",n):!1;return this[Bf](),s}else if(e==="resume"){let s=super.emit("resume");return this[Bf](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[Bf](),i}[xY](e){for(let n of this[ls])n.dest.write(e)===!1&&this.pause();let r=this[_o]?!1:super.emit("data",e);return this[Bf](),r}[jQe](){return this[rh]?!1:(this[rh]=!0,this.readable=!1,this[Kl]?(tB(()=>this[_Y]()),!0):this[_Y]())}[_Y](){if(this[XE]){let r=this[XE].end();if(r){for(let n of this[ls])n.dest.write(r);this[_o]||super.emit("data",r)}}for(let r of this[ls])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[ki]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[ki]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[ki])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[wc]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(fn,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[_o]=!1;let e=!1,r=o(async()=>(this.pause(),e=!0,{value:void 0,done:!0}),"stop");return{next:o(()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[Sf])return r();let s,a,c=o(d=>{this.off("data",l),this.off("end",u),this.off(fn,f),r(),a(d)},"onerr"),l=o(d=>{this.off("error",c),this.off("end",u),this.off(fn,f),this.pause(),s({value:d,done:!!this[Sf]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(fn,f),r(),s({done:!0,value:void 0})},"onend"),f=o(()=>c(new Error("stream destroyed")),"ondestroy");return new Promise((d,h)=>{a=h,s=d,this.once(fn,f),this.once("error",c),this.once("end",u),this.once("data",l)})},"next"),throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[_o]=!1;let e=!1,r=o(()=>(this.pause(),this.off(vY,r),this.off(fn,r),this.off("end",r),e=!0,{done:!0,value:void 0}),"stop"),n=o(()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}},"next");return this.once("end",r),this.once(vY,r),this.once(fn,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[fn])return e?this.emit("error",e):this.emit(fn),this;this[fn]=!0,this[_o]=!0,this[ei].length=0,this[ti]=0;let r=this;return typeof r.close=="function"&&!this[Dk]&&r.close(),e?this.emit("error",e):this.emit(fn),this}static get isStream(){return us.isStream}};us.Minipass=Lk});var lke=m(qt=>{"use strict";var oOt=qt&&qt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),aOt=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cOt=qt&&qt.__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)&&oOt(e,t,r);return aOt(e,t),e};Object.defineProperty(qt,"__esModule",{value:!0});qt.PathScurry=qt.Path=qt.PathScurryDarwin=qt.PathScurryPosix=qt.PathScurryWin32=qt.PathScurryBase=qt.PathPosix=qt.PathWin32=qt.PathBase=qt.ChildrenCache=qt.ResolveCache=void 0;var eke=GQe(),Gk=require("node:path"),lOt=require("node:url"),nB=require("fs"),uOt=cOt(require("node:fs")),fOt=nB.realpathSync.native,Fk=require("node:fs/promises"),JQe=WQe(),iB={lstatSync:nB.lstatSync,readdir:nB.readdir,readdirSync:nB.readdirSync,readlinkSync:nB.readlinkSync,realpathSync:fOt,promises:{lstat:Fk.lstat,readdir:Fk.readdir,readlink:Fk.readlink,realpath:Fk.realpath}},tke=o(t=>!t||t===iB||t===uOt?iB:{...iB,...t,promises:{...iB.promises,...t.promises||{}}},"fsFromOption"),rke=/^\\\\\?\\([a-z]:)\\?$/i,dOt=o(t=>t.replace(/\//g,"\\").replace(rke,"$1\\"),"uncToDrive"),hOt=/[\\\/]/,xa=0,nke=1,ike=2,Xl=4,ske=6,oke=8,km=10,ake=12,va=15,rB=~va,DY=16,YQe=32,sB=64,Ic=128,Mk=256,qk=512,KQe=sB|Ic|qk,pOt=1023,QY=o(t=>t.isFile()?oke:t.isDirectory()?Xl:t.isSymbolicLink()?km:t.isCharacterDevice()?ike:t.isBlockDevice()?ske:t.isSocket()?ake:t.isFIFO()?nke:xa,"entToType"),XQe=new Map,oB=o(t=>{let e=XQe.get(t);if(e)return e;let r=t.normalize("NFKD");return XQe.set(t,r),r},"normalize"),ZQe=new Map,Uk=o(t=>{let e=ZQe.get(t);if(e)return e;let r=oB(t.toLowerCase());return ZQe.set(t,r),r},"normalizeNocase"),aB=class extends eke.LRUCache{static{o(this,"ResolveCache")}constructor(){super({max:256})}};qt.ResolveCache=aB;var Hk=class extends eke.LRUCache{static{o(this,"ChildrenCache")}constructor(e=16*1024){super({maxSize:e,sizeCalculation:o(r=>r.length+1,"sizeCalculation")})}};qt.ChildrenCache=Hk;var cke=Symbol("PathScurry setAsCwd"),bi=class{static{o(this,"PathBase")}name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#n;get mode(){return this.#n}#r;get nlink(){return this.#r}#i;get uid(){return this.#i}#s;get gid(){return this.#s}#l;get rdev(){return this.#l}#a;get blksize(){return this.#a}#c;get ino(){return this.#c}#o;get size(){return this.#o}#d;get blocks(){return this.#d}#y;get atimeMs(){return this.#y}#m;get mtimeMs(){return this.#m}#A;get ctimeMs(){return this.#A}#E;get birthtimeMs(){return this.#E}#p;get atime(){return this.#p}#w;get mtime(){return this.#w}#C;get ctime(){return this.#C}#b;get birthtime(){return this.#b}#g;#v;#f;#I;#S;#x;#u;#B;#T;#_;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=xa,n,i,s,a,c){this.name=e,this.#g=s?Uk(e):oB(e),this.#u=r&pOt,this.nocase=s,this.roots=i,this.root=n||this,this.#B=a,this.#f=c.fullpath,this.#S=c.relative,this.#x=c.relativePosix,this.parent=c.parent,this.parent?this.#e=this.parent.#e:this.#e=tke(c.fs)}depth(){return this.#v!==void 0?this.#v:this.parent?this.#v=this.parent.depth()+1:this.#v=0}childrenCache(){return this.#B}resolve(e){if(!e)return this;let r=this.getRootString(e),i=e.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#P(i):this.#P(i)}#P(e){let r=this;for(let n of e)r=r.child(n);return r}children(){let e=this.#B.get(this);if(e)return e;let r=Object.assign([],{provisional:0});return this.#B.set(this,r),this.#u&=~DY,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?Uk(e):oB(e);for(let l of n)if(l.#g===i)return l;let s=this.parent?this.sep:"",a=this.#f?this.#f+s+e:void 0,c=this.newChild(e,xa,{...r,parent:this,fullpath:a});return this.canReaddir()||(c.#u|=Ic),n.push(c),c}relative(){if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let e=this.name,r=this.parent;if(!r)return this.#S=this.name;let n=r.relative();return n+(!n||!r.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#x!==void 0)return this.#x;let e=this.name,r=this.parent;if(!r)return this.#x=this.fullpathPosix();let n=r.relativePosix();return n+(!n||!r.parent?"":"/")+e}fullpath(){if(this.#f!==void 0)return this.#f;let e=this.name,r=this.parent;if(!r)return this.#f=this.name;let i=r.fullpath()+(r.parent?this.sep:"")+e;return this.#f=i}fullpathPosix(){if(this.#I!==void 0)return this.#I;if(this.sep==="/")return this.#I=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#I=`//?/${i}`:this.#I=i}let e=this.parent,r=e.fullpathPosix(),n=r+(!r||!e.parent?"":"/")+this.name;return this.#I=n}isUnknown(){return(this.#u&va)===xa}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#u&va)===oke}isDirectory(){return(this.#u&va)===Xl}isCharacterDevice(){return(this.#u&va)===ike}isBlockDevice(){return(this.#u&va)===ske}isFIFO(){return(this.#u&va)===nke}isSocket(){return(this.#u&va)===ake}isSymbolicLink(){return(this.#u&km)===km}lstatCached(){return this.#u&YQe?this:void 0}readlinkCached(){return this.#T}realpathCached(){return this.#_}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#T)return!0;if(!this.parent)return!1;let e=this.#u&va;return!(e!==xa&&e!==km||this.#u&Mk||this.#u&Ic)}calledReaddir(){return!!(this.#u&DY)}isENOENT(){return!!(this.#u&Ic)}isNamed(e){return this.nocase?this.#g===Uk(e):this.#g===oB(e)}async readlink(){let e=this.#T;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),n=(await this.parent.realpath())?.resolve(r);if(n)return this.#T=n}catch(r){this.#F(r.code);return}}readlinkSync(){let e=this.#T;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),n=this.parent.realpathSync()?.resolve(r);if(n)return this.#T=n}catch(r){this.#F(r.code);return}}#O(e){this.#u|=DY;for(let r=e.provisional;rn(null,e))}readdirCB(e,r=!1){if(!this.canReaddir()){r?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);r?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#U.push(e),this.#q)return;this.#q=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,a)=>{if(s)this.#k(s.code),n.provisional=0;else{for(let c of a)this.#Q(c,n);this.#O(n)}this.#j(n.slice(0,n.provisional))})}#M;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();if(this.#M)await this.#M;else{let n=o(()=>{},"resolve");this.#M=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#Q(i,e);this.#O(e)}catch(i){this.#k(i.code),e.provisional=0}this.#M=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();try{for(let n of this.#e.readdirSync(r,{withFileTypes:!0}))this.#Q(n,e);this.#O(e)}catch(n){this.#k(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#u&KQe)return!1;let e=va&this.#u;return e===xa||e===Xl||e===km}shouldWalk(e,r){return(this.#u&Xl)===Xl&&!(this.#u&KQe)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#_)return this.#_;if(!((qk|Mk|Ic)&this.#u))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#_=this.resolve(e)}catch{this.#L()}}realpathSync(){if(this.#_)return this.#_;if(!((qk|Mk|Ic)&this.#u))try{let e=this.#e.realpathSync(this.fullpath());return this.#_=this.resolve(e)}catch{this.#L()}}[cke](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let r=new Set([]),n=[],i=this;for(;i&&i.parent;)r.add(i),i.#S=n.join(this.sep),i.#x=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!r.has(i);)i.#S=void 0,i.#x=void 0,i=i.parent}};qt.PathBase=bi;var cB=class t extends bi{static{o(this,"PathWin32")}sep="\\";splitSep=hOt;constructor(e,r=xa,n,i,s,a,c){super(e,r,n,i,s,a,c)}newChild(e,r=xa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return Gk.win32.parse(e).root}getRoot(e){if(e=dOt(e.toUpperCase()),e===this.root.name)return this.root;for(let[r,n]of Object.entries(this.roots))if(this.sameRoot(e,r))return this.roots[e]=n;return this.roots[e]=new fB(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(rke,"$1\\"),e===r}};qt.PathWin32=cB;var lB=class t extends bi{static{o(this,"PathPosix")}splitSep="/";sep="/";constructor(e,r=xa,n,i,s,a,c){super(e,r,n,i,s,a,c)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,r=xa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};qt.PathPosix=lB;var uB=class{static{o(this,"PathScurryBase")}root;rootPath;roots;cwd;#e;#t;#n;nocase;#r;constructor(e=process.cwd(),r,n,{nocase:i,childrenCacheSize:s=16*1024,fs:a=iB}={}){this.#r=tke(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,lOt.fileURLToPath)(e));let c=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new aB,this.#t=new aB,this.#n=new Hk(s);let l=c.substring(this.rootPath.length).split(n);if(l.length===1&&!l[0]&&l.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#r),this.roots[this.rootPath]=this.root;let u=this.root,f=l.length-1,d=r.sep,h=this.rootPath,p=!1;for(let A of l){let g=f--;u=u.child(A,{relative:new Array(g).fill("..").join(d),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(p?"":d)+A}),p=!0}this.cwd=u}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let r="";for(let s=e.length-1;s>=0;s--){let a=e[s];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let n=this.#e.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpath();return this.#e.set(r,i),i}resolvePosix(...e){let r="";for(let s=e.length-1;s>=0;s--){let a=e[s];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let n=this.#t.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpathPosix();return this.#t.set(r,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n}=r;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0}=r;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=await e.readlink();return r?n:n?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return r?n:n?.fullpath()}async realpath(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=await e.realpath();return r?n:n?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return r?n:n?.fullpath()}async walk(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=[];(!s||s(e))&&c.push(n?e:e.fullpath());let l=new Set,u=o((d,h)=>{l.add(d),d.readdirCB((p,A)=>{if(p)return h(p);let g=A.length;if(!g)return h();let E=o(()=>{--g===0&&h()},"next");for(let y of A)(!s||s(y))&&c.push(n?y:y.fullpath()),i&&y.isSymbolicLink()?y.realpath().then(C=>C?.isUnknown()?C.lstat():C).then(C=>C?.shouldWalk(l,a)?u(C,E):E()):y.shouldWalk(l,a)?u(y,E):E()},!0)},"walk"),f=e;return new Promise((d,h)=>{u(f,p=>{if(p)return h(p);d(c)})})}walkSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=[];(!s||s(e))&&c.push(n?e:e.fullpath());let l=new Set([e]);for(let u of l){let f=u.readdirSync();for(let d of f){(!s||s(d))&&c.push(n?d:d.fullpath());let h=d;if(d.isSymbolicLink()){if(!(i&&(h=d.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(l,a)&&l.add(h)}}return c}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,r={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd),this.stream(e,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r;(!s||s(e))&&(yield n?e:e.fullpath());let c=new Set([e]);for(let l of c){let u=l.readdirSync();for(let f of u){(!s||s(f))&&(yield n?f:f.fullpath());let d=f;if(f.isSymbolicLink()){if(!(i&&(d=f.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(c,a)&&c.add(d)}}}stream(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new JQe.Minipass({objectMode:!0});(!s||s(e))&&c.write(n?e:e.fullpath());let l=new Set,u=[e],f=0,d=o(()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){f===0&&c.end();return}f++,l.add(p);let A=o((E,y,C=!1)=>{if(E)return c.emit("error",E);if(i&&!C){let w=[];for(let S of y)S.isSymbolicLink()&&w.push(S.realpath().then(Q=>Q?.isUnknown()?Q.lstat():Q));if(w.length){Promise.all(w).then(()=>A(null,y,!0));return}}for(let w of y)w&&(!s||s(w))&&(c.write(n?w:w.fullpath())||(h=!0));f--;for(let w of y){let S=w.realpathCached()||w;S.shouldWalk(l,a)&&u.push(S)}h&&!c.flowing?c.once("drain",d):g||d()},"onReaddir"),g=!0;p.readdirCB(A,!0),g=!1}},"process");return d(),c}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof bi||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new JQe.Minipass({objectMode:!0}),l=new Set;(!s||s(e))&&c.write(n?e:e.fullpath());let u=[e],f=0,d=o(()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){f===0&&c.end();return}f++,l.add(p);let A=p.readdirSync();for(let g of A)(!s||s(g))&&(c.write(n?g:g.fullpath())||(h=!0));f--;for(let g of A){let E=g;if(g.isSymbolicLink()){if(!(i&&(E=g.realpathSync())))continue;E.isUnknown()&&E.lstatSync()}E.shouldWalk(l,a)&&u.push(E)}}h&&!c.flowing&&c.once("drain",d)},"process");return d(),c}chdir(e=this.cwd){let r=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[cke](r)}};qt.PathScurryBase=uB;var fB=class extends uB{static{o(this,"PathScurryWin32")}sep="\\";constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,Gk.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return Gk.win32.parse(e).root.toUpperCase()}newRoot(e){return new cB(this.rootPath,Xl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};qt.PathScurryWin32=fB;var dB=class extends uB{static{o(this,"PathScurryPosix")}sep="/";constructor(e=process.cwd(),r={}){let{nocase:n=!1}=r;super(e,Gk.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new lB(this.rootPath,Xl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};qt.PathScurryPosix=dB;var Vk=class extends dB{static{o(this,"PathScurryDarwin")}constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};qt.PathScurryDarwin=Vk;qt.Path=process.platform==="win32"?cB:lB;qt.PathScurry=process.platform==="win32"?fB:process.platform==="darwin"?Vk:dB});var PY=m(zk=>{"use strict";Object.defineProperty(zk,"__esModule",{value:!0});zk.Pattern=void 0;var mOt=eh(),AOt=o(t=>t.length>=1,"isPatternList"),gOt=o(t=>t.length>=1,"isGlobList"),kY=class t{static{o(this,"Pattern")}#e;#t;#n;length;#r;#i;#s;#l;#a;#c;#o=!0;constructor(e,r,n,i){if(!AOt(e))throw new TypeError("empty pattern list");if(!gOt(r))throw new TypeError("empty glob list");if(r.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=r,this.#n=n,this.#r=i,this.#n===0){if(this.isUNC()){let[s,a,c,l,...u]=this.#e,[f,d,h,p,...A]=this.#t;u[0]===""&&(u.shift(),A.shift());let g=[s,a,c,l,""].join("/"),E=[f,d,h,p,""].join("/");this.#e=[g,...u],this.#t=[E,...A],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...a]=this.#e,[c,...l]=this.#t;a[0]===""&&(a.shift(),l.shift());let u=s+"/",f=c+"/";this.#e=[u,...a],this.#t=[f,...l],this.length=this.#e.length}}}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]=="string"}isGlobstar(){return this.#e[this.#n]===mOt.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#s=this.#s||(this.#n===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#i!==void 0?this.#i:this.hasMore()?(this.#i=new t(this.#e,this.#t,this.#n+1,this.#r),this.#i.#c=this.#c,this.#i.#a=this.#a,this.#i.#l=this.#l,this.#i):this.#i=null}isUNC(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=this.#r==="win32"&&this.#n===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#r==="win32"&&this.#n===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#c!==void 0?this.#c:this.#c=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#n===0?e:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#o)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#o?!1:(this.#o=!1,!0)}};zk.Pattern=kY});var mke=m(ds=>{"use strict";var yOt=ds&&ds.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ds,"__esModule",{value:!0});ds.Minipass=ds.isWritable=ds.isReadable=ds.isStream=void 0;var uke=typeof process=="object"&&process?process:{stdout:null,stderr:null},GY=require("node:events"),pke=yOt(require("node:stream")),EOt=require("node:string_decoder"),COt=o(t=>!!t&&typeof t=="object"&&(t instanceof Xk||t instanceof pke.default||(0,ds.isReadable)(t)||(0,ds.isWritable)(t)),"isStream");ds.isStream=COt;var bOt=o(t=>!!t&&typeof t=="object"&&t instanceof GY.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==pke.default.Writable.prototype.pipe,"isReadable");ds.isReadable=bOt;var wOt=o(t=>!!t&&typeof t=="object"&&t instanceof GY.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");ds.isWritable=wOt;var vf=Symbol("EOF"),xf=Symbol("maybeEmitEnd"),nh=Symbol("emittedEnd"),jk=Symbol("emittingEnd"),hB=Symbol("emittedError"),$k=Symbol("closed"),fke=Symbol("read"),Wk=Symbol("flush"),dke=Symbol("flushChunk"),Sc=Symbol("encoding"),eC=Symbol("decoder"),ri=Symbol("flowing"),pB=Symbol("paused"),tC=Symbol("resume"),ni=Symbol("buffer"),fs=Symbol("pipes"),ii=Symbol("bufferLength"),OY=Symbol("bufferPush"),Jk=Symbol("bufferShift"),Pi=Symbol("objectMode"),dn=Symbol("destroyed"),LY=Symbol("error"),FY=Symbol("emitData"),hke=Symbol("emitEnd"),MY=Symbol("emitEnd2"),Zl=Symbol("async"),UY=Symbol("abort"),Yk=Symbol("aborted"),mB=Symbol("signal"),Pm=Symbol("dataListeners"),No=Symbol("discarded"),AB=o(t=>Promise.resolve().then(t),"defer"),IOt=o(t=>t(),"nodefer"),SOt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),BOt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),vOt=o(t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),"isArrayBufferView"),Kk=class{static{o(this,"Pipe")}src;dest;opts;ondrain;constructor(e,r,n){this.src=e,this.dest=r,this.opts=n,this.ondrain=()=>e[tC](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},qY=class extends Kk{static{o(this,"PipeProxyErrors")}unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,n){super(e,r,n),this.proxyErrors=i=>this.dest.emit("error",i),e.on("error",this.proxyErrors)}},xOt=o(t=>!!t.objectMode,"isObjectModeOptions"),_Ot=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),Xk=class extends GY.EventEmitter{static{o(this,"Minipass")}[ri]=!1;[pB]=!1;[fs]=[];[ni]=[];[Pi];[Sc];[Zl];[eC];[vf]=!1;[nh]=!1;[jk]=!1;[$k]=!1;[hB]=null;[ii]=0;[dn]=!1;[mB];[Yk]=!1;[Pm]=0;[No]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");xOt(r)?(this[Pi]=!0,this[Sc]=null):_Ot(r)?(this[Sc]=r.encoding,this[Pi]=!1):(this[Pi]=!1,this[Sc]=null),this[Zl]=!!r.async,this[eC]=this[Sc]?new EOt.StringDecoder(this[Sc]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[ni],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[fs],"get")});let{signal:n}=r;n&&(this[mB]=n,n.aborted?this[UY]():n.addEventListener("abort",()=>this[UY]()))}get bufferLength(){return this[ii]}get encoding(){return this[Sc]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Pi]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Zl]}set async(e){this[Zl]=this[Zl]||!!e}[UY](){this[Yk]=!0,this.emit("abort",this[mB]?.reason),this.destroy(this[mB]?.reason)}get aborted(){return this[Yk]}set aborted(e){}write(e,r,n){if(this[Yk])return!1;if(this[vf])throw new Error("write after end");if(this[dn])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[Zl]?AB:IOt;if(!this[Pi]&&!Buffer.isBuffer(e)){if(vOt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(BOt(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Pi]?(this[ri]&&this[ii]!==0&&this[Wk](!0),this[ri]?this.emit("data",e):this[OY](e),this[ii]!==0&&this.emit("readable"),n&&i(n),this[ri]):e.length?(typeof e=="string"&&!(r===this[Sc]&&!this[eC]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Sc]&&(e=this[eC].write(e)),this[ri]&&this[ii]!==0&&this[Wk](!0),this[ri]?this.emit("data",e):this[OY](e),this[ii]!==0&&this.emit("readable"),n&&i(n),this[ri]):(this[ii]!==0&&this.emit("readable"),n&&i(n),this[ri])}read(e){if(this[dn])return null;if(this[No]=!1,this[ii]===0||e===0||e&&e>this[ii])return this[xf](),null;this[Pi]&&(e=null),this[ni].length>1&&!this[Pi]&&(this[ni]=[this[Sc]?this[ni].join(""):Buffer.concat(this[ni],this[ii])]);let r=this[fke](e||null,this[ni][0]);return this[xf](),r}[fke](e,r){if(this[Pi])this[Jk]();else{let n=r;e===n.length||e===null?this[Jk]():typeof n=="string"?(this[ni][0]=n.slice(e),r=n.slice(0,e),this[ii]-=e):(this[ni][0]=n.subarray(e),r=n.subarray(0,e),this[ii]-=e)}return this.emit("data",r),!this[ni].length&&!this[vf]&&this.emit("drain"),r}end(e,r,n){return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r="utf8"),e!==void 0&&this.write(e,r),n&&this.once("end",n),this[vf]=!0,this.writable=!1,(this[ri]||!this[pB])&&this[xf](),this}[tC](){this[dn]||(!this[Pm]&&!this[fs].length&&(this[No]=!0),this[pB]=!1,this[ri]=!0,this.emit("resume"),this[ni].length?this[Wk]():this[vf]?this[xf]():this.emit("drain"))}resume(){return this[tC]()}pause(){this[ri]=!1,this[pB]=!0,this[No]=!1}get destroyed(){return this[dn]}get flowing(){return this[ri]}get paused(){return this[pB]}[OY](e){this[Pi]?this[ii]+=1:this[ii]+=e.length,this[ni].push(e)}[Jk](){return this[Pi]?this[ii]-=1:this[ii]-=this[ni][0].length,this[ni].shift()}[Wk](e=!1){do;while(this[dke](this[Jk]())&&this[ni].length);!e&&!this[ni].length&&!this[vf]&&this.emit("drain")}[dke](e){return this.emit("data",e),this[ri]}pipe(e,r){if(this[dn])return e;this[No]=!1;let n=this[nh];return r=r||{},e===uke.stdout||e===uke.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[fs].push(r.proxyErrors?new qY(this,e,r):new Kk(this,e,r)),this[Zl]?AB(()=>this[tC]()):this[tC]()),e}unpipe(e){let r=this[fs].find(n=>n.dest===e);r&&(this[fs].length===1?(this[ri]&&this[Pm]===0&&(this[ri]=!1),this[fs]=[]):this[fs].splice(this[fs].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let n=super.on(e,r);if(e==="data")this[No]=!1,this[Pm]++,!this[fs].length&&!this[ri]&&this[tC]();else if(e==="readable"&&this[ii]!==0)super.emit("readable");else if(SOt(e)&&this[nh])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[hB]){let i=r;this[Zl]?AB(()=>i.call(this,this[hB])):i.call(this,this[hB])}return n}removeListener(e,r){return this.off(e,r)}off(e,r){let n=super.off(e,r);return e==="data"&&(this[Pm]=this.listeners("data").length,this[Pm]===0&&!this[No]&&!this[fs].length&&(this[ri]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[Pm]=0,!this[No]&&!this[fs].length&&(this[ri]=!1)),r}get emittedEnd(){return this[nh]}[xf](){!this[jk]&&!this[nh]&&!this[dn]&&this[ni].length===0&&this[vf]&&(this[jk]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[$k]&&this.emit("close"),this[jk]=!1)}emit(e,...r){let n=r[0];if(e!=="error"&&e!=="close"&&e!==dn&&this[dn])return!1;if(e==="data")return!this[Pi]&&!n?!1:this[Zl]?(AB(()=>this[FY](n)),!0):this[FY](n);if(e==="end")return this[hke]();if(e==="close"){if(this[$k]=!0,!this[nh]&&!this[dn])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[hB]=n,super.emit(LY,n);let s=!this[mB]||this.listeners("error").length?super.emit("error",n):!1;return this[xf](),s}else if(e==="resume"){let s=super.emit("resume");return this[xf](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...r);return this[xf](),i}[FY](e){for(let n of this[fs])n.dest.write(e)===!1&&this.pause();let r=this[No]?!1:super.emit("data",e);return this[xf](),r}[hke](){return this[nh]?!1:(this[nh]=!0,this.readable=!1,this[Zl]?(AB(()=>this[MY]()),!0):this[MY]())}[MY](){if(this[eC]){let r=this[eC].end();if(r){for(let n of this[fs])n.dest.write(r);this[No]||super.emit("data",r)}}for(let r of this[fs])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[Pi]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[Pi]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[Pi])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Sc]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(dn,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[No]=!1;let e=!1,r=o(async()=>(this.pause(),e=!0,{value:void 0,done:!0}),"stop");return{next:o(()=>{if(e)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[vf])return r();let s,a,c=o(d=>{this.off("data",l),this.off("end",u),this.off(dn,f),r(),a(d)},"onerr"),l=o(d=>{this.off("error",c),this.off("end",u),this.off(dn,f),this.pause(),s({value:d,done:!!this[vf]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(dn,f),r(),s({done:!0,value:void 0})},"onend"),f=o(()=>c(new Error("stream destroyed")),"ondestroy");return new Promise((d,h)=>{a=h,s=d,this.once(dn,f),this.once("error",c),this.once("end",u),this.once("data",l)})},"next"),throw:r,return:r,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[No]=!1;let e=!1,r=o(()=>(this.pause(),this.off(LY,r),this.off(dn,r),this.off("end",r),e=!0,{done:!0,value:void 0}),"stop"),n=o(()=>{if(e)return r();let i=this.read();return i===null?r():{done:!1,value:i}},"next");return this.once("end",r),this.once(LY,r),this.once(dn,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(e){if(this[dn])return e?this.emit("error",e):this.emit(dn),this;this[dn]=!0,this[No]=!0,this[ni].length=0,this[ii]=0;let r=this;return typeof r.close=="function"&&!this[$k]&&r.close(),e?this.emit("error",e):this.emit(dn),this}static get isStream(){return ds.isStream}};ds.Minipass=Xk});var VY=m(Zk=>{"use strict";Object.defineProperty(Zk,"__esModule",{value:!0});Zk.Ignore=void 0;var Ake=eh(),NOt=PY(),ROt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",HY=class{static{o(this,"Ignore")}relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:a=ROt}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=a,this.mmopts={dot:!0,nobrace:r,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0};for(let c of e)this.add(c)}add(e){let r=new Ake.Minimatch(e,this.mmopts);for(let n=0;n{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.Processor=eu.SubWalks=eu.MatchRecord=eu.HasWalkedCache=void 0;var gke=eh(),eP=class t{static{o(this,"HasWalkedCache")}store;constructor(e=new Map){this.store=e}copy(){return new t(new Map(this.store))}hasWalked(e,r){return this.store.get(e.fullpath())?.has(r.globString())}storeWalked(e,r){let n=e.fullpath(),i=this.store.get(n);i?i.add(r.globString()):this.store.set(n,new Set([r.globString()]))}};eu.HasWalkedCache=eP;var tP=class{static{o(this,"MatchRecord")}store=new Map;add(e,r,n){let i=(r?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,r])=>[e,!!(r&2),!!(r&1)])}};eu.MatchRecord=tP;var rP=class{static{o(this,"SubWalks")}store=new Map;add(e,r){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===r.globString())||n.push(r):this.store.set(e,[r])}get(e){let r=this.store.get(e);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};eu.SubWalks=rP;var zY=class t{static{o(this,"Processor")}hasWalkedCache;matches=new tP;subwalks=new rP;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new eP}processPatterns(e,r){this.patterns=r;let n=r.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let a=s.root(),c=s.isAbsolute()&&this.opts.absolute!==!1;if(a){i=i.resolve(a==="/"&&this.opts.root!==void 0?this.opts.root:a);let d=s.rest();if(d)s=d;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let l,u,f=!1;for(;typeof(l=s.pattern())=="string"&&(u=s.rest());)i=i.resolve(l),s=u,f=!0;if(l=s.pattern(),u=s.rest(),f){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof l=="string"){let d=l===".."||l===""||l===".";this.matches.add(i.resolve(l),c,d);continue}else if(l===gke.GLOBSTAR){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let d=u?.pattern(),h=u?.rest();if(!u||(d===""||d===".")&&!h)this.matches.add(i,c,d===""||d===".");else if(d===".."){let p=i.parent||i;h?this.hasWalkedCache.hasWalked(p,h)||this.subwalks.add(p,h):this.matches.add(p,c,!0)}}else l instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new t(this.opts,this.hasWalkedCache)}filterEntries(e,r){let n=this.subwalks.get(e),i=this.child();for(let s of r)for(let a of n){let c=a.isAbsolute(),l=a.pattern(),u=a.rest();l===gke.GLOBSTAR?i.testGlobstar(s,a,u,c):l instanceof RegExp?i.testRegExp(s,l,u,c):i.testString(s,l,u,c)}return i}testGlobstar(e,r,n,i){if((this.dot||!e.name.startsWith("."))&&(r.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,r):e.isSymbolicLink()&&(n&&r.checkFollowGlobstar()?this.subwalks.add(e,n):r.markFollowGlobstar()&&this.subwalks.add(e,r)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let a=e.parent||e;this.subwalks.add(a,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,r,n,i){r.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,r,n,i){e.isNamed(r)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};eu.Processor=zY});var bke=m(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.GlobStream=ih.GlobWalker=ih.GlobUtil=void 0;var TOt=mke(),Eke=VY(),Cke=yke(),DOt=o((t,e)=>typeof t=="string"?new Eke.Ignore([t],e):Array.isArray(t)?new Eke.Ignore(t,e):t,"makeIgnore"),gB=class{static{o(this,"GlobUtil")}path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#n;signal;maxDepth;includeChildMatches;constructor(e,r,n){if(this.patterns=e,this.path=r,this.opts=n,this.#n=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#t=DOt(n.ignore??[],n),!this.includeChildMatches&&typeof this.#t.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#r(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#i(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let a=await s.realpath();a&&(a.isUnknown()||this.opts.stat)&&await a.lstat()}return this.matchCheckTest(s,r)}matchCheckTest(e,r){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!r||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#r(e)?e:void 0}matchCheckSync(e,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let a=s.realpathSync();a&&(a?.isUnknown()||this.opts.stat)&&a.lstatSync()}return this.matchCheckTest(s,r)}matchFinish(e,r){if(this.#r(e))return;if(!this.includeChildMatches&&this.#t?.add){let s=`${e.relativePosix()}/**`;this.#t.add(s)}let n=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let s=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(s+i)}else{let s=this.opts.posix?e.relativePosix():e.relative(),a=this.opts.dotRelative&&!s.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(s?a+s+i:"."+i)}}async match(e,r,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,r)}matchSync(e,r,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,r)}walkCB(e,r,n){this.signal?.aborted&&n(),this.walkCB2(e,r,new Cke.Processor(this.opts),n)}walkCB2(e,r,n,i){if(this.#i(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,r,n,i));return}n.processPatterns(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||(s++,this.match(c,l,u).then(()=>a()));for(let c of n.subwalkTargets()){if(this.maxDepth!==1/0&&c.depth()>=this.maxDepth)continue;s++;let l=c.readdirCached();c.calledReaddir()?this.walkCB3(c,l,n,a):c.readdirCB((u,f)=>this.walkCB3(c,f,n,a),!0)}a()}walkCB3(e,r,n,i){n=n.filterEntries(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||(s++,this.match(c,l,u).then(()=>a()));for(let[c,l]of n.subwalks.entries())s++,this.walkCB2(c,l,n.child(),a);a()}walkCBSync(e,r,n){this.signal?.aborted&&n(),this.walkCB2Sync(e,r,new Cke.Processor(this.opts),n)}walkCB2Sync(e,r,n,i){if(this.#i(e))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,r,n,i));return}n.processPatterns(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||this.matchSync(c,l,u);for(let c of n.subwalkTargets()){if(this.maxDepth!==1/0&&c.depth()>=this.maxDepth)continue;s++;let l=c.readdirSync();this.walkCB3Sync(c,l,n,a)}a()}walkCB3Sync(e,r,n,i){n=n.filterEntries(e,r);let s=1,a=o(()=>{--s===0&&i()},"next");for(let[c,l,u]of n.matches.entries())this.#r(c)||this.matchSync(c,l,u);for(let[c,l]of n.subwalks.entries())s++,this.walkCB2Sync(c,l,n.child(),a);a()}};ih.GlobUtil=gB;var jY=class extends gB{static{o(this,"GlobWalker")}matches=new Set;constructor(e,r,n){super(e,r,n)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};ih.GlobWalker=jY;var $Y=class extends gB{static{o(this,"GlobStream")}results;constructor(e,r,n){super(e,r,n),this.results=new TOt.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};ih.GlobStream=$Y});var JY=m(sP=>{"use strict";Object.defineProperty(sP,"__esModule",{value:!0});sP.Glob=void 0;var QOt=eh(),kOt=require("node:url"),nP=lke(),POt=PY(),iP=bke(),OOt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",WY=class{static{o(this,"Glob")}absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,kOt.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=e,this.platform=r.platform||OOt,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=r.platform==="win32"?nP.PathScurryWin32:r.platform==="darwin"?nP.PathScurryDarwin:r.platform?nP.PathScurryPosix:nP.PathScurry;this.scurry=new l(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(l=>new QOt.Minimatch(l,i)),[a,c]=s.reduce((l,u)=>(l[0].push(...u.set),l[1].push(...u.globParts),l),[[],[]]);this.patterns=a.map((l,u)=>{let f=c[u];if(!f)throw new Error("invalid pattern object");return new POt.Pattern(l,f,0,this.platform)})}async walk(){return[...await new iP.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new iP.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new iP.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new iP.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};sP.Glob=WY});var YY=m(oP=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});oP.hasMagic=void 0;var LOt=eh(),FOt=o((t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new LOt.Minimatch(r,e).hasMagic())return!0;return!1},"hasMagic");oP.hasMagic=FOt});var Bke=m(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.glob=Ct.sync=Ct.iterate=Ct.iterateSync=Ct.stream=Ct.streamSync=Ct.Ignore=Ct.hasMagic=Ct.Glob=Ct.unescape=Ct.escape=void 0;Ct.globStreamSync=yB;Ct.globStream=KY;Ct.globSync=XY;Ct.globIterateSync=EB;Ct.globIterate=ZY;var wke=eh(),Om=JY(),MOt=YY(),Ske=eh();Object.defineProperty(Ct,"escape",{enumerable:!0,get:o(function(){return Ske.escape},"get")});Object.defineProperty(Ct,"unescape",{enumerable:!0,get:o(function(){return Ske.unescape},"get")});var UOt=JY();Object.defineProperty(Ct,"Glob",{enumerable:!0,get:o(function(){return UOt.Glob},"get")});var qOt=YY();Object.defineProperty(Ct,"hasMagic",{enumerable:!0,get:o(function(){return qOt.hasMagic},"get")});var GOt=VY();Object.defineProperty(Ct,"Ignore",{enumerable:!0,get:o(function(){return GOt.Ignore},"get")});function yB(t,e={}){return new Om.Glob(t,e).streamSync()}o(yB,"globStreamSync");function KY(t,e={}){return new Om.Glob(t,e).stream()}o(KY,"globStream");function XY(t,e={}){return new Om.Glob(t,e).walkSync()}o(XY,"globSync");async function Ike(t,e={}){return new Om.Glob(t,e).walk()}o(Ike,"glob_");function EB(t,e={}){return new Om.Glob(t,e).iterateSync()}o(EB,"globIterateSync");function ZY(t,e={}){return new Om.Glob(t,e).iterate()}o(ZY,"globIterate");Ct.streamSync=yB;Ct.stream=Object.assign(KY,{sync:yB});Ct.iterateSync=EB;Ct.iterate=Object.assign(ZY,{sync:EB});Ct.sync=Object.assign(XY,{stream:yB,iterate:EB});Ct.glob=Object.assign(Ike,{glob:Ike,globSync:XY,sync:Ct.sync,globStream:KY,stream:Ct.stream,globStreamSync:yB,streamSync:Ct.streamSync,globIterate:ZY,iterate:Ct.iterate,globIterateSync:EB,iterateSync:Ct.iterateSync,Glob:Om.Glob,hasMagic:MOt.hasMagic,escape:wke.escape,unescape:wke.unescape});Ct.glob.glob=Ct.glob});var Nke=m((gLr,_ke)=>{var xke=EW(),rC=require("path"),e7=zDe(),HOt=oQe(),VOt=gQe(),zOt=SQe(),jOt=Bke(),Lm=_ke.exports={},vke=/[\/\\]/g,$Ot=o(function(t,e){var r=[];return e7(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=HOt(r,s):r=VOt(r,s)}),r},"processPatterns");Lm.exists=function(){var t=rC.join.apply(rC,arguments);return xke.existsSync(t)};Lm.expand=function(...t){var e=zOt(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=$Ot(r,function(i){return jOt.sync(i,e)});return e.filter&&(n=n.filter(function(i){i=rC.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):xke.statSync(i)[e.filter]()}catch{return!1}})),n};Lm.expandMapping=function(t,e,r){r=Object.assign({rename:o(function(s,a){return rC.join(s||"",a)},"rename")},r);var n=[],i={};return Lm.expand(r,t).forEach(function(s){var a=s;r.flatten&&(a=rC.basename(a)),r.ext&&(a=a.replace(/(\.[^\/]*)?$/,r.ext));var c=r.rename(e,a,r);r.cwd&&(s=rC.join(r.cwd,s)),c=c.replace(vke,"/"),s=s.replace(vke,"/"),i[c]?i[c].src.push(s):(n.push({src:[s],dest:c}),i[c]=n[n.length-1])}),n};Lm.normalizeFilesArray=function(t){var e=[];return t.forEach(function(r){var n;("src"in r||"dest"in r)&&e.push(r)}),e.length===0?[]:(e=_(e).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=e7(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return Lm.expandMapping(r.src,r.dest,n).map(function(s){var a=Object.assign({},r);return a.orig=Object.assign({},r),a.src=s.src,a.dest=s.dest,["expand","cwd","flatten","rename","ext"].forEach(function(c){delete a[c]}),a});var i=Object.assign({},r);return i.orig=Object.assign({},r),"src"in i&&Object.defineProperty(i,"src",{enumerable:!0,get:o(function s(){var a;return"result"in s||(a=r.src,a=Array.isArray(a)?e7(a):[a],s.result=Lm.expand(n,a)),s.result},"fn")}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var nC=m((CLr,Dke)=>{var t7=EW(),Rke=require("path"),WOt=CQ(),JOt=t_e(),Tke=HW(),YOt=PNe(),ELr=require("stream").Stream,KOt=Tm().PassThrough,Ro=Dke.exports={};Ro.file=Nke();Ro.collectStream=function(t,e){var r=[],n=0;t.on("error",e),t.on("data",function(i){r.push(i),n+=i.length}),t.on("end",function(){var i=Buffer.alloc(n),s=0;r.forEach(function(a){a.copy(i,s),s+=a.length}),e(null,i)})};Ro.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};Ro.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},YOt(...n)};Ro.isStream=function(t){return WOt(t)};Ro.lazyReadStream=function(t){return new JOt.Readable(function(){return t7.createReadStream(t)})};Ro.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):Ro.isStream(t)?t.pipe(new KOt):t};Ro.sanitizePath=function(t){return Tke(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};Ro.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};Ro.unixifyPath=function(t){return Tke(t,!1).replace(/^\w+:/,"")};Ro.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),t7.readdir(t,function(i,s){var a=0,c,l;if(i)return r(i);o((function u(){if(c=s[a++],!c)return r(null,n);l=Rke.join(t,c),t7.stat(l,function(f,d){n.push({path:l,relative:Rke.relative(e,l).replace(/\\/g,"/"),stats:d}),d&&d.isDirectory()?Ro.walkdir(l,e,function(h,p){if(h)return r(h);p.forEach(function(A){n.push(A)}),u()}):u()})}),"next")()})}});var Oke=m((kke,Pke)=>{var XOt=require("util"),ZOt={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function Qke(t,e){Error.captureStackTrace(this,this.constructor),this.message=ZOt[t]||t,this.code=t,this.data=e}o(Qke,"ArchiverError");XOt.inherits(Qke,Error);kke=Pke.exports=Qke});var qke=m((ILr,Uke)=>{var i7=require("fs"),Fke=zxe(),Lke=$xe(),r7=require("path"),tu=nC(),eLt=require("util").inherits,jr=Oke(),Mke=Tm().Transform,n7=process.platform==="win32",kt=o(function(t,e){if(!(this instanceof kt))return new kt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=tu.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),Mke.call(this,e),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=Lke.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=Lke.queue(this._onStatQueueTask.bind(this),e.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]},"Archiver");eLt(kt,Mke);kt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};kt.prototype._append=function(t,e){e=e||{};var r={source:null,filepath:t};e.name||(e.name=t),e.sourcePath=t,r.data=e,this._entriesCount++,e.stats&&e.stats instanceof i7.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};kt.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)};kt.prototype._maybeFinalize=function(){return this._state.finalizing||this._state.finalized||this._state.aborted?!1:this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()?(this._finalize(),!0):!1};kt.prototype._moduleAppend=function(t,e,r){if(this._state.aborted){r();return}this._module.append(t,e,function(n){if(this._task=null,this._state.aborted){this._shutdown();return}if(n){this.emit("error",n),setImmediate(r);return}this.emit("entry",e),this._entriesProcessedCount++,e.stats&&e.stats.size&&(this._fsEntriesProcessedBytes+=e.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}.bind(this))};kt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new jr("NOENDMETHOD"))};kt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};kt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};kt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};kt.prototype._normalizeEntryData=function(t,e){t=tu.defaults(t,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),e&&t.stats===!1&&(t.stats=e);var r=t.type==="directory";return t.name&&(typeof t.prefix=="string"&&t.prefix!==""&&(t.name=t.prefix+"/"+t.name,t.prefix=null),t.name=tu.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?n7?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(n7?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,n7&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=tu.dateify(t.date),t};kt.prototype._onModuleError=function(t){this.emit("error",t)};kt.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()};kt.prototype._onQueueTask=function(t,e){var r=o(()=>{t.data.callback&&t.data.callback(),e()},"fullCallback");if(this._state.finalizing||this._state.finalized||this._state.aborted){r();return}this._task=t,this._moduleAppend(t.source,t.data,r)};kt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}i7.lstat(t.filepath,function(r,n){if(this._state.aborted){setImmediate(e);return}if(r){this._entriesCount--,this.emit("warning",r),setImmediate(e);return}t=this._updateQueueTaskWithStats(t,n),t&&(n.size&&(this._fsEntriesTotalBytes+=n.size),this._queue.push(t)),setImmediate(e)}.bind(this))};kt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};kt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};kt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=tu.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=tu.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=tu.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=i7.readlinkSync(t.filepath),n=r7.dirname(t.filepath);t.data.type="symlink",t.data.linkname=r7.relative(n,r7.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new jr("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new jr("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new jr("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};kt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};kt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new jr("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new jr("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new jr("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=tu.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if(tu.isStream(t))e.sourceType="stream";else return this.emit("error",new jr("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};kt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new jr("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new jr("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,e===!1?e="":typeof e!="string"&&(e=t);var n=!1;typeof r=="function"?(n=r,r={}):typeof r!="object"&&(r={});var i={stat:!0,dot:!0};function s(){this._pending--,this._maybeFinalize()}o(s,"onGlobEnd");function a(u){this.emit("error",u)}o(a,"onGlobError");function c(u){l.pause();var f=!1,d=Object.assign({},r);d.name=u.relative,d.prefix=e,d.stats=u.stat,d.callback=l.resume.bind(l);try{if(n){if(d=n(d),d===!1)f=!0;else if(typeof d!="object")throw new jr("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:t})}}catch(h){this.emit("error",h);return}if(f){l.resume();return}this._append(u.absolute,d)}o(c,"onGlobMatch");var l=Fke(t,i);return l.on("error",a.bind(this)),l.on("match",c.bind(this)),l.on("end",s.bind(this)),this};kt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new jr("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new jr("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};kt.prototype.glob=function(t,e,r){this._pending++,e=tu.defaults(e,{stat:!0,pattern:t});function n(){this._pending--,this._maybeFinalize()}o(n,"onGlobEnd");function i(c){this.emit("error",c)}o(i,"onGlobError");function s(c){a.pause();var l=Object.assign({},r);l.callback=a.resume.bind(a),l.stats=c.stat,l.name=c.relative,this._append(c.absolute,l)}o(s,"onGlobMatch");var a=Fke(e.cwd||".",e);return a.on("error",i.bind(this)),a.on("match",s.bind(this)),a.on("end",n.bind(this)),this};kt.prototype.finalize=function(){if(this._state.aborted){var t=new jr("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new jr("FINALIZING");return this.emit("error",e),Promise.reject(e)}this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise(function(n,i){var s;r._module.on("end",function(){s||n()}),r._module.on("error",function(a){s=!0,i(a)})})};kt.prototype.setFormat=function(t){return this._format?(this.emit("error",new jr("FORMATSET")),this):(this._format=t,this)};kt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new jr("ABORTED")),this):this._state.module?(this.emit("error",new jr("MODULESET")),this):(this._module=t,this._modulePipe(),this)};kt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new jr("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new jr("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new jr("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new jr("SYMLINKNOTSUPPORTED",{filepath:t})),this;var n={};return n.type="symlink",n.name=t.replace(/\\/g,"/"),n.linkname=e.replace(/\\/g,"/"),n.sourceType="buffer",typeof r=="number"&&(n.mode=r),this._entriesCount++,this._queue.push({data:n,source:Buffer.concat([])}),this};kt.prototype.pointer=function(){return this._pointer};kt.prototype.use=function(t){return this._streams.push(t),this};Uke.exports=kt});var cP=m((BLr,Gke)=>{var aP=Gke.exports=function(){};aP.prototype.getName=function(){};aP.prototype.getSize=function(){};aP.prototype.getLastModifiedDate=function(){};aP.prototype.isDirectory=function(){}});var lP=m((vLr,Hke)=>{var _a=Hke.exports={};_a.dateToDos=function(t,e){e=e||!1;var r=e?t.getFullYear():t.getUTCFullYear();if(r<1980)return 2162688;if(r>=2044)return 2141175677;var n={year:r,month:e?t.getMonth():t.getUTCMonth(),date:e?t.getDate():t.getUTCDate(),hours:e?t.getHours():t.getUTCHours(),minutes:e?t.getMinutes():t.getUTCMinutes(),seconds:e?t.getSeconds():t.getUTCSeconds()};return n.year-1980<<25|n.month+1<<21|n.date<<16|n.hours<<11|n.minutes<<5|n.seconds/2};_a.dosToDate=function(t){return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(t&31)<<1)};_a.fromDosTime=function(t){return _a.dosToDate(t.readUInt32LE(0))};_a.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};_a.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};_a.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};_a.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};_a.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};_a.toDosTime=function(t){return _a.getLongBytes(_a.dateToDos(t))}});var s7=m((xLr,Jke)=>{var Vke=lP(),zke=8,jke=1,tLt=4,rLt=2,$ke=64,Wke=2048,wi=Jke.exports=function(){return this instanceof wi?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new wi};wi.prototype.encode=function(){return Vke.getShortBytes((this.descriptor?zke:0)|(this.utf8?Wke:0)|(this.encryption?jke:0)|(this.strongEncryption?$ke:0))};wi.prototype.parse=function(t,e){var r=Vke.getShortBytesValue(t,e),n=new wi;return n.useDataDescriptor((r&zke)!==0),n.useUTF8ForNames((r&Wke)!==0),n.useStrongEncryption((r&$ke)!==0),n.useEncryption((r&jke)!==0),n.setSlidingDictionarySize((r&rLt)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&tLt)!==0?3:2),n};wi.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};wi.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};wi.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};wi.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};wi.prototype.useDataDescriptor=function(t){this.descriptor=t};wi.prototype.usesDataDescriptor=function(){return this.descriptor};wi.prototype.useEncryption=function(t){this.encryption=t};wi.prototype.usesEncryption=function(){return this.encryption};wi.prototype.useStrongEncryption=function(t){this.strongEncryption=t};wi.prototype.usesStrongEncryption=function(){return this.strongEncryption};wi.prototype.useUTF8ForNames=function(t){this.utf8=t};wi.prototype.usesUTF8ForNames=function(){return this.utf8}});var Kke=m((_Lr,Yke)=>{Yke.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var o7=m((NLr,Xke)=>{Xke.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var a7=m((RLr,nPe)=>{var nLt=require("util").inherits,iLt=HW(),ePe=cP(),tPe=s7(),Zke=Kke(),hs=o7(),rPe=lP(),lt=nPe.exports=function(t){if(!(this instanceof lt))return new lt(t);ePe.call(this),this.platform=hs.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new tPe,this.crc=0,this.time=-1,this.minver=hs.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,t&&this.setName(t)};nLt(lt,ePe);lt.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};lt.prototype.getComment=function(){return this.comment!==null?this.comment:""};lt.prototype.getCompressedSize=function(){return this.csize};lt.prototype.getCrc=function(){return this.crc};lt.prototype.getExternalAttributes=function(){return this.exattr};lt.prototype.getExtra=function(){return this.extra!==null?this.extra:hs.EMPTY};lt.prototype.getGeneralPurposeBit=function(){return this.gpb};lt.prototype.getInternalAttributes=function(){return this.inattr};lt.prototype.getLastModifiedDate=function(){return this.getTime()};lt.prototype.getLocalFileDataExtra=function(){return this.getExtra()};lt.prototype.getMethod=function(){return this.method};lt.prototype.getName=function(){return this.name};lt.prototype.getPlatform=function(){return this.platform};lt.prototype.getSize=function(){return this.size};lt.prototype.getTime=function(){return this.time!==-1?rPe.dosToDate(this.time):-1};lt.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};lt.prototype.getUnixMode=function(){return this.platform!==hs.PLATFORM_UNIX?0:this.getExternalAttributes()>>hs.SHORT_SHIFT&hs.SHORT_MASK};lt.prototype.getVersionNeededToExtract=function(){return this.minver};lt.prototype.setComment=function(t){Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.comment=t};lt.prototype.setCompressedSize=function(t){if(t<0)throw new Error("invalid entry compressed size");this.csize=t};lt.prototype.setCrc=function(t){if(t<0)throw new Error("invalid entry crc32");this.crc=t};lt.prototype.setExternalAttributes=function(t){this.exattr=t>>>0};lt.prototype.setExtra=function(t){this.extra=t};lt.prototype.setGeneralPurposeBit=function(t){if(!(t instanceof tPe))throw new Error("invalid entry GeneralPurposeBit");this.gpb=t};lt.prototype.setInternalAttributes=function(t){this.inattr=t};lt.prototype.setMethod=function(t){if(t<0)throw new Error("invalid entry compression method");this.method=t};lt.prototype.setName=function(t,e=!1){t=iLt(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),e&&(t=`/${t}`),Buffer.byteLength(t)!==t.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.name=t};lt.prototype.setPlatform=function(t){this.platform=t};lt.prototype.setSize=function(t){if(t<0)throw new Error("invalid entry size");this.size=t};lt.prototype.setTime=function(t,e){if(!(t instanceof Date))throw new Error("invalid entry time");this.time=rPe.dateToDos(t,e)};lt.prototype.setUnixMode=function(t){t|=this.isDirectory()?hs.S_IFDIR:hs.S_IFREG;var e=0;e|=t<hs.ZIP64_MAGIC||this.size>hs.ZIP64_MAGIC}});var c7=m((DLr,iPe)=>{var TLr=require("stream").Stream,sLt=Tm().PassThrough,oLt=CQ(),aLt=iPe.exports={};aLt.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(oLt(t)&&!t._readableState){var e=new sLt;return t.pipe(e),e}return t}});var u7=m((QLr,sPe)=>{var cLt=require("util").inherits,lLt=CQ(),l7=Tm().Transform,uLt=cP(),fLt=c7(),To=sPe.exports=function(t){if(!(this instanceof To))return new To(t);l7.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};cLt(To,l7);To.prototype._appendBuffer=function(t,e,r){};To.prototype._appendStream=function(t,e,r){};To.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};To.prototype._finish=function(t){};To.prototype._normalizeEntry=function(t){};To.prototype._transform=function(t,e,r){r(null,t)};To.prototype.entry=function(t,e,r){if(e=e||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(t instanceof uLt)){r(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){r(new Error("unacceptable entry after finish"));return}if(this._archive.processing){r(new Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(t),this._entry=t,e=fLt.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(lLt(e))this._appendStream(t,e,r);else{this._archive.processing=!1,r(new Error("input source must be valid Stream or Buffer instance"));return}return this};To.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};To.prototype.getBytesWritten=function(){return this.offset};To.prototype.write=function(t,e){return t&&(this.offset+=t.length),l7.prototype.write.call(this,t,e)}});var uP=m(f7=>{var oPe;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof f7=="object"?t(f7):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t(oPe={}):t(oPe={})})(function(t){t.version="1.2.2";function e(){for(var x=0,j=new Array(256),T=0;T!=256;++T)x=T,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,j[T]=x;return typeof Int32Array<"u"?new Int32Array(j):j}o(e,"signed_crc_table");var r=e();function n(x){var j=0,T=0,q=0,H=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(q=0;q!=256;++q)H[q]=x[q];for(q=0;q!=256;++q)for(T=x[q],j=256+q;j<4096;j+=256)T=H[j]=T>>>8^x[T&255];var W=[];for(q=1;q!=16;++q)W[q-1]=typeof Int32Array<"u"?H.subarray(q*256,q*256+256):H.slice(q*256,q*256+256);return W}o(n,"slice_by_16_tables");var i=n(r),s=i[0],a=i[1],c=i[2],l=i[3],u=i[4],f=i[5],d=i[6],h=i[7],p=i[8],A=i[9],g=i[10],E=i[11],y=i[12],C=i[13],w=i[14];function S(x,j){for(var T=j^-1,q=0,H=x.length;q>>8^r[(T^x.charCodeAt(q++))&255];return~T}o(S,"crc32_bstr");function Q(x,j){for(var T=j^-1,q=x.length-15,H=0;H>8&255]^y[x[H++]^T>>16&255]^E[x[H++]^T>>>24]^g[x[H++]]^A[x[H++]]^p[x[H++]]^h[x[H++]]^d[x[H++]]^f[x[H++]]^u[x[H++]]^l[x[H++]]^c[x[H++]]^a[x[H++]]^s[x[H++]]^r[x[H++]];for(q+=15;H>>8^r[(T^x[H++])&255];return~T}o(Q,"crc32_buf");function F(x,j){for(var T=j^-1,q=0,H=x.length,W=0,ee=0;q>>8^r[(T^W)&255]:W<2048?(T=T>>>8^r[(T^(192|W>>6&31))&255],T=T>>>8^r[(T^(128|W&63))&255]):W>=55296&&W<57344?(W=(W&1023)+64,ee=x.charCodeAt(q++)&1023,T=T>>>8^r[(T^(240|W>>8&7))&255],T=T>>>8^r[(T^(128|W>>2&63))&255],T=T>>>8^r[(T^(128|ee>>6&15|(W&3)<<4))&255],T=T>>>8^r[(T^(128|ee&63))&255]):(T=T>>>8^r[(T^(224|W>>12&15))&255],T=T>>>8^r[(T^(128|W>>6&63))&255],T=T>>>8^r[(T^(128|W&63))&255]);return~T}o(F,"crc32_str"),t.table=r,t.bstr=S,t.buf=Q,t.str=F})});var cPe=m((OLr,aPe)=>{"use strict";var{Transform:dLt}=Tm(),hLt=uP(),d7=class extends dLt{static{o(this,"CRC32Stream")}constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(e,r,n){e&&(this.checksum=hLt.buf(e,this.checksum)>>>0,this.rawSize+=e.length),n(null,e)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}};aPe.exports=d7});var uPe=m((FLr,lPe)=>{"use strict";var{DeflateRaw:pLt}=require("zlib"),mLt=uP(),h7=class extends pLt{static{o(this,"DeflateCRC32Stream")}constructor(e){super(e),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(e,r){return e&&(this.compressedSize+=e.length),super.push(e,r)}_transform(e,r,n){e&&(this.checksum=mLt.buf(e,this.checksum)>>>0,this.rawSize+=e.length),super._transform(e,r,n)}digest(e){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),e?r.toString(e):r}hex(){return this.digest("hex").toUpperCase()}size(e=!1){return e?this.compressedSize:this.rawSize}};lPe.exports=h7});var p7=m((ULr,fPe)=>{"use strict";fPe.exports={CRC32Stream:cPe(),DeflateCRC32Stream:uPe()}});var pPe=m((VLr,hPe)=>{var ALt=require("util").inherits,gLt=uP(),{CRC32Stream:yLt}=p7(),{DeflateCRC32Stream:ELt}=p7(),dPe=u7(),qLr=a7(),GLr=s7(),nt=o7(),HLr=c7(),Le=lP(),si=hPe.exports=function(t){if(!(this instanceof si))return new si(t);t=this.options=this._defaults(t),dPe.call(this,t),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:t.forceZip64,forceLocalTime:t.forceLocalTime}};ALt(si,dPe);si.prototype._afterAppend=function(t){this._entries.push(t),t.getGeneralPurposeBit().usesDataDescriptor()&&this._writeDataDescriptor(t),this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished&&this._finish()};si.prototype._appendBuffer=function(t,e,r){e.length===0&&t.setMethod(nt.METHOD_STORED);var n=t.getMethod();if(n===nt.METHOD_STORED&&(t.setSize(e.length),t.setCompressedSize(e.length),t.setCrc(gLt.buf(e)>>>0)),this._writeLocalFileHeader(t),n===nt.METHOD_STORED){this.write(e),this._afterAppend(t),r(null,t);return}else if(n===nt.METHOD_DEFLATED){this._smartStream(t,r).end(e);return}else{r(new Error("compression method "+n+" not implemented"));return}};si.prototype._appendStream=function(t,e,r){t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(t);var n=this._smartStream(t,r);e.once("error",function(i){n.emit("error",i),n.end()}),e.pipe(n)};si.prototype._defaults=function(t){return typeof t!="object"&&(t={}),typeof t.zlib!="object"&&(t.zlib={}),typeof t.zlib.level!="number"&&(t.zlib.level=nt.ZLIB_BEST_SPEED),t.forceZip64=!!t.forceZip64,t.forceLocalTime=!!t.forceLocalTime,t};si.prototype._finish=function(){this._archive.centralOffset=this.offset,this._entries.forEach(function(t){this._writeCentralFileHeader(t)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64()&&this._writeCentralDirectoryZip64(),this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};si.prototype._normalizeEntry=function(t){t.getMethod()===-1&&t.setMethod(nt.METHOD_DEFLATED),t.getMethod()===nt.METHOD_DEFLATED&&(t.getGeneralPurposeBit().useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_DATA_DESCRIPTOR)),t.getTime()===-1&&t.setTime(new Date,this._archive.forceLocalTime),t._offsets={file:0,data:0,contents:0}};si.prototype._smartStream=function(t,e){var r=t.getMethod()===nt.METHOD_DEFLATED,n=r?new ELt(this.options.zlib):new yLt,i=null;function s(){var a=n.digest().readUInt32BE(0);t.setCrc(a),t.setSize(n.size()),t.setCompressedSize(n.size(!0)),this._afterAppend(t),e(i,t)}return o(s,"handleStuff"),n.once("end",s.bind(this)),n.once("error",function(a){i=a}),n.pipe(this,{end:!1}),n};si.prototype._writeCentralDirectoryEnd=function(){var t=this._entries.length,e=this._archive.centralLength,r=this._archive.centralOffset;this.isZip64()&&(t=nt.ZIP64_MAGIC_SHORT,e=nt.ZIP64_MAGIC,r=nt.ZIP64_MAGIC),this.write(Le.getLongBytes(nt.SIG_EOCD)),this.write(nt.SHORT_ZERO),this.write(nt.SHORT_ZERO),this.write(Le.getShortBytes(t)),this.write(Le.getShortBytes(t)),this.write(Le.getLongBytes(e)),this.write(Le.getLongBytes(r));var n=this.getComment(),i=Buffer.byteLength(n);this.write(Le.getShortBytes(i)),this.write(n)};si.prototype._writeCentralDirectoryZip64=function(){this.write(Le.getLongBytes(nt.SIG_ZIP64_EOCD)),this.write(Le.getEightBytes(44)),this.write(Le.getShortBytes(nt.MIN_VERSION_ZIP64)),this.write(Le.getShortBytes(nt.MIN_VERSION_ZIP64)),this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO),this.write(Le.getEightBytes(this._entries.length)),this.write(Le.getEightBytes(this._entries.length)),this.write(Le.getEightBytes(this._archive.centralLength)),this.write(Le.getEightBytes(this._archive.centralOffset)),this.write(Le.getLongBytes(nt.SIG_ZIP64_EOCD_LOC)),this.write(nt.LONG_ZERO),this.write(Le.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(Le.getLongBytes(1))};si.prototype._writeCentralFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t._offsets.file,i=t.getSize(),s=t.getCompressedSize();if(t.isZip64()||n>nt.ZIP64_MAGIC){i=nt.ZIP64_MAGIC,s=nt.ZIP64_MAGIC,n=nt.ZIP64_MAGIC,t.setVersionNeededToExtract(nt.MIN_VERSION_ZIP64);var a=Buffer.concat([Le.getShortBytes(nt.ZIP64_EXTRA_ID),Le.getShortBytes(24),Le.getEightBytes(t.getSize()),Le.getEightBytes(t.getCompressedSize()),Le.getEightBytes(t._offsets.file)],28);t.setExtra(a)}this.write(Le.getLongBytes(nt.SIG_CFH)),this.write(Le.getShortBytes(t.getPlatform()<<8|nt.VERSION_MADEBY)),this.write(Le.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Le.getShortBytes(r)),this.write(Le.getLongBytes(t.getTimeDos())),this.write(Le.getLongBytes(t.getCrc())),this.write(Le.getLongBytes(s)),this.write(Le.getLongBytes(i));var c=t.getName(),l=t.getComment(),u=t.getCentralDirectoryExtra();e.usesUTF8ForNames()&&(c=Buffer.from(c),l=Buffer.from(l)),this.write(Le.getShortBytes(c.length)),this.write(Le.getShortBytes(u.length)),this.write(Le.getShortBytes(l.length)),this.write(nt.SHORT_ZERO),this.write(Le.getShortBytes(t.getInternalAttributes())),this.write(Le.getLongBytes(t.getExternalAttributes())),this.write(Le.getLongBytes(n)),this.write(c),this.write(u),this.write(l)};si.prototype._writeDataDescriptor=function(t){this.write(Le.getLongBytes(nt.SIG_DD)),this.write(Le.getLongBytes(t.getCrc())),t.isZip64()?(this.write(Le.getEightBytes(t.getCompressedSize())),this.write(Le.getEightBytes(t.getSize()))):(this.write(Le.getLongBytes(t.getCompressedSize())),this.write(Le.getLongBytes(t.getSize())))};si.prototype._writeLocalFileHeader=function(t){var e=t.getGeneralPurposeBit(),r=t.getMethod(),n=t.getName(),i=t.getLocalFileDataExtra();t.isZip64()&&(e.useDataDescriptor(!0),t.setVersionNeededToExtract(nt.MIN_VERSION_ZIP64)),e.usesUTF8ForNames()&&(n=Buffer.from(n)),t._offsets.file=this.offset,this.write(Le.getLongBytes(nt.SIG_LFH)),this.write(Le.getShortBytes(t.getVersionNeededToExtract())),this.write(e.encode()),this.write(Le.getShortBytes(r)),this.write(Le.getLongBytes(t.getTimeDos())),t._offsets.data=this.offset,e.usesDataDescriptor()?(this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO),this.write(nt.LONG_ZERO)):(this.write(Le.getLongBytes(t.getCrc())),this.write(Le.getLongBytes(t.getCompressedSize())),this.write(Le.getLongBytes(t.getSize()))),this.write(Le.getShortBytes(n.length)),this.write(Le.getShortBytes(i.length)),this.write(n),this.write(i),t._offsets.contents=this.offset};si.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};si.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>nt.ZIP64_MAGIC_SHORT||this._archive.centralLength>nt.ZIP64_MAGIC||this._archive.centralOffset>nt.ZIP64_MAGIC};si.prototype.setComment=function(t){this._archive.comment=t}});var m7=m((jLr,mPe)=>{mPe.exports={ArchiveEntry:cP(),ZipArchiveEntry:a7(),ArchiveOutputStream:u7(),ZipArchiveOutputStream:pPe()}});var gPe=m(($Lr,APe)=>{var CLt=require("util").inherits,g7=m7().ZipArchiveOutputStream,bLt=m7().ZipArchiveEntry,A7=nC(),iC=APe.exports=function(t){if(!(this instanceof iC))return new iC(t);t=this.options=t||{},t.zlib=t.zlib||{},g7.call(this,t),typeof t.level=="number"&&t.level>=0&&(t.zlib.level=t.level,delete t.level),!t.forceZip64&&typeof t.zlib.level=="number"&&t.zlib.level===0&&(t.store=!0),t.namePrependSlash=t.namePrependSlash||!1,t.comment&&t.comment.length>0&&this.setComment(t.comment)};CLt(iC,g7);iC.prototype._normalizeFileData=function(t){t=A7.defaults(t,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var e=t.type==="directory",r=t.type==="symlink";return t.name&&(t.name=A7.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=A7.dateify(t.date),t};iC.prototype.entry=function(t,e,r){if(typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),e=this._normalizeFileData(e),e.type!=="file"&&e.type!=="directory"&&e.type!=="symlink"){r(new Error(e.type+" entries not currently supported"));return}if(typeof e.name!="string"||e.name.length===0){r(new Error("entry name must be a non-empty string value"));return}if(e.type==="symlink"&&typeof e.linkname!="string"){r(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var n=new bLt(e.name);return n.setTime(e.date,this.options.forceLocalTime),e.namePrependSlash&&n.setName(e.name,!0),e.store&&n.setMethod(0),e.comment.length>0&&n.setComment(e.comment),e.type==="symlink"&&typeof e.mode!="number"&&(e.mode=40960),typeof e.mode=="number"&&(e.type==="symlink"&&(e.mode|=40960),n.setUnixMode(e.mode)),e.type==="symlink"&&typeof e.linkname=="string"&&(t=Buffer.from(e.linkname)),g7.prototype.entry.call(this,n,t,r)};iC.prototype.finalize=function(){this.finish()}});var EPe=m((WLr,yPe)=>{var wLt=gPe(),ILt=nC(),sh=o(function(t){if(!(this instanceof sh))return new sh(t);t=this.options=ILt.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new wLt(t)},"Zip");sh.prototype.append=function(t,e,r){this.engine.entry(t,e,r)};sh.prototype.finalize=function(){this.engine.finalize()};sh.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};sh.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};sh.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};yPe.exports=sh});var bPe=m((YLr,CPe)=>{CPe.exports=typeof queueMicrotask=="function"?queueMicrotask:t=>Promise.resolve().then(t)});var IPe=m((KLr,wPe)=>{wPe.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):bPe()});var BPe=m((ZLr,SPe)=>{SPe.exports=class{static{o(this,"FixedFIFO")}constructor(e){if(!(e>0)||(e-1&e)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return this.buffer[this.top]!==void 0?!1:(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(e!==void 0)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var y7=m((rFr,xPe)=>{var vPe=BPe();xPe.exports=class{static{o(this,"FastFIFO")}constructor(e){this.hwm=e||16,this.head=new vPe(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let r=this.head;this.head=r.next=new vPe(2*this.head.buffer.length),this.head.push(e)}}shift(){this.length!==0&&this.length--;let e=this.tail.shift();if(e===void 0&&this.tail.next){let r=this.tail.next;return this.tail.next=null,this.tail=r,this.tail.shift()}return e}peek(){let e=this.tail.peek();return e===void 0&&this.tail.next?this.tail.next.peek():e}isEmpty(){return this.length===0}}});var k7=m((iFr,YPe)=>{var{EventEmitter:SLt}=require("events"),AP=new Error("Stream was destroyed"),E7=new Error("Premature close"),DPe=IPe(),QPe=y7(),$r=(1<<28)-1,Gm=1,v7=2,Fm=4,CB=8,kPe=$r^Gm,BLt=$r^v7,vB=16,bB=32,lC=64,oh=128,xB=256,x7=512,Mm=1024,C7=2048,_7=4096,N7=8192,Bc=16384,sC=32768,gP=65536,Um=131072,PPe=xB|x7,vLt=vB|gP,xLt=lC|vB,_Lt=_7|oh,R7=xB|Um,NLt=$r^vB,RLt=$r^lC,TLt=$r^(lC|gP),DLt=$r^gP,QLt=$r^xB,kLt=$r^(oh|N7),PLt=$r^Mm,_Pe=$r^PPe,OPe=$r^sC,OLt=$r^bB,LPe=$r^Um,LLt=$r^R7,ah=1<<18,aC=2<<18,_B=4<<18,qm=8<<18,NB=16<<18,Hm=32<<18,b7=64<<18,oC=128<<18,T7=256<<18,cC=512<<18,FPe=$r^(ah|T7),MPe=$r^_B,FLt=$r^cC,MLt=$r^NB,ULt=$r^qm,UPe=$r^oC,qLt=$r^aC,wB=vB|ah,qPe=$r^wB,D7=Bc|Hm,_f=Fm|CB|v7,Do=_f|Gm,GPe=_f|D7,GLt=MPe&RLt,Q7=oC|sC,HLt=Q7&qPe,HPe=Do|HLt,VLt=Do|Mm|Bc,NPe=Do|Bc|oh,zLt=Do|Mm|oh,jLt=Do|_7|oh|N7,$Lt=Do|vB|Mm|Bc|gP|Um,WLt=_f|Mm|Bc,JLt=bB|Do|sC|lC,YLt=Do|cC|Hm,KLt=qm|NB,VPe=qm|ah,XLt=qm|NB|Do|ah,RPe=Do|ah|qm,ZLt=_B|ah,eFt=ah|T7,tFt=Do|cC|VPe|Hm,rFt=NB|_f|cC|Hm,nFt=aC|Do|oC|_B,fP=Symbol.asyncIterator||Symbol("asyncIterator"),dP=class{static{o(this,"WritableState")}constructor(e,{highWaterMark:r=16384,map:n=null,mapWritable:i,byteLength:s,byteLengthWritable:a}={}){this.stream=e,this.queue=new QPe,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=a||s||JPe,this.map=i||n,this.afterWrite=oFt.bind(this),this.afterUpdateNextTick=lFt.bind(this)}get ended(){return(this.stream._duplexState&Hm)!==0}push(e){return this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=a||s||JPe,this.map=i||n,this.pipeTo=null,this.afterRead=aFt.bind(this),this.afterUpdateNextTick=cFt.bind(this)}get ended(){return(this.stream._duplexState&Bc)!==0}pipe(e,r){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof r!="function"&&(r=null),this.stream._duplexState|=x7,this.pipeTo=e,this.pipeline=new S7(this.stream,e,r),r&&this.stream.on("error",TPe),BB(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",TPe),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{let n=this.pipeline.done.bind(this.pipeline,e),i=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",i),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",iFt.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}push(e){let r=this.stream;return e===null?(this.highWaterMark=0,r._duplexState=(r._duplexState|Mm)&TLt,!1):(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),r._duplexState=(r._duplexState|oh)&DLt,this.buffered0;)r.push(this.shift());for(let n=0;n0;)n.drains.shift().resolve(!1);n.pipeline!==null&&n.pipeline.done(e,t)}}o(zPe,"afterDestroy");function oFt(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=FPe,this.drains!==null&&uFt(this.drains),(e._duplexState&XLt)===NB&&(e._duplexState&=MLt,(e._duplexState&b7)===b7&&e.emit("drain")),this.updateCallback()}o(oFt,"afterWrite");function aFt(t){t&&this.stream.destroy(t),this.stream._duplexState&=NLt,this.readAhead===!1&&(this.stream._duplexState&xB)===0&&(this.stream._duplexState&=LPe),this.updateCallback()}o(aFt,"afterRead");function cFt(){(this.stream._duplexState&bB)===0&&(this.stream._duplexState&=OPe,this.update())}o(cFt,"updateReadNT");function lFt(){(this.stream._duplexState&aC)===0&&(this.stream._duplexState&=UPe,this.update())}o(lFt,"updateWriteNT");function uFt(t){for(let e=0;e=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&xB)===0}[fP](){let e=this,r=null,n=null,i=null;return this.on("error",u=>{r=u}),this.on("readable",s),this.on("close",a),{[fP](){return this},next(){return new Promise(function(u,f){n=u,i=f;let d=e.read();d!==null?c(d):(e._duplexState&CB)!==0&&c(null)})},return(){return l(null)},throw(u){return l(u)}};function s(){n!==null&&c(e.read())}o(s,"onreadable");function a(){n!==null&&c(null)}o(a,"onclose");function c(u){i!==null&&(r?i(r):u===null&&(e._duplexState&Bc)===0?i(AP):n({value:u,done:u===null}),i=n=null)}o(c,"ondata");function l(u){return e.destroy(u),new Promise((f,d)=>{if(e._duplexState&CB)return f({value:void 0,done:!0});e.once("close",function(){u?d(u):f({value:void 0,done:!0})})})}o(l,"destroy")}},pP=class extends IB{static{o(this,"Writable")}constructor(e){super(e),this._duplexState|=Gm|Bc,this._writableState=new dP(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}static isBackpressured(e){return(e._duplexState&rFt)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(EFt(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&T7?1:0);return i===0?Promise.resolve(!0):(r.drains===null&&(r.drains=[]),new Promise(s=>{r.drains.push({writes:i,resolve:s})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},SB=class extends hP{static{o(this,"Duplex")}constructor(e){super(e),this._duplexState=Gm|this._duplexState&Um,this._writableState=new dP(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,r){r(null)}_write(e,r){this._writableState.autoBatch(e,r)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},mP=class extends SB{static{o(this,"Transform")}constructor(e){super(e),this._transformState=new I7(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,r){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(this._transformState.data!==null){let r=this._transformState.data;this._transformState.data=null,e(null),this._transform(r,this._transformState.afterTransform)}else e(null)}destroy(e){super.destroy(e),this._transformState.data!==null&&(this._transformState.data=null,this._transformState.afterTransform())}_transform(e,r){r(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(hFt.bind(this))}},B7=class extends mP{static{o(this,"PassThrough")}};function hFt(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}o(hFt,"transformAfterFlush");function pFt(...t){return new Promise((e,r)=>$Pe(...t,n=>{if(n)return r(n);e()}))}o(pFt,"pipelinePromise");function $Pe(t,...e){let r=Array.isArray(t)?[...t,...e]:[t,...e],n=r.length&&typeof r[r.length-1]=="function"?r.pop():null;if(r.length<2)throw new Error("Pipeline requires at least 2 streams");let i=r[0],s=null,a=null;for(let u=1;u1,l),i.pipe(s)),i=s;if(n){let u=!1,f=BB(s)||!!(s._writableState&&s._writableState.autoDestroy);s.on("error",d=>{a===null&&(a=d)}),s.on("finish",()=>{u=!0,f||n(a)}),f&&s.on("close",()=>n(a||(u?null:E7)))}return s;function c(u,f,d,h){u.on("error",h),u.on("close",p);function p(){if(f&&u._readableState&&!u._readableState.ended||d&&u._writableState&&!u._writableState.ended)return h(E7)}o(p,"onclose")}function l(u){if(!(!u||a)){a=u;for(let f of r)f.destroy(u)}}}o($Pe,"pipeline");function WPe(t){return!!t._readableState||!!t._writableState}o(WPe,"isStream");function BB(t){return typeof t._duplexState=="number"&&WPe(t)}o(BB,"isStreamx");function mFt(t){let e=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return e===AP?null:e}o(mFt,"getStreamError");function AFt(t){return BB(t)&&t.readable}o(AFt,"isReadStreamx");function gFt(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}o(gFt,"isTypedArray");function JPe(t){return gFt(t)?t.byteLength:1024}o(JPe,"defaultByteLength");function TPe(){}o(TPe,"noop");function yFt(){this.destroy(new Error("Stream aborted."))}o(yFt,"abort");function EFt(t){return t._writev!==pP.prototype._writev&&t._writev!==SB.prototype._writev}o(EFt,"isWritev");YPe.exports={pipeline:$Pe,pipelinePromise:pFt,isStream:WPe,isStreamx:BB,getStreamError:mFt,Stream:IB,Writable:pP,Readable:hP,Duplex:SB,Transform:mP,PassThrough:B7}});var yP=m((oFr,KPe)=>{function CFt(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}o(CFt,"isBuffer");function bFt(t){return Buffer.isEncoding(t)}o(bFt,"isEncoding");function wFt(t,e,r){return Buffer.alloc(t,e,r)}o(wFt,"alloc");function IFt(t){return Buffer.allocUnsafe(t)}o(IFt,"allocUnsafe");function SFt(t){return Buffer.allocUnsafeSlow(t)}o(SFt,"allocUnsafeSlow");function BFt(t,e){return Buffer.byteLength(t,e)}o(BFt,"byteLength");function vFt(t,e){return Buffer.compare(t,e)}o(vFt,"compare");function xFt(t,e){return Buffer.concat(t,e)}o(xFt,"concat");function _Ft(t,e,r,n,i){return Sn(t).copy(e,r,n,i)}o(_Ft,"copy");function NFt(t,e){return Sn(t).equals(e)}o(NFt,"equals");function RFt(t,e,r,n,i){return Sn(t).fill(e,r,n,i)}o(RFt,"fill");function TFt(t,e,r){return Buffer.from(t,e,r)}o(TFt,"from");function DFt(t,e,r,n){return Sn(t).includes(e,r,n)}o(DFt,"includes");function QFt(t,e,r,n){return Sn(t).indexOf(e,r,n)}o(QFt,"indexOf");function kFt(t,e,r,n){return Sn(t).lastIndexOf(e,r,n)}o(kFt,"lastIndexOf");function PFt(t){return Sn(t).swap16()}o(PFt,"swap16");function OFt(t){return Sn(t).swap32()}o(OFt,"swap32");function LFt(t){return Sn(t).swap64()}o(LFt,"swap64");function Sn(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}o(Sn,"toBuffer");function FFt(t,e,r,n){return Sn(t).toString(e,r,n)}o(FFt,"toString");function MFt(t,e,r,n,i){return Sn(t).write(e,r,n,i)}o(MFt,"write");function UFt(t,e,r){return Sn(t).writeDoubleLE(e,r)}o(UFt,"writeDoubleLE");function qFt(t,e,r){return Sn(t).writeFloatLE(e,r)}o(qFt,"writeFloatLE");function GFt(t,e,r){return Sn(t).writeUInt32LE(e,r)}o(GFt,"writeUInt32LE");function HFt(t,e,r){return Sn(t).writeInt32LE(e,r)}o(HFt,"writeInt32LE");function VFt(t,e){return Sn(t).readDoubleLE(e)}o(VFt,"readDoubleLE");function zFt(t,e){return Sn(t).readFloatLE(e)}o(zFt,"readFloatLE");function jFt(t,e){return Sn(t).readUInt32LE(e)}o(jFt,"readUInt32LE");function $Ft(t,e){return Sn(t).readInt32LE(e)}o($Ft,"readInt32LE");KPe.exports={isBuffer:CFt,isEncoding:bFt,alloc:wFt,allocUnsafe:IFt,allocUnsafeSlow:SFt,byteLength:BFt,compare:vFt,concat:xFt,copy:_Ft,equals:NFt,fill:RFt,from:TFt,includes:DFt,indexOf:QFt,lastIndexOf:kFt,swap16:PFt,swap32:OFt,swap64:LFt,toBuffer:Sn,toString:FFt,write:MFt,writeDoubleLE:UFt,writeFloatLE:qFt,writeUInt32LE:GFt,writeInt32LE:HFt,readDoubleLE:VFt,readFloatLE:zFt,readUInt32LE:jFt,readInt32LE:$Ft}});var L7=m(fC=>{var Rt=yP(),WFt="0000000000000000000",JFt="7777777777777777777",EP=48,XPe=Rt.from([117,115,116,97,114,0]),YFt=Rt.from([EP,EP]),KFt=Rt.from([117,115,116,97,114,32]),XFt=Rt.from([32,0]),ZFt=4095,RB=257,O7=263;fC.decodeLongPath=o(function(e,r){return uC(e,0,e.length,r)},"decodeLongPath");fC.encodePax=o(function(e){let r="";e.name&&(r+=P7(" path="+e.name+` +`)),e.linkname&&(r+=P7(" linkpath="+e.linkname+` +`));let n=e.pax;if(n)for(let i in n)r+=P7(" "+i+"="+n[i]+` +`);return Rt.from(r)},"encodePax");fC.decodePax=o(function(e){let r={};for(;e.length;){let n=0;for(;n100;){let s=n.indexOf("/");if(s===-1)return null;i+=i?"/"+n.slice(0,s):n.slice(0,s),n=n.slice(s+1)}return Rt.byteLength(n)>100||Rt.byteLength(i)>155||e.linkname&&Rt.byteLength(e.linkname)>100?null:(Rt.write(r,n),Rt.write(r,lh(e.mode&ZFt,6),100),Rt.write(r,lh(e.uid,6),108),Rt.write(r,lh(e.gid,6),116),oMt(e.size,r,124),Rt.write(r,lh(e.mtime.getTime()/1e3|0,11),136),r[156]=EP+iMt(e.type),e.linkname&&Rt.write(r,e.linkname,157),Rt.copy(XPe,r,RB),Rt.copy(YFt,r,O7),e.uname&&Rt.write(r,e.uname,265),e.gname&&Rt.write(r,e.gname,297),Rt.write(r,lh(e.devmajor||0,6),329),Rt.write(r,lh(e.devminor||0,6),337),i&&Rt.write(r,i,345),Rt.write(r,lh(eOe(r),6),148),r)},"encode");fC.decode=o(function(e,r,n){let i=e[156]===0?0:e[156]-EP,s=uC(e,0,100,r),a=ch(e,100,8),c=ch(e,108,8),l=ch(e,116,8),u=ch(e,124,12),f=ch(e,136,12),d=nMt(i),h=e[157]===0?null:uC(e,157,100,r),p=uC(e,265,32),A=uC(e,297,32),g=ch(e,329,8),E=ch(e,337,8),y=eOe(e);if(y===256)return null;if(y!==ch(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(eMt(e))e[345]&&(s=uC(e,345,155,r)+"/"+s);else if(!tMt(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return i===0&&s&&s[s.length-1]==="/"&&(i=5),{name:s,mode:a,uid:c,gid:l,size:u,mtime:new Date(1e3*f),type:d,linkname:h,uname:p,gname:A,devmajor:g,devminor:E,pax:null}},"decode");function eMt(t){return Rt.equals(XPe,t.subarray(RB,RB+6))}o(eMt,"isUSTAR");function tMt(t){return Rt.equals(KFt,t.subarray(RB,RB+6))&&Rt.equals(XFt,t.subarray(O7,O7+2))}o(tMt,"isGNU");function rMt(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}o(rMt,"clamp");function nMt(t){switch(t){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}o(nMt,"toType");function iMt(t){switch(t){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}o(iMt,"toTypeflag");function ZPe(t,e,r,n){for(;re?JFt.slice(0,e)+" ":WFt.slice(0,e-t.length)+t+" "}o(lh,"encodeOct");function sMt(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}o(sMt,"encodeSizeBin");function oMt(t,e,r){t.toString(8).length>11?sMt(t,e,r):Rt.write(e,lh(t,11),r)}o(oMt,"encodeSize");function aMt(t){let e;if(t[0]===128)e=!0;else if(t[0]===255)e=!1;else return null;let r=[],n;for(n=t.length-1;n>0;n--){let a=t[n];e?r.push(a):r.push(255-a)}let i=0,s=r.length;for(n=0;n=Math.pow(10,r)&&r++,e+r+t}o(P7,"addLength")});var sOe=m((uFr,iOe)=>{var{Writable:cMt,Readable:lMt,getStreamError:tOe}=k7(),uMt=y7(),rOe=yP(),dC=L7(),fMt=rOe.alloc(0),M7=class{static{o(this,"BufferList")}constructor(){this.buffered=0,this.shifted=0,this.queue=new uMt,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return fMt;let r=this._next(e);if(e===r.byteLength)return r;let n=[r];for(;(e-=r.byteLength)>0;)r=this._next(e),n.push(r);return rOe.concat(n)}_next(e){let r=this.queue.peek(),n=r.byteLength-this._offset;if(e>=n){let i=this._offset?r.subarray(this._offset,r.byteLength):r;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,i}return this.buffered-=e,this.shifted+=e,r.subarray(this._offset,this._offset+=e)}},U7=class extends lMt{static{o(this,"Source")}constructor(e,r,n){super(),this.header=r,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(tOe(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=nOe(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},q7=class extends cMt{static{o(this,"Extract")}constructor(e){super(e),e||(e={}),this._buffer=new M7,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=F7,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=dC.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),this._header.size===0||this._header.type==="directory"?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=dC.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=dC.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=dC.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?dC.decodePax(e):Object.assign({},this._paxGlobal,dC.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=nOe(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(r){return this._continueWrite(r),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(e===null)return!1;this._missing-=e.byteLength;let r=this._stream.push(e);return this._missing===0?(this._stream.push(null),r&&this._stream._detach(),r&&this._locked===!1):r}_createStream(){return new U7(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let e=this._buffer.shiftFirst(this._missing);e!==null&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(e){let r=this._callback;this._callback=F7,r(e)}_write(e,r){this._callback=r,this._buffer.push(e),this._update()}_final(e){this._finished=this._missing===0&&this._buffer.buffered===0,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(tOe(this)),e(null)}[Symbol.asyncIterator](){let e=null,r=null,n=null,i=null,s=null,a=this;return this.on("entry",u),this.on("error",h=>{e=h}),this.on("close",f),{[Symbol.asyncIterator](){return this},next(){return new Promise(l)},return(){return d(null)},throw(h){return d(h)}};function c(h){if(!s)return;let p=s;s=null,p(h)}o(c,"consumeCallback");function l(h,p){if(e)return p(e);if(i){h({value:i,done:!1}),i=null;return}r=h,n=p,c(null),a._finished&&r&&(r({value:void 0,done:!0}),r=n=null)}o(l,"onnext");function u(h,p,A){s=A,p.on("error",F7),r?(r({value:p,done:!1}),r=n=null):i=p}o(u,"onentry");function f(){c(e),r&&(e?n(e):r({value:void 0,done:!0}),r=n=null)}o(f,"onclose");function d(h){return a.destroy(h),c(h),new Promise((p,A)=>{if(a.destroyed)return p({value:void 0,done:!0});a.once("close",function(){h?A(h):p({value:void 0,done:!0})})})}o(d,"destroy")}};iOe.exports=o(function(e){return new q7(e)},"extract");function F7(){}o(F7,"noop");function nOe(t){return t&=511,t&&512-t}o(nOe,"overflow")});var aOe=m((dFr,G7)=>{var oOe={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{G7.exports=require("fs").constants||oOe}catch{G7.exports=oOe}});var dOe=m((hFr,fOe)=>{var{Readable:dMt,Writable:hMt,getStreamError:cOe}=k7(),Vm=yP(),hC=aOe(),CP=L7(),pMt=493,mMt=420,lOe=Vm.alloc(1024),V7=class extends hMt{static{o(this,"Sink")}constructor(e,r,n){super({mapWritable:gMt,eagerOpen:!0}),this.written=0,this.header=r,this._callback=n,this._linkname=null,this._isLinkname=r.type==="symlink"&&!r.linkname,this._isVoid=r.type!=="file"&&r.type!=="contiguous-file",this._finished=!1,this._pack=e,this._openCallback=null,this._pack._stream===null?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(this._callback===null)return;let r=this._callback;this._callback=null,r(e)}_continueOpen(){this._pack._stream===null&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,e!==null){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,r){if(this._isLinkname)return this._linkname=this._linkname?Vm.concat([this._linkname,e]):e,r(null);if(this._isVoid)return e.byteLength>0?r(new Error("No body allowed for this entry")):r();if(this.written+=e.byteLength,this._pack.push(e))return r();this._pack._drain=r}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?Vm.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),uOe(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return cOe(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}},z7=class extends dMt{static{o(this,"Pack")}constructor(e){super(e),this._drain=H7,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,r,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");typeof r=="function"&&(n=r,r=null),n||(n=H7),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=AMt(e.mode)),e.mode||(e.mode=e.type==="directory"?pMt:mMt),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=Vm.from(r));let i=new V7(this,e,n);return Vm.isBuffer(r)?(e.size=r.byteLength,i.write(r),i.end(),i):(i._isVoid,i)}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(lOe),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let r=CP.encode(e);if(r){this.push(r);return}}this._encodePax(e)}_encodePax(e){let r=CP.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:r.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(CP.encode(n)),this.push(r),uOe(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(CP.encode(n))}_doDrain(){let e=this._drain;this._drain=H7,e()}_predestroy(){let e=cOe(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let r=this._pending.shift();r.destroy(e),r._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}};fOe.exports=o(function(e){return new z7(e)},"pack");function AMt(t){switch(t&hC.S_IFMT){case hC.S_IFBLK:return"block-device";case hC.S_IFCHR:return"character-device";case hC.S_IFDIR:return"directory";case hC.S_IFIFO:return"fifo";case hC.S_IFLNK:return"symlink"}return"file"}o(AMt,"modeToType");function H7(){}o(H7,"noop");function uOe(t,e){e&=511,e&&t.push(lOe.subarray(0,512-e))}o(uOe,"overflow");function gMt(t){return Vm.isBuffer(t)?t:Vm.from(t)}o(gMt,"mapWritable")});var hOe=m(j7=>{j7.extract=sOe();j7.pack=dOe()});var AOe=m((AFr,mOe)=>{var yMt=require("zlib"),EMt=hOe(),pOe=nC(),Nf=o(function(t){if(!(this instanceof Nf))return new Nf(t);t=this.options=pOe.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=EMt.pack(t),this.compressor=!1,t.gzip&&(this.compressor=yMt.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))},"Tar");Nf.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Nf.prototype.append=function(t,e,r){var n=this;e.mtime=e.date;function i(a,c){if(a){r(a);return}n.engine.entry(e,c,function(l){r(l,e)})}if(o(i,"append"),e.sourceType==="buffer")i(null,t);else if(e.sourceType==="stream"&&e.stats){e.size=e.stats.size;var s=n.engine.entry(e,function(a){r(a,e)});t.pipe(s)}else e.sourceType==="stream"&&pOe.collectStream(t,i)};Nf.prototype.finalize=function(){this.engine.finalize()};Nf.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Nf.prototype.pipe=function(t,e){return this.compressor?this.engine.pipe.apply(this.engine,[this.compressor]).pipe(t,e):this.engine.pipe.apply(this.engine,arguments)};Nf.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};mOe.exports=Nf});var EOe=m((yFr,yOe)=>{"use strict";function CMt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(CMt,"getDefaultExportFromCjs");var bMt=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function gOe(t){if(Buffer.isBuffer(t))return t;if(typeof t=="number")return Buffer.alloc(t);if(typeof t=="string")return Buffer.from(t);throw new Error("input must be buffer, number, or string, received "+typeof t)}o(gOe,"ensureBuffer");function wMt(t){let e=gOe(4);return e.writeInt32BE(t,0),e}o(wMt,"bufferizeInt");function $7(t,e){t=gOe(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n>>8;return r^-1}o($7,"_crc32");function W7(){return wMt($7.apply(null,arguments))}o(W7,"crc32");W7.signed=function(){return $7.apply(null,arguments)};W7.unsigned=function(){return $7.apply(null,arguments)>>>0};var IMt=W7,SMt=CMt(IMt);yOe.exports=SMt});var IOe=m((CFr,wOe)=>{var BMt=require("util").inherits,COe=Tm().Transform,vMt=EOe(),bOe=nC(),uh=o(function(t){if(!(this instanceof uh))return new uh(t);t=this.options=bOe.defaults(t,{}),COe.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]},"Json");BMt(uh,COe);uh.prototype._transform=function(t,e,r){r(null,t)};uh.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};uh.prototype.append=function(t,e,r){var n=this;e.crc32=0;function i(s,a){if(s){r(s);return}e.size=a.length||0,e.crc32=vMt.unsigned(a),n.files.push(e),r(null,e)}o(i,"onend"),e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&bOe.collectStream(t,i)};uh.prototype.finalize=function(){this._writeStringified(),this.end()};wOe.exports=uh});var BOe=m((wFr,SOe)=>{var xMt=qke(),TB={},fh=o(function(t,e){return fh.create(t,e)},"vending");fh.create=function(t,e){if(TB[t]){var r=new xMt(t,e);return r.setFormat(t),r.setModule(new TB[t](e)),r}else throw new Error("create("+t+"): format not registered")};fh.registerFormat=function(t,e){if(TB[t])throw new Error("register("+t+"): format already registered");if(typeof e!="function")throw new Error("register("+t+"): format module invalid");if(typeof e.prototype.append!="function"||typeof e.prototype.finalize!="function")throw new Error("register("+t+"): format module missing methods");TB[t]=e};fh.isRegisteredFormat=function(t){return!!TB[t]};fh.registerFormat("zip",EPe());fh.registerFormat("tar",AOe());fh.registerFormat("json",IOe());SOe.exports=fh});var UOe=m(SP=>{"use strict";Object.defineProperty(SP,"__esModule",{value:!0});SP.getProxyUrl=LMt;SP.checkBypass=MOe;function LMt(t){let e=t.protocol==="https:";if(MOe(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 IP(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new IP(`http://${r}`)}else return}o(LMt,"getProxyUrl");function MOe(t){if(!t.hostname)return!1;let e=t.hostname;if(FMt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(MOe,"checkBypass");function FMt(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(FMt,"isLoopbackAddress");var IP=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 GOe=m(Sr=>{"use strict";var MMt=Sr&&Sr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),UMt=Sr&&Sr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_P=Sr&&Sr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ihn(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return hn(this,void 0,void 0,function*(){return new Promise(e=>hn(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Sr.HttpClientResponse=xP;function WMt(t){return new URL(t).protocol==="https:"}o(WMt,"isHttps");var K7=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return hn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return hn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return hn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return hn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return hn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return hn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return hn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return hn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return hn(this,arguments,void 0,function*(r,n={}){n[ps.Accept]=this._getExistingOrDefaultHeader(n,ps.Accept,Rf.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return hn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ps.Accept]=this._getExistingOrDefaultHeader(s,ps.Accept,Rf.ApplicationJson),s[ps.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Rf.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return hn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ps.Accept]=this._getExistingOrDefaultHeader(s,ps.Accept,Rf.ApplicationJson),s[ps.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Rf.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return hn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ps.Accept]=this._getExistingOrDefaultHeader(s,ps.Accept,Rf.ApplicationJson),s[ps.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Rf.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return hn(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&zMt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Na.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,a,n):u}let f=this._maxRedirects;for(;u.message.statusCode&&HMt.includes(u.message.statusCode)&&this._allowRedirects&&f>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),f--}if(!u.message.statusCode||!VMt.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new xP(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=Y7.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?qOe:J7;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},QB(this.requestOptions.headers),QB(e||{})):QB(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=QB(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=QB(this.requestOptions.headers)[ps.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[ps.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=Y7.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||J7.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?BP.httpsOverHttps:BP.httpsOverHttp:l=u?BP.httpOverHttps:BP.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new qOe.Agent(c):new J7.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new qMt.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return hn(this,void 0,void 0,function*(){e=Math.min(jMt,e);let r=$Mt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return hn(this,void 0,void 0,function*(){return new Promise((n,i)=>hn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Na.NotFound&&n(a);function c(f,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}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(s>299){let f;l&&l.message?f=l.message:u&&u.length>0?f=u:f=`Failed request: (${s})`;let d=new vP(f,s);d.result=a.result,i(d)}else n(a)}))})}};Sr.HttpClient=K7;var QB=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var ZOe=m((aMr,XOe)=>{XOe.exports=Oi;function Oi(t){if(!(this instanceof Oi))return new Oi(t);this.value=t}o(Oi,"Traverse");Oi.prototype.get=function(t){for(var e=this.value,r=0;r{var ZMt=ZOe(),eUt=require("events").EventEmitter;eLe.exports=mC;function mC(t){var e=mC.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}o(mC,"Chainsaw");mC.light=o(function(e){var r=mC.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()},"ChainsawLight");mC.saw=function(t,e){var r=new eUt;return r.handlers=e,r.actions=[],r.chain=function(){var n=ZMt(r.handlers).map(function(i){if(this.isRoot)return i;var s=this.path;typeof i=="function"&&this.update(function(){return r.actions.push({path:s,args:[].slice.call(arguments)}),n})});return process.nextTick(function(){r.emit("begin"),r.next()}),n},r.pop=function(){return r.actions.shift()},r.next=function(){var n=r.pop();if(!n)r.emit("end");else if(!n.trap){var i=r.handlers;n.path.forEach(function(s){i=i[s]}),i.apply(r.handlers,n.args)}},r.nest=function(n){var i=[].slice.call(arguments,1),s=!0;if(typeof n=="boolean"){var s=n;n=i.shift()}var a=mC.saw(t,{}),c=t.call(a.handlers,a);c!==void 0&&(a.handlers=c),typeof r.step<"u"&&a.record(),n.apply(a.chain(),i),s!==!1&&a.on("end",r.next)},r.record=function(){tUt(r)},["trap","down","jump"].forEach(function(n){r[n]=function(){throw new Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),r};function tUt(t){t.step=0,t.pop=function(){return t.actions[t.step++]},t.trap=function(e,r){var n=Array.isArray(e)?e:[e];t.actions.push({path:n,step:t.step,cb:r,trap:!0})},t.down=function(e){var r=(Array.isArray(e)?e:[e]).join("/"),n=t.actions.slice(t.step).map(function(s){return s.trap&&s.step<=t.step?!1:s.path.join("/")==r}).indexOf(!0);n>=0?t.step+=n:t.step=t.actions.length;var i=t.actions[t.step-1];i&&i.trap?(t.step=i.step,i.cb()):t.next()},t.jump=function(e){t.step=e,t.next()}}o(tUt,"upgradeChainsaw")});var nLe=m((fMr,rLe)=>{rLe.exports=ms;function ms(t){if(!(this instanceof ms))return new ms(t);this.buffers=t||[],this.length=this.buffers.reduce(function(e,r){return e+r.length},0)}o(ms,"Buffers");ms.prototype.push=function(){for(var t=0;t=0?t:this.length-t,i=[].slice.call(arguments,2);e===void 0?e=this.length-n:e>this.length-n&&(e=this.length-n);for(var t=0;t0){var u=n-c;if(u+e0){var p=i.slice();p.unshift(d),p.push(h),r.splice.apply(r,[l,1].concat(p)),l+=p.length,i=[]}else r.splice(l,1,d,h),l+=2}else s.push(r[l].slice(u)),r[l]=r[l].slice(0,u),l++}for(i.length>0&&(r.splice.apply(r,[l,0].concat(i)),l+=i.length);s.lengththis.length&&(e=this.length);for(var n=0,i=0;i=e-t?Math.min(u+(e-t)-a,l):l;r[c].copy(s,a,u,f),a+=f-u}return s};ms.prototype.pos=function(t){if(t<0||t>=this.length)throw new Error("oob");for(var e=t,r=0,n=null;;){if(n=this.buffers[r],e=this.buffers[r].length;)if(n=0,r++,r>=this.buffers.length)return-1;var l=this.buffers[r][n];if(l==t[i]){if(i==0&&(s={i:r,j:n,pos:a}),i++,i==t.length)return s.pos}else i!=0&&(r=s.i,n=s.j,a=s.pos,i=0);n++,a++}};ms.prototype.toBuffer=function(){return this.slice()};ms.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)}});var sLe=m((hMr,iLe)=>{iLe.exports=function(t){function e(n,i){var s=r.store,a=n.split(".");a.slice(0,-1).forEach(function(l){s[l]===void 0&&(s[l]={}),s=s[l]});var c=a[a.length-1];return arguments.length==1?s[c]:s[c]=i}o(e,"getset");var r={get:o(function(n){return e(n)},"get"),set:o(function(n,i){return e(n,i)},"set"),store:t||{}};return r}});var fLe=m((jm,uLe)=>{var rUt=tLe(),oLe=require("events").EventEmitter,nUt=nLe(),NP=sLe(),iUt=require("stream").Stream;jm=uLe.exports=function(t,e){if(Buffer.isBuffer(t))return jm.parse(t);var r=jm.stream();return t&&t.pipe?t.pipe(r):t&&(t.on(e||"data",function(n){r.write(n)}),t.on("end",function(){r.end()})),r};jm.stream=function(t){if(t)return jm.apply(null,arguments);var e=null;function r(d,h,p){e={bytes:d,skip:p,cb:o(function(A){e=null,h(A)},"cb")},i()}o(r,"getBytes");var n=null;function i(){if(!e){f&&(u=!0);return}if(typeof e=="function")e();else{var d=n+e.bytes;if(c.length>=d){var h;n==null?(h=c.splice(0,d),e.skip||(h=h.slice())):(e.skip||(h=c.slice(n,d)),n=d),e.skip?e.cb():e.cb(h)}}}o(i,"dispatch");function s(d){function h(){u||d.next()}o(h,"next");var p=lLe(function(A,g){return function(E){r(A,function(y){l.set(E,g(y)),h()})}});return p.tap=function(A){d.nest(A,l.store)},p.into=function(A,g){l.get(A)||l.set(A,{});var E=l;l=NP(E.get(A)),d.nest(function(){g.apply(this,arguments),this.tap(function(){l=E})},l.store)},p.flush=function(){l.store={},h()},p.loop=function(A){var g=!1;d.nest(!1,o(function E(){this.vars=l.store,A.call(this,function(){g=!0,h()},l.store),this.tap(function(){g?d.next():E.call(this)}.bind(this))},"loop"),l.store)},p.buffer=function(A,g){typeof g=="string"&&(g=l.get(g)),r(g,function(E){l.set(A,E),h()})},p.skip=function(A){typeof A=="string"&&(A=l.get(A)),r(A,function(){h()})},p.scan=o(function(g,E){if(typeof E=="string")E=new Buffer(E);else if(!Buffer.isBuffer(E))throw new Error("search must be a Buffer or a string");var y=0;e=o(function(){var C=c.indexOf(E,n+y),w=C-n-y;C!==-1?(e=null,n!=null?(l.set(g,c.slice(n,n+y+w)),n+=y+w+E.length):(l.set(g,c.slice(0,y+w)),c.splice(0,y+w+E.length)),h(),i()):w=Math.max(c.length-E.length-n-y,0),y+=w},"pending"),i()},"find"),p.peek=function(A){n=0,d.nest(function(){A.call(this,l.store),this.tap(function(){n=null})})},p}o(s,"builder");var a=rUt.light(s);a.writable=!0;var c=nUt();a.write=function(d){c.push(d),i()};var l=NP(),u=!1,f=!1;return a.end=function(){f=!0},a.pipe=iUt.prototype.pipe,Object.getOwnPropertyNames(oLe.prototype).forEach(function(d){a[d]=oLe.prototype[d]}),a};jm.parse=o(function(e){var r=lLe(function(s,a){return function(c){if(n+s<=e.length){var l=e.slice(n,n+s);n+=s,i.set(c,a(l))}else i.set(c,null);return r}}),n=0,i=NP();return r.vars=i.store,r.tap=function(s){return s.call(r,i.store),r},r.into=function(s,a){i.get(s)||i.set(s,{});var c=i;return i=NP(c.get(s)),a.call(r,i.store),i=c,r},r.loop=function(s){for(var a=!1,c=o(function(){a=!0},"ender");a===!1;)s.call(r,c,i.store);return r},r.buffer=function(s,a){typeof a=="string"&&(a=i.get(a));var c=e.slice(n,Math.min(e.length,n+a));return n+=a,i.set(s,c),r},r.skip=function(s){return typeof s=="string"&&(s=i.get(s)),n+=s,r},r.scan=function(s,a){if(typeof a=="string")a=new Buffer(a);else if(!Buffer.isBuffer(a))throw new Error("search must be a Buffer or a string");i.set(s,null);for(var c=0;c+n<=e.length-a.length+1;c++){for(var l=0;l=e.length},r},"parse");function aLe(t){for(var e=0,r=0;r{var dLe=require("stream").Transform,aUt=require("util");function $m(t,e){if(!(this instanceof $m))return new $m;dLe.call(this);var r=typeof t=="object"?t.pattern:t;this.pattern=Buffer.isBuffer(r)?r:Buffer.from(r),this.requiredLength=this.pattern.length,t.requiredExtraSize&&(this.requiredLength+=t.requiredExtraSize),this.data=new Buffer(""),this.bytesSoFar=0,this.matchFn=e}o($m,"MatcherStream");aUt.inherits($m,dLe);$m.prototype.checkDataChunk=function(t){var e=this.data.length>=this.requiredLength;if(e){var r=this.data.indexOf(this.pattern,t?1:0);if(r>=0&&r+this.requiredLength>this.data.length){if(r>0){var n=this.data.slice(0,r);this.push(n),this.bytesSoFar+=r,this.data=this.data.slice(r)}return}if(r===-1){var i=this.data.length-this.requiredLength+1,n=this.data.slice(0,i);this.push(n),this.bytesSoFar+=i,this.data=this.data.slice(i);return}if(r>0){var n=this.data.slice(0,r);this.data=this.data.slice(r),this.push(n),this.bytesSoFar+=r}var s=this.matchFn?this.matchFn(this.data,this.bytesSoFar):!0;if(s){this.data=new Buffer("");return}return!0}};$m.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};$m.prototype._flush=function(t){if(this.data.length>0)for(var e=!0;this.checkDataChunk(!e);)e=!1;this.data.length>0&&(this.push(this.data),this.data=null),t()};hLe.exports=$m});var ALe=m((yMr,mLe)=>{"use strict";var eK=require("stream"),cUt=require("util").inherits;function kB(){if(!(this instanceof kB))return new kB;eK.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}o(kB,"Entry");cUt(kB,eK.PassThrough);kB.prototype.autodrain=function(){return this.pipe(new eK.Transform({transform:o(function(t,e,r){r()},"transform")}))};mLe.exports=kB});var rK=m((CMr,yLe)=>{"use strict";var hh=fLe(),tK=require("stream"),lUt=require("util"),uUt=require("zlib"),fUt=pLe(),gLe=ALe(),Fe={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99},PB=4294967296,dUt=67324752,hUt=134695760,pUt=33639248,mUt=101075792,AUt=117853008,gUt=101010256;function Ii(t){if(!(this instanceof Ii))return new Ii(t);tK.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Fe.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}o(Ii,"UnzipStream");lUt.inherits(Ii,tK.Transform);Ii.prototype.processDataChunk=function(t){var e;switch(this.state){case Fe.STREAM_START:case Fe.START:e=4;break;case Fe.LOCAL_FILE_HEADER:e=26;break;case Fe.LOCAL_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case Fe.DATA_DESCRIPTOR:e=12;break;case Fe.CENTRAL_DIRECTORY_FILE_HEADER:e=42;break;case Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:e=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case Fe.CDIR64_END:e=52;break;case Fe.CDIR64_END_DATA_SECTOR:e=this.parsedEntity.centralDirectoryRecordSize-44;break;case Fe.CDIR64_LOCATOR:e=16;break;case Fe.CENTRAL_DIRECTORY_END:e=18;break;case Fe.CENTRAL_DIRECTORY_END_COMMENT:e=this.parsedEntity.commentLength;break;case Fe.FILE_DATA:return 0;case Fe.FILE_DATA_END:return 0;case Fe.TRAILING_JUNK:return this.options.debug&&console.log("found",t.length,"bytes of TRAILING_JUNK"),t.length;default:return t.length}var r=t.length;if(r>>8,(s&255)===80){a=c;break}return this.skippedBytes+=a,this.options.debug&&console.log("Skipped",this.skippedBytes,"bytes"),a}this.state=Fe.ERROR;var l=i?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var u=t.readUInt32LE(0),f;try{f=t.slice(0,4).toString()}catch{}console.log("Unexpected signature in zip file: 0x"+u.toString(16),'"'+f+'", skipped',this.skippedBytes,"bytes")}return this.emit("error",new Error(l)),t.length}return this.skippedBytes=0,e;case Fe.LOCAL_FILE_HEADER:return this.parsedEntity=this._readFile(t),this.state=Fe.LOCAL_FILE_HEADER_SUFFIX,e;case Fe.LOCAL_FILE_HEADER_SUFFIX:var d=new gLe,h=(this.parsedEntity.flags&2048)!==0;d.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h);var A=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(A);if(g&&g.parsed&&(g.parsed.path&&!h&&(d.path=g.parsed.path),Number.isFinite(g.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===PB-1&&(this.parsedEntity.uncompressedSize=g.parsed.uncompressedSize),Number.isFinite(g.parsed.compressedSize)&&this.parsedEntity.compressedSize===PB-1&&(this.parsedEntity.compressedSize=g.parsed.compressedSize)),this.parsedEntity.extra=g.parsed||{},this.options.debug){let S=Object.assign({},this.parsedEntity,{path:d.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:g&&g.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(S,null,2))}return this._prepareOutStream(this.parsedEntity,d),this.emit("entry",d),this.state=Fe.FILE_DATA,e;case Fe.CENTRAL_DIRECTORY_FILE_HEADER:return this.parsedEntity=this._readCentralDirectoryEntry(t),this.state=Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX,e;case Fe.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var h=(this.parsedEntity.flags&2048)!==0,p=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h),A=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(A);g&&g.parsed&&g.parsed.path&&!h&&(p=g.parsed.path),this.parsedEntity.extra=g.parsed;var E=(this.parsedEntity.versionMadeBy&65280)>>8===3,y,C;if(E){y=this.parsedEntity.externalFileAttributes>>>16;var w=y>>>12;C=(w&10)===10}if(this.options.debug){let S=Object.assign({},this.parsedEntity,{path:p,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:y&&"0"+y.toString(8),isSymlink:C,extraFields:g.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(S,null,2))}return this.state=Fe.START,e;case Fe.CDIR64_END:return this.parsedEntity=this._readEndOfCentralDirectory64(t),this.options.debug&&console.log("decoded CDIR64_END_RECORD:",this.parsedEntity),this.state=Fe.CDIR64_END_DATA_SECTOR,e;case Fe.CDIR64_END_DATA_SECTOR:return this.state=Fe.START,e;case Fe.CDIR64_LOCATOR:return this.state=Fe.START,e;case Fe.CENTRAL_DIRECTORY_END:return this.parsedEntity=this._readEndOfCentralDirectory(t),this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity),this.state=Fe.CENTRAL_DIRECTORY_END_COMMENT,e;case Fe.CENTRAL_DIRECTORY_END_COMMENT:return this.options.debug&&console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",t.slice(0,e).toString()),this.state=Fe.TRAILING_JUNK,e;case Fe.ERROR:return t.length;default:return console.log("didn't handle state #",this.state,"discarding"),t.length}};Ii.prototype._prepareOutStream=function(t,e){var r=this,n=t.uncompressedSize===0&&/[\/\\]$/.test(e.path);e.path=e.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,"."),e.type=n?"Directory":"File",e.isDirectory=n;var i=!(t.flags&8);i&&(e.size=t.uncompressedSize);var s=t.versionsNeededToExtract<=45;if(this.outStreamInfo={stream:null,limit:i?t.compressedSize:-1,written:0},i)this.outStreamInfo.stream=new tK.PassThrough;else{var a=new Buffer(4);a.writeUInt32LE(hUt,0);var c=t.extra.zip64Mode,l=c?20:12,u={pattern:a,requiredExtraSize:l},f=new fUt(u,function(g,E){var y=r._readDataDescriptor(g,c),C=y.compressedSize===E;if(!c&&!C&&E>=PB)for(var w=E-PB;w>=0&&(C=y.compressedSize===w,!C);)w-=PB;if(C){r.state=Fe.FILE_DATA_END;var S=c?24:16;return r.data.length>0?r.data=Buffer.concat([g.slice(S),r.data]):r.data=g.slice(S),!0}});this.outStreamInfo.stream=f}var d=t.flags&1||t.flags&64;if(d||!s){var h=d?"Encrypted files are not supported!":"Zip version "+Math.floor(t.versionsNeededToExtract/10)+"."+t.versionsNeededToExtract%10+" is not supported";e.skip=!0,setImmediate(()=>{r.emit("error",new Error(h))}),this.outStreamInfo.stream.pipe(new gLe().autodrain());return}var p=t.compressionMethod>0;if(p){var A=uUt.createInflateRaw();A.on("error",function(g){r.state=Fe.ERROR,r.emit("error",g)}),this.outStreamInfo.stream.pipe(A).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};Ii.prototype._readFile=function(t){var e=hh.parse(t).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return e};Ii.prototype._readExtraFields=function(t){var e={},r={parsed:e};this.options.debug&&(r.debug=[]);for(var n=0;n=C+4&&c&1&&(e.mtime=new Date(t.readUInt32LE(n+C)*1e3),C+=4),i.extraSize>=C+4&&c&2&&(e.atime=new Date(t.readUInt32LE(n+C)*1e3),C+=4),i.extraSize>=C+4&&c&4&&(e.ctime=new Date(t.readUInt32LE(n+C)*1e3));break;case 28789:s="Info-ZIP Unicode Path Extra Field";var l=t.readUInt8(n);if(l===1){var C=1,u=t.readUInt32LE(n+C);C+=4;var f=t.slice(n+C);e.path=f.toString()}break;case 13:case 22613:s=i.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var C=0;if(i.extraSize>=8){var d=new Date(t.readUInt32LE(n+C)*1e3);C+=4;var h=new Date(t.readUInt32LE(n+C)*1e3);if(C+=4,e.atime=d,e.mtime=h,i.extraSize>=12){var p=t.readUInt16LE(n+C);C+=2;var A=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=A}}break;case 30805:s="Info-ZIP UNIX (type 2)";var C=0;if(i.extraSize>=4){var p=t.readUInt16LE(n+C);C+=2;var A=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=A}break;case 30837:s="Info-ZIP New Unix";var C=0,g=t.readUInt8(n);if(C+=1,g===1){var E=t.readUInt8(n+C);C+=1,E<=6&&(e.uid=t.readUIntLE(n+C,E)),C+=E;var y=t.readUInt8(n+C);C+=1,y<=6&&(e.gid=t.readUIntLE(n+C,y))}break;case 30062:s="ASi Unix";var C=0;if(i.extraSize>=14){var w=t.readUInt32LE(n+C);C+=4;var S=t.readUInt16LE(n+C);C+=2;var Q=t.readUInt32LE(n+C);C+=4;var p=t.readUInt16LE(n+C);C+=2;var A=t.readUInt16LE(n+C);if(C+=2,e.mode=S,e.uid=p,e.gid=A,i.extraSize>14){var F=n+C,x=n+i.extraSize-14,j=this._decodeString(t.slice(F,x));e.symlink=j}}break}this.options.debug&&r.debug.push({extraId:"0x"+i.extraId.toString(16),description:s,data:t.slice(n,n+i.extraSize).inspect()}),n+=i.extraSize}return r};Ii.prototype._readDataDescriptor=function(t,e){if(e){var r=hh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=hh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};Ii.prototype._readCentralDirectoryEntry=function(t){var e=hh.parse(t).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return e};Ii.prototype._readEndOfCentralDirectory64=function(t){var e=hh.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};Ii.prototype._readEndOfCentralDirectory=function(t){var e=hh.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var yUt="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0 ";Ii.prototype._decodeString=function(t,e){if(e)return t.toString("utf8");if(this.options.decodeString)return this.options.decodeString(t);let r="";for(var n=0;n0&&(this.data=this.data.slice(r),this.data.length!==0););if(this.state===Fe.FILE_DATA){if(this.outStreamInfo.limit>=0){var n=this.outStreamInfo.limit-this.outStreamInfo.written,i;n{if(this.state===Fe.FILE_DATA_END)return this.state=Fe.START,s.end(e);e()})}return}e()};Ii.prototype.drainAll=function(){this._drainAllEntries=!0};Ii.prototype._transform=function(t,e,r){var n=this;n.data.length>0?n.data=Buffer.concat([n.data,t]):n.data=t;var i=n.data.length,s=o(function(){if(n.data.length>0&&n.data.length0){e._parseOrOutput("buffer",function(){if(e.data.length>0)return setImmediate(function(){e._flush(t)});t()});return}if(e.state===Fe.FILE_DATA)return t(new Error("Stream finished in an invalid state, uncompression failed"));setImmediate(t)};yLe.exports=Ii});var CLe=m((wMr,ELe)=>{var OB=require("stream").Transform,EUt=require("util"),CUt=rK();function ph(t){if(!(this instanceof ph))return new ph(t);var e=t||{};OB.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new CUt(this.opts);var r=this;this.unzipStream.on("entry",function(n){r.push(n)}),this.unzipStream.on("error",function(n){r.emit("error",n)})}o(ph,"ParserStream");EUt.inherits(ph,OB);ph.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};ph.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};ph.prototype.on=function(t,e){return t==="entry"?OB.prototype.on.call(this,"data",e):OB.prototype.on.call(this,t,e)};ph.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new OB({objectMode:!0,transform:o(function(t,e,r){r()},"transform")}))};ELe.exports=ph});var SLe=m((SMr,ILe)=>{var LB=require("path"),bLe=require("fs"),wLe=parseInt("0777",8);ILe.exports=AC.mkdirp=AC.mkdirP=AC;function AC(t,e,r,n){typeof e=="function"?(r=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var i=e.mode,s=e.fs||bLe;i===void 0&&(i=wLe),n||(n=null);var a=r||function(){};t=LB.resolve(t),s.mkdir(t,i,function(c){if(!c)return n=n||t,a(null,n);switch(c.code){case"ENOENT":if(LB.dirname(t)===t)return a(c);AC(LB.dirname(t),e,function(l,u){l?a(l,u):AC(t,e,a,u)});break;default:s.stat(t,function(l,u){l||!u.isDirectory()?a(c,n):a(null,n)});break}})}o(AC,"mkdirP");AC.sync=o(function t(e,r,n){(!r||typeof r!="object")&&(r={mode:r});var i=r.mode,s=r.fs||bLe;i===void 0&&(i=wLe),n||(n=null),e=LB.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(c){switch(c.code){case"ENOENT":n=t(LB.dirname(e),r,n),t(e,r,n);break;default:var a;try{a=s.statSync(e)}catch{throw c}if(!a.isDirectory())throw c;break}}return n},"sync")});var _Le=m((vMr,xLe)=>{var bUt=require("fs"),BLe=require("path"),wUt=require("util"),IUt=SLe(),vLe=require("stream").Transform,SUt=rK();function mh(t){if(!(this instanceof mh))return new mh(t);vLe.call(this),this.opts=t||{},this.unzipStream=new SUt(this.opts),this.unfinishedEntries=0,this.afterFlushWait=!1,this.createdDirectories={};var e=this;this.unzipStream.on("entry",this._processEntry.bind(this)),this.unzipStream.on("error",function(r){e.emit("error",r)})}o(mh,"Extract");wUt.inherits(mh,vLe);mh.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};mh.prototype._flush=function(t){var e=this,r=o(function(){process.nextTick(function(){e.emit("close")}),t()},"allDone");this.unzipStream.end(function(){if(e.unfinishedEntries>0)return e.afterFlushWait=!0,e.on("await-finished",r);r()})};mh.prototype._processEntry=function(t){var e=this,r=BLe.join(this.opts.path,t.path),n=t.isDirectory?r:BLe.dirname(r);this.unfinishedEntries++;var i=o(function(){var s=bUt.createWriteStream(r);s.on("close",function(){e.unfinishedEntries--,e._notifyAwaiter()}),s.on("error",function(a){e.emit("error",a)}),t.pipe(s)},"writeFileFn");if(this.createdDirectories[n]||n===".")return i();IUt(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};mh.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};xLe.exports=mh});var NLe=m(nK=>{"use strict";nK.Parse=CLe();nK.Extract=_Le()});var ULe=m((sK,oK)=>{(function(t,e){typeof sK=="object"&&typeof oK<"u"?oK.exports=e():typeof define=="function"&&define.amd?define(e):t.Bottleneck=e()})(sK,(function(){"use strict";var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e(be){return be&&be.default||be}o(e,"getCjsExportFromNamespace");var r=o(function(be,P,v={}){var M,G,$;for(M in P)$=P[M],v[M]=(G=be[M])!=null?G:$;return v},"load"),n=o(function(be,P,v={}){var M,G;for(M in be)G=be[M],P[M]!==void 0&&(v[M]=G);return v},"overwrite"),i={load:r,overwrite:n},s;s=class{static{o(this,"DLList")}constructor(P,v){this.incr=P,this.decr=v,this._first=null,this._last=null,this.length=0}push(P){var v;this.length++,typeof this.incr=="function"&&this.incr(),v={value:P,prev:this._last,next:null},this._last!=null?(this._last.next=v,this._last=v):this._first=this._last=v}shift(){var P;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),P=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,P}first(){if(this._first!=null)return this._first.value}getArray(){var P,v,M;for(P=this._first,M=[];P!=null;)M.push((v=P,P=P.next,v.value));return M}forEachShift(P){var v;for(v=this.shift();v!=null;)P(v),v=this.shift()}debug(){var P,v,M,G,$;for(P=this._first,$=[];P!=null;)$.push((v=P,P=P.next,{value:v.value,prev:(M=v.prev)!=null?M.value:void 0,next:(G=v.next)!=null?G.value:void 0}));return $}};var a=s,c;c=class{static{o(this,"Events")}constructor(P){if(this.instance=P,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(v,M)=>this._addListener(v,"many",M),this.instance.once=(v,M)=>this._addListener(v,"once",M),this.instance.removeAllListeners=(v=null)=>v!=null?delete this._events[v]:this._events={}}_addListener(P,v,M){var G;return(G=this._events)[P]==null&&(G[P]=[]),this._events[P].push({cb:M,status:v}),this.instance}listenerCount(P){return this._events[P]!=null?this._events[P].length:0}async trigger(P,...v){var M,G;try{return P!=="debug"&&this.trigger("debug",`Event triggered: ${P}`,v),this._events[P]==null?void 0:(this._events[P]=this._events[P].filter(function($){return $.status!=="none"}),G=this._events[P].map(async $=>{var X,ge;if($.status!=="none"){$.status==="once"&&($.status="none");try{return ge=typeof $.cb=="function"?$.cb(...v):void 0,typeof ge?.then=="function"?await ge:ge}catch(St){return X=St,this.trigger("error",X),null}}}),(await Promise.all(G)).find(function($){return $!=null}))}catch($){return M=$,this.trigger("error",M),null}}};var l=c,u,f,d;u=a,f=l,d=class{static{o(this,"Queues")}constructor(P){var v;this.Events=new f(this),this._length=0,this._lists=(function(){var M,G,$;for($=[],v=M=1,G=P;1<=G?M<=G:M>=G;v=1<=G?++M:--M)$.push(new u((()=>this.incr()),(()=>this.decr())));return $}).call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(P){return this._lists[P.options.priority].push(P)}queued(P){return P!=null?this._lists[P].length:this._length}shiftAll(P){return this._lists.forEach(function(v){return v.forEachShift(P)})}getFirst(P=this._lists){var v,M,G;for(v=0,M=P.length;v0)return G;return[]}shiftLastFrom(P){return this.getFirst(this._lists.slice(P).reverse()).shift()}};var h=d,p;p=class extends Error{static{o(this,"BottleneckError")}};var A=p,g,E,y,C,w;C=10,E=5,w=i,g=A,y=class{static{o(this,"Job")}constructor(P,v,M,G,$,X,ge,St){this.task=P,this.args=v,this.rejectOnDrop=$,this.Events=X,this._states=ge,this.Promise=St,this.options=w.load(M,G),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===G.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((mn,Kt)=>{this._resolve=mn,this._reject=Kt}),this.retryCount=0}_sanitizePriority(P){var v;return v=~~P!==P?E:P,v<0?0:v>C-1?C-1:v}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:P,message:v="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(P??new g(v)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(P){var v;if(v=this._states.jobStatus(this.options.id),!(v===P||P==="DONE"&&v===null))throw new g(`Invalid job status ${v}, expected ${P}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(P,v){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:P,blocked:v})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(P,v,M,G){var $,X,ge;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),X={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",X);try{if(ge=await(P!=null?P.schedule(this.options,this.task,...this.args):this.task(...this.args)),v())return this.doDone(X),await G(this.options,X),this._assertStatus("DONE"),this._resolve(ge)}catch(St){return $=St,this._onFailure($,X,v,M,G)}}doExpire(P,v,M){var G,$;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),$={args:this.args,options:this.options,retryCount:this.retryCount},G=new g(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(G,$,P,v,M)}async _onFailure(P,v,M,G,$){var X,ge;if(M())return X=await this.Events.trigger("failed",P,v),X!=null?(ge=~~X,this.Events.trigger("retry",`Retrying ${this.options.id} after ${ge} ms`,v),this.retryCount++,G(ge)):(this.doDone(v),await $(this.options,v),this._assertStatus("DONE"),this._reject(P))}doDone(P){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",P)}};var S=y,Q,F,x;x=i,Q=A,F=class{static{o(this,"LocalDatastore")}constructor(P,v,M){this.instance=P,this.storeOptions=v,this.clientId=this.instance._randomIndex(),x.load(M,M,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var P;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(P=this.heartbeat=setInterval(()=>{var v,M,G,$,X;if($=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&$>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=$,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&$>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:v,reservoirIncreaseMaximum:G,reservoir:X}=this.storeOptions,this._lastReservoirIncrease=$,M=G!=null?Math.min(v,G-X):v,M>0))return this.storeOptions.reservoir+=M,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?P.unref():void 0:clearInterval(this.heartbeat)}async __publish__(P){return await this.yieldLoop(),this.instance.Events.trigger("message",P.toString())}async __disconnect__(P){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(P=0){return new this.Promise(function(v,M){return setTimeout(v,P)})}computePenalty(){var P;return(P=this.storeOptions.penalty)!=null?P:15*this.storeOptions.minTime||5e3}async __updateSettings__(P){return await this.yieldLoop(),x.overwrite(P,P,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(P){return await this.yieldLoop(),this._nextRequest+this.timeout=P}check(P,v){return this.conditionsCheck(P)&&this._nextRequest-v<=0}async __check__(P){var v;return await this.yieldLoop(),v=Date.now(),this.check(P,v)}async __register__(P,v,M){var G,$;return await this.yieldLoop(),G=Date.now(),this.conditionsCheck(v)?(this._running+=v,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=v),$=Math.max(this._nextRequest-G,0),this._nextRequest=G+$+this.storeOptions.minTime,{success:!0,wait:$,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(P,v){var M,G,$;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&v>this.storeOptions.maxConcurrent)throw new Q(`Impossible to add a job having a weight of ${v} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return G=Date.now(),$=this.storeOptions.highWater!=null&&P===this.storeOptions.highWater&&!this.check(v,G),M=this.strategyIsBlock()&&($||this.isBlocked(G)),M&&(this._unblockTime=G+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:$,blocked:M,strategy:this.storeOptions.strategy}}async __free__(P,v){return await this.yieldLoop(),this._running-=v,this._done+=v,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var j=F,T,q;T=A,q=class{static{o(this,"States")}constructor(P){this.status=P,this._jobs={},this.counts=this.status.map(function(){return 0})}next(P){var v,M;if(v=this._jobs[P],M=v+1,v!=null&&M(P[this.status[M]]=v,P)),{})}};var H=q,W,ee;W=a,ee=class{static{o(this,"Sync")}constructor(P,v){this.schedule=this.schedule.bind(this),this.name=P,this.Promise=v,this._running=0,this._queue=new W}isEmpty(){return this._queue.length===0}async _tryToRun(){var P,v,M,G,$,X,ge;if(this._running<1&&this._queue.length>0)return this._running++,{task:ge,args:P,resolve:$,reject:G}=this._queue.shift(),v=await(async function(){try{return X=await ge(...P),function(){return $(X)}}catch(St){return M=St,function(){return G(M)}}})(),this._running--,this._tryToRun(),v()}schedule(P,...v){var M,G,$;return $=G=null,M=new this.Promise(function(X,ge){return $=X,G=ge}),this._queue.push({task:P,args:v,resolve:$,reject:G}),this._tryToRun(),M}};var te=ee,ce="2.19.5",J={version:ce},z=Object.freeze({version:ce,default:J}),Ie=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$2"),Be=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$3"),st=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4"),bt,hr,pn,ai,pr,Yr;Yr=i,bt=l,ai=Ie,pn=Be,pr=st,hr=(function(){class be{static{o(this,"Group")}constructor(v={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=v,Yr.load(this.limiterOptions,this.defaults,this),this.Events=new bt(this),this.instances={},this.Bottleneck=qa,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new ai(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new pn(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(v=""){var M;return(M=this.instances[v])!=null?M:(()=>{var G;return G=this.instances[v]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${v}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",G,v),G})()}async deleteKey(v=""){var M,G;return G=this.instances[v],this.connection&&(M=await this.connection.__runCommand__(["del",...pr.allKeys(`${this.id}-${v}`)])),G!=null&&(delete this.instances[v],await G.disconnect()),G!=null||M>0}limiters(){var v,M,G,$;M=this.instances,G=[];for(v in M)$=M[v],G.push({key:v,limiter:$});return G}keys(){return Object.keys(this.instances)}async clusterKeys(){var v,M,G,$,X,ge,St,mn,Kt;if(this.connection==null)return this.Promise.resolve(this.keys());for(ge=[],v=null,Kt=`b_${this.id}-`.length,M=9;v!==0;)for([mn,G]=await this.connection.__runCommand__(["scan",v??0,"match",`b_${this.id}-*_settings`,"count",1e4]),v=~~mn,$=0,St=G.length;${var M,G,$,X,ge,St;ge=Date.now(),$=this.instances,X=[];for(G in $){St=$[G];try{await St._store.__groupCheck__(ge)?X.push(this.deleteKey(G)):X.push(void 0)}catch(mn){M=mn,X.push(St.Events.trigger("error",M))}}return X},this.timeout/2)).unref=="function"?v.unref():void 0}updateSettings(v={}){if(Yr.overwrite(v,this.defaults,this),Yr.overwrite(v,v,this.limiterOptions),v.timeout!=null)return this._startAutoCleanup()}disconnect(v=!0){var M;if(!this.sharedConnection)return(M=this.connection)!=null?M.disconnect(v):void 0}}return be.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},be}).call(t);var Lh=hr,Eu,Tc,gs;gs=i,Tc=l,Eu=(function(){class be{static{o(this,"Batcher")}constructor(v={}){this.options=v,gs.load(this.options,this.defaults,this),this.Events=new Tc(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((v,M)=>this._resolve=v)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(v){var M;return this._arr.push(v),M=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),M}}return be.prototype.defaults={maxTime:null,maxSize:null,Promise},be}).call(t);var Ua=Eu,Hf=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4$1"),Vf=e(z),Cu,Sv,hb,pb,Bv,bA,vv,mb,wA,IA,$s,xv=[].splice;bA=10,Sv=5,$s=i,vv=h,pb=S,Bv=j,mb=Hf,hb=l,wA=H,IA=te,Cu=(function(){class be{static{o(this,"Bottleneck")}constructor(v={},...M){var G,$;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(v,M),$s.load(v,this.instanceDefaults,this),this._queues=new vv(bA),this._scheduled={},this._states=new wA(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new hb(this),this._submitLock=new IA("submit",this.Promise),this._registerLock=new IA("register",this.Promise),$=$s.load(v,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return G=$s.load(v,this.redisStoreDefaults,{}),new mb(this,$,G);if(this.datastore==="local")return G=$s.load(v,this.localStoreDefaults,{}),new Bv(this,$,G);throw new be.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on("leftzero",()=>{var X;return(X=this._store.heartbeat)!=null&&typeof X.ref=="function"?X.ref():void 0}),this._queues.on("zero",()=>{var X;return(X=this._store.heartbeat)!=null&&typeof X.unref=="function"?X.unref():void 0})}_validateOptions(v,M){if(!(v!=null&&typeof v=="object"&&M.length===0))throw new be.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(v){return this._store.__publish__(v)}disconnect(v=!0){return this._store.__disconnect__(v)}chain(v){return this._limiter=v,this}queued(v){return this._queues.queued(v)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(v){return this._states.jobStatus(v)}jobs(v){return this._states.statusJobs(v)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(v=1){return this._store.__check__(v)}_clearGlobalState(v){return this._scheduled[v]!=null?(clearTimeout(this._scheduled[v].expiration),delete this._scheduled[v],!0):!1}async _free(v,M,G,$){var X,ge;try{if({running:ge}=await this._store.__free__(v,G.weight),this.Events.trigger("debug",`Freed ${G.id}`,$),ge===0&&this.empty())return this.Events.trigger("idle")}catch(St){return X=St,this.Events.trigger("error",X)}}_run(v,M,G){var $,X,ge;return M.doRun(),$=this._clearGlobalState.bind(this,v),ge=this._run.bind(this,v,M),X=this._free.bind(this,v,M),this._scheduled[v]={timeout:setTimeout(()=>M.doExecute(this._limiter,$,ge,X),G),expiration:M.options.expiration!=null?setTimeout(function(){return M.doExpire($,ge,X)},G+M.options.expiration):void 0,job:M}}_drainOne(v){return this._registerLock.schedule(()=>{var M,G,$,X,ge;return this.queued()===0?this.Promise.resolve(null):(ge=this._queues.getFirst(),{options:X,args:M}=$=ge.first(),v!=null&&X.weight>v?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${X.id}`,{args:M,options:X}),G=this._randomIndex(),this._store.__register__(G,X.weight,X.expiration).then(({success:St,wait:mn,reservoir:Kt})=>{var Fh;return this.Events.trigger("debug",`Drained ${X.id}`,{success:St,args:M,options:X}),St?(ge.shift(),Fh=this.empty(),Fh&&this.Events.trigger("empty"),Kt===0&&this.Events.trigger("depleted",Fh),this._run(G,$,mn),this.Promise.resolve(X.weight)):this.Promise.resolve(null)})))})}_drainAll(v,M=0){return this._drainOne(v).then(G=>{var $;return G!=null?($=v!=null?v-G:v,this._drainAll($,M+G)):this.Promise.resolve(M)}).catch(G=>this.Events.trigger("error",G))}_dropAllQueued(v){return this._queues.shiftAll(function(M){return M.doDrop({message:v})})}stop(v={}){var M,G;return v=$s.load(v,this.stopDefaults),G=o($=>{var X;return X=o(()=>{var ge;return ge=this._states.counts,ge[0]+ge[1]+ge[2]+ge[3]===$},"finished"),new this.Promise((ge,St)=>X()?ge():this.on("done",()=>{if(X())return this.removeAllListeners("done"),ge()}))},"waitForExecuting"),M=v.dropWaitingJobs?(this._run=function($,X){return X.doDrop({message:v.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var $,X,ge;X=this._scheduled;for($ in X)ge=X[$],this.jobStatus(ge.job.options.id)==="RUNNING"&&(clearTimeout(ge.timeout),clearTimeout(ge.expiration),ge.job.doDrop({message:v.dropErrorMessage}));return this._dropAllQueued(v.dropErrorMessage),G(0)}))):this.schedule({priority:bA-1,weight:0},()=>G(1)),this._receive=function($){return $._reject(new be.prototype.BottleneckError(v.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new be.prototype.BottleneckError("stop() has already been called")),M}async _addToQueue(v){var M,G,$,X,ge,St,mn;({args:M,options:X}=v);try{({reachedHWM:ge,blocked:G,strategy:mn}=await this._store.__submit__(this.queued(),X.weight))}catch(Kt){return $=Kt,this.Events.trigger("debug",`Could not queue ${X.id}`,{args:M,options:X,error:$}),v.doDrop({error:$}),!1}return G?(v.doDrop(),!0):ge&&(St=mn===be.prototype.strategy.LEAK?this._queues.shiftLastFrom(X.priority):mn===be.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(X.priority+1):mn===be.prototype.strategy.OVERFLOW?v:void 0,St?.doDrop(),St==null||mn===be.prototype.strategy.OVERFLOW)?(St==null&&v.doDrop(),ge):(v.doQueue(ge,G),this._queues.push(v),await this._drainAll(),ge)}_receive(v){return this._states.jobStatus(v.options.id)!=null?(v._reject(new be.prototype.BottleneckError(`A job with the same id already exists (id=${v.options.id})`)),!1):(v.doReceive(),this._submitLock.schedule(this._addToQueue,v))}submit(...v){var M,G,$,X,ge,St,mn;return typeof v[0]=="function"?(ge=v,[G,...v]=ge,[M]=xv.call(v,-1),X=$s.load({},this.jobDefaults)):(St=v,[X,G,...v]=St,[M]=xv.call(v,-1),X=$s.load(X,this.jobDefaults)),mn=o((...Kt)=>new this.Promise(function(Fh,SA){return G(...Kt,function(..._v){return(_v[0]!=null?SA:Fh)(_v)})}),"task"),$=new pb(mn,v,X,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),$.promise.then(function(Kt){return typeof M=="function"?M(...Kt):void 0}).catch(function(Kt){return Array.isArray(Kt)?typeof M=="function"?M(...Kt):void 0:typeof M=="function"?M(Kt):void 0}),this._receive($)}schedule(...v){var M,G,$;return typeof v[0]=="function"?([$,...v]=v,G={}):[G,$,...v]=v,M=new pb($,v,G,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(M),M.promise}wrap(v){var M,G;return M=this.schedule.bind(this),G=o(function(...$){return M(v.bind(this),...$)},"wrapped"),G.withOptions=function($,...X){return M($,v,...X)},G}async updateSettings(v={}){return await this._store.__updateSettings__($s.overwrite(v,this.storeDefaults)),$s.overwrite(v,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(v=0){return this._store.__incrementReservoir__(v)}}return be.default=be,be.Events=hb,be.version=be.prototype.version=Vf.version,be.strategy=be.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},be.BottleneckError=be.prototype.BottleneckError=A,be.Group=be.prototype.Group=Lh,be.RedisConnection=be.prototype.RedisConnection=Ie,be.IORedisConnection=be.prototype.IORedisConnection=Be,be.Batcher=be.prototype.Batcher=Ua,be.prototype.jobDefaults={priority:Sv,weight:1,expiration:null,id:""},be.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:be.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},be.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},be.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},be.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},be.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},be}).call(t);var qa=Cu,Ab=qa;return Ab}))});var ZLe=m((PP,MB)=>{(function(t){var e=typeof PP=="object"&&PP,r=typeof MB=="object"&&MB&&MB.exports==e&&MB,n=typeof global=="object"&&global;(n.global===n||n.window===n)&&(t=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,a=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot"," ":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},u=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,h=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,A={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\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",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},g={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},E={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,w={},S=w.hasOwnProperty,Q=o(function(z,Ie){return S.call(z,Ie)},"has"),F=o(function(z,Ie){for(var Be=-1,st=z.length;++Be=55296&&z<=57343||z>1114111?(Ie&&H("character reference outside the permissible Unicode range"),"\uFFFD"):Q(E,z)?(Ie&&H("disallowed character reference"),E[z]):(Ie&&F(y,z)&&H("disallowed character reference"),z>65535&&(z-=65536,Be+=C(z>>>10&1023|55296),z=56320|z&1023),Be+=C(z),Be)},"codePointToSymbol"),T=o(function(z){return"&#x"+z.toString(16).toUpperCase()+";"},"hexEscape"),q=o(function(z){return"&#"+z+";"},"decEscape"),H=o(function(z){throw Error("Parse error: "+z)},"parseError"),W=o(function(z,Ie){Ie=x(Ie,W.options);var Be=Ie.strict;Be&&h.test(z)&&H("forbidden code point");var st=Ie.encodeEverything,bt=Ie.useNamedReferences,hr=Ie.allowUnsafeSymbols,pn=Ie.decimal?q:T,ai=o(function(pr){return pn(pr.charCodeAt(0))},"escapeBmpSymbol");return st?(z=z.replace(s,function(pr){return bt&&Q(l,pr)?"&"+l[pr]+";":ai(pr)}),bt&&(z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),bt&&(z=z.replace(c,function(pr){return"&"+l[pr]+";"}))):bt?(hr||(z=z.replace(u,function(pr){return"&"+l[pr]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),z=z.replace(c,function(pr){return"&"+l[pr]+";"})):hr||(z=z.replace(u,ai)),z.replace(i,function(pr){var Yr=pr.charCodeAt(0),Lh=pr.charCodeAt(1),Eu=(Yr-55296)*1024+Lh-56320+65536;return pn(Eu)}).replace(a,ai)},"encode");W.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ee=o(function(z,Ie){Ie=x(Ie,ee.options);var Be=Ie.strict;return Be&&d.test(z)&&H("malformed character reference"),z.replace(p,function(st,bt,hr,pn,ai,pr,Yr,Lh,Eu){var Tc,gs,Ua,Hf,Vf,Cu;return bt?(Vf=bt,A[Vf]):hr?(Vf=hr,Cu=pn,Cu&&Ie.isAttributeValue?(Be&&Cu=="="&&H("`&` did not start a character reference"),st):(Be&&H("named character reference was not terminated by a semicolon"),g[Vf]+(Cu||""))):ai?(Ua=ai,gs=pr,Be&&!gs&&H("character reference was not terminated by a semicolon"),Tc=parseInt(Ua,10),j(Tc,Be)):Yr?(Hf=Yr,gs=Lh,Be&&!gs&&H("character reference was not terminated by a semicolon"),Tc=parseInt(Hf,16),j(Tc,Be)):(Be&&H("named character reference was not terminated by a semicolon"),st)})},"decode");ee.options={isAttributeValue:!1,strict:!1};var te=o(function(z){return z.replace(u,function(Ie){return f[Ie]})},"escape"),ce={version:"1.2.0",encode:W,decode:ee,escape:te,unescape:ee};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return ce});else if(e&&!e.nodeType)if(r)r.exports=ce;else for(var J in ce)Q(ce,J)&&(e[J]=ce[J]);else t.he=ce})(PP)});var jP=m(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.Signature=gh.Envelope=void 0;gh.Envelope={fromJSON(t){return{payload:zP(t.payload)?Buffer.from(DFe(t.payload)):Buffer.alloc(0),payloadType:zP(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>gh.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=QFe(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>gh.Signature.toJSON(r))),e}};gh.Signature={fromJSON(t){return{sig:zP(t.sig)?Buffer.from(DFe(t.sig)):Buffer.alloc(0),keyid:zP(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=QFe(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function DFe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(DFe,"bytesFromBase64");function QFe(t){return globalThis.Buffer.from(t).toString("base64")}o(QFe,"base64FromBytes");function zP(t){return t!=null}o(zP,"isSet")});var PFe=m($P=>{"use strict";Object.defineProperty($P,"__esModule",{value:!0});$P.Timestamp=void 0;$P.Timestamp={fromJSON(t){return{seconds:kFe(t.seconds)?globalThis.String(t.seconds):"0",nanos:kFe(t.nanos)?globalThis.Number(t.nanos):0}},toJSON(t){let e={};return t.seconds!=="0"&&(e.seconds=t.seconds),t.nanos!==0&&(e.nanos=Math.round(t.nanos)),e}};function kFe(t){return t!=null}o(kFe,"isSet")});var Df=m(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.TimeRange=Ge.X509CertificateChain=Ge.SubjectAlternativeName=Ge.X509Certificate=Ge.DistinguishedName=Ge.ObjectIdentifierValuePair=Ge.ObjectIdentifier=Ge.PublicKeyIdentifier=Ge.PublicKey=Ge.RFC3161SignedTimestamp=Ge.LogId=Ge.MessageSignature=Ge.HashOutput=Ge.SubjectAlternativeNameType=Ge.PublicKeyDetails=Ge.HashAlgorithm=void 0;Ge.hashAlgorithmFromJSON=LFe;Ge.hashAlgorithmToJSON=FFe;Ge.publicKeyDetailsFromJSON=MFe;Ge.publicKeyDetailsToJSON=UFe;Ge.subjectAlternativeNameTypeFromJSON=qFe;Ge.subjectAlternativeNameTypeToJSON=GFe;var X3t=PFe(),qs;(function(t){t[t.HASH_ALGORITHM_UNSPECIFIED=0]="HASH_ALGORITHM_UNSPECIFIED",t[t.SHA2_256=1]="SHA2_256",t[t.SHA2_384=2]="SHA2_384",t[t.SHA2_512=3]="SHA2_512",t[t.SHA3_256=4]="SHA3_256",t[t.SHA3_384=5]="SHA3_384"})(qs||(Ge.HashAlgorithm=qs={}));function LFe(t){switch(t){case 0:case"HASH_ALGORITHM_UNSPECIFIED":return qs.HASH_ALGORITHM_UNSPECIFIED;case 1:case"SHA2_256":return qs.SHA2_256;case 2:case"SHA2_384":return qs.SHA2_384;case 3:case"SHA2_512":return qs.SHA2_512;case 4:case"SHA3_256":return qs.SHA3_256;case 5:case"SHA3_384":return qs.SHA3_384;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum HashAlgorithm")}}o(LFe,"hashAlgorithmFromJSON");function FFe(t){switch(t){case qs.HASH_ALGORITHM_UNSPECIFIED:return"HASH_ALGORITHM_UNSPECIFIED";case qs.SHA2_256:return"SHA2_256";case qs.SHA2_384:return"SHA2_384";case qs.SHA2_512:return"SHA2_512";case qs.SHA3_256:return"SHA3_256";case qs.SHA3_384:return"SHA3_384";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum HashAlgorithm")}}o(FFe,"hashAlgorithmToJSON");var qe;(function(t){t[t.PUBLIC_KEY_DETAILS_UNSPECIFIED=0]="PUBLIC_KEY_DETAILS_UNSPECIFIED",t[t.PKCS1_RSA_PKCS1V5=1]="PKCS1_RSA_PKCS1V5",t[t.PKCS1_RSA_PSS=2]="PKCS1_RSA_PSS",t[t.PKIX_RSA_PKCS1V5=3]="PKIX_RSA_PKCS1V5",t[t.PKIX_RSA_PSS=4]="PKIX_RSA_PSS",t[t.PKIX_RSA_PKCS1V15_2048_SHA256=9]="PKIX_RSA_PKCS1V15_2048_SHA256",t[t.PKIX_RSA_PKCS1V15_3072_SHA256=10]="PKIX_RSA_PKCS1V15_3072_SHA256",t[t.PKIX_RSA_PKCS1V15_4096_SHA256=11]="PKIX_RSA_PKCS1V15_4096_SHA256",t[t.PKIX_RSA_PSS_2048_SHA256=16]="PKIX_RSA_PSS_2048_SHA256",t[t.PKIX_RSA_PSS_3072_SHA256=17]="PKIX_RSA_PSS_3072_SHA256",t[t.PKIX_RSA_PSS_4096_SHA256=18]="PKIX_RSA_PSS_4096_SHA256",t[t.PKIX_ECDSA_P256_HMAC_SHA_256=6]="PKIX_ECDSA_P256_HMAC_SHA_256",t[t.PKIX_ECDSA_P256_SHA_256=5]="PKIX_ECDSA_P256_SHA_256",t[t.PKIX_ECDSA_P384_SHA_384=12]="PKIX_ECDSA_P384_SHA_384",t[t.PKIX_ECDSA_P521_SHA_512=13]="PKIX_ECDSA_P521_SHA_512",t[t.PKIX_ED25519=7]="PKIX_ED25519",t[t.PKIX_ED25519_PH=8]="PKIX_ED25519_PH",t[t.PKIX_ECDSA_P384_SHA_256=19]="PKIX_ECDSA_P384_SHA_256",t[t.PKIX_ECDSA_P521_SHA_256=20]="PKIX_ECDSA_P521_SHA_256",t[t.LMS_SHA256=14]="LMS_SHA256",t[t.LMOTS_SHA256=15]="LMOTS_SHA256",t[t.ML_DSA_65=21]="ML_DSA_65",t[t.ML_DSA_87=22]="ML_DSA_87"})(qe||(Ge.PublicKeyDetails=qe={}));function MFe(t){switch(t){case 0:case"PUBLIC_KEY_DETAILS_UNSPECIFIED":return qe.PUBLIC_KEY_DETAILS_UNSPECIFIED;case 1:case"PKCS1_RSA_PKCS1V5":return qe.PKCS1_RSA_PKCS1V5;case 2:case"PKCS1_RSA_PSS":return qe.PKCS1_RSA_PSS;case 3:case"PKIX_RSA_PKCS1V5":return qe.PKIX_RSA_PKCS1V5;case 4:case"PKIX_RSA_PSS":return qe.PKIX_RSA_PSS;case 9:case"PKIX_RSA_PKCS1V15_2048_SHA256":return qe.PKIX_RSA_PKCS1V15_2048_SHA256;case 10:case"PKIX_RSA_PKCS1V15_3072_SHA256":return qe.PKIX_RSA_PKCS1V15_3072_SHA256;case 11:case"PKIX_RSA_PKCS1V15_4096_SHA256":return qe.PKIX_RSA_PKCS1V15_4096_SHA256;case 16:case"PKIX_RSA_PSS_2048_SHA256":return qe.PKIX_RSA_PSS_2048_SHA256;case 17:case"PKIX_RSA_PSS_3072_SHA256":return qe.PKIX_RSA_PSS_3072_SHA256;case 18:case"PKIX_RSA_PSS_4096_SHA256":return qe.PKIX_RSA_PSS_4096_SHA256;case 6:case"PKIX_ECDSA_P256_HMAC_SHA_256":return qe.PKIX_ECDSA_P256_HMAC_SHA_256;case 5:case"PKIX_ECDSA_P256_SHA_256":return qe.PKIX_ECDSA_P256_SHA_256;case 12:case"PKIX_ECDSA_P384_SHA_384":return qe.PKIX_ECDSA_P384_SHA_384;case 13:case"PKIX_ECDSA_P521_SHA_512":return qe.PKIX_ECDSA_P521_SHA_512;case 7:case"PKIX_ED25519":return qe.PKIX_ED25519;case 8:case"PKIX_ED25519_PH":return qe.PKIX_ED25519_PH;case 19:case"PKIX_ECDSA_P384_SHA_256":return qe.PKIX_ECDSA_P384_SHA_256;case 20:case"PKIX_ECDSA_P521_SHA_256":return qe.PKIX_ECDSA_P521_SHA_256;case 14:case"LMS_SHA256":return qe.LMS_SHA256;case 15:case"LMOTS_SHA256":return qe.LMOTS_SHA256;case 21:case"ML_DSA_65":return qe.ML_DSA_65;case 22:case"ML_DSA_87":return qe.ML_DSA_87;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum PublicKeyDetails")}}o(MFe,"publicKeyDetailsFromJSON");function UFe(t){switch(t){case qe.PUBLIC_KEY_DETAILS_UNSPECIFIED:return"PUBLIC_KEY_DETAILS_UNSPECIFIED";case qe.PKCS1_RSA_PKCS1V5:return"PKCS1_RSA_PKCS1V5";case qe.PKCS1_RSA_PSS:return"PKCS1_RSA_PSS";case qe.PKIX_RSA_PKCS1V5:return"PKIX_RSA_PKCS1V5";case qe.PKIX_RSA_PSS:return"PKIX_RSA_PSS";case qe.PKIX_RSA_PKCS1V15_2048_SHA256:return"PKIX_RSA_PKCS1V15_2048_SHA256";case qe.PKIX_RSA_PKCS1V15_3072_SHA256:return"PKIX_RSA_PKCS1V15_3072_SHA256";case qe.PKIX_RSA_PKCS1V15_4096_SHA256:return"PKIX_RSA_PKCS1V15_4096_SHA256";case qe.PKIX_RSA_PSS_2048_SHA256:return"PKIX_RSA_PSS_2048_SHA256";case qe.PKIX_RSA_PSS_3072_SHA256:return"PKIX_RSA_PSS_3072_SHA256";case qe.PKIX_RSA_PSS_4096_SHA256:return"PKIX_RSA_PSS_4096_SHA256";case qe.PKIX_ECDSA_P256_HMAC_SHA_256:return"PKIX_ECDSA_P256_HMAC_SHA_256";case qe.PKIX_ECDSA_P256_SHA_256:return"PKIX_ECDSA_P256_SHA_256";case qe.PKIX_ECDSA_P384_SHA_384:return"PKIX_ECDSA_P384_SHA_384";case qe.PKIX_ECDSA_P521_SHA_512:return"PKIX_ECDSA_P521_SHA_512";case qe.PKIX_ED25519:return"PKIX_ED25519";case qe.PKIX_ED25519_PH:return"PKIX_ED25519_PH";case qe.PKIX_ECDSA_P384_SHA_256:return"PKIX_ECDSA_P384_SHA_256";case qe.PKIX_ECDSA_P521_SHA_256:return"PKIX_ECDSA_P521_SHA_256";case qe.LMS_SHA256:return"LMS_SHA256";case qe.LMOTS_SHA256:return"LMOTS_SHA256";case qe.ML_DSA_65:return"ML_DSA_65";case qe.ML_DSA_87:return"ML_DSA_87";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum PublicKeyDetails")}}o(UFe,"publicKeyDetailsToJSON");var ru;(function(t){t[t.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED=0]="SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED",t[t.EMAIL=1]="EMAIL",t[t.URI=2]="URI",t[t.OTHER_NAME=3]="OTHER_NAME"})(ru||(Ge.SubjectAlternativeNameType=ru={}));function qFe(t){switch(t){case 0:case"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED":return ru.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED;case 1:case"EMAIL":return ru.EMAIL;case 2:case"URI":return ru.URI;case 3:case"OTHER_NAME":return ru.OTHER_NAME;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(qFe,"subjectAlternativeNameTypeFromJSON");function GFe(t){switch(t){case ru.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED:return"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";case ru.EMAIL:return"EMAIL";case ru.URI:return"URI";case ru.OTHER_NAME:return"OTHER_NAME";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(GFe,"subjectAlternativeNameTypeToJSON");Ge.HashOutput={fromJSON(t){return{algorithm:Bn(t.algorithm)?LFe(t.algorithm):0,digest:Bn(t.digest)?Buffer.from(Xm(t.digest)):Buffer.alloc(0)}},toJSON(t){let e={};return t.algorithm!==0&&(e.algorithm=FFe(t.algorithm)),t.digest.length!==0&&(e.digest=Zm(t.digest)),e}};Ge.MessageSignature={fromJSON(t){return{messageDigest:Bn(t.messageDigest)?Ge.HashOutput.fromJSON(t.messageDigest):void 0,signature:Bn(t.signature)?Buffer.from(Xm(t.signature)):Buffer.alloc(0)}},toJSON(t){let e={};return t.messageDigest!==void 0&&(e.messageDigest=Ge.HashOutput.toJSON(t.messageDigest)),t.signature.length!==0&&(e.signature=Zm(t.signature)),e}};Ge.LogId={fromJSON(t){return{keyId:Bn(t.keyId)?Buffer.from(Xm(t.keyId)):Buffer.alloc(0)}},toJSON(t){let e={};return t.keyId.length!==0&&(e.keyId=Zm(t.keyId)),e}};Ge.RFC3161SignedTimestamp={fromJSON(t){return{signedTimestamp:Bn(t.signedTimestamp)?Buffer.from(Xm(t.signedTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedTimestamp.length!==0&&(e.signedTimestamp=Zm(t.signedTimestamp)),e}};Ge.PublicKey={fromJSON(t){return{rawBytes:Bn(t.rawBytes)?Buffer.from(Xm(t.rawBytes)):void 0,keyDetails:Bn(t.keyDetails)?MFe(t.keyDetails):0,validFor:Bn(t.validFor)?Ge.TimeRange.fromJSON(t.validFor):void 0}},toJSON(t){let e={};return t.rawBytes!==void 0&&(e.rawBytes=Zm(t.rawBytes)),t.keyDetails!==0&&(e.keyDetails=UFe(t.keyDetails)),t.validFor!==void 0&&(e.validFor=Ge.TimeRange.toJSON(t.validFor)),e}};Ge.PublicKeyIdentifier={fromJSON(t){return{hint:Bn(t.hint)?globalThis.String(t.hint):""}},toJSON(t){let e={};return t.hint!==""&&(e.hint=t.hint),e}};Ge.ObjectIdentifier={fromJSON(t){return{id:globalThis.Array.isArray(t?.id)?t.id.map(e=>globalThis.Number(e)):[]}},toJSON(t){let e={};return t.id?.length&&(e.id=t.id.map(r=>Math.round(r))),e}};Ge.ObjectIdentifierValuePair={fromJSON(t){return{oid:Bn(t.oid)?Ge.ObjectIdentifier.fromJSON(t.oid):void 0,value:Bn(t.value)?Buffer.from(Xm(t.value)):Buffer.alloc(0)}},toJSON(t){let e={};return t.oid!==void 0&&(e.oid=Ge.ObjectIdentifier.toJSON(t.oid)),t.value.length!==0&&(e.value=Zm(t.value)),e}};Ge.DistinguishedName={fromJSON(t){return{organization:Bn(t.organization)?globalThis.String(t.organization):"",commonName:Bn(t.commonName)?globalThis.String(t.commonName):""}},toJSON(t){let e={};return t.organization!==""&&(e.organization=t.organization),t.commonName!==""&&(e.commonName=t.commonName),e}};Ge.X509Certificate={fromJSON(t){return{rawBytes:Bn(t.rawBytes)?Buffer.from(Xm(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=Zm(t.rawBytes)),e}};Ge.SubjectAlternativeName={fromJSON(t){return{type:Bn(t.type)?qFe(t.type):0,identity:Bn(t.regexp)?{$case:"regexp",regexp:globalThis.String(t.regexp)}:Bn(t.value)?{$case:"value",value:globalThis.String(t.value)}:void 0}},toJSON(t){let e={};return t.type!==0&&(e.type=GFe(t.type)),t.identity?.$case==="regexp"?e.regexp=t.identity.regexp:t.identity?.$case==="value"&&(e.value=t.identity.value),e}};Ge.X509CertificateChain={fromJSON(t){return{certificates:globalThis.Array.isArray(t?.certificates)?t.certificates.map(e=>Ge.X509Certificate.fromJSON(e)):[]}},toJSON(t){let e={};return t.certificates?.length&&(e.certificates=t.certificates.map(r=>Ge.X509Certificate.toJSON(r))),e}};Ge.TimeRange={fromJSON(t){return{start:Bn(t.start)?OFe(t.start):void 0,end:Bn(t.end)?OFe(t.end):void 0}},toJSON(t){let e={};return t.start!==void 0&&(e.start=t.start.toISOString()),t.end!==void 0&&(e.end=t.end.toISOString()),e}};function Xm(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(Xm,"bytesFromBase64");function Zm(t){return globalThis.Buffer.from(t).toString("base64")}o(Zm,"base64FromBytes");function Z3t(t){let e=(globalThis.Number(t.seconds)||0)*1e3;return e+=(t.nanos||0)/1e6,new globalThis.Date(e)}o(Z3t,"fromTimestamp");function OFe(t){return t instanceof globalThis.Date?t:typeof t=="string"?new globalThis.Date(t):Z3t(X3t.Timestamp.fromJSON(t))}o(OFe,"fromJsonTimestamp");function Bn(t){return t!=null}o(Bn,"isSet")});var _K=m(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.TransparencyLogEntry=vn.InclusionPromise=vn.InclusionProof=vn.Checkpoint=vn.KindVersion=void 0;var HFe=Df();vn.KindVersion={fromJSON(t){return{kind:As(t.kind)?globalThis.String(t.kind):"",version:As(t.version)?globalThis.String(t.version):""}},toJSON(t){let e={};return t.kind!==""&&(e.kind=t.kind),t.version!==""&&(e.version=t.version),e}};vn.Checkpoint={fromJSON(t){return{envelope:As(t.envelope)?globalThis.String(t.envelope):""}},toJSON(t){let e={};return t.envelope!==""&&(e.envelope=t.envelope),e}};vn.InclusionProof={fromJSON(t){return{logIndex:As(t.logIndex)?globalThis.String(t.logIndex):"0",rootHash:As(t.rootHash)?Buffer.from(WP(t.rootHash)):Buffer.alloc(0),treeSize:As(t.treeSize)?globalThis.String(t.treeSize):"0",hashes:globalThis.Array.isArray(t?.hashes)?t.hashes.map(e=>Buffer.from(WP(e))):[],checkpoint:As(t.checkpoint)?vn.Checkpoint.fromJSON(t.checkpoint):void 0}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.rootHash.length!==0&&(e.rootHash=JP(t.rootHash)),t.treeSize!=="0"&&(e.treeSize=t.treeSize),t.hashes?.length&&(e.hashes=t.hashes.map(r=>JP(r))),t.checkpoint!==void 0&&(e.checkpoint=vn.Checkpoint.toJSON(t.checkpoint)),e}};vn.InclusionPromise={fromJSON(t){return{signedEntryTimestamp:As(t.signedEntryTimestamp)?Buffer.from(WP(t.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedEntryTimestamp.length!==0&&(e.signedEntryTimestamp=JP(t.signedEntryTimestamp)),e}};vn.TransparencyLogEntry={fromJSON(t){return{logIndex:As(t.logIndex)?globalThis.String(t.logIndex):"0",logId:As(t.logId)?HFe.LogId.fromJSON(t.logId):void 0,kindVersion:As(t.kindVersion)?vn.KindVersion.fromJSON(t.kindVersion):void 0,integratedTime:As(t.integratedTime)?globalThis.String(t.integratedTime):"0",inclusionPromise:As(t.inclusionPromise)?vn.InclusionPromise.fromJSON(t.inclusionPromise):void 0,inclusionProof:As(t.inclusionProof)?vn.InclusionProof.fromJSON(t.inclusionProof):void 0,canonicalizedBody:As(t.canonicalizedBody)?Buffer.from(WP(t.canonicalizedBody)):Buffer.alloc(0)}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.logId!==void 0&&(e.logId=HFe.LogId.toJSON(t.logId)),t.kindVersion!==void 0&&(e.kindVersion=vn.KindVersion.toJSON(t.kindVersion)),t.integratedTime!=="0"&&(e.integratedTime=t.integratedTime),t.inclusionPromise!==void 0&&(e.inclusionPromise=vn.InclusionPromise.toJSON(t.inclusionPromise)),t.inclusionProof!==void 0&&(e.inclusionProof=vn.InclusionProof.toJSON(t.inclusionProof)),t.canonicalizedBody.length!==0&&(e.canonicalizedBody=JP(t.canonicalizedBody)),e}};function WP(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(WP,"bytesFromBase64");function JP(t){return globalThis.Buffer.from(t).toString("base64")}o(JP,"base64FromBytes");function As(t){return t!=null}o(As,"isSet")});var NK=m(Ra=>{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});Ra.Bundle=Ra.VerificationMaterial=Ra.TimestampVerificationData=void 0;var VFe=jP(),nu=Df(),zFe=_K();Ra.TimestampVerificationData={fromJSON(t){return{rfc3161Timestamps:globalThis.Array.isArray(t?.rfc3161Timestamps)?t.rfc3161Timestamps.map(e=>nu.RFC3161SignedTimestamp.fromJSON(e)):[]}},toJSON(t){let e={};return t.rfc3161Timestamps?.length&&(e.rfc3161Timestamps=t.rfc3161Timestamps.map(r=>nu.RFC3161SignedTimestamp.toJSON(r))),e}};Ra.VerificationMaterial={fromJSON(t){return{content:yh(t.publicKey)?{$case:"publicKey",publicKey:nu.PublicKeyIdentifier.fromJSON(t.publicKey)}:yh(t.x509CertificateChain)?{$case:"x509CertificateChain",x509CertificateChain:nu.X509CertificateChain.fromJSON(t.x509CertificateChain)}:yh(t.certificate)?{$case:"certificate",certificate:nu.X509Certificate.fromJSON(t.certificate)}:void 0,tlogEntries:globalThis.Array.isArray(t?.tlogEntries)?t.tlogEntries.map(e=>zFe.TransparencyLogEntry.fromJSON(e)):[],timestampVerificationData:yh(t.timestampVerificationData)?Ra.TimestampVerificationData.fromJSON(t.timestampVerificationData):void 0}},toJSON(t){let e={};return t.content?.$case==="publicKey"?e.publicKey=nu.PublicKeyIdentifier.toJSON(t.content.publicKey):t.content?.$case==="x509CertificateChain"?e.x509CertificateChain=nu.X509CertificateChain.toJSON(t.content.x509CertificateChain):t.content?.$case==="certificate"&&(e.certificate=nu.X509Certificate.toJSON(t.content.certificate)),t.tlogEntries?.length&&(e.tlogEntries=t.tlogEntries.map(r=>zFe.TransparencyLogEntry.toJSON(r))),t.timestampVerificationData!==void 0&&(e.timestampVerificationData=Ra.TimestampVerificationData.toJSON(t.timestampVerificationData)),e}};Ra.Bundle={fromJSON(t){return{mediaType:yh(t.mediaType)?globalThis.String(t.mediaType):"",verificationMaterial:yh(t.verificationMaterial)?Ra.VerificationMaterial.fromJSON(t.verificationMaterial):void 0,content:yh(t.messageSignature)?{$case:"messageSignature",messageSignature:nu.MessageSignature.fromJSON(t.messageSignature)}:yh(t.dsseEnvelope)?{$case:"dsseEnvelope",dsseEnvelope:VFe.Envelope.fromJSON(t.dsseEnvelope)}:void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.verificationMaterial!==void 0&&(e.verificationMaterial=Ra.VerificationMaterial.toJSON(t.verificationMaterial)),t.content?.$case==="messageSignature"?e.messageSignature=nu.MessageSignature.toJSON(t.content.messageSignature):t.content?.$case==="dsseEnvelope"&&(e.dsseEnvelope=VFe.Envelope.toJSON(t.content.dsseEnvelope)),e}};function yh(t){return t!=null}o(yh,"isSet")});var RK=m(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.ClientTrustConfig=ze.ServiceConfiguration=ze.Service=ze.SigningConfig=ze.TrustedRoot=ze.CertificateAuthority=ze.TransparencyLogInstance=ze.ServiceSelector=void 0;ze.serviceSelectorFromJSON=jFe;ze.serviceSelectorToJSON=$Fe;var Fi=Df(),iu;(function(t){t[t.SERVICE_SELECTOR_UNDEFINED=0]="SERVICE_SELECTOR_UNDEFINED",t[t.ALL=1]="ALL",t[t.ANY=2]="ANY",t[t.EXACT=3]="EXACT"})(iu||(ze.ServiceSelector=iu={}));function jFe(t){switch(t){case 0:case"SERVICE_SELECTOR_UNDEFINED":return iu.SERVICE_SELECTOR_UNDEFINED;case 1:case"ALL":return iu.ALL;case 2:case"ANY":return iu.ANY;case 3:case"EXACT":return iu.EXACT;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(jFe,"serviceSelectorFromJSON");function $Fe(t){switch(t){case iu.SERVICE_SELECTOR_UNDEFINED:return"SERVICE_SELECTOR_UNDEFINED";case iu.ALL:return"ALL";case iu.ANY:return"ANY";case iu.EXACT:return"EXACT";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o($Fe,"serviceSelectorToJSON");ze.TransparencyLogInstance={fromJSON(t){return{baseUrl:Br(t.baseUrl)?globalThis.String(t.baseUrl):"",hashAlgorithm:Br(t.hashAlgorithm)?(0,Fi.hashAlgorithmFromJSON)(t.hashAlgorithm):0,publicKey:Br(t.publicKey)?Fi.PublicKey.fromJSON(t.publicKey):void 0,logId:Br(t.logId)?Fi.LogId.fromJSON(t.logId):void 0,checkpointKeyId:Br(t.checkpointKeyId)?Fi.LogId.fromJSON(t.checkpointKeyId):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.baseUrl!==""&&(e.baseUrl=t.baseUrl),t.hashAlgorithm!==0&&(e.hashAlgorithm=(0,Fi.hashAlgorithmToJSON)(t.hashAlgorithm)),t.publicKey!==void 0&&(e.publicKey=Fi.PublicKey.toJSON(t.publicKey)),t.logId!==void 0&&(e.logId=Fi.LogId.toJSON(t.logId)),t.checkpointKeyId!==void 0&&(e.checkpointKeyId=Fi.LogId.toJSON(t.checkpointKeyId)),t.operator!==""&&(e.operator=t.operator),e}};ze.CertificateAuthority={fromJSON(t){return{subject:Br(t.subject)?Fi.DistinguishedName.fromJSON(t.subject):void 0,uri:Br(t.uri)?globalThis.String(t.uri):"",certChain:Br(t.certChain)?Fi.X509CertificateChain.fromJSON(t.certChain):void 0,validFor:Br(t.validFor)?Fi.TimeRange.fromJSON(t.validFor):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.subject!==void 0&&(e.subject=Fi.DistinguishedName.toJSON(t.subject)),t.uri!==""&&(e.uri=t.uri),t.certChain!==void 0&&(e.certChain=Fi.X509CertificateChain.toJSON(t.certChain)),t.validFor!==void 0&&(e.validFor=Fi.TimeRange.toJSON(t.validFor)),t.operator!==""&&(e.operator=t.operator),e}};ze.TrustedRoot={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",tlogs:globalThis.Array.isArray(t?.tlogs)?t.tlogs.map(e=>ze.TransparencyLogInstance.fromJSON(e)):[],certificateAuthorities:globalThis.Array.isArray(t?.certificateAuthorities)?t.certificateAuthorities.map(e=>ze.CertificateAuthority.fromJSON(e)):[],ctlogs:globalThis.Array.isArray(t?.ctlogs)?t.ctlogs.map(e=>ze.TransparencyLogInstance.fromJSON(e)):[],timestampAuthorities:globalThis.Array.isArray(t?.timestampAuthorities)?t.timestampAuthorities.map(e=>ze.CertificateAuthority.fromJSON(e)):[]}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.tlogs?.length&&(e.tlogs=t.tlogs.map(r=>ze.TransparencyLogInstance.toJSON(r))),t.certificateAuthorities?.length&&(e.certificateAuthorities=t.certificateAuthorities.map(r=>ze.CertificateAuthority.toJSON(r))),t.ctlogs?.length&&(e.ctlogs=t.ctlogs.map(r=>ze.TransparencyLogInstance.toJSON(r))),t.timestampAuthorities?.length&&(e.timestampAuthorities=t.timestampAuthorities.map(r=>ze.CertificateAuthority.toJSON(r))),e}};ze.SigningConfig={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",caUrls:globalThis.Array.isArray(t?.caUrls)?t.caUrls.map(e=>ze.Service.fromJSON(e)):[],oidcUrls:globalThis.Array.isArray(t?.oidcUrls)?t.oidcUrls.map(e=>ze.Service.fromJSON(e)):[],rekorTlogUrls:globalThis.Array.isArray(t?.rekorTlogUrls)?t.rekorTlogUrls.map(e=>ze.Service.fromJSON(e)):[],rekorTlogConfig:Br(t.rekorTlogConfig)?ze.ServiceConfiguration.fromJSON(t.rekorTlogConfig):void 0,tsaUrls:globalThis.Array.isArray(t?.tsaUrls)?t.tsaUrls.map(e=>ze.Service.fromJSON(e)):[],tsaConfig:Br(t.tsaConfig)?ze.ServiceConfiguration.fromJSON(t.tsaConfig):void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.caUrls?.length&&(e.caUrls=t.caUrls.map(r=>ze.Service.toJSON(r))),t.oidcUrls?.length&&(e.oidcUrls=t.oidcUrls.map(r=>ze.Service.toJSON(r))),t.rekorTlogUrls?.length&&(e.rekorTlogUrls=t.rekorTlogUrls.map(r=>ze.Service.toJSON(r))),t.rekorTlogConfig!==void 0&&(e.rekorTlogConfig=ze.ServiceConfiguration.toJSON(t.rekorTlogConfig)),t.tsaUrls?.length&&(e.tsaUrls=t.tsaUrls.map(r=>ze.Service.toJSON(r))),t.tsaConfig!==void 0&&(e.tsaConfig=ze.ServiceConfiguration.toJSON(t.tsaConfig)),e}};ze.Service={fromJSON(t){return{url:Br(t.url)?globalThis.String(t.url):"",majorApiVersion:Br(t.majorApiVersion)?globalThis.Number(t.majorApiVersion):0,validFor:Br(t.validFor)?Fi.TimeRange.fromJSON(t.validFor):void 0,operator:Br(t.operator)?globalThis.String(t.operator):""}},toJSON(t){let e={};return t.url!==""&&(e.url=t.url),t.majorApiVersion!==0&&(e.majorApiVersion=Math.round(t.majorApiVersion)),t.validFor!==void 0&&(e.validFor=Fi.TimeRange.toJSON(t.validFor)),t.operator!==""&&(e.operator=t.operator),e}};ze.ServiceConfiguration={fromJSON(t){return{selector:Br(t.selector)?jFe(t.selector):0,count:Br(t.count)?globalThis.Number(t.count):0}},toJSON(t){let e={};return t.selector!==0&&(e.selector=$Fe(t.selector)),t.count!==0&&(e.count=Math.round(t.count)),e}};ze.ClientTrustConfig={fromJSON(t){return{mediaType:Br(t.mediaType)?globalThis.String(t.mediaType):"",trustedRoot:Br(t.trustedRoot)?ze.TrustedRoot.fromJSON(t.trustedRoot):void 0,signingConfig:Br(t.signingConfig)?ze.SigningConfig.fromJSON(t.signingConfig):void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.trustedRoot!==void 0&&(e.trustedRoot=ze.TrustedRoot.toJSON(t.trustedRoot)),t.signingConfig!==void 0&&(e.signingConfig=ze.SigningConfig.toJSON(t.signingConfig)),e}};function Br(t){return t!=null}o(Br,"isSet")});var YFe=m(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.Input=je.Artifact=je.ArtifactVerificationOptions_ObserverTimestampOptions=je.ArtifactVerificationOptions_TlogIntegratedTimestampOptions=je.ArtifactVerificationOptions_TimestampAuthorityOptions=je.ArtifactVerificationOptions_CtlogOptions=je.ArtifactVerificationOptions_TlogOptions=je.ArtifactVerificationOptions=je.PublicKeyIdentities=je.CertificateIdentities=je.CertificateIdentity=void 0;var WFe=NK(),Eh=Df(),JFe=RK();je.CertificateIdentity={fromJSON(t){return{issuer:Yt(t.issuer)?globalThis.String(t.issuer):"",san:Yt(t.san)?Eh.SubjectAlternativeName.fromJSON(t.san):void 0,oids:globalThis.Array.isArray(t?.oids)?t.oids.map(e=>Eh.ObjectIdentifierValuePair.fromJSON(e)):[]}},toJSON(t){let e={};return t.issuer!==""&&(e.issuer=t.issuer),t.san!==void 0&&(e.san=Eh.SubjectAlternativeName.toJSON(t.san)),t.oids?.length&&(e.oids=t.oids.map(r=>Eh.ObjectIdentifierValuePair.toJSON(r))),e}};je.CertificateIdentities={fromJSON(t){return{identities:globalThis.Array.isArray(t?.identities)?t.identities.map(e=>je.CertificateIdentity.fromJSON(e)):[]}},toJSON(t){let e={};return t.identities?.length&&(e.identities=t.identities.map(r=>je.CertificateIdentity.toJSON(r))),e}};je.PublicKeyIdentities={fromJSON(t){return{publicKeys:globalThis.Array.isArray(t?.publicKeys)?t.publicKeys.map(e=>Eh.PublicKey.fromJSON(e)):[]}},toJSON(t){let e={};return t.publicKeys?.length&&(e.publicKeys=t.publicKeys.map(r=>Eh.PublicKey.toJSON(r))),e}};je.ArtifactVerificationOptions={fromJSON(t){return{signers:Yt(t.certificateIdentities)?{$case:"certificateIdentities",certificateIdentities:je.CertificateIdentities.fromJSON(t.certificateIdentities)}:Yt(t.publicKeys)?{$case:"publicKeys",publicKeys:je.PublicKeyIdentities.fromJSON(t.publicKeys)}:void 0,tlogOptions:Yt(t.tlogOptions)?je.ArtifactVerificationOptions_TlogOptions.fromJSON(t.tlogOptions):void 0,ctlogOptions:Yt(t.ctlogOptions)?je.ArtifactVerificationOptions_CtlogOptions.fromJSON(t.ctlogOptions):void 0,tsaOptions:Yt(t.tsaOptions)?je.ArtifactVerificationOptions_TimestampAuthorityOptions.fromJSON(t.tsaOptions):void 0,integratedTsOptions:Yt(t.integratedTsOptions)?je.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.fromJSON(t.integratedTsOptions):void 0,observerOptions:Yt(t.observerOptions)?je.ArtifactVerificationOptions_ObserverTimestampOptions.fromJSON(t.observerOptions):void 0}},toJSON(t){let e={};return t.signers?.$case==="certificateIdentities"?e.certificateIdentities=je.CertificateIdentities.toJSON(t.signers.certificateIdentities):t.signers?.$case==="publicKeys"&&(e.publicKeys=je.PublicKeyIdentities.toJSON(t.signers.publicKeys)),t.tlogOptions!==void 0&&(e.tlogOptions=je.ArtifactVerificationOptions_TlogOptions.toJSON(t.tlogOptions)),t.ctlogOptions!==void 0&&(e.ctlogOptions=je.ArtifactVerificationOptions_CtlogOptions.toJSON(t.ctlogOptions)),t.tsaOptions!==void 0&&(e.tsaOptions=je.ArtifactVerificationOptions_TimestampAuthorityOptions.toJSON(t.tsaOptions)),t.integratedTsOptions!==void 0&&(e.integratedTsOptions=je.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.toJSON(t.integratedTsOptions)),t.observerOptions!==void 0&&(e.observerOptions=je.ArtifactVerificationOptions_ObserverTimestampOptions.toJSON(t.observerOptions)),e}};je.ArtifactVerificationOptions_TlogOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,performOnlineVerification:Yt(t.performOnlineVerification)?globalThis.Boolean(t.performOnlineVerification):!1,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.performOnlineVerification!==!1&&(e.performOnlineVerification=t.performOnlineVerification),t.disable!==!1&&(e.disable=t.disable),e}};je.ArtifactVerificationOptions_CtlogOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};je.ArtifactVerificationOptions_TimestampAuthorityOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};je.ArtifactVerificationOptions_TlogIntegratedTimestampOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};je.ArtifactVerificationOptions_ObserverTimestampOptions={fromJSON(t){return{threshold:Yt(t.threshold)?globalThis.Number(t.threshold):0,disable:Yt(t.disable)?globalThis.Boolean(t.disable):!1}},toJSON(t){let e={};return t.threshold!==0&&(e.threshold=Math.round(t.threshold)),t.disable!==!1&&(e.disable=t.disable),e}};je.Artifact={fromJSON(t){return{data:Yt(t.artifactUri)?{$case:"artifactUri",artifactUri:globalThis.String(t.artifactUri)}:Yt(t.artifact)?{$case:"artifact",artifact:Buffer.from(eGt(t.artifact))}:Yt(t.artifactDigest)?{$case:"artifactDigest",artifactDigest:Eh.HashOutput.fromJSON(t.artifactDigest)}:void 0}},toJSON(t){let e={};return t.data?.$case==="artifactUri"?e.artifactUri=t.data.artifactUri:t.data?.$case==="artifact"?e.artifact=tGt(t.data.artifact):t.data?.$case==="artifactDigest"&&(e.artifactDigest=Eh.HashOutput.toJSON(t.data.artifactDigest)),e}};je.Input={fromJSON(t){return{artifactTrustRoot:Yt(t.artifactTrustRoot)?JFe.TrustedRoot.fromJSON(t.artifactTrustRoot):void 0,artifactVerificationOptions:Yt(t.artifactVerificationOptions)?je.ArtifactVerificationOptions.fromJSON(t.artifactVerificationOptions):void 0,bundle:Yt(t.bundle)?WFe.Bundle.fromJSON(t.bundle):void 0,artifact:Yt(t.artifact)?je.Artifact.fromJSON(t.artifact):void 0}},toJSON(t){let e={};return t.artifactTrustRoot!==void 0&&(e.artifactTrustRoot=JFe.TrustedRoot.toJSON(t.artifactTrustRoot)),t.artifactVerificationOptions!==void 0&&(e.artifactVerificationOptions=je.ArtifactVerificationOptions.toJSON(t.artifactVerificationOptions)),t.bundle!==void 0&&(e.bundle=WFe.Bundle.toJSON(t.bundle)),t.artifact!==void 0&&(e.artifact=je.Artifact.toJSON(t.artifact)),e}};function eGt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(eGt,"bytesFromBase64");function tGt(t){return globalThis.Buffer.from(t).toString("base64")}o(tGt,"base64FromBytes");function Yt(t){return t!=null}o(Yt,"isSet")});var IC=m(Ta=>{"use strict";var rGt=Ta&&Ta.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),wC=Ta&&Ta.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&rGt(e,t,r)};Object.defineProperty(Ta,"__esModule",{value:!0});wC(jP(),Ta);wC(NK(),Ta);wC(Df(),Ta);wC(_K(),Ta);wC(RK(),Ta);wC(YFe(),Ta)});var YP=m(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.BUNDLE_V03_MEDIA_TYPE=Gs.BUNDLE_V03_LEGACY_MEDIA_TYPE=Gs.BUNDLE_V02_MEDIA_TYPE=Gs.BUNDLE_V01_MEDIA_TYPE=void 0;Gs.isBundleWithCertificateChain=nGt;Gs.isBundleWithPublicKey=iGt;Gs.isBundleWithMessageSignature=sGt;Gs.isBundleWithDsseEnvelope=oGt;Gs.BUNDLE_V01_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.1";Gs.BUNDLE_V02_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.2";Gs.BUNDLE_V03_LEGACY_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.3";Gs.BUNDLE_V03_MEDIA_TYPE="application/vnd.dev.sigstore.bundle.v0.3+json";function nGt(t){return t.verificationMaterial.content.$case==="x509CertificateChain"}o(nGt,"isBundleWithCertificateChain");function iGt(t){return t.verificationMaterial.content.$case==="publicKey"}o(iGt,"isBundleWithPublicKey");function sGt(t){return t.content.$case==="messageSignature"}o(sGt,"isBundleWithMessageSignature");function oGt(t){return t.content.$case==="dsseEnvelope"}o(oGt,"isBundleWithDsseEnvelope")});var XFe=m(XP=>{"use strict";Object.defineProperty(XP,"__esModule",{value:!0});XP.toMessageSignatureBundle=cGt;XP.toDSSEBundle=lGt;var aGt=IC(),KP=YP();function cGt(t){return{mediaType:t.certificateChain?KP.BUNDLE_V02_MEDIA_TYPE:KP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:aGt.HashAlgorithm.SHA2_256,digest:t.digest},signature:t.signature}},verificationMaterial:KFe(t)}}o(cGt,"toMessageSignatureBundle");function lGt(t){return{mediaType:t.certificateChain?KP.BUNDLE_V02_MEDIA_TYPE:KP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:uGt(t)},verificationMaterial:KFe(t)}}o(lGt,"toDSSEBundle");function uGt(t){return{payloadType:t.artifactType,payload:t.artifact,signatures:[fGt(t)]}}o(uGt,"toEnvelope");function fGt(t){return{keyid:t.keyHint||"",sig:t.signature}}o(fGt,"toSignature");function KFe(t){return{content:dGt(t),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}o(KFe,"toVerificationMaterial");function dGt(t){return t.certificate?t.certificateChain?{$case:"x509CertificateChain",x509CertificateChain:{certificates:[{rawBytes:t.certificate}]}}:{$case:"certificate",certificate:{rawBytes:t.certificate}}:{$case:"publicKey",publicKey:{hint:t.keyHint||""}}}o(dGt,"toKeyContent")});var DK=m(ZP=>{"use strict";Object.defineProperty(ZP,"__esModule",{value:!0});ZP.ValidationError=void 0;var TK=class extends Error{static{o(this,"ValidationError")}fields;constructor(e,r){super(e),this.fields=r}};ZP.ValidationError=TK});var QK=m(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0});eA.assertBundle=hGt;eA.assertBundleV01=ZFe;eA.isBundleV01=pGt;eA.assertBundleV02=mGt;eA.assertBundleLatest=AGt;var eO=DK();function hGt(t){let e=tO(t);if(e.length>0)throw new eO.ValidationError("invalid bundle",e)}o(hGt,"assertBundle");function ZFe(t){let e=[];if(e.push(...tO(t)),e.push(...gGt(t)),e.length>0)throw new eO.ValidationError("invalid v0.1 bundle",e)}o(ZFe,"assertBundleV01");function pGt(t){try{return ZFe(t),!0}catch{return!1}}o(pGt,"isBundleV01");function mGt(t){let e=[];if(e.push(...tO(t)),e.push(...eMe(t)),e.length>0)throw new eO.ValidationError("invalid v0.2 bundle",e)}o(mGt,"assertBundleV02");function AGt(t){let e=[];if(e.push(...tO(t)),e.push(...eMe(t)),e.push(...yGt(t)),e.length>0)throw new eO.ValidationError("invalid bundle",e)}o(AGt,"assertBundleLatest");function tO(t){let e=[];if((t.mediaType===void 0||!t.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\+json;version=\d\.\d/)&&!t.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\.v\d\.\d\+json/))&&e.push("mediaType"),t.content===void 0)e.push("content");else switch(t.content.$case){case"messageSignature":t.content.messageSignature.messageDigest===void 0?e.push("content.messageSignature.messageDigest"):t.content.messageSignature.messageDigest.digest.length===0&&e.push("content.messageSignature.messageDigest.digest"),t.content.messageSignature.signature.length===0&&e.push("content.messageSignature.signature");break;case"dsseEnvelope":t.content.dsseEnvelope.payload.length===0&&e.push("content.dsseEnvelope.payload"),t.content.dsseEnvelope.signatures.length!==1?e.push("content.dsseEnvelope.signatures"):t.content.dsseEnvelope.signatures[0].sig.length===0&&e.push("content.dsseEnvelope.signatures[0].sig");break}if(t.verificationMaterial===void 0)e.push("verificationMaterial");else{if(t.verificationMaterial.content===void 0)e.push("verificationMaterial.content");else switch(t.verificationMaterial.content.$case){case"x509CertificateChain":t.verificationMaterial.content.x509CertificateChain.certificates.length===0&&e.push("verificationMaterial.content.x509CertificateChain.certificates"),t.verificationMaterial.content.x509CertificateChain.certificates.forEach((r,n)=>{r.rawBytes.length===0&&e.push(`verificationMaterial.content.x509CertificateChain.certificates[${n}].rawBytes`)});break;case"certificate":t.verificationMaterial.content.certificate.rawBytes.length===0&&e.push("verificationMaterial.content.certificate.rawBytes");break}t.verificationMaterial.tlogEntries===void 0?e.push("verificationMaterial.tlogEntries"):t.verificationMaterial.tlogEntries.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.logId===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].logId`),r.kindVersion===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].kindVersion`)})}return e}o(tO,"validateBundleBase");function gGt(t){let e=[];return t.verificationMaterial&&t.verificationMaterial.tlogEntries?.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.inclusionPromise===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].inclusionPromise`)}),e}o(gGt,"validateInclusionPromise");function eMe(t){let e=[];return t.verificationMaterial&&t.verificationMaterial.tlogEntries?.length>0&&t.verificationMaterial.tlogEntries.forEach((r,n)=>{r.inclusionProof===void 0?e.push(`verificationMaterial.tlogEntries[${n}].inclusionProof`):r.inclusionProof.checkpoint===void 0&&e.push(`verificationMaterial.tlogEntries[${n}].inclusionProof.checkpoint`)}),e}o(eMe,"validateInclusionProof");function yGt(t){let e=[];return t.verificationMaterial?.content?.$case==="x509CertificateChain"&&e.push("verificationMaterial.content.$case"),e}o(yGt,"validateNoCertificateChain")});var rMe=m(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.envelopeToJSON=su.envelopeFromJSON=su.bundleToJSON=su.bundleFromJSON=void 0;var rO=IC(),tMe=YP(),kK=QK(),EGt=o(t=>{let e=rO.Bundle.fromJSON(t);switch(e.mediaType){case tMe.BUNDLE_V01_MEDIA_TYPE:(0,kK.assertBundleV01)(e);break;case tMe.BUNDLE_V02_MEDIA_TYPE:(0,kK.assertBundleV02)(e);break;default:(0,kK.assertBundleLatest)(e);break}return e},"bundleFromJSON");su.bundleFromJSON=EGt;var CGt=o(t=>rO.Bundle.toJSON(t),"bundleToJSON");su.bundleToJSON=CGt;var bGt=o(t=>rO.Envelope.fromJSON(t),"envelopeFromJSON");su.envelopeFromJSON=bGt;var wGt=o(t=>rO.Envelope.toJSON(t),"envelopeToJSON");su.envelopeToJSON=wGt});var PK=m(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.isBundleV01=et.assertBundleV02=et.assertBundleV01=et.assertBundleLatest=et.assertBundle=et.envelopeToJSON=et.envelopeFromJSON=et.bundleToJSON=et.bundleFromJSON=et.ValidationError=et.isBundleWithPublicKey=et.isBundleWithMessageSignature=et.isBundleWithDsseEnvelope=et.isBundleWithCertificateChain=et.BUNDLE_V03_MEDIA_TYPE=et.BUNDLE_V03_LEGACY_MEDIA_TYPE=et.BUNDLE_V02_MEDIA_TYPE=et.BUNDLE_V01_MEDIA_TYPE=et.toMessageSignatureBundle=et.toDSSEBundle=void 0;var nMe=XFe();Object.defineProperty(et,"toDSSEBundle",{enumerable:!0,get:o(function(){return nMe.toDSSEBundle},"get")});Object.defineProperty(et,"toMessageSignatureBundle",{enumerable:!0,get:o(function(){return nMe.toMessageSignatureBundle},"get")});var Ch=YP();Object.defineProperty(et,"BUNDLE_V01_MEDIA_TYPE",{enumerable:!0,get:o(function(){return Ch.BUNDLE_V01_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V02_MEDIA_TYPE",{enumerable:!0,get:o(function(){return Ch.BUNDLE_V02_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_LEGACY_MEDIA_TYPE",{enumerable:!0,get:o(function(){return Ch.BUNDLE_V03_LEGACY_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_MEDIA_TYPE",{enumerable:!0,get:o(function(){return Ch.BUNDLE_V03_MEDIA_TYPE},"get")});Object.defineProperty(et,"isBundleWithCertificateChain",{enumerable:!0,get:o(function(){return Ch.isBundleWithCertificateChain},"get")});Object.defineProperty(et,"isBundleWithDsseEnvelope",{enumerable:!0,get:o(function(){return Ch.isBundleWithDsseEnvelope},"get")});Object.defineProperty(et,"isBundleWithMessageSignature",{enumerable:!0,get:o(function(){return Ch.isBundleWithMessageSignature},"get")});Object.defineProperty(et,"isBundleWithPublicKey",{enumerable:!0,get:o(function(){return Ch.isBundleWithPublicKey},"get")});var IGt=DK();Object.defineProperty(et,"ValidationError",{enumerable:!0,get:o(function(){return IGt.ValidationError},"get")});var nO=rMe();Object.defineProperty(et,"bundleFromJSON",{enumerable:!0,get:o(function(){return nO.bundleFromJSON},"get")});Object.defineProperty(et,"bundleToJSON",{enumerable:!0,get:o(function(){return nO.bundleToJSON},"get")});Object.defineProperty(et,"envelopeFromJSON",{enumerable:!0,get:o(function(){return nO.envelopeFromJSON},"get")});Object.defineProperty(et,"envelopeToJSON",{enumerable:!0,get:o(function(){return nO.envelopeToJSON},"get")});var GB=QK();Object.defineProperty(et,"assertBundle",{enumerable:!0,get:o(function(){return GB.assertBundle},"get")});Object.defineProperty(et,"assertBundleLatest",{enumerable:!0,get:o(function(){return GB.assertBundleLatest},"get")});Object.defineProperty(et,"assertBundleV01",{enumerable:!0,get:o(function(){return GB.assertBundleV01},"get")});Object.defineProperty(et,"assertBundleV02",{enumerable:!0,get:o(function(){return GB.assertBundleV02},"get")});Object.defineProperty(et,"isBundleV01",{enumerable:!0,get:o(function(){return GB.isBundleV01},"get")})});var sMe=m(HB=>{"use strict";var iMe=HB&&HB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(HB,"__esModule",{value:!0});HB.appDataPath=BGt;var SGt=iMe(require("os")),SC=iMe(require("path"));function BGt(t){let e=SGt.default.homedir();switch(process.platform){case"darwin":{let r=SC.default.join(e,"Library","Application Support");return SC.default.join(r,t)}case"win32":{let r=process.env.LOCALAPPDATA||SC.default.join(e,"AppData","Local");return SC.default.join(r,t,"Data")}default:{let r=process.env.XDG_DATA_HOME||SC.default.join(e,".local","share");return SC.default.join(r,t)}}}o(BGt,"appDataPath")});var ou=m(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.UnsupportedAlgorithmError=Hs.CryptoError=Hs.LengthOrHashMismatchError=Hs.UnsignedMetadataError=Hs.RepositoryError=Hs.ValueError=void 0;var OK=class extends Error{static{o(this,"ValueError")}};Hs.ValueError=OK;var VB=class extends Error{static{o(this,"RepositoryError")}};Hs.RepositoryError=VB;var LK=class extends VB{static{o(this,"UnsignedMetadataError")}};Hs.UnsignedMetadataError=LK;var FK=class extends VB{static{o(this,"LengthOrHashMismatchError")}};Hs.LengthOrHashMismatchError=FK;var iO=class extends Error{static{o(this,"CryptoError")}};Hs.CryptoError=iO;var MK=class extends iO{static{o(this,"UnsupportedAlgorithmError")}};Hs.UnsupportedAlgorithmError=MK});var aMe=m(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.isDefined=vGt;bh.isObject=oMe;bh.isStringArray=xGt;bh.isObjectArray=_Gt;bh.isStringRecord=NGt;bh.isObjectRecord=RGt;function vGt(t){return t!==void 0}o(vGt,"isDefined");function oMe(t){return typeof t=="object"&&t!==null}o(oMe,"isObject");function xGt(t){return Array.isArray(t)&&t.every(e=>typeof e=="string")}o(xGt,"isStringArray");function _Gt(t){return Array.isArray(t)&&t.every(oMe)}o(_Gt,"isObjectArray");function NGt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="string")}o(NGt,"isStringRecord");function RGt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="object"&&e!==null)}o(RGt,"isObjectRecord")});var qK=m((O3r,lMe)=>{function UK(t){let e=[];if(typeof t=="string")e.push(cMe(t));else if(typeof t=="boolean")e.push(JSON.stringify(t));else if(Number.isInteger(t))e.push(JSON.stringify(t));else if(t===null)e.push(JSON.stringify(t));else if(Array.isArray(t)){e.push("[");let r=!0;t.forEach(n=>{r||e.push(","),r=!1,e.push(UK(n))}),e.push("]")}else if(typeof t=="object"){e.push("{");let r=!0;Object.keys(t).sort().forEach(n=>{r||e.push(","),r=!1,e.push(cMe(n)),e.push(":"),e.push(UK(t[n]))}),e.push("}")}else throw new TypeError("cannot encode "+t.toString());return e.join("")}o(UK,"canonicalize");function cMe(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}o(cMe,"canonicalizeString");lMe.exports={canonicalize:UK}});var uMe=m(BC=>{"use strict";var TGt=BC&&BC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(BC,"__esModule",{value:!0});BC.verifySignature=void 0;var DGt=qK(),QGt=TGt(require("crypto")),kGt=o((t,e,r)=>{let n=Buffer.from((0,DGt.canonicalize)(t));return QGt.default.verify(void 0,n,e,Buffer.from(r,"hex"))},"verifySignature");BC.verifySignature=kGt});var vc=m(Da=>{"use strict";var PGt=Da&&Da.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),OGt=Da&&Da.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fMe=Da&&Da.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var LGt=Qf&&Qf.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Qf,"__esModule",{value:!0});Qf.Signed=Qf.MetadataKind=void 0;Qf.isMetadataKind=MGt;var FGt=LGt(require("util")),zB=ou(),GK=vc(),dMe=["1","0","31"],HK;(function(t){t.Root="root",t.Timestamp="timestamp",t.Snapshot="snapshot",t.Targets="targets"})(HK||(Qf.MetadataKind=HK={}));function MGt(t){return typeof t=="string"&&Object.values(HK).includes(t)}o(MGt,"isMetadataKind");var VK=class t{static{o(this,"Signed")}specVersion;expires;version;unrecognizedFields;constructor(e){this.specVersion=e.specVersion||dMe.join(".");let r=this.specVersion.split(".");if(!(r.length===2||r.length===3)||!r.every(n=>UGt(n)))throw new zB.ValueError("Failed to parse specVersion");if(r[0]!=dMe[0])throw new zB.ValueError("Unsupported specVersion");this.expires=e.expires,this.version=e.version,this.unrecognizedFields=e.unrecognizedFields||{}}equals(e){return e instanceof t?this.specVersion===e.specVersion&&this.expires===e.expires&&this.version===e.version&&FGt.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}isExpired(e){return e||(e=new Date),e>=new Date(this.expires)}static commonFieldsFromJSON(e){let{spec_version:r,expires:n,version:i,...s}=e;if(GK.guard.isDefined(r)){if(typeof r!="string")throw new TypeError("spec_version must be a string")}else throw new zB.ValueError("spec_version is not defined");if(GK.guard.isDefined(n)){if(typeof n!="string")throw new TypeError("expires must be a string")}else throw new zB.ValueError("expires is not defined");if(GK.guard.isDefined(i)){if(typeof i!="number")throw new TypeError("version must be a number")}else throw new zB.ValueError("version is not defined");return{specVersion:r,expires:n,version:i,unrecognizedFields:s}}};Qf.Signed=VK;function UGt(t){return!isNaN(Number(t))}o(UGt,"isNumeric")});var jB=m(Ih=>{"use strict";var hMe=Ih&&Ih.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ih,"__esModule",{value:!0});Ih.TargetFile=Ih.MetaFile=void 0;var pMe=hMe(require("crypto")),oO=hMe(require("util")),wh=ou(),sO=vc(),zK=class t{static{o(this,"MetaFile")}version;length;hashes;unrecognizedFields;constructor(e){if(e.version<=0)throw new wh.ValueError("Metafile version must be at least 1");e.length!==void 0&&mMe(e.length),this.version=e.version,this.length=e.length,this.hashes=e.hashes,this.unrecognizedFields=e.unrecognizedFields||{}}equals(e){return e instanceof t?this.version===e.version&&this.length===e.length&&oO.default.isDeepStrictEqual(this.hashes,e.hashes)&&oO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}verify(e){if(this.length!==void 0&&e.length!==this.length)throw new wh.LengthOrHashMismatchError(`Expected length ${this.length} but got ${e.length}`);this.hashes&&Object.entries(this.hashes).forEach(([r,n])=>{let i;try{i=pMe.default.createHash(r)}catch{throw new wh.LengthOrHashMismatchError(`Hash algorithm ${r} not supported`)}let s=i.update(e).digest("hex");if(s!==n)throw new wh.LengthOrHashMismatchError(`Expected hash ${n} but got ${s}`)})}toJSON(){let e={version:this.version,...this.unrecognizedFields};return this.length!==void 0&&(e.length=this.length),this.hashes&&(e.hashes=this.hashes),e}static fromJSON(e){let{version:r,length:n,hashes:i,...s}=e;if(typeof r!="number")throw new TypeError("version must be a number");if(sO.guard.isDefined(n)&&typeof n!="number")throw new TypeError("length must be a number");if(sO.guard.isDefined(i)&&!sO.guard.isStringRecord(i))throw new TypeError("hashes must be string keys and values");return new t({version:r,length:n,hashes:i,unrecognizedFields:s})}};Ih.MetaFile=zK;var jK=class t{static{o(this,"TargetFile")}length;path;hashes;unrecognizedFields;constructor(e){mMe(e.length),this.length=e.length,this.path=e.path,this.hashes=e.hashes,this.unrecognizedFields=e.unrecognizedFields||{}}get custom(){let e=this.unrecognizedFields.custom;return!e||Array.isArray(e)||typeof e!="object"?{}:e}equals(e){return e instanceof t?this.length===e.length&&this.path===e.path&&oO.default.isDeepStrictEqual(this.hashes,e.hashes)&&oO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}async verify(e){let r=0,n=Object.keys(this.hashes).reduce((i,s)=>{try{i[s]=pMe.default.createHash(s)}catch{throw new wh.LengthOrHashMismatchError(`Hash algorithm ${s} not supported`)}return i},{});for await(let i of e)r+=i.length,Object.values(n).forEach(s=>{s.update(i)});if(r!==this.length)throw new wh.LengthOrHashMismatchError(`Expected length ${this.length} but got ${r}`);Object.entries(n).forEach(([i,s])=>{let a=this.hashes[i],c=s.digest("hex");if(c!==a)throw new wh.LengthOrHashMismatchError(`Expected hash ${a} but got ${c}`)})}toJSON(){return{length:this.length,hashes:this.hashes,...this.unrecognizedFields}}static fromJSON(e,r){let{length:n,hashes:i,...s}=r;if(typeof n!="number")throw new TypeError("length must be a number");if(!sO.guard.isStringRecord(i))throw new TypeError("hashes must have string keys and values");return new t({length:n,path:e,hashes:i,unrecognizedFields:s})}};Ih.TargetFile=jK;function mMe(t){if(t<0)throw new wh.ValueError("Length must be at least 0")}o(mMe,"validateLength")});var AMe=m($K=>{"use strict";Object.defineProperty($K,"__esModule",{value:!0});$K.encodeOIDString=GGt;var qGt=6;function GGt(t){let e=t.split("."),r=parseInt(e[0],10)*40+parseInt(e[1],10),n=[];e.slice(2).forEach(s=>{let a=HGt(parseInt(s,10));n.push(...a)});let i=Buffer.from([r,...n]);return Buffer.from([qGt,i.length,...i])}o(GGt,"encodeOIDString");function HGt(t){let e=[],r=0;for(;t>0;)e.unshift(t&127|r),t>>=7,r=128;return e}o(HGt,"encodeVariableLengthInteger")});var CMe=m(WB=>{"use strict";var VGt=WB&&WB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(WB,"__esModule",{value:!0});WB.getPublicKey=WGt;var vC=VGt(require("crypto")),$B=ou(),WK=AMe(),aO=48,gMe=3,yMe=0,zGt="1.3.101.112",jGt="1.2.840.10045.2.1",$Gt="1.2.840.10045.3.1.7",JK="-----BEGIN PUBLIC KEY-----";function WGt(t){switch(t.keyType){case"rsa":return JGt(t);case"ed25519":return YGt(t);case"ecdsa":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":return KGt(t);default:throw new $B.UnsupportedAlgorithmError(`Unsupported key type: ${t.keyType}`)}}o(WGt,"getPublicKey");function JGt(t){if(!t.keyVal.startsWith(JK))throw new $B.CryptoError("Invalid key format");let e=vC.default.createPublicKey(t.keyVal);if(t.scheme==="rsassa-pss-sha256")return{key:e,padding:vC.default.constants.RSA_PKCS1_PSS_PADDING};throw new $B.UnsupportedAlgorithmError(`Unsupported RSA scheme: ${t.scheme}`)}o(JGt,"getRSAPublicKey");function YGt(t){let e;if(t.keyVal.startsWith(JK))e=vC.default.createPublicKey(t.keyVal);else{if(!EMe(t.keyVal))throw new $B.CryptoError("Invalid key format");e=vC.default.createPublicKey({key:XGt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(YGt,"getED25519PublicKey");function KGt(t){let e;if(t.keyVal.startsWith(JK))e=vC.default.createPublicKey(t.keyVal);else{if(!EMe(t.keyVal))throw new $B.CryptoError("Invalid key format");e=vC.default.createPublicKey({key:ZGt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(KGt,"getECDCSAPublicKey");var XGt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=(0,WK.encodeOIDString)(zGt),n=Buffer.concat([Buffer.concat([Buffer.from([aO]),Buffer.from([r.length]),r]),Buffer.concat([Buffer.from([gMe]),Buffer.from([e.length+1]),Buffer.from([yMe]),e])]);return Buffer.concat([Buffer.from([aO]),Buffer.from([n.length]),n])},"hexToDER")},ZGt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=Buffer.concat([Buffer.from([gMe]),Buffer.from([e.length+1]),Buffer.from([yMe]),e]),n=Buffer.concat([(0,WK.encodeOIDString)(jGt),(0,WK.encodeOIDString)($Gt)]),i=Buffer.concat([Buffer.from([aO]),Buffer.from([n.length]),n]);return Buffer.concat([Buffer.from([aO]),Buffer.from([i.length+r.length]),i,r])},"hexToDER")},EMe=o(t=>/^[0-9a-fA-F]+$/.test(t),"isHex")});var cO=m(xC=>{"use strict";var e4t=xC&&xC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xC,"__esModule",{value:!0});xC.Key=void 0;var bMe=e4t(require("util")),JB=ou(),wMe=vc(),t4t=CMe(),YK=class t{static{o(this,"Key")}keyID;keyType;scheme;keyVal;unrecognizedFields;constructor(e){let{keyID:r,keyType:n,scheme:i,keyVal:s,unrecognizedFields:a}=e;this.keyID=r,this.keyType=n,this.scheme=i,this.keyVal=s,this.unrecognizedFields=a||{}}verifySignature(e){let r=e.signatures[this.keyID];if(!r)throw new JB.UnsignedMetadataError("no signature for key found in metadata");if(!this.keyVal.public)throw new JB.UnsignedMetadataError("no public key found");let n=(0,t4t.getPublicKey)({keyType:this.keyType,scheme:this.scheme,keyVal:this.keyVal.public}),i=e.signed.toJSON();try{if(!wMe.crypto.verifySignature(i,n,r.sig))throw new JB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}catch(s){throw s instanceof JB.UnsignedMetadataError?s:new JB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}}equals(e){return e instanceof t?this.keyID===e.keyID&&this.keyType===e.keyType&&this.scheme===e.scheme&&bMe.default.isDeepStrictEqual(this.keyVal,e.keyVal)&&bMe.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{keytype:this.keyType,scheme:this.scheme,keyval:this.keyVal,...this.unrecognizedFields}}static fromJSON(e,r){let{keytype:n,scheme:i,keyval:s,...a}=r;if(typeof n!="string")throw new TypeError("keytype must be a string");if(typeof i!="string")throw new TypeError("scheme must be a string");if(!wMe.guard.isStringRecord(s))throw new TypeError("keyval must be a string record");return new t({keyID:e,keyType:n,scheme:i,keyVal:s,unrecognizedFields:a})}};xC.Key=YK});var SMe=m(rA=>{"use strict";Object.defineProperty(rA,"__esModule",{value:!0});rA.range=rA.balanced=void 0;var r4t=o((t,e,r)=>{let n=t instanceof RegExp?IMe(t,r):t,i=e instanceof RegExp?IMe(e,r):e,s=n!==null&&i!=null&&(0,rA.range)(n,i,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+n.length,s[1]),post:r.slice(s[1]+i.length)}},"balanced");rA.balanced=r4t;var IMe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),n4t=o((t,e,r)=>{let n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),f=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;f>=0&&!c;){if(f===l)n.push(f),l=r.indexOf(t,f+1);else if(n.length===1){let d=n.pop();d!==void 0&&(c=[d,u])}else i=n.pop(),i!==void 0&&i=0?l:u}n.length&&a!==void 0&&(c=[s,a])}return c},"range");rA.range=n4t});var TMe=m(_C=>{"use strict";Object.defineProperty(_C,"__esModule",{value:!0});_C.EXPANSION_MAX=void 0;_C.expand=A4t;var BMe=SMe(),vMe="\0SLASH"+Math.random()+"\0",xMe="\0OPEN"+Math.random()+"\0",XK="\0CLOSE"+Math.random()+"\0",_Me="\0COMMA"+Math.random()+"\0",NMe="\0PERIOD"+Math.random()+"\0",i4t=new RegExp(vMe,"g"),s4t=new RegExp(xMe,"g"),o4t=new RegExp(XK,"g"),a4t=new RegExp(_Me,"g"),c4t=new RegExp(NMe,"g"),l4t=/\\\\/g,u4t=/\\{/g,f4t=/\\}/g,d4t=/\\,/g,h4t=/\\\./g;_C.EXPANSION_MAX=1e5;function KK(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(KK,"numeric");function p4t(t){return t.replace(l4t,vMe).replace(u4t,xMe).replace(f4t,XK).replace(d4t,_Me).replace(h4t,NMe)}o(p4t,"escapeBraces");function m4t(t){return t.replace(i4t,"\\").replace(s4t,"{").replace(o4t,"}").replace(a4t,",").replace(c4t,".")}o(m4t,"unescapeBraces");function RMe(t){if(!t)return[""];let e=[],r=(0,BMe.balanced)("{","}",t);if(!r)return t.split(",");let{pre:n,body:i,post:s}=r,a=n.split(",");a[a.length-1]+="{"+i+"}";let c=RMe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(RMe,"parseCommaParts");function A4t(t,e={}){if(!t)return[];let{max:r=_C.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),YB(p4t(t),r,!0).map(m4t)}o(A4t,"expand");function g4t(t){return"{"+t+"}"}o(g4t,"embrace");function y4t(t){return/^-?0\d/.test(t)}o(y4t,"isPadded");function E4t(t,e){return t<=e}o(E4t,"lte");function C4t(t,e){return t>=e}o(C4t,"gte");function YB(t,e,r){let n=[],i=(0,BMe.balanced)("{","}",t);if(!i)return[t];let s=i.pre,a=i.post.length?YB(i.post,e,!1):[""];if(/\$$/.test(i.pre))for(let c=0;c=0;if(!u&&!f)return i.post.match(/,(?!,).*\}/)?(t=i.pre+"{"+i.body+XK+i.post,YB(t,e,!0)):[t];let d;if(u)d=i.body.split(/\.\./);else if(d=RMe(i.body),d.length===1&&d[0]!==void 0&&(d=YB(d[0],e,!1).map(g4t),d.length===1))return a.map(p=>i.pre+d[0]+p);let h;if(u&&d[0]!==void 0&&d[1]!==void 0){let p=KK(d[0]),A=KK(d[1]),g=Math.max(d[0].length,d[1].length),E=d.length===3&&d[2]!==void 0?Math.max(Math.abs(KK(d[2])),1):1,y=E4t;A0){let x=new Array(F+1).join("0");S<0?Q="-"+x+Q.slice(1):Q=x+Q}}h.push(Q)}}else{h=[];for(let p=0;p{"use strict";Object.defineProperty(lO,"__esModule",{value:!0});lO.assertValidPattern=void 0;var b4t=1024*64,w4t=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>b4t)throw new TypeError("pattern is too long")},"assertValidPattern");lO.assertValidPattern=w4t});var kMe=m(uO=>{"use strict";Object.defineProperty(uO,"__esModule",{value:!0});uO.parseClass=void 0;var I4t={"[: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]},KB=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),S4t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),QMe=o(t=>t.join(""),"rangesToString"),B4t=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,c=!1,l=!1,u=!1,f=r,d="";e:for(;sd?n.push(KB(d)+"-"+KB(g)):g===d&&n.push(KB(g)),d="",s++;continue}if(t.startsWith("-]",s+1)){n.push(KB(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){d=g,s+=2;continue}n.push(KB(g)),s++}if(f{"use strict";Object.defineProperty(fO,"__esModule",{value:!0});fO.unescape=void 0;var v4t=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!0}={})=>r?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");fO.unescape=v4t});var tX=m(AO=>{"use strict";var Vs;Object.defineProperty(AO,"__esModule",{value:!0});AO.AST=void 0;var x4t=kMe(),hO=dO(),_4t=new Set(["!","?","+","*","@"]),ZK=o(t=>_4t.has(t),"isExtglobType"),PMe=o(t=>ZK(t.type),"isExtglobAST"),N4t=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),R4t=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),T4t=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),OMe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),D4t="(?!(?:^|/)\\.\\.?(?:$|/))",pO="(?!\\.)",Q4t=new Set(["[","."]),k4t=new Set(["..","."]),P4t=new Set("().*{}+?[]^$\\!"),O4t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),eX="[^/]",LMe=eX+"*?",FMe=eX+"+?",L4t=0,mO=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#d=!1;id=++L4t;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,r,n={}){this.type=e,e&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#a&&this.#l.push(this),this.#s=this.#i?this.#i.#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.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#o=this.#r.map(e=>String(e)).join("")}#y(){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.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&itypeof 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.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;let e=this.#i;for(let r=0;rtypeof p!="string"),u=this.#r.map(p=>{let[A,g,E,y]=typeof p=="string"?Vs.#S(p,this.#t,l):p.toRegExpSource(e);return this.#t=this.#t||E,this.#n=this.#n||y,A}).join(""),f="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&k4t.has(this.#r[0]))){let A=Q4t,g=r&&A.has(u.charAt(0))||u.startsWith("\\.")&&A.has(u.charAt(2))||u.startsWith("\\.\\.")&&A.has(u.charAt(4)),E=!r&&!e&&A.has(u.charAt(0));f=g?D4t:E?pO:""}let d="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(d="(?:$|\\/)"),[f+u+d,(0,hO.unescape)(u),this.#t=!!this.#t,this.#n]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#I(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,(0,hO.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!pO?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#d)c=(this.isStart()&&!r?pO:"")+FMe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?pO:"")+LMe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,hO.unescape)(s),this.#t=!!this.#t,this.#n]}#f(){if(PMe(this)){let e=0,r=!1;do{r=!0;for(let n=0;n{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#S(e,r,n=!1){let i=!1,s="",a=!1,c=!1;for(let l=0;l{"use strict";Object.defineProperty(gO,"__esModule",{value:!0});gO.escape=void 0;var F4t=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");gO.escape=F4t});var zMe=m(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});Ae.unescape=Ae.escape=Ae.AST=Ae.Minimatch=Ae.match=Ae.makeRe=Ae.braceExpand=Ae.defaults=Ae.filter=Ae.GLOBSTAR=Ae.sep=Ae.minimatch=void 0;var M4t=TMe(),yO=DMe(),qMe=tX(),U4t=rX(),q4t=dO(),G4t=o((t,e,r={})=>((0,yO.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new nA(e,r).match(t)),"minimatch");Ae.minimatch=G4t;var H4t=/^\*+([^+@!?*[(]*)$/,V4t=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),z4t=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),j4t=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),$4t=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),W4t=/^\*+\.\*+$/,J4t=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),Y4t=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),K4t=/^\.\*+$/,X4t=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),Z4t=/^\*+$/,e5t=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),t5t=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),r5t=/^\?+([^+@!?*[(]*)?$/,n5t=o(([t,e=""])=>{let r=GMe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),i5t=o(([t,e=""])=>{let r=HMe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),s5t=o(([t,e=""])=>{let r=HMe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),o5t=o(([t,e=""])=>{let r=GMe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),GMe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),HMe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),VMe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",MMe={win32:{sep:"\\"},posix:{sep:"/"}};Ae.sep=VMe==="win32"?MMe.win32.sep:MMe.posix.sep;Ae.minimatch.sep=Ae.sep;Ae.GLOBSTAR=Symbol("globstar **");Ae.minimatch.GLOBSTAR=Ae.GLOBSTAR;var a5t="[^/]",c5t=a5t+"*?",l5t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",u5t="(?:(?!(?:\\/|^)\\.).)*?",f5t=o((t,e={})=>r=>(0,Ae.minimatch)(r,t,e),"filter");Ae.filter=f5t;Ae.minimatch.filter=Ae.filter;var Qa=o((t,e={})=>Object.assign({},t,e),"ext"),d5t=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return Ae.minimatch;let e=Ae.minimatch;return Object.assign(o((n,i,s={})=>e(n,i,Qa(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Qa(t,s))}static defaults(i){return e.defaults(Qa(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Qa(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Qa(t,s))}},unescape:o((n,i={})=>e.unescape(n,Qa(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Qa(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Qa(t,i)),"filter"),defaults:o(n=>e.defaults(Qa(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Qa(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Qa(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Qa(t,s)),"match"),sep:e.sep,GLOBSTAR:Ae.GLOBSTAR})},"defaults");Ae.defaults=d5t;Ae.minimatch.defaults=Ae.defaults;var h5t=o((t,e={})=>((0,yO.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,M4t.expand)(t,{max:e.braceExpandMax})),"braceExpand");Ae.braceExpand=h5t;Ae.minimatch.braceExpand=Ae.braceExpand;var p5t=o((t,e={})=>new nA(t,e).makeRe(),"makeRe");Ae.makeRe=p5t;Ae.minimatch.makeRe=Ae.makeRe;var m5t=o((t,e,r={})=>{let n=new nA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");Ae.match=m5t;Ae.minimatch.match=Ae.match;var UMe=/[?*]|[+@!]\(.*?\)|\[|\]/,A5t=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),nA=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={}){(0,yO.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||VMe,this.isWindows=this.platform==="win32";let n="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[n]===!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=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!UMe.test(s[2]))&&!UMe.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(f=>this.parse(f))];if(u)return[s[0],...s.slice(1).map(f=>this.parse(f))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=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 n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,a-i);let c=n[i+1],l=n[i+2],u=n[i+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let f=n.slice(0);f[i]="**",e.push(f),i--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,n=!1){let i=0,s=0,a=[],c="";for(;i=2&&(e=this.levelTwoFileOptimize(e)),r.includes(Ae.GLOBSTAR)?this.#e(e,r,n,i,s):this.#n(e,r,n,i,s)}#e(e,r,n,i,s){let a=r.indexOf(Ae.GLOBSTAR,s),c=r.lastIndexOf(Ae.GLOBSTAR),[l,u,f]=n?[r.slice(s,a),r.slice(a+1),[]]:[r.slice(s,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let C=e.slice(i,i+l.length);if(!this.#n(C,l,n,0,0))return!1;i+=l.length,s+=l.length}let d=0;if(f.length){if(f.length+i>e.length)return!1;let C=e.length-f.length;if(this.#n(e,f,n,C,0))d=f.length;else{if(e[e.length-1]!==""||i+f.length===e.length||(C--,!this.#n(e,f,n,C,0)))return!1;d=f.length+1}}if(!u.length){let C=!!d;for(let w=i;w{let u=l.map(d=>{if(d instanceof RegExp)for(let h of d.flags.split(""))i.add(h);return typeof d=="string"?A5t(d):d===Ae.GLOBSTAR?Ae.GLOBSTAR:d._src});u.forEach((d,h)=>{let p=u[h+1],A=u[h-1];d!==Ae.GLOBSTAR||A===Ae.GLOBSTAR||(A===void 0?p!==void 0&&p!==Ae.GLOBSTAR?u[h+1]="(?:\\/|"+n+"\\/)?"+p:u[h]=n:p===void 0?u[h-1]=A+"(?:\\/|\\/"+n+")?":p!==Ae.GLOBSTAR&&(u[h-1]=A+"(?:\\/|\\/"+n+"\\/)"+p,u[h+1]=Ae.GLOBSTAR))});let f=u.filter(d=>d!==Ae.GLOBSTAR);if(this.partial&&f.length>=1){let d=[];for(let h=1;h<=f.length;h++)d.push(f.slice(0,h).join("/"));return"(?:"+d.join("|")+")"}return f.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];s="^"+a+s+c+"$",this.partial&&(s="^(?:\\/|"+a+s.slice(1,-1)+c+")$"),this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].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 n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let c=i.length-2;!a&&c>=0;c--)a=i[c];for(let c of s){let l=i;if(n.matchBase&&c.length===1&&(l=[a]),this.matchOne(l,c,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return Ae.minimatch.defaults(e).Minimatch}};Ae.Minimatch=nA;var g5t=tX();Object.defineProperty(Ae,"AST",{enumerable:!0,get:o(function(){return g5t.AST},"get")});var y5t=rX();Object.defineProperty(Ae,"escape",{enumerable:!0,get:o(function(){return y5t.escape},"get")});var E5t=dO();Object.defineProperty(Ae,"unescape",{enumerable:!0,get:o(function(){return E5t.unescape},"get")});Ae.minimatch.AST=qMe.AST;Ae.minimatch.Minimatch=nA;Ae.minimatch.escape=U4t.escape;Ae.minimatch.unescape=q4t.unescape});var sX=m(ka=>{"use strict";var jMe=ka&&ka.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ka,"__esModule",{value:!0});ka.SuccinctRoles=ka.DelegatedRole=ka.Role=ka.TOP_LEVEL_ROLE_NAMES=void 0;var $Me=jMe(require("crypto")),C5t=zMe(),EO=jMe(require("util")),CO=ou(),iA=vc();ka.TOP_LEVEL_ROLE_NAMES=["root","targets","snapshot","timestamp"];var XB=class t{static{o(this,"Role")}keyIDs;threshold;unrecognizedFields;constructor(e){let{keyIDs:r,threshold:n,unrecognizedFields:i}=e;if(b5t(r))throw new CO.ValueError("duplicate key IDs found");if(n<1)throw new CO.ValueError("threshold must be at least 1");this.keyIDs=r,this.threshold=n,this.unrecognizedFields=i||{}}equals(e){return e instanceof t?this.threshold===e.threshold&&EO.default.isDeepStrictEqual(this.keyIDs,e.keyIDs)&&EO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}toJSON(){return{keyids:this.keyIDs,threshold:this.threshold,...this.unrecognizedFields}}static fromJSON(e){let{keyids:r,threshold:n,...i}=e;if(!iA.guard.isStringArray(r))throw new TypeError("keyids must be an array");if(typeof n!="number")throw new TypeError("threshold must be a number");return new t({keyIDs:r,threshold:n,unrecognizedFields:i})}};ka.Role=XB;function b5t(t){return new Set(t).size!==t.length}o(b5t,"hasDuplicates");var nX=class t extends XB{static{o(this,"DelegatedRole")}name;terminating;paths;pathHashPrefixes;constructor(e){super(e);let{name:r,terminating:n,paths:i,pathHashPrefixes:s}=e;if(this.name=r,this.terminating=n,e.paths&&e.pathHashPrefixes)throw new CO.ValueError("paths and pathHashPrefixes are mutually exclusive");this.paths=i,this.pathHashPrefixes=s}equals(e){return e instanceof t?super.equals(e)&&this.name===e.name&&this.terminating===e.terminating&&EO.default.isDeepStrictEqual(this.paths,e.paths)&&EO.default.isDeepStrictEqual(this.pathHashPrefixes,e.pathHashPrefixes):!1}isDelegatedPath(e){if(this.paths)return this.paths.some(r=>I5t(e,r));if(this.pathHashPrefixes){let n=$Me.default.createHash("sha256").update(e).digest("hex");return this.pathHashPrefixes.some(i=>n.startsWith(i))}return!1}toJSON(){let e={...super.toJSON(),name:this.name,terminating:this.terminating};return this.paths&&(e.paths=this.paths),this.pathHashPrefixes&&(e.path_hash_prefixes=this.pathHashPrefixes),e}static fromJSON(e){let{keyids:r,threshold:n,name:i,terminating:s,paths:a,path_hash_prefixes:c,...l}=e;if(!iA.guard.isStringArray(r))throw new TypeError("keyids must be an array of strings");if(typeof n!="number")throw new TypeError("threshold must be a number");if(typeof i!="string")throw new TypeError("name must be a string");if(typeof s!="boolean")throw new TypeError("terminating must be a boolean");if(iA.guard.isDefined(a)&&!iA.guard.isStringArray(a))throw new TypeError("paths must be an array of strings");if(iA.guard.isDefined(c)&&!iA.guard.isStringArray(c))throw new TypeError("path_hash_prefixes must be an array of strings");return new t({keyIDs:r,threshold:n,name:i,terminating:s,paths:a,pathHashPrefixes:c,unrecognizedFields:l})}};ka.DelegatedRole=nX;var w5t=o((t,e)=>t.map((r,n)=>[r,e[n]]),"zip");function I5t(t,e){let r=t.split("/"),n=e.split("/");return n.length!=r.length?!1:w5t(r,n).every(([i,s])=>(0,C5t.minimatch)(i,s))}o(I5t,"isTargetInPathPattern");var iX=class t extends XB{static{o(this,"SuccinctRoles")}bitLength;namePrefix;numberOfBins;suffixLen;constructor(e){super(e);let{bitLength:r,namePrefix:n}=e;if(r<=0||r>32)throw new CO.ValueError("bitLength must be between 1 and 32");this.bitLength=r,this.namePrefix=n,this.numberOfBins=Math.pow(2,r),this.suffixLen=(this.numberOfBins-1).toString(16).length}equals(e){return e instanceof t?super.equals(e)&&this.bitLength===e.bitLength&&this.namePrefix===e.namePrefix:!1}getRoleForTarget(e){let i=$Me.default.createHash("sha256").update(e).digest().subarray(0,4),s=32-this.bitLength,c=(i.readUInt32BE()>>>s).toString(16).padStart(this.suffixLen,"0");return`${this.namePrefix}-${c}`}*getRoles(){for(let e=0;e{"use strict";var S5t=NC&&NC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(NC,"__esModule",{value:!0});NC.Root=void 0;var WMe=S5t(require("util")),oX=tA(),JMe=ou(),B5t=cO(),bO=sX(),wO=vc(),aX=class t extends oX.Signed{static{o(this,"Root")}type=oX.MetadataKind.Root;keys;roles;consistentSnapshot;constructor(e){if(super(e),this.keys=e.keys||{},this.consistentSnapshot=e.consistentSnapshot??!0,!e.roles)this.roles=bO.TOP_LEVEL_ROLE_NAMES.reduce((r,n)=>({...r,[n]:new bO.Role({keyIDs:[],threshold:1})}),{});else{let r=new Set(Object.keys(e.roles));if(!bO.TOP_LEVEL_ROLE_NAMES.every(n=>r.has(n)))throw new JMe.ValueError("missing top-level role");this.roles=e.roles}}addKey(e,r){if(!this.roles[r])throw new JMe.ValueError(`role ${r} does not exist`);this.roles[r].keyIDs.includes(e.keyID)||this.roles[r].keyIDs.push(e.keyID),this.keys[e.keyID]=e}equals(e){return e instanceof t?super.equals(e)&&this.consistentSnapshot===e.consistentSnapshot&&WMe.default.isDeepStrictEqual(this.keys,e.keys)&&WMe.default.isDeepStrictEqual(this.roles,e.roles):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,keys:v5t(this.keys),roles:x5t(this.roles),consistent_snapshot:this.consistentSnapshot,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=oX.Signed.commonFieldsFromJSON(e),{keys:i,roles:s,consistent_snapshot:a,...c}=r;if(typeof a!="boolean")throw new TypeError("consistent_snapshot must be a boolean");return new t({...n,keys:_5t(i),roles:N5t(s),consistentSnapshot:a,unrecognizedFields:c})}};NC.Root=aX;function v5t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(v5t,"keysToJSON");function x5t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(x5t,"rolesToJSON");function _5t(t){let e;if(wO.guard.isDefined(t)){if(!wO.guard.isObjectRecord(t))throw new TypeError("keys must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:B5t.Key.fromJSON(n,i)}),{})}return e}o(_5t,"keysFromJSON");function N5t(t){let e;if(wO.guard.isDefined(t)){if(!wO.guard.isObjectRecord(t))throw new TypeError("roles must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:bO.Role.fromJSON(i)}),{})}return e}o(N5t,"rolesFromJSON")});var uX=m(IO=>{"use strict";Object.defineProperty(IO,"__esModule",{value:!0});IO.Signature=void 0;var lX=class t{static{o(this,"Signature")}keyID;sig;constructor(e){let{keyID:r,sig:n}=e;this.keyID=r,this.sig=n}toJSON(){return{keyid:this.keyID,sig:this.sig}}static fromJSON(e){let{keyid:r,sig:n}=e;if(typeof r!="string")throw new TypeError("keyid must be a string");if(typeof n!="string")throw new TypeError("sig must be a string");return new t({keyID:r,sig:n})}};IO.Signature=lX});var hX=m(RC=>{"use strict";var R5t=RC&&RC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(RC,"__esModule",{value:!0});RC.Snapshot=void 0;var T5t=R5t(require("util")),fX=tA(),KMe=jB(),YMe=vc(),dX=class t extends fX.Signed{static{o(this,"Snapshot")}type=fX.MetadataKind.Snapshot;meta;constructor(e){super(e),this.meta=e.meta||{"targets.json":new KMe.MetaFile({version:1})}}equals(e){return e instanceof t?super.equals(e)&&T5t.default.isDeepStrictEqual(this.meta,e.meta):!1}toJSON(){return{_type:this.type,meta:D5t(this.meta),spec_version:this.specVersion,version:this.version,expires:this.expires,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=fX.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,meta:Q5t(i),unrecognizedFields:s})}};RC.Snapshot=dX;function D5t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(D5t,"metaToJSON");function Q5t(t){let e;if(YMe.guard.isDefined(t))if(YMe.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:KMe.MetaFile.fromJSON(i)}),{});else throw new TypeError("meta field is malformed");return e}o(Q5t,"metaFromJSON")});var XMe=m(TC=>{"use strict";var k5t=TC&&TC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(TC,"__esModule",{value:!0});TC.Delegations=void 0;var SO=k5t(require("util")),P5t=ou(),O5t=cO(),pX=sX(),BO=vc(),mX=class t{static{o(this,"Delegations")}keys;roles;unrecognizedFields;succinctRoles;constructor(e){if(this.keys=e.keys,this.unrecognizedFields=e.unrecognizedFields||{},e.roles&&Object.keys(e.roles).some(r=>pX.TOP_LEVEL_ROLE_NAMES.includes(r)))throw new P5t.ValueError("Delegated role name conflicts with top-level role name");this.succinctRoles=e.succinctRoles,this.roles=e.roles}equals(e){return e instanceof t?SO.default.isDeepStrictEqual(this.keys,e.keys)&&SO.default.isDeepStrictEqual(this.roles,e.roles)&&SO.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields)&&SO.default.isDeepStrictEqual(this.succinctRoles,e.succinctRoles):!1}*rolesForTarget(e){if(this.roles)for(let r of Object.values(this.roles))r.isDelegatedPath(e)&&(yield{role:r.name,terminating:r.terminating});else this.succinctRoles&&(yield{role:this.succinctRoles.getRoleForTarget(e),terminating:!0})}toJSON(){let e={keys:L5t(this.keys),...this.unrecognizedFields};return this.roles?e.roles=F5t(this.roles):this.succinctRoles&&(e.succinct_roles=this.succinctRoles.toJSON()),e}static fromJSON(e){let{keys:r,roles:n,succinct_roles:i,...s}=e,a;return BO.guard.isObject(i)&&(a=pX.SuccinctRoles.fromJSON(i)),new t({keys:M5t(r),roles:U5t(n),unrecognizedFields:s,succinctRoles:a})}};TC.Delegations=mX;function L5t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(L5t,"keysToJSON");function F5t(t){return Object.values(t).map(e=>e.toJSON())}o(F5t,"rolesToJSON");function M5t(t){if(!BO.guard.isObjectRecord(t))throw new TypeError("keys is malformed");return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:O5t.Key.fromJSON(r,n)}),{})}o(M5t,"keysFromJSON");function U5t(t){let e;if(BO.guard.isDefined(t)){if(!BO.guard.isObjectArray(t))throw new TypeError("roles is malformed");e=t.reduce((r,n)=>{let i=pX.DelegatedRole.fromJSON(n);return{...r,[i.name]:i}},{})}return e}o(U5t,"rolesFromJSON")});var yX=m(DC=>{"use strict";var q5t=DC&&DC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(DC,"__esModule",{value:!0});DC.Targets=void 0;var ZMe=q5t(require("util")),AX=tA(),G5t=XMe(),H5t=jB(),vO=vc(),gX=class t extends AX.Signed{static{o(this,"Targets")}type=AX.MetadataKind.Targets;targets;delegations;constructor(e){super(e),this.targets=e.targets||{},this.delegations=e.delegations}addTarget(e){this.targets[e.path]=e}equals(e){return e instanceof t?super.equals(e)&&ZMe.default.isDeepStrictEqual(this.targets,e.targets)&&ZMe.default.isDeepStrictEqual(this.delegations,e.delegations):!1}toJSON(){let e={_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,targets:V5t(this.targets),...this.unrecognizedFields};return this.delegations&&(e.delegations=this.delegations.toJSON()),e}static fromJSON(e){let{unrecognizedFields:r,...n}=AX.Signed.commonFieldsFromJSON(e),{targets:i,delegations:s,...a}=r;return new t({...n,targets:z5t(i),delegations:j5t(s),unrecognizedFields:a})}};DC.Targets=gX;function V5t(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(V5t,"targetsToJSON");function z5t(t){let e;if(vO.guard.isDefined(t))if(vO.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:H5t.TargetFile.fromJSON(n,i)}),{});else throw new TypeError("targets must be an object");return e}o(z5t,"targetsFromJSON");function j5t(t){let e;if(vO.guard.isDefined(t))if(vO.guard.isObject(t))e=G5t.Delegations.fromJSON(t);else throw new TypeError("delegations must be an object");return e}o(j5t,"delegationsFromJSON")});var wX=m(xO=>{"use strict";Object.defineProperty(xO,"__esModule",{value:!0});xO.Timestamp=void 0;var EX=tA(),eUe=jB(),CX=vc(),bX=class t extends EX.Signed{static{o(this,"Timestamp")}type=EX.MetadataKind.Timestamp;snapshotMeta;constructor(e){super(e),this.snapshotMeta=e.snapshotMeta||new eUe.MetaFile({version:1})}equals(e){return e instanceof t?super.equals(e)&&this.snapshotMeta.equals(e.snapshotMeta):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,meta:{"snapshot.json":this.snapshotMeta.toJSON()},...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=EX.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,snapshotMeta:$5t(i),unrecognizedFields:s})}};xO.Timestamp=bX;function $5t(t){let e;if(CX.guard.isDefined(t)){let r=t["snapshot.json"];if(!CX.guard.isDefined(r)||!CX.guard.isObject(r))throw new TypeError("missing snapshot.json in meta");e=eUe.MetaFile.fromJSON(r)}return e}o($5t,"snapshotMetaFromJSON")});var rUe=m(kC=>{"use strict";var W5t=kC&&kC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kC,"__esModule",{value:!0});kC.Metadata=void 0;var J5t=qK(),tUe=W5t(require("util")),QC=tA(),ZB=ou(),Y5t=cX(),K5t=uX(),X5t=hX(),Z5t=yX(),eHt=wX(),IX=vc(),SX=class t{static{o(this,"Metadata")}signed;signatures;unrecognizedFields;constructor(e,r,n){this.signed=e,this.signatures=r||{},this.unrecognizedFields=n||{}}sign(e,r=!0){let n=Buffer.from((0,J5t.canonicalize)(this.signed.toJSON())),i=e(n);r||(this.signatures={}),this.signatures[i.keyID]=i}verifyDelegate(e,r){let n,i={};switch(this.signed.type){case QC.MetadataKind.Root:i=this.signed.keys,n=this.signed.roles[e];break;case QC.MetadataKind.Targets:if(!this.signed.delegations)throw new ZB.ValueError(`No delegations found for ${e}`);i=this.signed.delegations.keys,this.signed.delegations.roles?n=this.signed.delegations.roles[e]:this.signed.delegations.succinctRoles&&this.signed.delegations.succinctRoles.isDelegatedRole(e)&&(n=this.signed.delegations.succinctRoles);break;default:throw new TypeError("invalid metadata type")}if(!n)throw new ZB.ValueError(`no delegation found for ${e}`);let s=new Set;if(n.keyIDs.forEach(a=>{let c=i[a];if(c)try{c.verifySignature(r),s.add(c.keyID)}catch{}}),s.sizer.toJSON()),signed:this.signed.toJSON(),...this.unrecognizedFields}}static fromJSON(e,r){let{signed:n,signatures:i,...s}=r;if(!IX.guard.isDefined(n)||!IX.guard.isObject(n))throw new TypeError("signed is not defined");if(e!==n._type)throw new ZB.ValueError(`expected '${e}', got ${n._type}`);if(!IX.guard.isObjectArray(i))throw new TypeError("signatures is not an array");let a;switch(e){case QC.MetadataKind.Root:a=Y5t.Root.fromJSON(n);break;case QC.MetadataKind.Timestamp:a=eHt.Timestamp.fromJSON(n);break;case QC.MetadataKind.Snapshot:a=X5t.Snapshot.fromJSON(n);break;case QC.MetadataKind.Targets:a=Z5t.Targets.fromJSON(n);break;default:throw new TypeError("invalid metadata type")}let c={};return i.forEach(l=>{let u=K5t.Signature.fromJSON(l);if(c[u.keyID])throw new ZB.ValueError(`multiple signatures found for keyid: ${u.keyID}`);c[u.keyID]=u}),new t(a,c,s)}};kC.Metadata=SX});var _O=m(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.Timestamp=vr.Targets=vr.Snapshot=vr.Signature=vr.Root=vr.Metadata=vr.Key=vr.TargetFile=vr.MetaFile=vr.ValueError=vr.MetadataKind=void 0;var tHt=tA();Object.defineProperty(vr,"MetadataKind",{enumerable:!0,get:o(function(){return tHt.MetadataKind},"get")});var rHt=ou();Object.defineProperty(vr,"ValueError",{enumerable:!0,get:o(function(){return rHt.ValueError},"get")});var nUe=jB();Object.defineProperty(vr,"MetaFile",{enumerable:!0,get:o(function(){return nUe.MetaFile},"get")});Object.defineProperty(vr,"TargetFile",{enumerable:!0,get:o(function(){return nUe.TargetFile},"get")});var nHt=cO();Object.defineProperty(vr,"Key",{enumerable:!0,get:o(function(){return nHt.Key},"get")});var iHt=rUe();Object.defineProperty(vr,"Metadata",{enumerable:!0,get:o(function(){return iHt.Metadata},"get")});var sHt=cX();Object.defineProperty(vr,"Root",{enumerable:!0,get:o(function(){return sHt.Root},"get")});var oHt=uX();Object.defineProperty(vr,"Signature",{enumerable:!0,get:o(function(){return oHt.Signature},"get")});var aHt=hX();Object.defineProperty(vr,"Snapshot",{enumerable:!0,get:o(function(){return aHt.Snapshot},"get")});var cHt=yX();Object.defineProperty(vr,"Targets",{enumerable:!0,get:o(function(){return cHt.Targets},"get")});var lHt=wX();Object.defineProperty(vr,"Timestamp",{enumerable:!0,get:o(function(){return lHt.Timestamp},"get")})});var sUe=m((kGr,iUe)=>{var PC=1e3,OC=PC*60,LC=OC*60,sA=LC*24,uHt=sA*7,fHt=sA*365.25;iUe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return dHt(t);if(r==="number"&&isFinite(t))return e.long?pHt(t):hHt(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function dHt(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]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*fHt;case"weeks":case"week":case"w":return r*uHt;case"days":case"day":case"d":return r*sA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*LC;case"minutes":case"minute":case"mins":case"min":case"m":return r*OC;case"seconds":case"second":case"secs":case"sec":case"s":return r*PC;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(dHt,"parse");function hHt(t){var e=Math.abs(t);return e>=sA?Math.round(t/sA)+"d":e>=LC?Math.round(t/LC)+"h":e>=OC?Math.round(t/OC)+"m":e>=PC?Math.round(t/PC)+"s":t+"ms"}o(hHt,"fmtShort");function pHt(t){var e=Math.abs(t);return e>=sA?NO(t,e,sA,"day"):e>=LC?NO(t,e,LC,"hour"):e>=OC?NO(t,e,OC,"minute"):e>=PC?NO(t,e,PC,"second"):t+" ms"}o(pHt,"fmtLong");function NO(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(NO,"plural")});var BX=m((OGr,oUe)=>{function mHt(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=sUe(),r.destroy=u,Object.keys(t).forEach(f=>{r[f]=t[f]}),r.names=[],r.skips=[],r.formatters={};function e(f){let d=0;for(let h=0;h{if(F==="%%")return"%";S++;let j=r.formatters[x];if(typeof j=="function"){let T=E[S];F=j.call(y,T),E.splice(S,1),S--}return F}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=f,g.useColors=r.useColors(),g.color=r.selectColor(f),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:o(()=>h!==null?h:(p!==r.namespaces&&(p=r.namespaces,A=r.enabled(f)),A),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}o(r,"createDebug");function n(f,d){let h=r(this.namespace+(typeof d>"u"?":":d)+f);return h.log=this.log,h}o(n,"extend");function i(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];let d=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let h of d)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}o(i,"enable");function s(f,d){let h=0,p=0,A=-1,g=0;for(;h"-"+d)].join(",");return r.enable(""),f}o(a,"disable");function c(f){for(let d of r.skips)if(s(f,d))return!1;for(let d of r.names)if(s(f,d))return!0;return!1}o(c,"enabled");function l(f){return f instanceof Error?f.stack||f.message:f}o(l,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(u,"destroy"),r.enable(r.load()),r}o(mHt,"setup");oUe.exports=mHt});var aUe=m((zs,RO)=>{zs.formatArgs=gHt;zs.save=yHt;zs.load=EHt;zs.useColors=AHt;zs.storage=CHt();zs.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`."))}})();zs.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 AHt(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return 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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(AHt,"useColors");function gHt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+RO.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(gHt,"formatArgs");zs.log=console.debug||console.log||(()=>{});function yHt(t){try{t?zs.storage.setItem("debug",t):zs.storage.removeItem("debug")}catch{}}o(yHt,"save");function EHt(){let t;try{t=zs.storage.getItem("debug")||zs.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(EHt,"load");function CHt(){try{return localStorage}catch{}}o(CHt,"localstorage");RO.exports=BX()(zs);var{formatters:bHt}=RO.exports;bHt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var lUe=m((oi,DO)=>{var wHt=require("tty"),TO=require("util");oi.init=NHt;oi.log=vHt;oi.formatArgs=SHt;oi.save=xHt;oi.load=_Ht;oi.useColors=IHt;oi.destroy=TO.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");oi.colors=[6,2,3,4,5,1];try{let t=r4();t&&(t.stderr||t).level>=2&&(oi.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{}oi.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function IHt(){return"colors"in oi.inspectOpts?!!oi.inspectOpts.colors:wHt.isatty(process.stderr.fd)}o(IHt,"useColors");function SHt(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` `).join(` -`+s),t.push(i+"m+"+tO.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=lGt()+e+" "+t[0]}o(cGt,"formatArgs");function lGt(){return si.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(lGt,"getDate");function uGt(...t){return process.stderr.write(eO.formatWithOptions(si.inspectOpts,...t)+` -`)}o(uGt,"log");function dGt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(dGt,"save");function fGt(){return process.env.DEBUG}o(fGt,"load");function hGt(t){t.inspectOpts={};let e=Object.keys(si.inspectOpts);for(let r=0;re.trim()).join(" ")};mFe.O=function(t){return this.inspectOpts.colors=this.useColors,eO.inspect(t,this.inspectOpts)}});var g7=A((zLr,m7)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?m7.exports=AFe():m7.exports=gFe()});var nO=A(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.DownloadHTTPError=Wr.DownloadLengthMismatchError=Wr.DownloadError=Wr.ExpiredMetadataError=Wr.EqualVersionError=Wr.BadVersionError=Wr.RepositoryError=Wr.PersistError=Wr.RuntimeError=Wr.ValueError=void 0;var y7=class extends Error{static{o(this,"ValueError")}};Wr.ValueError=y7;var E7=class extends Error{static{o(this,"RuntimeError")}};Wr.RuntimeError=E7;var C7=class extends Error{static{o(this,"PersistError")}};Wr.PersistError=C7;var _B=class extends Error{static{o(this,"RepositoryError")}};Wr.RepositoryError=_B;var rO=class extends _B{static{o(this,"BadVersionError")}};Wr.BadVersionError=rO;var b7=class extends rO{static{o(this,"EqualVersionError")}};Wr.EqualVersionError=b7;var I7=class extends _B{static{o(this,"ExpiredMetadataError")}};Wr.ExpiredMetadataError=I7;var TB=class extends Error{static{o(this,"DownloadError")}};Wr.DownloadError=TB;var w7=class extends TB{static{o(this,"DownloadLengthMismatchError")}};Wr.DownloadLengthMismatchError=w7;var S7=class extends TB{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};Wr.DownloadHTTPError=S7});var EFe=A(CC=>{"use strict";var x7=CC&&CC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(CC,"__esModule",{value:!0});CC.withTempFile=void 0;var B7=x7(require("fs/promises")),pGt=x7(require("os")),yFe=x7(require("path")),AGt=o(async t=>mGt(async e=>t(yFe.default.join(e,"tempfile"))),"withTempFile");CC.withTempFile=AGt;var mGt=o(async t=>{let e=await B7.default.realpath(pGt.default.tmpdir()),r=await B7.default.mkdtemp(e+yFe.default.sep);try{return await t(r)}finally{await B7.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var bFe=A((YLr,CFe)=>{var v7=class{static{o(this,"RetryOperation")}#e=1;#t=null;#n=[];#r=null;#i;#s=null;#l;#a;#c=null;#o;constructor(e,r={}){this.#l=[...e],this.#a=[...e],this.#o=r.unref,this.#i=r.maxRetryTime||1/0,r.forever&&(this.#t=[...this.#a])}get timeouts(){return[...this.#a]}get errors(){return[...this.#n]}get attempts(){return this.#e}get mainError(){let e=null;if(this.#n.length){let r=0,n={};for(let i=0;i=r&&(e=s,r=n[a])}}return e}reset(){this.#e=1,this.#a=[...this.#l]}stop(){this.#c&&clearTimeout(this.#c),this.#a=[],this.#t=null}retry(e){if(this.#n.push(e),new Date().getTime()-this.#s>=this.#i)return this.#n.unshift(new Error("RetryOperation timeout occurred")),!1;let r=this.#a.shift();if(r===void 0)if(this.#t)this.#n.pop(),r=this.#t.at(-1);else return!1;return this.#c=setTimeout(()=>{this.#e++,this.#r(this.#e)},r),this.#o&&this.#c.unref(),!0}attempt(e){this.#r=e,this.#s=new Date().getTime(),this.#r(this.#e)}};CFe.exports={RetryOperation:v7}});var SFe=A((XLr,wFe)=>{var{RetryOperation:gGt}=bFe(),IFe=o((t,e)=>Math.min(Math.round((1+(e.randomize?Math.random():0))*Math.max(e.minTimeout,1)*Math.pow(e.factor,t)),e.maxTimeout),"createTimeout"),yGt=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),EGt=o(async(t,e={})=>{let r=[];if(e instanceof Array)r=[...e];else{e.retries===1/0&&(e.forever=!0,delete e.retries);let i={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1,...e};if(i.minTimeout>i.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");if(i.retries){for(let s=0;ss-a)}else e.forever&&r.push(IFe(0,i))}let n=new gGt(r,{forever:e.forever,unref:e.unref,maxRetryTime:e.maxRetryTime});return new Promise(function(i,s){n.attempt(async a=>{try{let c=await t(l=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:l})},a,n);return i(c)}catch(c){if(!yGt(c))return s(c);if(!n.retry(c.retried||new Error))return s(c.retried)}})})},"promiseRetry");wFe.exports={promiseRetry:EGt}});var T7=A(ph=>{"use strict";var _7=ph&&ph.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ph,"__esModule",{value:!0});ph.DefaultFetcher=ph.BaseFetcher=void 0;var CGt=_7(g7()),BFe=_7(require("fs")),bGt=_7(require("util")),xFe=nO(),IGt=EFe(),wGt=SFe(),SGt=(0,CGt.default)("tuf:fetch"),BGt="User-Agent",iO=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,IGt.withTempFile)(async i=>{let s=await this.fetch(e),a=0,c=BFe.default.createWriteStream(i),l=s.getReader();try{for(;;){let{done:u,value:d}=await l.read();if(u)break;if(a+=d.length,a>r)throw new xFe.DownloadLengthMismatchError("Max length reached");await xGt(c,Buffer.from(d))}}finally{l.releaseLock(),await bGt.default.promisify(c.close).bind(c)()}return n(i)})}async downloadBytes(e,r){return this.downloadFile(e,r,async n=>{let i=BFe.default.createReadStream(n),s=[];for await(let a of i)s.push(a);return Buffer.concat(s)})}};ph.BaseFetcher=iO;var N7=class extends iO{static{o(this,"DefaultFetcher")}userAgent;timeout;retry;constructor(e={}){if(super(),this.userAgent=e.userAgent,this.timeout=e.timeout,e.retry===!0)this.retry={forever:!0};else if(e.retry===!1||e.retry===void 0)this.retry=void 0;else if(typeof e.retry=="number"){if(e.retry<0)throw new Error("Retry count must be non-negative number");this.retry={retries:e.retry}}else this.retry=e.retry}async fetch(e){let r=this.retry!==void 0;return(0,wGt.promiseRetry)(async(n,i)=>{SGt("GET %s (attempt %d)",e,i);let s;try{s=await fetch(e,{headers:{[BGt]:this.userAgent||""},signal:this.timeout?AbortSignal.timeout(this.timeout):void 0})}catch(a){let c=a instanceof Error?a:new Error(String(a));if(r)return n(c);throw c}if(!s.ok||!s.body){let a=new xFe.DownloadHTTPError("Failed to download",s.status);if(r&&s.status>=500&&s.status<600)return n(a);throw a}return s.body},this.retry)}};ph.DefaultFetcher=N7;var xGt=o(async(t,e)=>new Promise((r,n)=>{t.write(e,i=>{i&&n(i),r(!0)})}),"writeBufferToStream")});var vFe=A((rFr,vGt)=>{vGt.exports={name:"tuf-js",version:"6.0.0",description:"JavaScript implementation of The Update Framework (TUF)",main:"dist/index.js",types:"dist/index.d.ts",scripts:{build:"tsc --build tsconfig.build.json",clean:"rm -rf dist && rm tsconfig.build.tsbuildinfo",test:"jest"},repository:{type:"git",url:"git+https://github.com/theupdateframework/tuf-js.git"},files:["dist"],keywords:["tuf","security","update"],author:"bdehamer@github.com",license:"MIT",bugs:{url:"https://github.com/theupdateframework/tuf-js/issues"},homepage:"https://github.com/theupdateframework/tuf-js/tree/main/packages/client#readme",devDependencies:{"@tufjs/repo-mock":"5.0.0","@types/debug":"^4.1.13","@types/retry":"^0.12.5"},dependencies:{"@gar/promise-retry":"^1.0.3","@tufjs/models":"5.0.0",debug:"^4.4.3"},engines:{node:"^22.22.2 || ^24.15.0 || >=26.0.0"}}});var NFe=A(sO=>{"use strict";Object.defineProperty(sO,"__esModule",{value:!0});sO.defaultConfig=void 0;sO.defaultConfig={maxRootRotations:256,maxDelegations:32,rootMaxLength:512e3,timestampMaxLength:16384,snapshotMaxLength:2e6,targetsMaxLength:5e6,prefixTargetsWithHash:!0,fetchTimeout:1e5,fetchRetries:void 0,fetchRetry:2,userAgent:""}});var _Fe=A(oO=>{"use strict";Object.defineProperty(oO,"__esModule",{value:!0});oO.TrustedMetadataStore=void 0;var xn=KP(),Dr=nO(),R7=class{static{o(this,"TrustedMetadataStore")}trustedSet={};referenceTime;constructor(e){this.referenceTime=new Date,this.loadTrustedRoot(e)}get root(){if(!this.trustedSet.root)throw new ReferenceError("No trusted root metadata");return this.trustedSet.root}get timestamp(){return this.trustedSet.timestamp}get snapshot(){return this.trustedSet.snapshot}get targets(){return this.trustedSet.targets}getRole(e){return this.trustedSet[e]}updateRoot(e){let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Root,r);if(n.signed.type!=xn.MetadataKind.Root)throw new Dr.RepositoryError(`Expected 'root', got ${n.signed.type}`);if(this.root.verifyDelegate(xn.MetadataKind.Root,n),n.signed.version!=this.root.signed.version+1)throw new Dr.BadVersionError(`Expected version ${this.root.signed.version+1}, got ${n.signed.version}`);return n.verifyDelegate(xn.MetadataKind.Root,n),this.trustedSet.root=n,n}updateTimestamp(e){if(this.snapshot)throw new Dr.RuntimeError("Cannot update timestamp after snapshot");if(this.root.signed.isExpired(this.referenceTime))throw new Dr.ExpiredMetadataError("Final root.json is expired");let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Timestamp,r);if(n.signed.type!=xn.MetadataKind.Timestamp)throw new Dr.RepositoryError(`Expected 'timestamp', got ${n.signed.type}`);if(this.root.verifyDelegate(xn.MetadataKind.Timestamp,n),this.timestamp){if(n.signed.version{let l=s.signed.meta[a];if(!l)throw new Dr.RepositoryError(`Missing file ${a} in new snapshot`);if(l.version{"use strict";Object.defineProperty(D7,"__esModule",{value:!0});D7.join=_Gt;var NGt=require("url");function _Gt(t,e){return new NGt.URL(TGt(t)+RGt(e)).toString()}o(_Gt,"join");function TGt(t){return t.endsWith("/")?t:t+"/"}o(TGt,"ensureTrailingSlash");function RGt(t){return t.startsWith("/")?t.slice(1):t}o(RGt,"removeLeadingSlash")});var DFe=A(Da=>{"use strict";var DGt=Da&&Da.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),QGt=Da&&Da.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),P7=Da&&Da.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{await e.verify(bC.createReadStream(l)),Q7("WRITE %s",i),bC.copyFileSync(l,i)}),i}async findCachedTarget(e,r){r||(r=this.generateTargetPath(e));try{if(bC.existsSync(r))return await e.verify(bC.createReadStream(r)),r}catch{return}}loadLocalMetadata(e){let r=aO.join(this.dir,`${e}.json`);return Q7("READ %s",r),bC.readFileSync(r)}async loadRoot(){let r=this.trustedSet.root.signed.version+1,n=r+this.config.maxRootRotations;for(let i=r;i0;){let{roleName:i,parentRoleName:s}=r.pop();if(n.has(i))continue;let a=(await this.loadTargets(i,s))?.signed;if(!a)continue;let c=a.targets?.[e];if(c)return c;if(n.add(i),a.delegations){let l=[],u=a.delegations.rolesForTarget(e);for(let{role:d,terminating:f}of u)if(l.push({roleName:d,parentRoleName:i}),f){r.splice(0);break}l.reverse(),r.push(...l)}}}generateTargetPath(e){if(!this.targetDir)throw new jA.ValueError("Target directory not set");let r=encodeURIComponent(e.path);return aO.join(this.targetDir,r)}persistMetadata(e,r){let n=encodeURIComponent(e);try{let i=aO.join(this.dir,`${n}.json`);Q7("WRITE %s",i),bC.writeFileSync(i,r.toString("utf8"))}catch(i){throw new jA.PersistError(`Failed to persist metadata ${n} error: ${i}`)}}};Da.Updater=k7});var QFe=A(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.Updater=Ah.BaseFetcher=Ah.TargetFile=void 0;var MGt=KP();Object.defineProperty(Ah,"TargetFile",{enumerable:!0,get:o(function(){return MGt.TargetFile},"get")});var UGt=T7();Object.defineProperty(Ah,"BaseFetcher",{enumerable:!0,get:o(function(){return UGt.BaseFetcher},"get")});var qGt=DFe();Object.defineProperty(Ah,"Updater",{enumerable:!0,get:o(function(){return qGt.Updater},"get")})});var kFe=A((fFr,GGt)=>{GGt.exports={name:"@sigstore/tuf",version:"5.0.0",description:"Client for the Sigstore TUF repository",main:"dist/index.js",types:"dist/index.d.ts",scripts:{clean:"shx rm -rf dist *.tsbuildinfo",build:"tsc --build",test:"jest"},files:["dist","seeds.json"],author:"bdehamer@github.com",license:"Apache-2.0",repository:{type:"git",url:"git+https://github.com/sigstore/sigstore-js.git"},bugs:{url:"https://github.com/sigstore/sigstore-js/issues"},homepage:"https://github.com/sigstore/sigstore-js/tree/main/packages/tuf#readme",publishConfig:{provenance:!0},devDependencies:{"@sigstore/jest":"^0.0.0","@tufjs/repo-mock":"^5.0.0","@types/make-fetch-happen":"^10.0.4"},dependencies:{"@sigstore/protobuf-specs":"^0.5.0","tuf-js":"^6.0.0"},engines:{node:"^22.22.2 || ^24.15.0 || >=26.0.0"}}});var L7=A(cO=>{"use strict";Object.defineProperty(cO,"__esModule",{value:!0});cO.TUFError=void 0;var O7=class extends Error{static{o(this,"TUFError")}code;cause;constructor({code:e,message:r,cause:n}){super(r),this.code=e,this.cause=n,this.name=this.constructor.name}};cO.TUFError=O7});var PFe=A(DB=>{"use strict";var HGt=DB&&DB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(DB,"__esModule",{value:!0});DB.readTarget=zGt;var VGt=HGt(require("fs")),lO=L7();async function zGt(t,e){let r=await $Gt(t,e);return new Promise((n,i)=>{VGt.default.readFile(r,"utf-8",(s,a)=>{s?i(new lO.TUFError({code:"TUF_READ_TARGET_ERROR",message:`error reading target ${r}`,cause:s})):n(a)})})}o(zGt,"readTarget");async function $Gt(t,e){let r;try{r=await t.getTargetInfo(e)}catch(i){throw new lO.TUFError({code:"TUF_REFRESH_METADATA_ERROR",message:"error refreshing TUF metadata",cause:i})}if(!r)throw new lO.TUFError({code:"TUF_FIND_TARGET_ERROR",message:`target ${e} not found`});let n=await t.findCachedTarget(r);if(!n)try{n=await t.downloadTarget(r)}catch(i){throw new lO.TUFError({code:"TUF_DOWNLOAD_TARGET_ERROR",message:`error downloading target ${n}`,cause:i})}return n}o($Gt,"getTargetPath")});var OFe=A((gFr,jGt)=>{jGt.exports={"https://tuf-repo-cdn.sigstore.dev":{"root.json":"ewogInNpZ25hdHVyZXMiOiBbCiAgewogICAia2V5aWQiOiAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICJzaWciOiAiMzA0NTAyMjEwMGVhMmYzNzRmNDA5ODEw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AgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDMtMTRUMDA6MDA6MDBaIiwKICAgICAgICAgICJlbmQiOiAiMjAyMi0xMC0zMVQyMzo1OTo1OS45OTlaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJDR0NTOENoUy8yaEYwZEZySjRTY1JXY1lyQlk5d3pqU2JlYThJZ1kyYjNJPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9jdGZlLnNpZ3N0b3JlLmRldi8yMDIyIiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVpUFNsRmkwQ21GVGZFakNVcUY5SHVDRWNZWE5LQWFZYWxJSm1CWjh5eWV6UGpUcWh4cktCcE1uYW9jVnRMSkJJMWVNM3VYblF6UUdBSmRKNGdzOUZ5dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjItMTAtMjBUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICIzVDB3YXNiSEVUSmpHUjRjbVdjM0FxSktYcmplUEszL2g0cHlnQzhwN280PSIKICAgICAgfQogICAgfQogIF0sCiAgInRpbWVzdGFtcEF1dGhvcml0aWVzIjogWwogICAgewogICAgICAic3ViamVjdCI6IHsKICAgICAgICAib3JnYW5pemF0aW9uIjogInNpZ3N0b3JlLmRldiIsCiAgICAgICAgImNvbW1vbk5hbWUiOiAic2lnc3RvcmUtdHNhLXNlbGZzaWduZWQi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tWVdLL0UiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9LAogICAgICAidmFsaWRGb3IiOiB7CiAgICAgICAgInN0YXJ0IjogIjIwMjUtMDctMDRUMDA6MDA6MDBaIgogICAgICB9CiAgICB9CiAgXQp9Cg==","registry.npmjs.org%2Fkeys.json":"ewogICAgImtleXMiOiBbCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OmpsM2J3c3d1ODBQampva0NnaDBvMnc1YzJVNExoUUFFNTdnajljejFrekEiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTFPbGIzek1BRkZ4WEtIaUlrUU81Y0ozWWhsNWk2VVBwK0lodXRlQkpidUhjQTVVb2dLbzBFV3RsV3dXNktTYUtvVE5FWUw3SmxDUWlWbmtoQmt0VWdnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIxOTk5LTAxLTAxVDAwOjAwOjAwLjAwMFoiLAogICAgICAgICAgICAgICAgICAgICJlbmQiOiAiMjAyNS0wMS0yOVQwMDowMDowMC4wMDBaIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJrZXlJZCI6ICJTSEEyNTY6amwzYndzd3U4MFBqam9rQ2doMG8ydzVjMlU0TGhRQUU1N2dqOWN6MWt6QSIsCiAgICAgICAgICAgICJrZXlVc2FnZSI6ICJucG06YXR0ZXN0YXRpb25zIiwKICAgICAgICAgICAgInB1YmxpY0tleSI6IHsKICAgICAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUxT2xiM3pNQUZGeFhLSGlJa1FPNWNKM1lobDVpNlVQcCtJaHV0ZUJKYnVIY0E1VW9nS28wRVd0bFd3VzZLU2FLb1RORVlMN0psQ1FpVm5raEJrdFVnZz09IiwKICAgICAgICAgICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUNEU0FfUDI1Nl9TSEFfMjU2IiwKICAgICAgICAgICAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAgICAgICAgICAgICAic3RhcnQiOiAiMjAyMi0xMi0wMVQwMDowMDowMC4wMDBaIiwKICAgICAgICAgICAgICAgICAgICAiZW5kIjogIjIwMjUtMDEtMjlUMDA6MDA6MDAuMDAwWiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OkRoUTh3UjVBUEJ2RkhMRi8rVGMrQVl2UE9kVHBjSURxT2h4c0JIUndDN1UiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICAgImtleUlkIjogIlNIQTI1NjpEaFE4d1I1QVBCdkZITEYvK1RjK0FZdlBPZFRwY0lEcU9oeHNCSFJ3QzdVIiwKICAgICAgICAgICAgImtleVVzYWdlIjogIm5wbTphdHRlc3RhdGlvbnMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdCn0K"}}}});var MFe=A(IC=>{"use strict";var FFe=IC&&IC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(IC,"__esModule",{value:!0});IC.TUFClient=void 0;var mh=FFe(require("fs")),QB=FFe(require("path")),WGt=QFe(),JGt=U7(),LFe=kFe(),YGt=PFe(),M7="targets",F7=class{static{o(this,"TUFClient")}updater;constructor(e){let r=new URL(e.mirrorURL),n=encodeURIComponent(r.host+r.pathname.replace(/\/$/,"")),i=QB.default.join(e.cachePath,n);KGt(i),XGt({cachePath:i,mirrorURL:e.mirrorURL,tufRootPath:e.rootPath,forceInit:e.forceInit}),this.updater=ZGt({mirrorURL:e.mirrorURL,cachePath:i,forceCache:e.forceCache,retry:e.retry,timeout:e.timeout})}async refresh(){return this.updater.refresh()}getTarget(e){return(0,YGt.readTarget)(this.updater,e)}};IC.TUFClient=F7;function KGt(t){let e=QB.default.join(t,M7);mh.default.existsSync(t)||mh.default.mkdirSync(t,{recursive:!0}),mh.default.existsSync(e)||mh.default.mkdirSync(e)}o(KGt,"initTufCache");function XGt({cachePath:t,mirrorURL:e,tufRootPath:r,forceInit:n}){let i=QB.default.join(t,"root.json");if(!mh.default.existsSync(i)||n)if(r)mh.default.copyFileSync(r,i);else{let a=OFe()[e];if(!a)throw new JGt.TUFError({code:"TUF_INIT_CACHE_ERROR",message:`No root.json found for mirror: ${e}`});mh.default.writeFileSync(i,Buffer.from(a["root.json"],"base64")),Object.entries(a.targets).forEach(([c,l])=>{mh.default.writeFileSync(QB.default.join(t,M7,c),Buffer.from(l,"base64"))})}}o(XGt,"seedCache");function ZGt(t){let e={fetchTimeout:t.timeout,fetchRetry:t.retry,userAgent:`${encodeURIComponent(LFe.name)}/${LFe.version}`};return new WGt.Updater({metadataBaseUrl:t.mirrorURL,targetBaseUrl:`${t.mirrorURL}/targets`,metadataDir:t.cachePath,targetDir:QB.default.join(t.cachePath,M7),forceCache:t.forceCache,config:e})}o(ZGt,"initClient")});var U7=A(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.TUFError=Bd.DEFAULT_MIRROR_URL=void 0;Bd.getTrustedRoot=aHt;Bd.initTUF=cHt;var eHt=sC(),tHt=hLe(),rHt=MFe();Bd.DEFAULT_MIRROR_URL="https://tuf-repo-cdn.sigstore.dev";var nHt="sigstore-js",iHt={retries:2},sHt=5e3,oHt="trusted_root.json";async function aHt(t={}){let r=await UFe(t).getTarget(oHt);return eHt.TrustedRoot.fromJSON(JSON.parse(r))}o(aHt,"getTrustedRoot");async function cHt(t={}){let e=UFe(t);return e.refresh().then(()=>e)}o(cHt,"initTUF");function UFe(t){return new rHt.TUFClient({cachePath:t.cachePath||(0,tHt.appDataPath)(nHt),rootPath:t.rootPath,mirrorURL:t.mirrorURL||Bd.DEFAULT_MIRROR_URL,retry:t.retry??iHt,timeout:t.timeout??sHt,forceCache:t.forceCache??!1,forceInit:t.forceInit??t.force??!1})}o(UFe,"createClient");var lHt=L7();Object.defineProperty(Bd,"TUFError",{enumerable:!0,get:o(function(){return lHt.TUFError},"get")})});var kB=A(uO=>{"use strict";Object.defineProperty(uO,"__esModule",{value:!0});uO.ByteStream=void 0;var q7=class extends Error{static{o(this,"StreamError")}},G7=class t{static{o(this,"ByteStream")}static BLOCK_SIZE=1024;buf;view;start=0;constructor(e){e?(this.buf=e,this.view=Buffer.from(e)):(this.buf=Buffer.alloc(0),this.view=Buffer.from(this.buf))}get buffer(){return this.view.subarray(0,this.start)}get length(){return this.view.byteLength}get position(){return this.start}seek(e){this.start=e}slice(e,r){let n=e+r;if(n>this.length)throw new q7("request past end of buffer");return this.view.subarray(e,n)}appendChar(e){this.ensureCapacity(1),this.view[this.start]=e,this.start+=1}appendUint16(e){this.ensureCapacity(2);let r=new Uint16Array([e]),n=new Uint8Array(r.buffer);this.view[this.start]=n[1],this.view[this.start+1]=n[0],this.start+=2}appendUint24(e){this.ensureCapacity(3);let r=new Uint32Array([e]),n=new Uint8Array(r.buffer);this.view[this.start]=n[2],this.view[this.start+1]=n[1],this.view[this.start+2]=n[0],this.start+=3}appendView(e){this.ensureCapacity(e.length),this.view.set(e,this.start),this.start+=e.length}getBlock(e){if(e<=0)return Buffer.alloc(0);if(this.start+e>this.view.length)throw new Error("request past end of buffer");let r=this.view.subarray(this.start,this.start+e);return this.start+=e,r}getUint8(){return this.getBlock(1)[0]}getUint16(){let e=this.getBlock(2);return e[0]<<8|e[1]}ensureCapacity(e){if(this.start+e>this.view.byteLength){let r=t.BLOCK_SIZE+(e>t.BLOCK_SIZE?e:0);this.realloc(this.view.byteLength+r)}}realloc(e){let r=Buffer.alloc(e),n=Buffer.from(r);n.set(this.view),this.buf=r,this.view=n}};uO.ByteStream=G7});var PB=A(wC=>{"use strict";Object.defineProperty(wC,"__esModule",{value:!0});wC.ASN1TypeError=wC.ASN1ParseError=void 0;var H7=class extends Error{static{o(this,"ASN1ParseError")}};wC.ASN1ParseError=H7;var V7=class extends Error{static{o(this,"ASN1TypeError")}};wC.ASN1TypeError=V7});var qFe=A(fO=>{"use strict";Object.defineProperty(fO,"__esModule",{value:!0});fO.decodeLength=uHt;fO.encodeLength=dHt;var dO=PB();function uHt(t){let e=t.getUint8();if((e&128)===0)return e;let r=e&127;if(r>6)throw new dO.ASN1ParseError("length exceeds 6 byte limit");let n=0;for(let i=0;i0n;)r.unshift(Number(e&255n)),e=e>>8n;return Buffer.from([128|r.length,...r])}o(dHt,"encodeLength")});var HFe=A(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.parseInteger=pHt;gh.parseStringASCII=GFe;gh.parseTime=AHt;gh.parseOID=mHt;gh.parseBoolean=gHt;gh.parseBitString=yHt;var z7=PB(),fHt=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/,hHt=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function pHt(t){let e=0,r=t.length,n=t[e],i=n>127,s=i?255:0;for(;n==s&&++e=50?1900:2e3,n[1]=i.toString()}return new Date(`${n[1]}-${n[2]}-${n[3]}T${n[4]}:${n[5]}:${n[6]}Z`)}o(AHt,"parseTime");function mHt(t){let e=0,r=t.length,n=t[e++],i=Math.floor(n/40),s=n%40,a=`${i}.${s}`,c=0n;for(;e7)throw new z7.ASN1ParseError("invalid bit string");let r=1,n=t.length,i=[];for(let s=r;s=c;--l)i.push(a>>l&1)}return i}o(yHt,"parseBitString")});var zFe=A(hO=>{"use strict";Object.defineProperty(hO,"__esModule",{value:!0});hO.ASN1Tag=void 0;var VFe=PB(),WA={BOOLEAN:1,INTEGER:2,BIT_STRING:3,OCTET_STRING:4,OBJECT_IDENTIFIER:6,SEQUENCE:16,SET:17,PRINTABLE_STRING:19,UTC_TIME:23,GENERALIZED_TIME:24},$7={UNIVERSAL:0,APPLICATION:1,CONTEXT_SPECIFIC:2,PRIVATE:3},j7=class{static{o(this,"ASN1Tag")}number;constructed;class;constructor(e){if(this.number=e&31,this.constructed=(e&32)===32,this.class=e>>6,this.number===31)throw new VFe.ASN1ParseError("long form tags not supported");if(this.class===$7.UNIVERSAL&&this.number===0)throw new VFe.ASN1ParseError("unsupported tag 0x00")}isUniversal(){return this.class===$7.UNIVERSAL}isContextSpecific(e){let r=this.class===$7.CONTEXT_SPECIFIC;return e!==void 0?r&&this.number===e:r}isBoolean(){return this.isUniversal()&&this.number===WA.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===WA.INTEGER}isBitString(){return this.isUniversal()&&this.number===WA.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===WA.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===WA.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===WA.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===WA.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}};hO.ASN1Tag=j7});var JFe=A(AO=>{"use strict";Object.defineProperty(AO,"__esModule",{value:!0});AO.ASN1Obj=void 0;var W7=kB(),xd=PB(),jFe=qFe(),SC=HFe(),EHt=zFe(),pO=class{static{o(this,"ASN1Obj")}tag;subs;value;constructor(e,r,n){this.tag=e,this.value=r,this.subs=n}static parseBuffer(e){let r=new W7.ByteStream(e),n=WFe(r);if(r.position!==r.length)throw new xd.ASN1ParseError("invalid trailing data");return n}toDER(){let e=new W7.ByteStream;if(this.subs.length>0)for(let i of this.subs)e.appendView(i.toDER());else e.appendView(this.value);let r=e.buffer,n=new W7.ByteStream;return n.appendChar(this.tag.toDER()),n.appendView((0,jFe.encodeLength)(r.length)),n.appendView(r),n.buffer}toBoolean(){if(!this.tag.isBoolean())throw new xd.ASN1TypeError("not a boolean");return(0,SC.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger())throw new xd.ASN1TypeError("not an integer");return(0,SC.parseInteger)(this.value)}toOID(){if(!this.tag.isOID())throw new xd.ASN1TypeError("not an OID");return(0,SC.parseOID)(this.value)}toDate(){switch(!0){case this.tag.isUTCTime():return(0,SC.parseTime)(this.value,!0);case this.tag.isGeneralizedTime():return(0,SC.parseTime)(this.value,!1);default:throw new xd.ASN1TypeError("not a date")}}toBitString(){if(!this.tag.isBitString())throw new xd.ASN1TypeError("not a bit string");return(0,SC.parseBitString)(this.value)}};AO.ASN1Obj=pO;var CHt=100;function WFe(t,e=0){if(e>CHt)throw new xd.ASN1ParseError("maximum nesting depth exceeded");let r=new EHt.ASN1Tag(t.getUint8()),n=(0,jFe.decodeLength)(t),i=t.slice(t.position,n),s=t.position,a=[];if(r.constructed)a=$Fe(t,n,e);else if(r.isOctetString())try{a=$Fe(t,n,e)}catch{}return a.length===0&&t.seek(s+n),new pO(r,i,a)}o(WFe,"parseStream");function $Fe(t,e,r){let n=t.position+e;if(n>t.length)throw new xd.ASN1ParseError("invalid length");let i=[];for(;t.position{"use strict";Object.defineProperty(mO,"__esModule",{value:!0});mO.ASN1Obj=void 0;var bHt=JFe();Object.defineProperty(mO,"ASN1Obj",{enumerable:!0,get:o(function(){return bHt.ASN1Obj},"get")})});var xC=A(yh=>{"use strict";var IHt=yh&&yh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yh,"__esModule",{value:!0});yh.createPublicKey=wHt;yh.digest=SHt;yh.verify=BHt;yh.bufferEqual=xHt;var BC=IHt(require("crypto"));function wHt(t,e="spki"){return typeof t=="string"?t.startsWith("-----")?BC.default.createPublicKey(t):BC.default.createPublicKey({key:Buffer.from(t,"base64"),format:"der",type:e}):BC.default.createPublicKey({key:t,format:"der",type:e})}o(wHt,"createPublicKey");function SHt(t,...e){let r=BC.default.createHash(t);for(let n of e)r.update(n);return r.digest()}o(SHt,"digest");function BHt(t,e,r,n){try{return BC.default.verify(n,t,e,r)}catch{return!1}}o(BHt,"verify");function xHt(t,e){try{return BC.default.timingSafeEqual(t,e)}catch{return!1}}o(xHt,"bufferEqual")});var YFe=A(J7=>{"use strict";Object.defineProperty(J7,"__esModule",{value:!0});J7.preAuthEncoding=NHt;var vHt="DSSEv1";function NHt(t,e){let r=Buffer.from(t,"utf-8");return Buffer.concat([Buffer.from(`${vHt} ${r.length} `,"ascii"),r,Buffer.from(` ${e.length} `,"ascii"),e])}o(NHt,"preAuthEncoding")});var ZFe=A(yO=>{"use strict";Object.defineProperty(yO,"__esModule",{value:!0});yO.base64Encode=_Ht;yO.base64Decode=THt;var KFe="base64",XFe="utf-8";function _Ht(t){return Buffer.from(t,XFe).toString(KFe)}o(_Ht,"base64Encode");function THt(t){return Buffer.from(t,KFe).toString(XFe)}o(THt,"base64Decode")});var eMe=A(K7=>{"use strict";Object.defineProperty(K7,"__esModule",{value:!0});K7.canonicalize=Y7;function Y7(t){let e="";if(t===null||typeof t!="object"||t.toJSON!=null)e+=JSON.stringify(t);else if(Array.isArray(t)){e+="[";let r=!0;t.forEach(n=>{r||(e+=","),r=!1,e+=Y7(n)}),e+="]"}else{e+="{";let r=!0;Object.keys(t).sort().forEach(n=>{r||(e+=","),r=!1,e+=JSON.stringify(n),e+=":",e+=Y7(t[n])}),e+="}"}return e}o(Y7,"canonicalize")});var X7=A(EO=>{"use strict";Object.defineProperty(EO,"__esModule",{value:!0});EO.toDER=QHt;EO.fromDER=kHt;var RHt=/-----BEGIN (.*)-----/,DHt=/-----END (.*)-----/;function QHt(t){let e="";return t.split(` -`).forEach(r=>{r.match(RHt)||r.match(DHt)||(e+=r)}),Buffer.from(e,"base64")}o(QHt,"toDER");function kHt(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(` +`+s),t.push(i+"m+"+DO.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=BHt()+e+" "+t[0]}o(SHt,"formatArgs");function BHt(){return oi.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(BHt,"getDate");function vHt(...t){return process.stderr.write(TO.formatWithOptions(oi.inspectOpts,...t)+` +`)}o(vHt,"log");function xHt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(xHt,"save");function _Ht(){return process.env.DEBUG}o(_Ht,"load");function NHt(t){t.inspectOpts={};let e=Object.keys(oi.inspectOpts);for(let r=0;re.trim()).join(" ")};cUe.O=function(t){return this.inspectOpts.colors=this.useColors,TO.inspect(t,this.inspectOpts)}});var xX=m((UGr,vX)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?vX.exports=aUe():vX.exports=lUe()});var kO=m(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.DownloadHTTPError=Wr.DownloadLengthMismatchError=Wr.DownloadError=Wr.ExpiredMetadataError=Wr.EqualVersionError=Wr.BadVersionError=Wr.RepositoryError=Wr.PersistError=Wr.RuntimeError=Wr.ValueError=void 0;var _X=class extends Error{static{o(this,"ValueError")}};Wr.ValueError=_X;var NX=class extends Error{static{o(this,"RuntimeError")}};Wr.RuntimeError=NX;var RX=class extends Error{static{o(this,"PersistError")}};Wr.PersistError=RX;var ev=class extends Error{static{o(this,"RepositoryError")}};Wr.RepositoryError=ev;var QO=class extends ev{static{o(this,"BadVersionError")}};Wr.BadVersionError=QO;var TX=class extends QO{static{o(this,"EqualVersionError")}};Wr.EqualVersionError=TX;var DX=class extends ev{static{o(this,"ExpiredMetadataError")}};Wr.ExpiredMetadataError=DX;var tv=class extends Error{static{o(this,"DownloadError")}};Wr.DownloadError=tv;var QX=class extends tv{static{o(this,"DownloadLengthMismatchError")}};Wr.DownloadLengthMismatchError=QX;var kX=class extends tv{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};Wr.DownloadHTTPError=kX});var fUe=m(FC=>{"use strict";var OX=FC&&FC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(FC,"__esModule",{value:!0});FC.withTempFile=void 0;var PX=OX(require("fs/promises")),RHt=OX(require("os")),uUe=OX(require("path")),THt=o(async t=>DHt(async e=>t(uUe.default.join(e,"tempfile"))),"withTempFile");FC.withTempFile=THt;var DHt=o(async t=>{let e=await PX.default.realpath(RHt.default.tmpdir()),r=await PX.default.mkdtemp(e+uUe.default.sep);try{return await t(r)}finally{await PX.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var hUe=m((zGr,dUe)=>{var LX=class{static{o(this,"RetryOperation")}#e=1;#t=null;#n=[];#r=null;#i;#s=null;#l;#a;#c=null;#o;constructor(e,r={}){this.#l=[...e],this.#a=[...e],this.#o=r.unref,this.#i=r.maxRetryTime||1/0,r.forever&&(this.#t=[...this.#a])}get timeouts(){return[...this.#a]}get errors(){return[...this.#n]}get attempts(){return this.#e}get mainError(){let e=null;if(this.#n.length){let r=0,n={};for(let i=0;i=r&&(e=s,r=n[a])}}return e}reset(){this.#e=1,this.#a=[...this.#l]}stop(){this.#c&&clearTimeout(this.#c),this.#a=[],this.#t=null}retry(e){if(this.#n.push(e),new Date().getTime()-this.#s>=this.#i)return this.#n.unshift(new Error("RetryOperation timeout occurred")),!1;let r=this.#a.shift();if(r===void 0)if(this.#t)this.#n.pop(),r=this.#t.at(-1);else return!1;return this.#c=setTimeout(()=>{this.#e++,this.#r(this.#e)},r),this.#o&&this.#c.unref(),!0}attempt(e){this.#r=e,this.#s=new Date().getTime(),this.#r(this.#e)}};dUe.exports={RetryOperation:LX}});var AUe=m(($Gr,mUe)=>{var{RetryOperation:QHt}=hUe(),pUe=o((t,e)=>Math.min(Math.round((1+(e.randomize?Math.random():0))*Math.max(e.minTimeout,1)*Math.pow(e.factor,t)),e.maxTimeout),"createTimeout"),kHt=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),PHt=o(async(t,e={})=>{let r=[];if(e instanceof Array)r=[...e];else{e.retries===1/0&&(e.forever=!0,delete e.retries);let i={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1,...e};if(i.minTimeout>i.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");if(i.retries){for(let s=0;ss-a)}else e.forever&&r.push(pUe(0,i))}let n=new QHt(r,{forever:e.forever,unref:e.unref,maxRetryTime:e.maxRetryTime});return new Promise(function(i,s){n.attempt(async a=>{try{let c=await t(l=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:l})},a,n);return i(c)}catch(c){if(!kHt(c))return s(c);if(!n.retry(c.retried||new Error))return s(c.retried)}})})},"promiseRetry");mUe.exports={promiseRetry:PHt}});var UX=m(Sh=>{"use strict";var MX=Sh&&Sh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sh,"__esModule",{value:!0});Sh.DefaultFetcher=Sh.BaseFetcher=void 0;var OHt=MX(xX()),gUe=MX(require("fs")),LHt=MX(require("util")),yUe=kO(),FHt=fUe(),MHt=AUe(),UHt=(0,OHt.default)("tuf:fetch"),qHt="User-Agent",PO=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,FHt.withTempFile)(async i=>{let s=await this.fetch(e),a=0,c=gUe.default.createWriteStream(i),l=s.getReader();try{for(;;){let{done:u,value:f}=await l.read();if(u)break;if(a+=f.length,a>r)throw new yUe.DownloadLengthMismatchError("Max length reached");await GHt(c,Buffer.from(f))}}finally{l.releaseLock(),await LHt.default.promisify(c.close).bind(c)()}return n(i)})}async downloadBytes(e,r){return this.downloadFile(e,r,async n=>{let i=gUe.default.createReadStream(n),s=[];for await(let a of i)s.push(a);return Buffer.concat(s)})}};Sh.BaseFetcher=PO;var FX=class extends PO{static{o(this,"DefaultFetcher")}userAgent;timeout;retry;constructor(e={}){if(super(),this.userAgent=e.userAgent,this.timeout=e.timeout,e.retry===!0)this.retry={forever:!0};else if(e.retry===!1||e.retry===void 0)this.retry=void 0;else if(typeof e.retry=="number"){if(e.retry<0)throw new Error("Retry count must be non-negative number");this.retry={retries:e.retry}}else this.retry=e.retry}async fetch(e){let r=this.retry!==void 0;return(0,MHt.promiseRetry)(async(n,i)=>{UHt("GET %s (attempt %d)",e,i);let s;try{s=await fetch(e,{headers:{[qHt]:this.userAgent||""},signal:this.timeout?AbortSignal.timeout(this.timeout):void 0})}catch(a){let c=a instanceof Error?a:new Error(String(a));if(r)return n(c);throw c}if(!s.ok||!s.body){let a=new yUe.DownloadHTTPError("Failed to download",s.status);if(r&&s.status>=500&&s.status<600)return n(a);throw a}return s.body},this.retry)}};Sh.DefaultFetcher=FX;var GHt=o(async(t,e)=>new Promise((r,n)=>{t.write(e,i=>{i&&n(i),r(!0)})}),"writeBufferToStream")});var EUe=m((KGr,HHt)=>{HHt.exports={name:"tuf-js",version:"6.0.0",description:"JavaScript implementation of The Update Framework (TUF)",main:"dist/index.js",types:"dist/index.d.ts",scripts:{build:"tsc --build tsconfig.build.json",clean:"rm -rf dist && rm tsconfig.build.tsbuildinfo",test:"jest"},repository:{type:"git",url:"git+https://github.com/theupdateframework/tuf-js.git"},files:["dist"],keywords:["tuf","security","update"],author:"bdehamer@github.com",license:"MIT",bugs:{url:"https://github.com/theupdateframework/tuf-js/issues"},homepage:"https://github.com/theupdateframework/tuf-js/tree/main/packages/client#readme",devDependencies:{"@tufjs/repo-mock":"5.0.0","@types/debug":"^4.1.13","@types/retry":"^0.12.5"},dependencies:{"@gar/promise-retry":"^1.0.3","@tufjs/models":"5.0.0",debug:"^4.4.3"},engines:{node:"^22.22.2 || ^24.15.0 || >=26.0.0"}}});var CUe=m(OO=>{"use strict";Object.defineProperty(OO,"__esModule",{value:!0});OO.defaultConfig=void 0;OO.defaultConfig={maxRootRotations:256,maxDelegations:32,rootMaxLength:512e3,timestampMaxLength:16384,snapshotMaxLength:2e6,targetsMaxLength:5e6,prefixTargetsWithHash:!0,fetchTimeout:1e5,fetchRetries:void 0,fetchRetry:2,userAgent:""}});var bUe=m(LO=>{"use strict";Object.defineProperty(LO,"__esModule",{value:!0});LO.TrustedMetadataStore=void 0;var xn=_O(),Dr=kO(),qX=class{static{o(this,"TrustedMetadataStore")}trustedSet={};referenceTime;constructor(e){this.referenceTime=new Date,this.loadTrustedRoot(e)}get root(){if(!this.trustedSet.root)throw new ReferenceError("No trusted root metadata");return this.trustedSet.root}get timestamp(){return this.trustedSet.timestamp}get snapshot(){return this.trustedSet.snapshot}get targets(){return this.trustedSet.targets}getRole(e){return this.trustedSet[e]}updateRoot(e){let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Root,r);if(n.signed.type!=xn.MetadataKind.Root)throw new Dr.RepositoryError(`Expected 'root', got ${n.signed.type}`);if(this.root.verifyDelegate(xn.MetadataKind.Root,n),n.signed.version!=this.root.signed.version+1)throw new Dr.BadVersionError(`Expected version ${this.root.signed.version+1}, got ${n.signed.version}`);return n.verifyDelegate(xn.MetadataKind.Root,n),this.trustedSet.root=n,n}updateTimestamp(e){if(this.snapshot)throw new Dr.RuntimeError("Cannot update timestamp after snapshot");if(this.root.signed.isExpired(this.referenceTime))throw new Dr.ExpiredMetadataError("Final root.json is expired");let r=JSON.parse(e.toString("utf8")),n=xn.Metadata.fromJSON(xn.MetadataKind.Timestamp,r);if(n.signed.type!=xn.MetadataKind.Timestamp)throw new Dr.RepositoryError(`Expected 'timestamp', got ${n.signed.type}`);if(this.root.verifyDelegate(xn.MetadataKind.Timestamp,n),this.timestamp){if(n.signed.version{let l=s.signed.meta[a];if(!l)throw new Dr.RepositoryError(`Missing file ${a} in new snapshot`);if(l.version{"use strict";Object.defineProperty(GX,"__esModule",{value:!0});GX.join=zHt;var VHt=require("url");function zHt(t,e){return new VHt.URL(jHt(t)+$Ht(e)).toString()}o(zHt,"join");function jHt(t){return t.endsWith("/")?t:t+"/"}o(jHt,"ensureTrailingSlash");function $Ht(t){return t.startsWith("/")?t.slice(1):t}o($Ht,"removeLeadingSlash")});var SUe=m(Pa=>{"use strict";var WHt=Pa&&Pa.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),JHt=Pa&&Pa.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),zX=Pa&&Pa.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{await e.verify(MC.createReadStream(l)),HX("WRITE %s",i),MC.copyFileSync(l,i)}),i}async findCachedTarget(e,r){r||(r=this.generateTargetPath(e));try{if(MC.existsSync(r))return await e.verify(MC.createReadStream(r)),r}catch{return}}loadLocalMetadata(e){let r=FO.join(this.dir,`${e}.json`);return HX("READ %s",r),MC.readFileSync(r)}async loadRoot(){let r=this.trustedSet.root.signed.version+1,n=r+this.config.maxRootRotations;for(let i=r;i0;){let{roleName:i,parentRoleName:s}=r.pop();if(n.has(i))continue;let a=(await this.loadTargets(i,s))?.signed;if(!a)continue;let c=a.targets?.[e];if(c)return c;if(n.add(i),a.delegations){let l=[],u=a.delegations.rolesForTarget(e);for(let{role:f,terminating:d}of u)if(l.push({roleName:f,parentRoleName:i}),d){r.splice(0);break}l.reverse(),r.push(...l)}}}generateTargetPath(e){if(!this.targetDir)throw new oA.ValueError("Target directory not set");let r=encodeURIComponent(e.path);return FO.join(this.targetDir,r)}persistMetadata(e,r){let n=encodeURIComponent(e);try{let i=FO.join(this.dir,`${n}.json`);HX("WRITE %s",i),MC.writeFileSync(i,r.toString("utf8"))}catch(i){throw new oA.PersistError(`Failed to persist metadata ${n} error: ${i}`)}}};Pa.Updater=VX});var BUe=m(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.Updater=Bh.BaseFetcher=Bh.TargetFile=void 0;var t8t=_O();Object.defineProperty(Bh,"TargetFile",{enumerable:!0,get:o(function(){return t8t.TargetFile},"get")});var r8t=UX();Object.defineProperty(Bh,"BaseFetcher",{enumerable:!0,get:o(function(){return r8t.BaseFetcher},"get")});var n8t=SUe();Object.defineProperty(Bh,"Updater",{enumerable:!0,get:o(function(){return n8t.Updater},"get")})});var vUe=m((a4r,i8t)=>{i8t.exports={name:"@sigstore/tuf",version:"5.0.0",description:"Client for the Sigstore TUF repository",main:"dist/index.js",types:"dist/index.d.ts",scripts:{clean:"shx rm -rf dist *.tsbuildinfo",build:"tsc --build",test:"jest"},files:["dist","seeds.json"],author:"bdehamer@github.com",license:"Apache-2.0",repository:{type:"git",url:"git+https://github.com/sigstore/sigstore-js.git"},bugs:{url:"https://github.com/sigstore/sigstore-js/issues"},homepage:"https://github.com/sigstore/sigstore-js/tree/main/packages/tuf#readme",publishConfig:{provenance:!0},devDependencies:{"@sigstore/jest":"^0.0.0","@tufjs/repo-mock":"^5.0.0","@types/make-fetch-happen":"^10.0.4"},dependencies:{"@sigstore/protobuf-specs":"^0.5.0","tuf-js":"^6.0.0"},engines:{node:"^22.22.2 || ^24.15.0 || >=26.0.0"}}});var $X=m(MO=>{"use strict";Object.defineProperty(MO,"__esModule",{value:!0});MO.TUFError=void 0;var jX=class extends Error{static{o(this,"TUFError")}code;cause;constructor({code:e,message:r,cause:n}){super(r),this.code=e,this.cause=n,this.name=this.constructor.name}};MO.TUFError=jX});var xUe=m(nv=>{"use strict";var s8t=nv&&nv.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(nv,"__esModule",{value:!0});nv.readTarget=a8t;var o8t=s8t(require("fs")),UO=$X();async function a8t(t,e){let r=await c8t(t,e);return new Promise((n,i)=>{o8t.default.readFile(r,"utf-8",(s,a)=>{s?i(new UO.TUFError({code:"TUF_READ_TARGET_ERROR",message:`error reading target ${r}`,cause:s})):n(a)})})}o(a8t,"readTarget");async function c8t(t,e){let r;try{r=await t.getTargetInfo(e)}catch(i){throw new UO.TUFError({code:"TUF_REFRESH_METADATA_ERROR",message:"error refreshing TUF metadata",cause:i})}if(!r)throw new UO.TUFError({code:"TUF_FIND_TARGET_ERROR",message:`target ${e} not found`});let n=await t.findCachedTarget(r);if(!n)try{n=await t.downloadTarget(r)}catch(i){throw new UO.TUFError({code:"TUF_DOWNLOAD_TARGET_ERROR",message:`error downloading target ${n}`,cause:i})}return n}o(c8t,"getTargetPath")});var _Ue=m((d4r,l8t)=>{l8t.exports={"https://tuf-repo-cdn.sigstore.dev":{"root.json":"ewogInNpZ25hdHVyZXMiOiBbCiAgewogICAia2V5aWQiOiAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICJzaWciOiAiMzA0NTAyMjEwMGVhMmYzNzRmNDA5ODEwZTJkYjk1MDc0OWQ5Y2ZlZDA5YTE1YjZhNWUyNWYzZDVmZmQwNzk5NDU5ZDdiZWUxNjcwMjIwMjhkM2FjZGRlNmRiZDUwMzRjZmFkMjIyZDMxYjQxMDkwZWUyMTg5NGUyYzQ2Y2I4OTc0MTk4YWIwMzc3ZGI0NCIKICB9LAogIHsKICAgImtleWlkIjogIjIyZjRjYWVjNmQ4ZTZmOTU1NWFmNjZiM2Q0YzNjYjA2YTNiYjIzZmRjN2UzOWM5MTZjNjFmNDYyZTZmNTJiMDYiLAogICAic2lnIjogIjMwNDQwMjIwN2ViYjI0ZTMyMzdlNDcwNjkxZDc4NzU5MDNhNzc1NGQwZWYyYWU3ZTdiNTAyNGE3ODg4YzlhMzhhNTJkZWVjZDAyMjA2ZWQ1YWQxYzZmNGZhYjQ2OTk1ODQzYWI2YjIzZjk0MjBjNWE0Y2Y2Y2UxY2IyY2IyYTZmYzJlODdlMmVmM2UxIgogIH0sCiAgewogICAia2V5aWQiOiAiNjE2NDM4MzgxMjViNDQwYjQwZGI2OTQ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IwPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9sb2cyMDI1LTEucmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNQ293QlFZREsyVndBeUVBdDhybHAxa25Hd2pmYmNYQVlQWUFrbjBYaUx6MXg4TzR0MFlrRWhpZTI0ND0iLAogICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUQyNTUxOSIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjUtMDktMjNUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ6eEdaRlZ2ZDBGRW1qUjhXckZ3TWRjQUo5dnRhWS9RWGY0NFkxd1VlUDZBPSIKICAgICAgfQogICAgfQogIF0sCiAgImNlcnRpZmljYXRlQXV0aG9yaXRpZXMiOiBbCiAgICB7CiAgICAgICJzdWJqZWN0IjogewogICAgICAgICJvcmdhbml6YXRpb24iOiAic2lnc3RvcmUuZGV2IiwKICAgICAgICAiY29tbW9uTmFtZSI6ICJzaWdzdG9yZSIKICAgICAgfSwKICAgICAgInVyaSI6ICJodHRwczovL2Z1bGNpby5zaWdzdG9yZS5kZXYiLAogICAgICAiY2VydENoYWluIjogewogICAgICAgICJjZXJ0aWZpY2F0ZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlCK0RDQ0FYNmdBd0lCQWdJVE5Wa0Rab0Npb2ZQRHN5N2RmbTZnZUxidWh6QUtCZ2dxaGtqT1BRUURBekFxTVJVd0V3WURWUVFLRXd4emFXZHpkRzl5WlM1a1pYWXhFVEFQQmdOVkJBTVRDSE5wWjNOMGIzSmxNQjRYRFRJeE1ETXdOekF6T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AogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIxOTk5LTAxLTAxVDAwOjAwOjAwLjAwMFoiLAogICAgICAgICAgICAgICAgICAgICJlbmQiOiAiMjAyNS0wMS0yOVQwMDowMDowMC4wMDBaIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJrZXlJZCI6ICJTSEEyNTY6amwzYndzd3U4MFBqam9rQ2doMG8ydzVjMlU0TGhRQUU1N2dqOWN6MWt6QSIsCiAgICAgICAgICAgICJrZXlVc2FnZSI6ICJucG06YXR0ZXN0YXRpb25zIiwKICAgICAgICAgICAgInB1YmxpY0tleSI6IHsKICAgICAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUxT2xiM3pNQUZGeFhLSGlJa1FPNWNKM1lobDVpNlVQcCtJaHV0ZUJKYnVIY0E1VW9nS28wRVd0bFd3VzZLU2FLb1RORVlMN0psQ1FpVm5raEJrdFVnZz09IiwKICAgICAgICAgICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUNEU0FfUDI1Nl9TSEFfMjU2IiwKICAgICAgICAgICAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAgICAgICAgICAgICAic3RhcnQiOiAiMjAyMi0xMi0wMVQwMDowMDowMC4wMDBaIiwKICAgICAgICAgICAgICAgICAgICAiZW5kIjogIjIwMjUtMDEtMjlUMDA6MDA6MDAuMDAwWiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OkRoUTh3UjVBUEJ2RkhMRi8rVGMrQVl2UE9kVHBjSURxT2h4c0JIUndDN1UiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICAgImtleUlkIjogIlNIQTI1NjpEaFE4d1I1QVBCdkZITEYvK1RjK0FZdlBPZFRwY0lEcU9oeHNCSFJ3QzdVIiwKICAgICAgICAgICAgImtleVVzYWdlIjogIm5wbTphdHRlc3RhdGlvbnMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdCn0K"}}}});var TUe=m(UC=>{"use strict";var RUe=UC&&UC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(UC,"__esModule",{value:!0});UC.TUFClient=void 0;var vh=RUe(require("fs")),iv=RUe(require("path")),u8t=BUe(),f8t=YX(),NUe=vUe(),d8t=xUe(),JX="targets",WX=class{static{o(this,"TUFClient")}updater;constructor(e){let r=new URL(e.mirrorURL),n=encodeURIComponent(r.host+r.pathname.replace(/\/$/,"")),i=iv.default.join(e.cachePath,n);h8t(i),p8t({cachePath:i,mirrorURL:e.mirrorURL,tufRootPath:e.rootPath,forceInit:e.forceInit}),this.updater=m8t({mirrorURL:e.mirrorURL,cachePath:i,forceCache:e.forceCache,retry:e.retry,timeout:e.timeout})}async refresh(){return this.updater.refresh()}getTarget(e){return(0,d8t.readTarget)(this.updater,e)}};UC.TUFClient=WX;function h8t(t){let e=iv.default.join(t,JX);vh.default.existsSync(t)||vh.default.mkdirSync(t,{recursive:!0}),vh.default.existsSync(e)||vh.default.mkdirSync(e)}o(h8t,"initTufCache");function p8t({cachePath:t,mirrorURL:e,tufRootPath:r,forceInit:n}){let i=iv.default.join(t,"root.json");if(!vh.default.existsSync(i)||n)if(r)vh.default.copyFileSync(r,i);else{let a=_Ue()[e];if(!a)throw new f8t.TUFError({code:"TUF_INIT_CACHE_ERROR",message:`No root.json found for mirror: ${e}`});vh.default.writeFileSync(i,Buffer.from(a["root.json"],"base64")),Object.entries(a.targets).forEach(([c,l])=>{vh.default.writeFileSync(iv.default.join(t,JX,c),Buffer.from(l,"base64"))})}}o(p8t,"seedCache");function m8t(t){let e={fetchTimeout:t.timeout,fetchRetry:t.retry,userAgent:`${encodeURIComponent(NUe.name)}/${NUe.version}`};return new u8t.Updater({metadataBaseUrl:t.mirrorURL,targetBaseUrl:`${t.mirrorURL}/targets`,metadataDir:t.cachePath,targetDir:iv.default.join(t.cachePath,JX),forceCache:t.forceCache,config:e})}o(m8t,"initClient")});var YX=m(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.TUFError=kf.DEFAULT_MIRROR_URL=void 0;kf.getTrustedRoot=I8t;kf.initTUF=S8t;var A8t=IC(),g8t=sMe(),y8t=TUe();kf.DEFAULT_MIRROR_URL="https://tuf-repo-cdn.sigstore.dev";var E8t="sigstore-js",C8t={retries:2},b8t=5e3,w8t="trusted_root.json";async function I8t(t={}){let r=await DUe(t).getTarget(w8t);return A8t.TrustedRoot.fromJSON(JSON.parse(r))}o(I8t,"getTrustedRoot");async function S8t(t={}){let e=DUe(t);return e.refresh().then(()=>e)}o(S8t,"initTUF");function DUe(t){return new y8t.TUFClient({cachePath:t.cachePath||(0,g8t.appDataPath)(E8t),rootPath:t.rootPath,mirrorURL:t.mirrorURL||kf.DEFAULT_MIRROR_URL,retry:t.retry??C8t,timeout:t.timeout??b8t,forceCache:t.forceCache??!1,forceInit:t.forceInit??t.force??!1})}o(DUe,"createClient");var B8t=$X();Object.defineProperty(kf,"TUFError",{enumerable:!0,get:o(function(){return B8t.TUFError},"get")})});var sv=m(qO=>{"use strict";Object.defineProperty(qO,"__esModule",{value:!0});qO.ByteStream=void 0;var KX=class extends Error{static{o(this,"StreamError")}},XX=class t{static{o(this,"ByteStream")}static BLOCK_SIZE=1024;buf;view;start=0;constructor(e){e?(this.buf=e,this.view=Buffer.from(e)):(this.buf=Buffer.alloc(0),this.view=Buffer.from(this.buf))}get buffer(){return this.view.subarray(0,this.start)}get length(){return this.view.byteLength}get position(){return this.start}seek(e){this.start=e}slice(e,r){let n=e+r;if(n>this.length)throw new KX("request past end of buffer");return this.view.subarray(e,n)}appendChar(e){this.ensureCapacity(1),this.view[this.start]=e,this.start+=1}appendUint16(e){this.ensureCapacity(2);let r=new Uint16Array([e]),n=new Uint8Array(r.buffer);this.view[this.start]=n[1],this.view[this.start+1]=n[0],this.start+=2}appendUint24(e){this.ensureCapacity(3);let r=new Uint32Array([e]),n=new Uint8Array(r.buffer);this.view[this.start]=n[2],this.view[this.start+1]=n[1],this.view[this.start+2]=n[0],this.start+=3}appendView(e){this.ensureCapacity(e.length),this.view.set(e,this.start),this.start+=e.length}getBlock(e){if(e<=0)return Buffer.alloc(0);if(this.start+e>this.view.length)throw new Error("request past end of buffer");let r=this.view.subarray(this.start,this.start+e);return this.start+=e,r}getUint8(){return this.getBlock(1)[0]}getUint16(){let e=this.getBlock(2);return e[0]<<8|e[1]}ensureCapacity(e){if(this.start+e>this.view.byteLength){let r=t.BLOCK_SIZE+(e>t.BLOCK_SIZE?e:0);this.realloc(this.view.byteLength+r)}}realloc(e){let r=Buffer.alloc(e),n=Buffer.from(r);n.set(this.view),this.buf=r,this.view=n}};qO.ByteStream=XX});var ov=m(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.ASN1TypeError=qC.ASN1ParseError=void 0;var ZX=class extends Error{static{o(this,"ASN1ParseError")}};qC.ASN1ParseError=ZX;var eZ=class extends Error{static{o(this,"ASN1TypeError")}};qC.ASN1TypeError=eZ});var QUe=m(HO=>{"use strict";Object.defineProperty(HO,"__esModule",{value:!0});HO.decodeLength=v8t;HO.encodeLength=x8t;var GO=ov();function v8t(t){let e=t.getUint8();if((e&128)===0)return e;let r=e&127;if(r>6)throw new GO.ASN1ParseError("length exceeds 6 byte limit");let n=0;for(let i=0;i0n;)r.unshift(Number(e&255n)),e=e>>8n;return Buffer.from([128|r.length,...r])}o(x8t,"encodeLength")});var PUe=m(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.parseInteger=R8t;xh.parseStringASCII=kUe;xh.parseTime=T8t;xh.parseOID=D8t;xh.parseBoolean=Q8t;xh.parseBitString=k8t;var tZ=ov(),_8t=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/,N8t=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function R8t(t){let e=0,r=t.length,n=t[e],i=n>127,s=i?255:0;for(;n==s&&++e=50?1900:2e3,n[1]=i.toString()}return new Date(`${n[1]}-${n[2]}-${n[3]}T${n[4]}:${n[5]}:${n[6]}Z`)}o(T8t,"parseTime");function D8t(t){let e=0,r=t.length,n=t[e++],i=Math.floor(n/40),s=n%40,a=`${i}.${s}`,c=0n;for(;e7)throw new tZ.ASN1ParseError("invalid bit string");let r=1,n=t.length,i=[];for(let s=r;s=c;--l)i.push(a>>l&1)}return i}o(k8t,"parseBitString")});var LUe=m(VO=>{"use strict";Object.defineProperty(VO,"__esModule",{value:!0});VO.ASN1Tag=void 0;var OUe=ov(),aA={BOOLEAN:1,INTEGER:2,BIT_STRING:3,OCTET_STRING:4,OBJECT_IDENTIFIER:6,SEQUENCE:16,SET:17,PRINTABLE_STRING:19,UTC_TIME:23,GENERALIZED_TIME:24},rZ={UNIVERSAL:0,APPLICATION:1,CONTEXT_SPECIFIC:2,PRIVATE:3},nZ=class{static{o(this,"ASN1Tag")}number;constructed;class;constructor(e){if(this.number=e&31,this.constructed=(e&32)===32,this.class=e>>6,this.number===31)throw new OUe.ASN1ParseError("long form tags not supported");if(this.class===rZ.UNIVERSAL&&this.number===0)throw new OUe.ASN1ParseError("unsupported tag 0x00")}isUniversal(){return this.class===rZ.UNIVERSAL}isContextSpecific(e){let r=this.class===rZ.CONTEXT_SPECIFIC;return e!==void 0?r&&this.number===e:r}isBoolean(){return this.isUniversal()&&this.number===aA.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===aA.INTEGER}isBitString(){return this.isUniversal()&&this.number===aA.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===aA.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===aA.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===aA.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===aA.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}};VO.ASN1Tag=nZ});var qUe=m(jO=>{"use strict";Object.defineProperty(jO,"__esModule",{value:!0});jO.ASN1Obj=void 0;var iZ=sv(),Pf=ov(),MUe=QUe(),GC=PUe(),P8t=LUe(),zO=class{static{o(this,"ASN1Obj")}tag;subs;value;constructor(e,r,n){this.tag=e,this.value=r,this.subs=n}static parseBuffer(e){let r=new iZ.ByteStream(e),n=UUe(r);if(r.position!==r.length)throw new Pf.ASN1ParseError("invalid trailing data");return n}toDER(){let e=new iZ.ByteStream;if(this.subs.length>0)for(let i of this.subs)e.appendView(i.toDER());else e.appendView(this.value);let r=e.buffer,n=new iZ.ByteStream;return n.appendChar(this.tag.toDER()),n.appendView((0,MUe.encodeLength)(r.length)),n.appendView(r),n.buffer}toBoolean(){if(!this.tag.isBoolean())throw new Pf.ASN1TypeError("not a boolean");return(0,GC.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger())throw new Pf.ASN1TypeError("not an integer");return(0,GC.parseInteger)(this.value)}toOID(){if(!this.tag.isOID())throw new Pf.ASN1TypeError("not an OID");return(0,GC.parseOID)(this.value)}toDate(){switch(!0){case this.tag.isUTCTime():return(0,GC.parseTime)(this.value,!0);case this.tag.isGeneralizedTime():return(0,GC.parseTime)(this.value,!1);default:throw new Pf.ASN1TypeError("not a date")}}toBitString(){if(!this.tag.isBitString())throw new Pf.ASN1TypeError("not a bit string");return(0,GC.parseBitString)(this.value)}};jO.ASN1Obj=zO;var O8t=100;function UUe(t,e=0){if(e>O8t)throw new Pf.ASN1ParseError("maximum nesting depth exceeded");let r=new P8t.ASN1Tag(t.getUint8()),n=(0,MUe.decodeLength)(t),i=t.slice(t.position,n),s=t.position,a=[];if(r.constructed)a=FUe(t,n,e);else if(r.isOctetString())try{a=FUe(t,n,e)}catch{}return a.length===0&&t.seek(s+n),new zO(r,i,a)}o(UUe,"parseStream");function FUe(t,e,r){let n=t.position+e;if(n>t.length)throw new Pf.ASN1ParseError("invalid length");let i=[];for(;t.position{"use strict";Object.defineProperty($O,"__esModule",{value:!0});$O.ASN1Obj=void 0;var L8t=qUe();Object.defineProperty($O,"ASN1Obj",{enumerable:!0,get:o(function(){return L8t.ASN1Obj},"get")})});var VC=m(_h=>{"use strict";var F8t=_h&&_h.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_h,"__esModule",{value:!0});_h.createPublicKey=M8t;_h.digest=U8t;_h.verify=q8t;_h.bufferEqual=G8t;var HC=F8t(require("crypto"));function M8t(t,e="spki"){return typeof t=="string"?t.startsWith("-----")?HC.default.createPublicKey(t):HC.default.createPublicKey({key:Buffer.from(t,"base64"),format:"der",type:e}):HC.default.createPublicKey({key:t,format:"der",type:e})}o(M8t,"createPublicKey");function U8t(t,...e){let r=HC.default.createHash(t);for(let n of e)r.update(n);return r.digest()}o(U8t,"digest");function q8t(t,e,r,n){try{return HC.default.verify(n,t,e,r)}catch{return!1}}o(q8t,"verify");function G8t(t,e){try{return HC.default.timingSafeEqual(t,e)}catch{return!1}}o(G8t,"bufferEqual")});var GUe=m(sZ=>{"use strict";Object.defineProperty(sZ,"__esModule",{value:!0});sZ.preAuthEncoding=V8t;var H8t="DSSEv1";function V8t(t,e){let r=Buffer.from(t,"utf-8");return Buffer.concat([Buffer.from(`${H8t} ${r.length} `,"ascii"),r,Buffer.from(` ${e.length} `,"ascii"),e])}o(V8t,"preAuthEncoding")});var zUe=m(JO=>{"use strict";Object.defineProperty(JO,"__esModule",{value:!0});JO.base64Encode=z8t;JO.base64Decode=j8t;var HUe="base64",VUe="utf-8";function z8t(t){return Buffer.from(t,VUe).toString(HUe)}o(z8t,"base64Encode");function j8t(t){return Buffer.from(t,HUe).toString(VUe)}o(j8t,"base64Decode")});var jUe=m(aZ=>{"use strict";Object.defineProperty(aZ,"__esModule",{value:!0});aZ.canonicalize=oZ;function oZ(t){let e="";if(t===null||typeof t!="object"||t.toJSON!=null)e+=JSON.stringify(t);else if(Array.isArray(t)){e+="[";let r=!0;t.forEach(n=>{r||(e+=","),r=!1,e+=oZ(n)}),e+="]"}else{e+="{";let r=!0;Object.keys(t).sort().forEach(n=>{r||(e+=","),r=!1,e+=JSON.stringify(n),e+=":",e+=oZ(t[n])}),e+="}"}return e}o(oZ,"canonicalize")});var cZ=m(YO=>{"use strict";Object.defineProperty(YO,"__esModule",{value:!0});YO.toDER=J8t;YO.fromDER=Y8t;var $8t=/-----BEGIN (.*)-----/,W8t=/-----END (.*)-----/;function J8t(t){let e="";return t.split(` +`).forEach(r=>{r.match($8t)||r.match(W8t)||(e+=r)}),Buffer.from(e,"base64")}o(J8t,"toDER");function Y8t(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(` `).concat(` -`)}o(kHt,"fromDER")});var CO=A(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.SHA2_HASH_ALGOS=Eh.RSA_SIGNATURE_ALGOS=Eh.ECDSA_SIGNATURE_ALGOS=void 0;Eh.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};Eh.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};Eh.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var eX=A(bO=>{"use strict";Object.defineProperty(bO,"__esModule",{value:!0});bO.RFC3161TimestampVerificationError=void 0;var Z7=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};bO.RFC3161TimestampVerificationError=Z7});var rMe=A(ru=>{"use strict";var PHt=ru&&ru.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),OHt=ru&&ru.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),LHt=ru&&ru.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var UHt=nu&&nu.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),qHt=nu&&nu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),GHt=nu&&nu.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ir.tag.isContextSpecific(0)).subs[0]}get encapContentInfoObj(){return this.signedDataObj.subs[2]}get signerInfosObj(){let e=this.signedDataObj;return e.subs[e.subs.length-1]}get signerInfoObj(){return this.signerInfosObj.subs[0]}get eContentTypeObj(){return this.encapContentInfoObj.subs[0]}get eContentObj(){return this.encapContentInfoObj.subs[1]}get signedAttrsObj(){return this.signerInfoObj.subs.find(r=>r.tag.isContextSpecific(0))}get messageDigestAttributeObj(){return this.signedAttrsObj.subs.find(r=>r.subs[0].tag.isOID()&&r.subs[0].toOID()===jHt)}get signerSidObj(){return this.signerInfoObj.subs[1]}get signerDigestAlgorithmObj(){return this.signerInfoObj.subs[2]}get signatureAlgorithmObj(){return this.signerInfoObj.subs[4]}get signatureValueObj(){return this.signerInfoObj.subs[5]}};nu.RFC3161Timestamp=nX});var sMe=A(IO=>{"use strict";Object.defineProperty(IO,"__esModule",{value:!0});IO.RFC3161Timestamp=void 0;var WHt=iMe();Object.defineProperty(IO,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return WHt.RFC3161Timestamp},"get")})});var aMe=A(iu=>{"use strict";var JHt=iu&&iu.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),YHt=iu&&iu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),KHt=iu&&iu.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0&&n.appendView(this.extensions),XHt.verify(n.buffer,r,this.signature,this.algorithm)}static parse(e){let r=new oMe.ByteStream(e),n=r.getUint8(),i=r.getBlock(32),s=r.getBlock(8),a=r.getUint16(),c=r.getBlock(a),l=r.getUint8(),u=r.getUint8(),d=r.getUint16(),f=r.getBlock(d);if(r.position!==e.length)throw new Error("SCT buffer length mismatch");return new t({version:n,logID:i,timestamp:s,extensions:c,hashAlgorithm:l,signatureAlgorithm:u,signature:f})}};iu.SignedCertificateTimestamp=iX});var dX=A(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.X509SCTExtension=Fi.X509SubjectKeyIDExtension=Fi.X509AuthorityKeyIDExtension=Fi.X509SubjectAlternativeNameExtension=Fi.X509KeyUsageExtension=Fi.X509BasicConstraintsExtension=Fi.X509Extension=void 0;var ZHt=kB(),e4t=aMe(),vd=class{static{o(this,"X509Extension")}root;constructor(e){this.root=e}get oid(){return this.root.subs[0].toOID()}get critical(){return this.root.subs.length===3?this.root.subs[1].toBoolean():!1}get value(){return this.extnValueObj.value}get valueObj(){return this.extnValueObj}get extnValueObj(){return this.root.subs[this.root.subs.length-1]}};Fi.X509Extension=vd;var sX=class extends vd{static{o(this,"X509BasicConstraintsExtension")}get isCA(){return this.sequence.subs[0]?.toBoolean()??!1}get pathLenConstraint(){return this.sequence.subs.length>1?this.sequence.subs[1].toInteger():void 0}get sequence(){return this.extnValueObj.subs[0]}};Fi.X509BasicConstraintsExtension=sX;var oX=class extends vd{static{o(this,"X509KeyUsageExtension")}get digitalSignature(){return this.bitString[0]===1}get keyCertSign(){return this.bitString[5]===1}get crlSign(){return this.bitString[6]===1}get bitString(){return this.extnValueObj.subs[0].toBitString()}};Fi.X509KeyUsageExtension=oX;var aX=class extends vd{static{o(this,"X509SubjectAlternativeNameExtension")}get rfc822Name(){return this.findGeneralName(1)?.value.toString("ascii")}get uri(){return this.findGeneralName(6)?.value.toString("ascii")}otherName(e){let r=this.findGeneralName(0);return r===void 0||r.subs[0].toOID()!==e?void 0:r.subs[1].subs[0].value.toString("ascii")}findGeneralName(e){return this.generalNames.find(r=>r.tag.isContextSpecific(e))}get generalNames(){return this.extnValueObj.subs[0].subs}};Fi.X509SubjectAlternativeNameExtension=aX;var cX=class extends vd{static{o(this,"X509AuthorityKeyIDExtension")}get keyIdentifier(){return this.findSequenceMember(0)?.value}findSequenceMember(e){return this.sequence.subs.find(r=>r.tag.isContextSpecific(e))}get sequence(){return this.extnValueObj.subs[0]}};Fi.X509AuthorityKeyIDExtension=cX;var lX=class extends vd{static{o(this,"X509SubjectKeyIDExtension")}get keyIdentifier(){return this.extnValueObj.subs[0].value}};Fi.X509SubjectKeyIDExtension=lX;var uX=class extends vd{static{o(this,"X509SCTExtension")}constructor(e){super(e)}get signedCertificateTimestamps(){let e=this.extnValueObj.subs[0].value,r=new ZHt.ByteStream(e),n=r.getUint16()+2,i=[];for(;r.position{"use strict";var t4t=Ro&&Ro.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),r4t=Ro&&Ro.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),lMe=Ro&&Ro.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ir.subs[0].toOID()===e)}get tbsCertificateObj(){return this.root.subs[0]}get signatureAlgorithmObj(){return this.root.subs[1]}get signatureValueObj(){return this.root.subs[2]}get versionObj(){return this.tbsCertificateObj.subs[0]}get serialNumberObj(){return this.tbsCertificateObj.subs[1]}get issuerObj(){return this.tbsCertificateObj.subs[3]}get validityObj(){return this.tbsCertificateObj.subs[4]}get subjectObj(){return this.tbsCertificateObj.subs[5]}get subjectPublicKeyInfoObj(){return this.tbsCertificateObj.subs[6]}get extensionsObj(){return this.tbsCertificateObj.subs.find(e=>e.tag.isContextSpecific(3))}};Ro.X509Certificate=hX});var fMe=A(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.X509SCTExtension=Ch.X509Certificate=Ch.EXTENSION_OID_SCT=void 0;var dMe=uMe();Object.defineProperty(Ch,"EXTENSION_OID_SCT",{enumerable:!0,get:o(function(){return dMe.EXTENSION_OID_SCT},"get")});Object.defineProperty(Ch,"X509Certificate",{enumerable:!0,get:o(function(){return dMe.X509Certificate},"get")});var u4t=dX();Object.defineProperty(Ch,"X509SCTExtension",{enumerable:!0,get:o(function(){return u4t.X509SCTExtension},"get")})});var Ic=A(Gt=>{"use strict";var d4t=Gt&&Gt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),f4t=Gt&&Gt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),LB=Gt&&Gt.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(wO,"__esModule",{value:!0});wO.DSSESignatureContent=void 0;var YA=Ic(),AX=class{static{o(this,"DSSESignatureContent")}env;constructor(e){this.env=e}compareDigest(e){return YA.crypto.bufferEqual(e,YA.crypto.digest("sha256",this.env.payload))}compareSignedDigest(e){return YA.crypto.bufferEqual(e,YA.crypto.digest("sha256",this.preAuthEncoding))}compareSignature(e){return YA.crypto.bufferEqual(e,this.signature)}verifySignature(e){return YA.crypto.verify(this.preAuthEncoding,e,this.signature)}get signature(){return this.env.signatures.length>0?this.env.signatures[0].sig:Buffer.from("")}get preAuthEncoding(){return YA.dsse.preAuthEncoding(this.env.payloadType,this.env.payload)}};wO.DSSESignatureContent=AX});var pMe=A(SO=>{"use strict";Object.defineProperty(SO,"__esModule",{value:!0});SO.MessageSignatureContent=void 0;var mX=Ic(),vC=sC(),m4t={[vC.HashAlgorithm.HASH_ALGORITHM_UNSPECIFIED]:"sha256",[vC.HashAlgorithm.SHA2_256]:"sha256",[vC.HashAlgorithm.SHA2_384]:"sha384",[vC.HashAlgorithm.SHA2_512]:"sha512",[vC.HashAlgorithm.SHA3_256]:"sha3-256",[vC.HashAlgorithm.SHA3_384]:"sha3-384"},gX=class{static{o(this,"MessageSignatureContent")}signature;messageDigest;artifact;hashAlgorithm;constructor(e,r){this.signature=e.signature,this.messageDigest=e.messageDigest.digest,this.artifact=r,this.hashAlgorithm=m4t[e.messageDigest.algorithm]??"sha256"}compareSignature(e){return mX.crypto.bufferEqual(e,this.signature)}compareDigest(e){return mX.crypto.bufferEqual(e,this.messageDigest)}compareSignedDigest(e){return this.compareDigest(e)}verifySignature(e){return mX.crypto.verify(this.artifact,e,this.signature,this.hashAlgorithm)}};SO.MessageSignatureContent=gX});var mMe=A(BO=>{"use strict";Object.defineProperty(BO,"__esModule",{value:!0});BO.toSignedEntity=E4t;BO.signatureContent=AMe;var yX=Ic(),g4t=hMe(),y4t=pMe();function E4t(t,e){let{tlogEntries:r,timestampVerificationData:n}=t.verificationMaterial,i=[];for(let s of r)s.integratedTime&&s.integratedTime!=="0"&&i.push({$case:"transparency-log",tlogEntry:s});for(let s of n?.rfc3161Timestamps??[])i.push({$case:"timestamp-authority",timestamp:yX.RFC3161Timestamp.parse(Buffer.from(s.signedTimestamp))});return{signature:AMe(t,e),key:C4t(t),tlogEntries:r,timestamps:i}}o(E4t,"toSignedEntity");function AMe(t,e){switch(t.content.$case){case"dsseEnvelope":return new g4t.DSSESignatureContent(t.content.dsseEnvelope);case"messageSignature":return new y4t.MessageSignatureContent(t.content.messageSignature,e)}}o(AMe,"signatureContent");function C4t(t){switch(t.verificationMaterial.content.$case){case"publicKey":return{$case:"public-key",hint:t.verificationMaterial.content.publicKey.hint};case"x509CertificateChain":return{$case:"certificate",certificate:yX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes))};case"certificate":return{$case:"certificate",certificate:yX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.certificate.rawBytes))}}}o(C4t,"key")});var Mi=A(NC=>{"use strict";Object.defineProperty(NC,"__esModule",{value:!0});NC.PolicyError=NC.VerificationError=void 0;var xO=class extends Error{static{o(this,"BaseError")}code;cause;constructor({code:e,message:r,cause:n}){super(r),this.code=e,this.cause=n,this.name=this.constructor.name}},EX=class extends xO{static{o(this,"VerificationError")}};NC.VerificationError=EX;var CX=class extends xO{static{o(this,"PolicyError")}};NC.PolicyError=CX});var gMe=A(vO=>{"use strict";Object.defineProperty(vO,"__esModule",{value:!0});vO.filterCertAuthorities=b4t;vO.filterTLogAuthorities=I4t;function b4t(t,e){return t.filter(r=>r.validFor.start<=e&&r.validFor.end>=e)}o(b4t,"filterCertAuthorities");function I4t(t,e){return t.filter(r=>e.logID&&!r.logID.equals(e.logID)?!1:r.validFor.start<=e.targetDate&&e.targetDate<=r.validFor.end)}o(I4t,"filterTLogAuthorities")});var _C=A(KA=>{"use strict";Object.defineProperty(KA,"__esModule",{value:!0});KA.filterTLogAuthorities=KA.filterCertAuthorities=void 0;KA.toTrustMaterial=S4t;var bX=Ic(),FB=sC(),w4t=Mi(),IX=new Date(0),wX=new Date(864e13),CMe=gMe();Object.defineProperty(KA,"filterCertAuthorities",{enumerable:!0,get:o(function(){return CMe.filterCertAuthorities},"get")});Object.defineProperty(KA,"filterTLogAuthorities",{enumerable:!0,get:o(function(){return CMe.filterTLogAuthorities},"get")});function S4t(t,e){let r=typeof e=="function"?e:B4t(e);return{certificateAuthorities:t.certificateAuthorities.map(EMe),timestampAuthorities:t.timestampAuthorities.map(EMe),tlogs:t.tlogs.map(yMe),ctlogs:t.ctlogs.map(yMe),publicKey:r}}o(S4t,"toTrustMaterial");function yMe(t){let e=t.publicKey.keyDetails,r=e===FB.PublicKeyDetails.PKCS1_RSA_PKCS1V5||e===FB.PublicKeyDetails.PKIX_RSA_PKCS1V5||e===FB.PublicKeyDetails.PKIX_RSA_PKCS1V15_2048_SHA256||e===FB.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256||e===FB.PublicKeyDetails.PKIX_RSA_PKCS1V15_4096_SHA256?"pkcs1":"spki";return{baseURL:t.baseUrl,logID:t.checkpointKeyId?t.checkpointKeyId.keyId:t.logId.keyId,publicKey:bX.crypto.createPublicKey(t.publicKey.rawBytes,r),validFor:{start:t.publicKey.validFor?.start||IX,end:t.publicKey.validFor?.end||wX}}}o(yMe,"createTLogAuthority");function EMe(t){return{certChain:t.certChain.certificates.map(e=>bX.X509Certificate.parse(Buffer.from(e.rawBytes))),validFor:{start:t.validFor?.start||IX,end:t.validFor?.end||wX}}}o(EMe,"createCertAuthority");function B4t(t){return e=>{let r=(t||{})[e];if(!r)throw new w4t.VerificationError({code:"PUBLIC_KEY_ERROR",message:`key not found: ${e}`});return{publicKey:bX.crypto.createPublicKey(r.rawBytes),validFor:o(n=>(r.validFor?.start||IX)<=n&&(r.validFor?.end||wX)>=n,"validFor")}}}o(B4t,"keyLocator")});var SX=A(MB=>{"use strict";Object.defineProperty(MB,"__esModule",{value:!0});MB.CertificateChainVerifier=void 0;MB.verifyCertificateChain=v4t;var bh=Mi(),x4t=_C();function v4t(t,e,r){let n=(0,x4t.filterCertAuthorities)(r,t),i;for(let s of n)try{return new NO({trustedCerts:s.certChain,untrustedCert:e,timestamp:t}).verify()}catch(a){i=a}throw new bh.VerificationError({code:"CERTIFICATE_ERROR",message:"Failed to verify certificate chain",cause:i})}o(v4t,"verifyCertificateChain");var NO=class{static{o(this,"CertificateChainVerifier")}untrustedCert;trustedCerts;localCerts;timestamp;constructor(e){this.untrustedCert=e.untrustedCert,this.trustedCerts=e.trustedCerts,this.localCerts=N4t([...e.trustedCerts,e.untrustedCert]),this.timestamp=e.timestamp}verify(){let e=this.sort();if(this.checkPath(e),!e.every(n=>n.validForDate(this.timestamp)))throw new bh.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate is not valid or expired at the specified date"});return e}sort(){let e=this.untrustedCert,r=this.buildPaths(e);if(r=r.filter(i=>i.some(s=>this.trustedCerts.includes(s))),r.length===0)throw new bh.VerificationError({code:"CERTIFICATE_ERROR",message:"no trusted certificate path found"});let n=r.reduce((i,s)=>i.length{if(n&&i.extSubjectKeyID){i.extSubjectKeyID.keyIdentifier.equals(n)&&r.push(i);return}i.subject.equals(e.issuer)&&r.push(i)}),r=r.filter(i=>{try{return e.verify(i)}catch{return!1}}),r)}checkPath(e){if(e.length<1)throw new bh.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate chain must contain at least one certificate"});if(!e.slice(1).every(n=>n.isCA))throw new bh.VerificationError({code:"CERTIFICATE_ERROR",message:"intermediate certificate is not a CA"});for(let n=e.length-2;n>=0;n--)if(!e[n].issuer.equals(e[n+1].subject))throw new bh.VerificationError({code:"CERTIFICATE_ERROR",message:"incorrect certificate name chaining"});for(let n=0;n{"use strict";Object.defineProperty(BX,"__esModule",{value:!0});BX.verifySCTs=R4t;var _O=Ic(),_4t=Mi(),T4t=_C();function R4t(t,e,r){let n,i=t.clone();for(let l=0;l{if(!(0,T4t.filterTLogAuthorities)(r,{logID:l.logID,targetDate:l.datetime}).some(f=>l.verify(s.buffer,f.publicKey)))throw new _4t.VerificationError({code:"CERTIFICATE_ERROR",message:"SCT verification failed"});return l.logID})}o(R4t,"verifySCTs")});var IMe=A(TO=>{"use strict";Object.defineProperty(TO,"__esModule",{value:!0});TO.verifyPublicKey=F4t;TO.verifyCertificate=M4t;var D4t=Ic(),Q4t=Mi(),k4t=SX(),P4t=bMe(),O4t="1.3.6.1.4.1.57264.1.1",L4t="1.3.6.1.4.1.57264.1.8";function F4t(t,e,r){let n=r.publicKey(t);return e.forEach(i=>{if(!n.validFor(i))throw new Q4t.VerificationError({code:"PUBLIC_KEY_ERROR",message:`Public key is not valid for timestamp: ${i.toISOString()}`})}),{key:n.publicKey}}o(F4t,"verifyPublicKey");function M4t(t,e,r){let n=[];return e.forEach(i=>{n=(0,k4t.verifyCertificateChain)(i,t,r.certificateAuthorities)}),{scts:(0,P4t.verifySCTs)(n[0],n[1],r.ctlogs),signer:U4t(n[0])}}o(M4t,"verifyCertificate");function U4t(t){let e,r=t.extension(L4t);r?e=r.valueObj.subs?.[0]?.value.toString("ascii"):e=t.extension(O4t)?.value.toString("ascii");let n=t.extensions.map(s=>({oid:{id:s.subs[0].toOID().split(".").map(Number)},value:s.subs[s.subs.length-1].value})),i={extensions:{issuer:e},subjectAlternativeName:t.subjectAltName,oids:n};return{key:D4t.crypto.createPublicKey(t.publicKey),identity:i}}o(U4t,"getSigner")});var wMe=A(UB=>{"use strict";Object.defineProperty(UB,"__esModule",{value:!0});UB.verifySubjectAlternativeName=q4t;UB.verifyExtensions=G4t;UB.verifyOIDs=H4t;var xX=Mi();function q4t(t,e){if(e===void 0||!e.match(t))throw new xX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`certificate identity error - expected ${t}, got ${e}`})}o(q4t,"verifySubjectAlternativeName");function G4t(t,e={}){let r;for(r in t)if(e[r]!==t[r])throw new xX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - expected ${r}=${t[r]}, got ${r}=${e[r]}`})}o(G4t,"verifyExtensions");function H4t(t,e=[]){for(let r of t)if(!e.find(i=>V4t(r.oid?.id,i.oid?.id)&&r.value.equals(i.value))){let i=r.oid?.id.join(".")??"";throw new xX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - missing OID ${i}`})}}o(H4t,"verifyOIDs");function V4t(t,e){return t===void 0||e===void 0?!1:t.length===e.length&&t.every((r,n)=>r===e[n])}o(V4t,"oidEquals")});var BMe=A(NX=>{"use strict";Object.defineProperty(NX,"__esModule",{value:!0});NX.verifyRFC3161Timestamp=j4t;var vX=Ic(),SMe=Mi(),z4t=SX(),$4t=_C();function j4t(t,e,r){let n=t.signingTime;if(r=(0,$4t.filterCertAuthorities)(r,n),r=J4t(r,{serialNumber:t.signerSerialNumber,issuer:t.signerIssuer}),!r.some(s=>{try{return W4t(t,e,s),!0}catch{return!1}}))throw new SMe.VerificationError({code:"TIMESTAMP_ERROR",message:"timestamp could not be verified"})}o(j4t,"verifyRFC3161Timestamp");function W4t(t,e,r){let[n,...i]=r.certChain,s=vX.crypto.createPublicKey(n.publicKey),a=t.signingTime;try{new z4t.CertificateChainVerifier({untrustedCert:n,trustedCerts:i,timestamp:a}).verify()}catch{throw new SMe.VerificationError({code:"TIMESTAMP_ERROR",message:"invalid certificate chain"})}t.verify(e,s)}o(W4t,"verifyTimestampForCA");function J4t(t,e){return t.filter(r=>r.certChain.length>0&&vX.crypto.bufferEqual(r.certChain[0].serialNumber,e.serialNumber)&&vX.crypto.bufferEqual(r.certChain[0].issuer,e.issuer))}o(J4t,"filterCAsBySerialAndIssuer")});var xMe=A(RO=>{"use strict";Object.defineProperty(RO,"__esModule",{value:!0});RO.getTSATimestamp=K4t;RO.getTLogTimestamp=X4t;var Y4t=BMe();function K4t(t,e,r){return(0,Y4t.verifyRFC3161Timestamp)(t,e,r),{type:"timestamp-authority",logID:t.signerSerialNumber,timestamp:t.signingTime}}o(K4t,"getTSATimestamp");function X4t(t){if(t.inclusionPromise)return{type:"transparency-log",logID:t.logId.keyId,timestamp:new Date(Number(t.integratedTime)*1e3)}}o(X4t,"getTLogTimestamp")});var QO=A(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});Qa.Signature=Qa.Verifier=Qa.PublicKey=void 0;var DO=wd();Qa.PublicKey={fromJSON(t){return{rawBytes:TC(t.rawBytes)?Buffer.from(vMe(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=NMe(t.rawBytes)),e}};Qa.Verifier={fromJSON(t){return{verifier:TC(t.publicKey)?{$case:"publicKey",publicKey:Qa.PublicKey.fromJSON(t.publicKey)}:TC(t.x509Certificate)?{$case:"x509Certificate",x509Certificate:DO.X509Certificate.fromJSON(t.x509Certificate)}:void 0,keyDetails:TC(t.keyDetails)?(0,DO.publicKeyDetailsFromJSON)(t.keyDetails):0}},toJSON(t){let e={};return t.verifier?.$case==="publicKey"?e.publicKey=Qa.PublicKey.toJSON(t.verifier.publicKey):t.verifier?.$case==="x509Certificate"&&(e.x509Certificate=DO.X509Certificate.toJSON(t.verifier.x509Certificate)),t.keyDetails!==0&&(e.keyDetails=(0,DO.publicKeyDetailsToJSON)(t.keyDetails)),e}};Qa.Signature={fromJSON(t){return{content:TC(t.content)?Buffer.from(vMe(t.content)):Buffer.alloc(0),verifier:TC(t.verifier)?Qa.Verifier.fromJSON(t.verifier):void 0}},toJSON(t){let e={};return t.content.length!==0&&(e.content=NMe(t.content)),t.verifier!==void 0&&(e.verifier=Qa.Verifier.toJSON(t.verifier)),e}};function vMe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(vMe,"bytesFromBase64");function NMe(t){return globalThis.Buffer.from(t).toString("base64")}o(NMe,"base64FromBytes");function TC(t){return t!=null}o(TC,"isSet")});var _X=A(RC=>{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.DSSELogEntryV002=RC.DSSERequestV002=void 0;var _Me=AP(),TMe=wd(),kO=QO();RC.DSSERequestV002={fromJSON(t){return{envelope:RMe(t.envelope)?_Me.Envelope.fromJSON(t.envelope):void 0,verifiers:globalThis.Array.isArray(t?.verifiers)?t.verifiers.map(e=>kO.Verifier.fromJSON(e)):[]}},toJSON(t){let e={};return t.envelope!==void 0&&(e.envelope=_Me.Envelope.toJSON(t.envelope)),t.verifiers?.length&&(e.verifiers=t.verifiers.map(r=>kO.Verifier.toJSON(r))),e}};RC.DSSELogEntryV002={fromJSON(t){return{payloadHash:RMe(t.payloadHash)?TMe.HashOutput.fromJSON(t.payloadHash):void 0,signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>kO.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payloadHash!==void 0&&(e.payloadHash=TMe.HashOutput.toJSON(t.payloadHash)),t.signatures?.length&&(e.signatures=t.signatures.map(r=>kO.Signature.toJSON(r))),e}};function RMe(t){return t!=null}o(RMe,"isSet")});var TX=A(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.HashedRekordLogEntryV002=DC.HashedRekordRequestV002=void 0;var DMe=wd(),PO=QO();DC.HashedRekordRequestV002={fromJSON(t){return{digest:OO(t.digest)?Buffer.from(Z4t(t.digest)):Buffer.alloc(0),signature:OO(t.signature)?PO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.digest.length!==0&&(e.digest=eVt(t.digest)),t.signature!==void 0&&(e.signature=PO.Signature.toJSON(t.signature)),e}};DC.HashedRekordLogEntryV002={fromJSON(t){return{data:OO(t.data)?DMe.HashOutput.fromJSON(t.data):void 0,signature:OO(t.signature)?PO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.data!==void 0&&(e.data=DMe.HashOutput.toJSON(t.data)),t.signature!==void 0&&(e.signature=PO.Signature.toJSON(t.signature)),e}};function Z4t(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(Z4t,"bytesFromBase64");function eVt(t){return globalThis.Buffer.from(t).toString("base64")}o(eVt,"base64FromBytes");function OO(t){return t!=null}o(OO,"isSet")});var QMe=A(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.CreateEntryRequest=su.Spec=su.Entry=void 0;var LO=_X(),FO=TX();su.Entry={fromJSON(t){return{kind:XA(t.kind)?globalThis.String(t.kind):"",apiVersion:XA(t.apiVersion)?globalThis.String(t.apiVersion):"",spec:XA(t.spec)?su.Spec.fromJSON(t.spec):void 0}},toJSON(t){let e={};return t.kind!==""&&(e.kind=t.kind),t.apiVersion!==""&&(e.apiVersion=t.apiVersion),t.spec!==void 0&&(e.spec=su.Spec.toJSON(t.spec)),e}};su.Spec={fromJSON(t){return{spec:XA(t.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:FO.HashedRekordLogEntryV002.fromJSON(t.hashedRekordV002)}:XA(t.dsseV002)?{$case:"dsseV002",dsseV002:LO.DSSELogEntryV002.fromJSON(t.dsseV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordV002"?e.hashedRekordV002=FO.HashedRekordLogEntryV002.toJSON(t.spec.hashedRekordV002):t.spec?.$case==="dsseV002"&&(e.dsseV002=LO.DSSELogEntryV002.toJSON(t.spec.dsseV002)),e}};su.CreateEntryRequest={fromJSON(t){return{spec:XA(t.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:FO.HashedRekordRequestV002.fromJSON(t.hashedRekordRequestV002)}:XA(t.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:LO.DSSERequestV002.fromJSON(t.dsseRequestV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordRequestV002"?e.hashedRekordRequestV002=FO.HashedRekordRequestV002.toJSON(t.spec.hashedRekordRequestV002):t.spec?.$case==="dsseRequestV002"&&(e.dsseRequestV002=LO.DSSERequestV002.toJSON(t.spec.dsseRequestV002)),e}};function XA(t){return t!=null}o(XA,"isSet")});var kMe=A(ou=>{"use strict";var tVt=ou&&ou.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),MO=ou&&ou.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&tVt(e,t,r)};Object.defineProperty(ou,"__esModule",{value:!0});MO(_X(),ou);MO(QMe(),ou);MO(TX(),ou);MO(QO(),ou)});var PMe=A(ZA=>{"use strict";Object.defineProperty(ZA,"__esModule",{value:!0});ZA.DSSE_API_VERSION_V1=void 0;ZA.verifyDSSETLogBody=rVt;ZA.verifyDSSETLogBodyV2=nVt;var Nd=Mi();ZA.DSSE_API_VERSION_V1="0.0.1";function rVt(t,e){if(t.apiVersion===ZA.DSSE_API_VERSION_V1)return iVt(t,e);throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported dsse version: ${t.apiVersion}`})}o(rVt,"verifyDSSETLogBody");function nVt(t,e){let r=t.spec?.spec;if(!r)throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="dsseV002")return sVt(r.dsseV002,e);throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(nVt,"verifyDSSETLogBodyV2");function iVt(t,e){if(t.spec.signatures?.length!==1)throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.spec.signatures[0].signature;if(!e.compareSignature(Buffer.from(r,"base64")))throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.spec.payloadHash?.value||"";if(!e.compareDigest(Buffer.from(n,"hex")))throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(iVt,"verifyDSSE001TLogBody");function sVt(t,e){if(t.signatures?.length!==1)throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.signatures[0].content;if(!e.compareSignature(r))throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.payloadHash?.digest||Buffer.from("");if(!e.compareDigest(n))throw new Nd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(sVt,"verifyDSSE002TLogBody")});var OMe=A(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.HASHEDREKORD_API_VERSION_V1=void 0;tm.verifyHashedRekordTLogBody=oVt;tm.verifyHashedRekordTLogBodyV2=aVt;var em=Mi();tm.HASHEDREKORD_API_VERSION_V1="0.0.1";function oVt(t,e){if(t.apiVersion===tm.HASHEDREKORD_API_VERSION_V1)return cVt(t,e);throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported hashedrekord version: ${t.apiVersion}`})}o(oVt,"verifyHashedRekordTLogBody");function aVt(t,e){let r=t.spec?.spec;if(!r)throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="hashedRekordV002")return lVt(r.hashedRekordV002,e);throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(aVt,"verifyHashedRekordTLogBodyV2");function cVt(t,e){let r=t.spec.signature.content||"";if(!e.compareSignature(Buffer.from(r,"base64")))throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.spec.data.hash?.value||"";if(!e.compareSignedDigest(Buffer.from(n,"hex")))throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(cVt,"verifyHashedrekord001TLogBody");function lVt(t,e){let r=t.signature?.content||Buffer.from("");if(!e.compareSignature(r))throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.data?.digest||Buffer.from("");if(!e.compareSignedDigest(n))throw new em.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(lVt,"verifyHashedrekord002TLogBody")});var LMe=A(RX=>{"use strict";Object.defineProperty(RX,"__esModule",{value:!0});RX.verifyIntotoTLogBody=uVt;var UO=Mi();function uVt(t,e){if(t.apiVersion==="0.0.2")return dVt(t,e);throw new UO.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported intoto version: ${t.apiVersion}`})}o(uVt,"verifyIntotoTLogBody");function dVt(t,e){if(t.spec.content.envelope.signatures?.length!==1)throw new UO.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=fVt(t.spec.content.envelope.signatures[0].sig);if(!e.compareSignature(Buffer.from(r,"base64")))throw new UO.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.spec.content.payloadHash?.value||"";if(!e.compareDigest(Buffer.from(n,"hex")))throw new UO.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(dVt,"verifyIntoto002TLogBody");function fVt(t){return Buffer.from(t,"base64").toString("utf-8")}o(fVt,"base64Decode")});var MMe=A(qB=>{"use strict";Object.defineProperty(qB,"__esModule",{value:!0});qB.LogCheckpoint=void 0;qB.verifyCheckpoint=pVt;var FMe=Ic(),QC=Mi(),DX=` +`)}o(Y8t,"fromDER")});var KO=m(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});Nh.SHA2_HASH_ALGOS=Nh.RSA_SIGNATURE_ALGOS=Nh.ECDSA_SIGNATURE_ALGOS=void 0;Nh.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};Nh.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};Nh.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var uZ=m(XO=>{"use strict";Object.defineProperty(XO,"__esModule",{value:!0});XO.RFC3161TimestampVerificationError=void 0;var lZ=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};XO.RFC3161TimestampVerificationError=lZ});var WUe=m(cu=>{"use strict";var K8t=cu&&cu.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),X8t=cu&&cu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Z8t=cu&&cu.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var rVt=lu&&lu.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),nVt=lu&&lu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iVt=lu&&lu.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ir.tag.isContextSpecific(0)).subs[0]}get encapContentInfoObj(){return this.signedDataObj.subs[2]}get signerInfosObj(){let e=this.signedDataObj;return e.subs[e.subs.length-1]}get signerInfoObj(){return this.signerInfosObj.subs[0]}get eContentTypeObj(){return this.encapContentInfoObj.subs[0]}get eContentObj(){return this.encapContentInfoObj.subs[1]}get signedAttrsObj(){return this.signerInfoObj.subs.find(r=>r.tag.isContextSpecific(0))}get messageDigestAttributeObj(){return this.signedAttrsObj.subs.find(r=>r.subs[0].tag.isOID()&&r.subs[0].toOID()===lVt)}get signerSidObj(){return this.signerInfoObj.subs[1]}get signerDigestAlgorithmObj(){return this.signerInfoObj.subs[2]}get signatureAlgorithmObj(){return this.signerInfoObj.subs[4]}get signatureValueObj(){return this.signerInfoObj.subs[5]}};lu.RFC3161Timestamp=hZ});var KUe=m(ZO=>{"use strict";Object.defineProperty(ZO,"__esModule",{value:!0});ZO.RFC3161Timestamp=void 0;var uVt=YUe();Object.defineProperty(ZO,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return uVt.RFC3161Timestamp},"get")})});var ZUe=m(uu=>{"use strict";var fVt=uu&&uu.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),dVt=uu&&uu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hVt=uu&&uu.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0&&n.appendView(this.extensions),pVt.verify(n.buffer,r,this.signature,this.algorithm)}static parse(e){let r=new XUe.ByteStream(e),n=r.getUint8(),i=r.getBlock(32),s=r.getBlock(8),a=r.getUint16(),c=r.getBlock(a),l=r.getUint8(),u=r.getUint8(),f=r.getUint16(),d=r.getBlock(f);if(r.position!==e.length)throw new Error("SCT buffer length mismatch");return new t({version:n,logID:i,timestamp:s,extensions:c,hashAlgorithm:l,signatureAlgorithm:u,signature:d})}};uu.SignedCertificateTimestamp=pZ});var bZ=m(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.X509SCTExtension=Mi.X509SubjectKeyIDExtension=Mi.X509AuthorityKeyIDExtension=Mi.X509SubjectAlternativeNameExtension=Mi.X509KeyUsageExtension=Mi.X509BasicConstraintsExtension=Mi.X509Extension=void 0;var mVt=sv(),AVt=ZUe(),Of=class{static{o(this,"X509Extension")}root;constructor(e){this.root=e}get oid(){return this.root.subs[0].toOID()}get critical(){return this.root.subs.length===3?this.root.subs[1].toBoolean():!1}get value(){return this.extnValueObj.value}get valueObj(){return this.extnValueObj}get extnValueObj(){return this.root.subs[this.root.subs.length-1]}};Mi.X509Extension=Of;var mZ=class extends Of{static{o(this,"X509BasicConstraintsExtension")}get isCA(){return this.sequence.subs[0]?.toBoolean()??!1}get pathLenConstraint(){return this.sequence.subs.length>1?this.sequence.subs[1].toInteger():void 0}get sequence(){return this.extnValueObj.subs[0]}};Mi.X509BasicConstraintsExtension=mZ;var AZ=class extends Of{static{o(this,"X509KeyUsageExtension")}get digitalSignature(){return this.bitString[0]===1}get keyCertSign(){return this.bitString[5]===1}get crlSign(){return this.bitString[6]===1}get bitString(){return this.extnValueObj.subs[0].toBitString()}};Mi.X509KeyUsageExtension=AZ;var gZ=class extends Of{static{o(this,"X509SubjectAlternativeNameExtension")}get rfc822Name(){return this.findGeneralName(1)?.value.toString("ascii")}get uri(){return this.findGeneralName(6)?.value.toString("ascii")}otherName(e){let r=this.findGeneralName(0);return r===void 0||r.subs[0].toOID()!==e?void 0:r.subs[1].subs[0].value.toString("ascii")}findGeneralName(e){return this.generalNames.find(r=>r.tag.isContextSpecific(e))}get generalNames(){return this.extnValueObj.subs[0].subs}};Mi.X509SubjectAlternativeNameExtension=gZ;var yZ=class extends Of{static{o(this,"X509AuthorityKeyIDExtension")}get keyIdentifier(){return this.findSequenceMember(0)?.value}findSequenceMember(e){return this.sequence.subs.find(r=>r.tag.isContextSpecific(e))}get sequence(){return this.extnValueObj.subs[0]}};Mi.X509AuthorityKeyIDExtension=yZ;var EZ=class extends Of{static{o(this,"X509SubjectKeyIDExtension")}get keyIdentifier(){return this.extnValueObj.subs[0].value}};Mi.X509SubjectKeyIDExtension=EZ;var CZ=class extends Of{static{o(this,"X509SCTExtension")}constructor(e){super(e)}get signedCertificateTimestamps(){let e=this.extnValueObj.subs[0].value,r=new mVt.ByteStream(e),n=r.getUint16()+2,i=[];for(;r.position{"use strict";var gVt=Qo&&Qo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yVt=Qo&&Qo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),tqe=Qo&&Qo.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ir.subs[0].toOID()===e)}get tbsCertificateObj(){return this.root.subs[0]}get signatureAlgorithmObj(){return this.root.subs[1]}get signatureValueObj(){return this.root.subs[2]}get versionObj(){return this.tbsCertificateObj.subs[0]}get serialNumberObj(){return this.tbsCertificateObj.subs[1]}get issuerObj(){return this.tbsCertificateObj.subs[3]}get validityObj(){return this.tbsCertificateObj.subs[4]}get subjectObj(){return this.tbsCertificateObj.subs[5]}get subjectPublicKeyInfoObj(){return this.tbsCertificateObj.subs[6]}get extensionsObj(){return this.tbsCertificateObj.subs.find(e=>e.tag.isContextSpecific(3))}};Qo.X509Certificate=IZ});var iqe=m(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.X509SCTExtension=Rh.X509Certificate=Rh.EXTENSION_OID_SCT=void 0;var nqe=rqe();Object.defineProperty(Rh,"EXTENSION_OID_SCT",{enumerable:!0,get:o(function(){return nqe.EXTENSION_OID_SCT},"get")});Object.defineProperty(Rh,"X509Certificate",{enumerable:!0,get:o(function(){return nqe.X509Certificate},"get")});var vVt=bZ();Object.defineProperty(Rh,"X509SCTExtension",{enumerable:!0,get:o(function(){return vVt.X509SCTExtension},"get")})});var xc=m(Gt=>{"use strict";var xVt=Gt&&Gt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),_Vt=Gt&&Gt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cv=Gt&&Gt.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(eL,"__esModule",{value:!0});eL.DSSESignatureContent=void 0;var lA=xc(),BZ=class{static{o(this,"DSSESignatureContent")}env;constructor(e){this.env=e}compareDigest(e){return lA.crypto.bufferEqual(e,lA.crypto.digest("sha256",this.env.payload))}compareSignedDigest(e){return lA.crypto.bufferEqual(e,lA.crypto.digest("sha256",this.preAuthEncoding))}compareSignature(e){return lA.crypto.bufferEqual(e,this.signature)}verifySignature(e){return lA.crypto.verify(this.preAuthEncoding,e,this.signature)}get signature(){return this.env.signatures.length>0?this.env.signatures[0].sig:Buffer.from("")}get preAuthEncoding(){return lA.dsse.preAuthEncoding(this.env.payloadType,this.env.payload)}};eL.DSSESignatureContent=BZ});var oqe=m(tL=>{"use strict";Object.defineProperty(tL,"__esModule",{value:!0});tL.MessageSignatureContent=void 0;var vZ=xc(),zC=IC(),DVt={[zC.HashAlgorithm.HASH_ALGORITHM_UNSPECIFIED]:"sha256",[zC.HashAlgorithm.SHA2_256]:"sha256",[zC.HashAlgorithm.SHA2_384]:"sha384",[zC.HashAlgorithm.SHA2_512]:"sha512",[zC.HashAlgorithm.SHA3_256]:"sha3-256",[zC.HashAlgorithm.SHA3_384]:"sha3-384"},xZ=class{static{o(this,"MessageSignatureContent")}signature;messageDigest;artifact;hashAlgorithm;constructor(e,r){this.signature=e.signature,this.messageDigest=e.messageDigest.digest,this.artifact=r,this.hashAlgorithm=DVt[e.messageDigest.algorithm]??"sha256"}compareSignature(e){return vZ.crypto.bufferEqual(e,this.signature)}compareDigest(e){return vZ.crypto.bufferEqual(e,this.messageDigest)}compareSignedDigest(e){return this.compareDigest(e)}verifySignature(e){return vZ.crypto.verify(this.artifact,e,this.signature,this.hashAlgorithm)}};tL.MessageSignatureContent=xZ});var cqe=m(rL=>{"use strict";Object.defineProperty(rL,"__esModule",{value:!0});rL.toSignedEntity=PVt;rL.signatureContent=aqe;var _Z=xc(),QVt=sqe(),kVt=oqe();function PVt(t,e){let{tlogEntries:r,timestampVerificationData:n}=t.verificationMaterial,i=[];for(let s of r)s.integratedTime&&s.integratedTime!=="0"&&i.push({$case:"transparency-log",tlogEntry:s});for(let s of n?.rfc3161Timestamps??[])i.push({$case:"timestamp-authority",timestamp:_Z.RFC3161Timestamp.parse(Buffer.from(s.signedTimestamp))});return{signature:aqe(t,e),key:OVt(t),tlogEntries:r,timestamps:i}}o(PVt,"toSignedEntity");function aqe(t,e){switch(t.content.$case){case"dsseEnvelope":return new QVt.DSSESignatureContent(t.content.dsseEnvelope);case"messageSignature":return new kVt.MessageSignatureContent(t.content.messageSignature,e)}}o(aqe,"signatureContent");function OVt(t){switch(t.verificationMaterial.content.$case){case"publicKey":return{$case:"public-key",hint:t.verificationMaterial.content.publicKey.hint};case"x509CertificateChain":return{$case:"certificate",certificate:_Z.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes))};case"certificate":return{$case:"certificate",certificate:_Z.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.certificate.rawBytes))}}}o(OVt,"key")});var Ui=m(jC=>{"use strict";Object.defineProperty(jC,"__esModule",{value:!0});jC.PolicyError=jC.VerificationError=void 0;var nL=class extends Error{static{o(this,"BaseError")}code;cause;constructor({code:e,message:r,cause:n}){super(r),this.code=e,this.cause=n,this.name=this.constructor.name}},NZ=class extends nL{static{o(this,"VerificationError")}};jC.VerificationError=NZ;var RZ=class extends nL{static{o(this,"PolicyError")}};jC.PolicyError=RZ});var lqe=m(iL=>{"use strict";Object.defineProperty(iL,"__esModule",{value:!0});iL.filterCertAuthorities=LVt;iL.filterTLogAuthorities=FVt;function LVt(t,e){return t.filter(r=>r.validFor.start<=e&&r.validFor.end>=e)}o(LVt,"filterCertAuthorities");function FVt(t,e){return t.filter(r=>e.logID&&!r.logID.equals(e.logID)?!1:r.validFor.start<=e.targetDate&&e.targetDate<=r.validFor.end)}o(FVt,"filterTLogAuthorities")});var $C=m(uA=>{"use strict";Object.defineProperty(uA,"__esModule",{value:!0});uA.filterTLogAuthorities=uA.filterCertAuthorities=void 0;uA.toTrustMaterial=UVt;var TZ=xc(),lv=IC(),MVt=Ui(),DZ=new Date(0),QZ=new Date(864e13),dqe=lqe();Object.defineProperty(uA,"filterCertAuthorities",{enumerable:!0,get:o(function(){return dqe.filterCertAuthorities},"get")});Object.defineProperty(uA,"filterTLogAuthorities",{enumerable:!0,get:o(function(){return dqe.filterTLogAuthorities},"get")});function UVt(t,e){let r=typeof e=="function"?e:qVt(e);return{certificateAuthorities:t.certificateAuthorities.map(fqe),timestampAuthorities:t.timestampAuthorities.map(fqe),tlogs:t.tlogs.map(uqe),ctlogs:t.ctlogs.map(uqe),publicKey:r}}o(UVt,"toTrustMaterial");function uqe(t){let e=t.publicKey.keyDetails,r=e===lv.PublicKeyDetails.PKCS1_RSA_PKCS1V5||e===lv.PublicKeyDetails.PKIX_RSA_PKCS1V5||e===lv.PublicKeyDetails.PKIX_RSA_PKCS1V15_2048_SHA256||e===lv.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256||e===lv.PublicKeyDetails.PKIX_RSA_PKCS1V15_4096_SHA256?"pkcs1":"spki";return{baseURL:t.baseUrl,logID:t.checkpointKeyId?t.checkpointKeyId.keyId:t.logId.keyId,publicKey:TZ.crypto.createPublicKey(t.publicKey.rawBytes,r),validFor:{start:t.publicKey.validFor?.start||DZ,end:t.publicKey.validFor?.end||QZ}}}o(uqe,"createTLogAuthority");function fqe(t){return{certChain:t.certChain.certificates.map(e=>TZ.X509Certificate.parse(Buffer.from(e.rawBytes))),validFor:{start:t.validFor?.start||DZ,end:t.validFor?.end||QZ}}}o(fqe,"createCertAuthority");function qVt(t){return e=>{let r=(t||{})[e];if(!r)throw new MVt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`key not found: ${e}`});return{publicKey:TZ.crypto.createPublicKey(r.rawBytes),validFor:o(n=>(r.validFor?.start||DZ)<=n&&(r.validFor?.end||QZ)>=n,"validFor")}}}o(qVt,"keyLocator")});var kZ=m(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});uv.CertificateChainVerifier=void 0;uv.verifyCertificateChain=HVt;var Th=Ui(),GVt=$C();function HVt(t,e,r){let n=(0,GVt.filterCertAuthorities)(r,t),i;for(let s of n)try{return new sL({trustedCerts:s.certChain,untrustedCert:e,timestamp:t}).verify()}catch(a){i=a}throw new Th.VerificationError({code:"CERTIFICATE_ERROR",message:"Failed to verify certificate chain",cause:i})}o(HVt,"verifyCertificateChain");var sL=class{static{o(this,"CertificateChainVerifier")}untrustedCert;trustedCerts;localCerts;timestamp;constructor(e){this.untrustedCert=e.untrustedCert,this.trustedCerts=e.trustedCerts,this.localCerts=VVt([...e.trustedCerts,e.untrustedCert]),this.timestamp=e.timestamp}verify(){let e=this.sort();if(this.checkPath(e),!e.every(n=>n.validForDate(this.timestamp)))throw new Th.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate is not valid or expired at the specified date"});return e}sort(){let e=this.untrustedCert,r=this.buildPaths(e);if(r=r.filter(i=>i.some(s=>this.trustedCerts.includes(s))),r.length===0)throw new Th.VerificationError({code:"CERTIFICATE_ERROR",message:"no trusted certificate path found"});let n=r.reduce((i,s)=>i.length{if(n&&i.extSubjectKeyID){i.extSubjectKeyID.keyIdentifier.equals(n)&&r.push(i);return}i.subject.equals(e.issuer)&&r.push(i)}),r=r.filter(i=>{try{return e.verify(i)}catch{return!1}}),r)}checkPath(e){if(e.length<1)throw new Th.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate chain must contain at least one certificate"});if(!e.slice(1).every(n=>n.isCA))throw new Th.VerificationError({code:"CERTIFICATE_ERROR",message:"intermediate certificate is not a CA"});for(let n=e.length-2;n>=0;n--)if(!e[n].issuer.equals(e[n+1].subject))throw new Th.VerificationError({code:"CERTIFICATE_ERROR",message:"incorrect certificate name chaining"});for(let n=0;n{"use strict";Object.defineProperty(PZ,"__esModule",{value:!0});PZ.verifySCTs=$Vt;var oL=xc(),zVt=Ui(),jVt=$C();function $Vt(t,e,r){let n,i=t.clone();for(let l=0;l{if(!(0,jVt.filterTLogAuthorities)(r,{logID:l.logID,targetDate:l.datetime}).some(d=>l.verify(s.buffer,d.publicKey)))throw new zVt.VerificationError({code:"CERTIFICATE_ERROR",message:"SCT verification failed"});return l.logID})}o($Vt,"verifySCTs")});var pqe=m(aL=>{"use strict";Object.defineProperty(aL,"__esModule",{value:!0});aL.verifyPublicKey=ezt;aL.verifyCertificate=tzt;var WVt=xc(),JVt=Ui(),YVt=kZ(),KVt=hqe(),XVt="1.3.6.1.4.1.57264.1.1",ZVt="1.3.6.1.4.1.57264.1.8";function ezt(t,e,r){let n=r.publicKey(t);return e.forEach(i=>{if(!n.validFor(i))throw new JVt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`Public key is not valid for timestamp: ${i.toISOString()}`})}),{key:n.publicKey}}o(ezt,"verifyPublicKey");function tzt(t,e,r){let n=[];return e.forEach(i=>{n=(0,YVt.verifyCertificateChain)(i,t,r.certificateAuthorities)}),{scts:(0,KVt.verifySCTs)(n[0],n[1],r.ctlogs),signer:rzt(n[0])}}o(tzt,"verifyCertificate");function rzt(t){let e,r=t.extension(ZVt);r?e=r.valueObj.subs?.[0]?.value.toString("ascii"):e=t.extension(XVt)?.value.toString("ascii");let n=t.extensions.map(s=>({oid:{id:s.subs[0].toOID().split(".").map(Number)},value:s.subs[s.subs.length-1].value})),i={extensions:{issuer:e},subjectAlternativeName:t.subjectAltName,oids:n};return{key:WVt.crypto.createPublicKey(t.publicKey),identity:i}}o(rzt,"getSigner")});var mqe=m(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});fv.verifySubjectAlternativeName=nzt;fv.verifyExtensions=izt;fv.verifyOIDs=szt;var OZ=Ui();function nzt(t,e){if(e===void 0||!e.match(t))throw new OZ.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`certificate identity error - expected ${t}, got ${e}`})}o(nzt,"verifySubjectAlternativeName");function izt(t,e={}){let r;for(r in t)if(e[r]!==t[r])throw new OZ.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - expected ${r}=${t[r]}, got ${r}=${e[r]}`})}o(izt,"verifyExtensions");function szt(t,e=[]){for(let r of t)if(!e.find(i=>ozt(r.oid?.id,i.oid?.id)&&r.value.equals(i.value))){let i=r.oid?.id.join(".")??"";throw new OZ.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - missing OID ${i}`})}}o(szt,"verifyOIDs");function ozt(t,e){return t===void 0||e===void 0?!1:t.length===e.length&&t.every((r,n)=>r===e[n])}o(ozt,"oidEquals")});var gqe=m(FZ=>{"use strict";Object.defineProperty(FZ,"__esModule",{value:!0});FZ.verifyRFC3161Timestamp=lzt;var LZ=xc(),Aqe=Ui(),azt=kZ(),czt=$C();function lzt(t,e,r){let n=t.signingTime;if(r=(0,czt.filterCertAuthorities)(r,n),r=fzt(r,{serialNumber:t.signerSerialNumber,issuer:t.signerIssuer}),!r.some(s=>{try{return uzt(t,e,s),!0}catch{return!1}}))throw new Aqe.VerificationError({code:"TIMESTAMP_ERROR",message:"timestamp could not be verified"})}o(lzt,"verifyRFC3161Timestamp");function uzt(t,e,r){let[n,...i]=r.certChain,s=LZ.crypto.createPublicKey(n.publicKey),a=t.signingTime;try{new azt.CertificateChainVerifier({untrustedCert:n,trustedCerts:i,timestamp:a}).verify()}catch{throw new Aqe.VerificationError({code:"TIMESTAMP_ERROR",message:"invalid certificate chain"})}t.verify(e,s)}o(uzt,"verifyTimestampForCA");function fzt(t,e){return t.filter(r=>r.certChain.length>0&&LZ.crypto.bufferEqual(r.certChain[0].serialNumber,e.serialNumber)&&LZ.crypto.bufferEqual(r.certChain[0].issuer,e.issuer))}o(fzt,"filterCAsBySerialAndIssuer")});var yqe=m(cL=>{"use strict";Object.defineProperty(cL,"__esModule",{value:!0});cL.getTSATimestamp=hzt;cL.getTLogTimestamp=pzt;var dzt=gqe();function hzt(t,e,r){return(0,dzt.verifyRFC3161Timestamp)(t,e,r),{type:"timestamp-authority",logID:t.signerSerialNumber,timestamp:t.signingTime}}o(hzt,"getTSATimestamp");function pzt(t){if(t.inclusionPromise)return{type:"transparency-log",logID:t.logId.keyId,timestamp:new Date(Number(t.integratedTime)*1e3)}}o(pzt,"getTLogTimestamp")});var uL=m(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.Signature=Oa.Verifier=Oa.PublicKey=void 0;var lL=Df();Oa.PublicKey={fromJSON(t){return{rawBytes:WC(t.rawBytes)?Buffer.from(Eqe(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=Cqe(t.rawBytes)),e}};Oa.Verifier={fromJSON(t){return{verifier:WC(t.publicKey)?{$case:"publicKey",publicKey:Oa.PublicKey.fromJSON(t.publicKey)}:WC(t.x509Certificate)?{$case:"x509Certificate",x509Certificate:lL.X509Certificate.fromJSON(t.x509Certificate)}:void 0,keyDetails:WC(t.keyDetails)?(0,lL.publicKeyDetailsFromJSON)(t.keyDetails):0}},toJSON(t){let e={};return t.verifier?.$case==="publicKey"?e.publicKey=Oa.PublicKey.toJSON(t.verifier.publicKey):t.verifier?.$case==="x509Certificate"&&(e.x509Certificate=lL.X509Certificate.toJSON(t.verifier.x509Certificate)),t.keyDetails!==0&&(e.keyDetails=(0,lL.publicKeyDetailsToJSON)(t.keyDetails)),e}};Oa.Signature={fromJSON(t){return{content:WC(t.content)?Buffer.from(Eqe(t.content)):Buffer.alloc(0),verifier:WC(t.verifier)?Oa.Verifier.fromJSON(t.verifier):void 0}},toJSON(t){let e={};return t.content.length!==0&&(e.content=Cqe(t.content)),t.verifier!==void 0&&(e.verifier=Oa.Verifier.toJSON(t.verifier)),e}};function Eqe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(Eqe,"bytesFromBase64");function Cqe(t){return globalThis.Buffer.from(t).toString("base64")}o(Cqe,"base64FromBytes");function WC(t){return t!=null}o(WC,"isSet")});var MZ=m(JC=>{"use strict";Object.defineProperty(JC,"__esModule",{value:!0});JC.DSSELogEntryV002=JC.DSSERequestV002=void 0;var bqe=jP(),wqe=Df(),fL=uL();JC.DSSERequestV002={fromJSON(t){return{envelope:Iqe(t.envelope)?bqe.Envelope.fromJSON(t.envelope):void 0,verifiers:globalThis.Array.isArray(t?.verifiers)?t.verifiers.map(e=>fL.Verifier.fromJSON(e)):[]}},toJSON(t){let e={};return t.envelope!==void 0&&(e.envelope=bqe.Envelope.toJSON(t.envelope)),t.verifiers?.length&&(e.verifiers=t.verifiers.map(r=>fL.Verifier.toJSON(r))),e}};JC.DSSELogEntryV002={fromJSON(t){return{payloadHash:Iqe(t.payloadHash)?wqe.HashOutput.fromJSON(t.payloadHash):void 0,signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>fL.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payloadHash!==void 0&&(e.payloadHash=wqe.HashOutput.toJSON(t.payloadHash)),t.signatures?.length&&(e.signatures=t.signatures.map(r=>fL.Signature.toJSON(r))),e}};function Iqe(t){return t!=null}o(Iqe,"isSet")});var UZ=m(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.HashedRekordLogEntryV002=YC.HashedRekordRequestV002=void 0;var Sqe=Df(),dL=uL();YC.HashedRekordRequestV002={fromJSON(t){return{digest:hL(t.digest)?Buffer.from(mzt(t.digest)):Buffer.alloc(0),signature:hL(t.signature)?dL.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.digest.length!==0&&(e.digest=Azt(t.digest)),t.signature!==void 0&&(e.signature=dL.Signature.toJSON(t.signature)),e}};YC.HashedRekordLogEntryV002={fromJSON(t){return{data:hL(t.data)?Sqe.HashOutput.fromJSON(t.data):void 0,signature:hL(t.signature)?dL.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.data!==void 0&&(e.data=Sqe.HashOutput.toJSON(t.data)),t.signature!==void 0&&(e.signature=dL.Signature.toJSON(t.signature)),e}};function mzt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(mzt,"bytesFromBase64");function Azt(t){return globalThis.Buffer.from(t).toString("base64")}o(Azt,"base64FromBytes");function hL(t){return t!=null}o(hL,"isSet")});var Bqe=m(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.CreateEntryRequest=fu.Spec=fu.Entry=void 0;var pL=MZ(),mL=UZ();fu.Entry={fromJSON(t){return{kind:fA(t.kind)?globalThis.String(t.kind):"",apiVersion:fA(t.apiVersion)?globalThis.String(t.apiVersion):"",spec:fA(t.spec)?fu.Spec.fromJSON(t.spec):void 0}},toJSON(t){let e={};return t.kind!==""&&(e.kind=t.kind),t.apiVersion!==""&&(e.apiVersion=t.apiVersion),t.spec!==void 0&&(e.spec=fu.Spec.toJSON(t.spec)),e}};fu.Spec={fromJSON(t){return{spec:fA(t.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:mL.HashedRekordLogEntryV002.fromJSON(t.hashedRekordV002)}:fA(t.dsseV002)?{$case:"dsseV002",dsseV002:pL.DSSELogEntryV002.fromJSON(t.dsseV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordV002"?e.hashedRekordV002=mL.HashedRekordLogEntryV002.toJSON(t.spec.hashedRekordV002):t.spec?.$case==="dsseV002"&&(e.dsseV002=pL.DSSELogEntryV002.toJSON(t.spec.dsseV002)),e}};fu.CreateEntryRequest={fromJSON(t){return{spec:fA(t.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:mL.HashedRekordRequestV002.fromJSON(t.hashedRekordRequestV002)}:fA(t.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:pL.DSSERequestV002.fromJSON(t.dsseRequestV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordRequestV002"?e.hashedRekordRequestV002=mL.HashedRekordRequestV002.toJSON(t.spec.hashedRekordRequestV002):t.spec?.$case==="dsseRequestV002"&&(e.dsseRequestV002=pL.DSSERequestV002.toJSON(t.spec.dsseRequestV002)),e}};function fA(t){return t!=null}o(fA,"isSet")});var vqe=m(du=>{"use strict";var gzt=du&&du.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),AL=du&&du.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&gzt(e,t,r)};Object.defineProperty(du,"__esModule",{value:!0});AL(MZ(),du);AL(Bqe(),du);AL(UZ(),du);AL(uL(),du)});var xqe=m(dA=>{"use strict";Object.defineProperty(dA,"__esModule",{value:!0});dA.DSSE_API_VERSION_V1=void 0;dA.verifyDSSETLogBody=yzt;dA.verifyDSSETLogBodyV2=Ezt;var Lf=Ui();dA.DSSE_API_VERSION_V1="0.0.1";function yzt(t,e){if(t.apiVersion===dA.DSSE_API_VERSION_V1)return Czt(t,e);throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported dsse version: ${t.apiVersion}`})}o(yzt,"verifyDSSETLogBody");function Ezt(t,e){let r=t.spec?.spec;if(!r)throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="dsseV002")return bzt(r.dsseV002,e);throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(Ezt,"verifyDSSETLogBodyV2");function Czt(t,e){if(t.spec.signatures?.length!==1)throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.spec.signatures[0].signature;if(!e.compareSignature(Buffer.from(r,"base64")))throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.spec.payloadHash?.value||"";if(!e.compareDigest(Buffer.from(n,"hex")))throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(Czt,"verifyDSSE001TLogBody");function bzt(t,e){if(t.signatures?.length!==1)throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.signatures[0].content;if(!e.compareSignature(r))throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.payloadHash?.digest||Buffer.from("");if(!e.compareDigest(n))throw new Lf.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(bzt,"verifyDSSE002TLogBody")});var _qe=m(pA=>{"use strict";Object.defineProperty(pA,"__esModule",{value:!0});pA.HASHEDREKORD_API_VERSION_V1=void 0;pA.verifyHashedRekordTLogBody=wzt;pA.verifyHashedRekordTLogBodyV2=Izt;var hA=Ui();pA.HASHEDREKORD_API_VERSION_V1="0.0.1";function wzt(t,e){if(t.apiVersion===pA.HASHEDREKORD_API_VERSION_V1)return Szt(t,e);throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported hashedrekord version: ${t.apiVersion}`})}o(wzt,"verifyHashedRekordTLogBody");function Izt(t,e){let r=t.spec?.spec;if(!r)throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="hashedRekordV002")return Bzt(r.hashedRekordV002,e);throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(Izt,"verifyHashedRekordTLogBodyV2");function Szt(t,e){let r=t.spec.signature.content||"";if(!e.compareSignature(Buffer.from(r,"base64")))throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.spec.data.hash?.value||"";if(!e.compareSignedDigest(Buffer.from(n,"hex")))throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(Szt,"verifyHashedrekord001TLogBody");function Bzt(t,e){let r=t.signature?.content||Buffer.from("");if(!e.compareSignature(r))throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.data?.digest||Buffer.from("");if(!e.compareSignedDigest(n))throw new hA.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(Bzt,"verifyHashedrekord002TLogBody")});var Nqe=m(qZ=>{"use strict";Object.defineProperty(qZ,"__esModule",{value:!0});qZ.verifyIntotoTLogBody=vzt;var gL=Ui();function vzt(t,e){if(t.apiVersion==="0.0.2")return xzt(t,e);throw new gL.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported intoto version: ${t.apiVersion}`})}o(vzt,"verifyIntotoTLogBody");function xzt(t,e){if(t.spec.content.envelope.signatures?.length!==1)throw new gL.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=_zt(t.spec.content.envelope.signatures[0].sig);if(!e.compareSignature(Buffer.from(r,"base64")))throw new gL.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.spec.content.payloadHash?.value||"";if(!e.compareDigest(Buffer.from(n,"hex")))throw new gL.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(xzt,"verifyIntoto002TLogBody");function _zt(t){return Buffer.from(t,"base64").toString("utf-8")}o(_zt,"base64Decode")});var Tqe=m(dv=>{"use strict";Object.defineProperty(dv,"__esModule",{value:!0});dv.LogCheckpoint=void 0;dv.verifyCheckpoint=Rzt;var Rqe=xc(),KC=Ui(),GZ=` -`,hVt=/\u2014 (\S+) (\S+)\n/g;function pVt(t,e){let r=t.inclusionProof,n=QX.fromString(r.checkpoint.envelope),i=qO.fromString(n.note);if(!AVt(n,e))throw new QC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}o(pVt,"verifyCheckpoint");function AVt(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let i=e.find(s=>FMe.crypto.bufferEqual(s.logID.subarray(0,4),n.keyHint)&&s.baseURL.includes(n.name));return i?FMe.crypto.verify(r,i.publicKey,n.signature):!1})}o(AVt,"verifySignedNote");var QX=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(DX))throw new QC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(DX),n=e.slice(0,r+1),s=e.slice(r+DX.length).matchAll(hVt),a=Array.from(s,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new QC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:l,keyHint:d.subarray(0,4),signature:d.subarray(4)}});if(a.length===0)throw new QC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},qO=class t{static{o(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,n,i){this.origin=e,this.logSize=r,this.logHash=n,this.rest=i}static fromString(e){let r=e.trimEnd().split(` -`);if(r.length<3)throw new QC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],i;try{i=BigInt(r[1])}catch{throw new QC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint log size"})}let s=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,i,s,a)}};qB.LogCheckpoint=qO});var UMe=A(OX=>{"use strict";Object.defineProperty(OX,"__esModule",{value:!0});OX.verifyMerkleInclusion=yVt;var PX=Ic(),GO=Mi(),mVt=Buffer.from([0]),gVt=Buffer.from([1]);function yVt(t,e){let r=t.inclusionProof,n;try{n=BigInt(r.logIndex)}catch{throw new GO.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid inclusion proof log index"})}let i=BigInt(e.logSize);if(n<0n||n>=i)throw new GO.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:s,border:a}=EVt(n,i);if(r.hashes.length!==s+a)throw new GO.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,s),l=r.hashes.slice(s),u=BVt(t.canonicalizedBody),d=bVt(CVt(u,c,n),l);if(!PX.crypto.bufferEqual(d,e.logHash))throw new GO.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(yVt,"verifyMerkleInclusion");function EVt(t,e){let r=IVt(t,e),n=wVt(t>>BigInt(r));return{inner:r,border:n}}o(EVt,"decompInclProof");function CVt(t,e,r){return e.reduce((n,i,s)=>r>>BigInt(s)&BigInt(1)?kX(i,n):kX(n,i),t)}o(CVt,"chainInner");function bVt(t,e){return e.reduce((r,n)=>kX(n,r),t)}o(bVt,"chainBorderRight");function IVt(t,e){return SVt(t^e-BigInt(1))}o(IVt,"innerProofSize");function wVt(t){return t.toString(2).split("1").length-1}o(wVt,"onesCount");function SVt(t){return t===0n?0:t.toString(2).length}o(SVt,"bitLength");function kX(t,e){return PX.crypto.digest("sha256",gVt,t,e)}o(kX,"hashChildren");function BVt(t){return PX.crypto.digest("sha256",mVt,t)}o(BVt,"hashLeaf")});var GMe=A(LX=>{"use strict";Object.defineProperty(LX,"__esModule",{value:!0});LX.verifyTLogSET=NVt;var qMe=Ic(),xVt=Mi(),vVt=_C();function NVt(t,e){if(!(0,vVt.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let s=_Vt(t),a=Buffer.from(qMe.json.canonicalize(s),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return qMe.crypto.verify(a,i.publicKey,c)}))throw new xVt.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(NVt,"verifyTLogSET");function _Vt(t){let{integratedTime:e,logIndex:r,logId:n,canonicalizedBody:i}=t;return{body:i.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:n.keyId.toString("hex")}}o(_Vt,"toVerificationPayload")});var VMe=A(VO=>{"use strict";Object.defineProperty(VO,"__esModule",{value:!0});VO.verifyTLogBody=kVt;VO.verifyTLogInclusion=PVt;var HMe=kMe(),HO=Mi(),FX=PMe(),MX=OMe(),TVt=LMe(),RVt=MMe(),DVt=UMe(),QVt=GMe();function kVt(t,e){let{kind:r,version:n}=t.kindVersion,i;try{i=JSON.parse(t.canonicalizedBody.toString("utf8"))}catch{throw new HO.VerificationError({code:"TLOG_BODY_ERROR",message:"invalid canonicalized body"})}if(r!==i.kind||n!==i.apiVersion)throw new HO.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${n}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(n==FX.DSSE_API_VERSION_V1)return(0,FX.verifyDSSETLogBody)(i,e);{let s=HMe.Entry.fromJSON(i);return(0,FX.verifyDSSETLogBodyV2)(s,e)}case"intoto":return(0,TVt.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(n==MX.HASHEDREKORD_API_VERSION_V1)return(0,MX.verifyHashedRekordTLogBody)(i,e);{let s=HMe.Entry.fromJSON(i);return(0,MX.verifyHashedRekordTLogBodyV2)(s,e)}default:throw new HO.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(kVt,"verifyTLogBody");function PVt(t,e){let r=!1;if(OVt(t)&&((0,QVt.verifyTLogSET)(t,e),r=!0),LVt(t)){let n=(0,RVt.verifyCheckpoint)(t,e);(0,DVt.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new HO.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(PVt,"verifyTLogInclusion");function OVt(t){return t.inclusionPromise!==void 0}o(OVt,"isTLogEntryWithInclusionPromise");function LVt(t){return t.inclusionProof!==void 0}o(LVt,"isTLogEntryWithInclusionProof")});var WMe=A(zO=>{"use strict";Object.defineProperty(zO,"__esModule",{value:!0});zO.Verifier=void 0;var FVt=require("util"),rm=Mi(),zMe=IMe(),UX=wMe(),$Me=xMe(),jMe=VMe(),GX=class{static{o(this,"Verifier")}trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let n=this.verifyTimestamps(e),i=this.verifySigningKey(e,n);return this.verifyTLogs(e),this.verifySignature(e,i),r&&this.verifyPolicy(r,i.identity||{}),i}verifyTimestamps(e){let r=[];for(let n of e.timestamps)switch(n.$case){case"timestamp-authority":r.push((0,$Me.getTSATimestamp)(n.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let i=(0,$Me.getTLogTimestamp)(n.tlogEntry);i&&r.push(i);break}}if(qX(r))throw new rm.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.lengthn.timestamp)}verifySigningKey({key:e},r){switch(e.$case){case"public-key":return(0,zMe.verifyPublicKey)(e.hint,r,this.trustMaterial);case"certificate":{let n=(0,zMe.verifyCertificate)(e.certificate,r,this.trustMaterial);if(qX(n.scts))throw new rm.VerificationError({code:"CERTIFICATE_ERROR",message:"duplicate SCT"});if(n.scts.length{(0,jMe.verifyTLogInclusion)(i,this.trustMaterial.tlogs),(0,jMe.verifyTLogBody)(i,e),n.push({logID:i.logId.keyId,logIndex:i.logIndex})}),qX(n))throw new rm.VerificationError({code:"TLOG_ERROR",message:"duplicate tlog entry"});if(n.length{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.Verifier=ka.toTrustMaterial=ka.VerificationError=ka.PolicyError=ka.toSignedEntity=void 0;var MVt=mMe();Object.defineProperty(ka,"toSignedEntity",{enumerable:!0,get:o(function(){return MVt.toSignedEntity},"get")});var JMe=Mi();Object.defineProperty(ka,"PolicyError",{enumerable:!0,get:o(function(){return JMe.PolicyError},"get")});Object.defineProperty(ka,"VerificationError",{enumerable:!0,get:o(function(){return JMe.VerificationError},"get")});var UVt=_C();Object.defineProperty(ka,"toTrustMaterial",{enumerable:!0,get:o(function(){return UVt.toTrustMaterial},"get")});var qVt=WMe();Object.defineProperty(ka,"Verifier",{enumerable:!0,get:o(function(){return qVt.Verifier},"get")})});var bUe=N(require("fs"),1),IUe=N(require("path"),1);var QZ=N(require("os"),1);function hu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(hu,"toCommandValue");function AL(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(AL,"toCommandProperties");function pu(t,e,r){let n=new mL(t,e,r);process.stdout.write(n.toString()+QZ.EOL)}o(pu,"issueCommand");function gL(t,e=""){pu(t,{},e)}o(gL,"issue");var DZ="::",mL=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=DZ+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${lqe(i)}`)}}return e+=`${DZ}${cqe(this.message)}`,e}};function cqe(t){return hu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(cqe,"escapeData");function lqe(t){return hu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(lqe,"escapeProperty");var kZ=N(require("crypto"),1),Cx=N(require("fs"),1),Ex=N(require("os"),1);function bx(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Cx.existsSync(r))throw new Error(`Missing file at path: ${r}`);Cx.appendFileSync(r,`${hu(e)}${Ex.EOL}`,{encoding:"utf8"})}o(bx,"issueFileCommand");function yL(t,e){let r=`ghadelimiter_${kZ.randomUUID()}`,n=hu(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Ex.EOL}${n}${Ex.EOL}${r}`}o(yL,"prepareKeyValueMessage");var cq=N(require("os"),1),Qce=N(require("path"),1);var Zb=N(require("http"),1),WU=N(require("https"),1);function EL(t){let e=t.protocol==="https:";if(uqe(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 Ix(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Ix(`http://${r}`)}else return}o(EL,"getProxyUrl");function uqe(t){if(!t.hostname)return!1;let e=t.hostname;if(dqe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(uqe,"checkBypass");function dqe(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(dqe,"isLoopbackAddress");var Ix=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 Zd=N(um(),1),fce=N(Xd(),1);var Xr=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Hn;(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"})(Hn||(Hn={}));var Hi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Hi||(Hi={}));var Tu;(function(t){t.ApplicationJson="application/json"})(Tu||(Tu={}));var xJe=[Hn.MovedPermanently,Hn.ResourceMoved,Hn.SeeOther,Hn.TemporaryRedirect,Hn.PermanentRedirect],vJe=[Hn.BadGateway,Hn.ServiceUnavailable,Hn.GatewayTimeout],NJe=["OPTIONS","GET","DELETE","HEAD"],_Je=10,TJe=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)}},jU=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Xr(this,void 0,void 0,function*(){return new Promise(e=>Xr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Xr(this,void 0,void 0,function*(){return new Promise(e=>Xr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Uo=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Xr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Xr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Xr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Xr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Xr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Xr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Xr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Xr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Xr(this,arguments,void 0,function*(r,n={}){n[Hi.Accept]=this._getExistingOrDefaultHeader(n,Hi.Accept,Tu.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,Tu.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Tu.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,Tu.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Tu.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,Tu.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Tu.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Xr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&NJe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Hn.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&xJe.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!vJe.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new jU(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=EL(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?WU:Zb;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Xb(this.requestOptions.headers),Xb(e||{})):Xb(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=Xb(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=Xb(this.requestOptions.headers)[Hi.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Hi.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=EL(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Zb.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?Zd.httpsOverHttps:Zd.httpsOverHttp:l=u?Zd.httpOverHttps:Zd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new WU.Agent(c):new Zb.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new fce.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Xr(this,void 0,void 0,function*(){e=Math.min(_Je,e);let r=TJe*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Xr(this,void 0,void 0,function*(){return new Promise((n,i)=>Xr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Hn.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}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(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new $U(d,s);f.result=a.result,i(f)}else n(a)}))})}},Xb=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var RJe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};var ef=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 RJe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Ace=require("os"),e0=require("fs");var JU=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:DJe,appendFile:QJe,writeFile:kJe}=e0.promises,pce="GITHUB_STEP_SUMMARY";var YU=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return JU(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[pce];if(!e)throw new Error(`Unable to find environment variable for $${pce}. Check if your runtime environment supports job summaries.`);try{yield DJe(e,e0.constants.R_OK|e0.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return JU(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?kJe:QJe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return JU(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(Ace.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},PJe=new YU;var KU=PJe;var oq=N(require("os"),1);var sq=require("string_decoder");var r0=N(require("os"),1),iq=N(require("events"),1),Nce=N(require("child_process"),1),_ce=N(require("path"),1);var wce=require("assert"),ro=N(require("path"),1);var t0=N(require("fs"),1),tf=N(require("path"),1);var XU=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{chmod:ZU,copyFile:gce,lstat:gN,mkdir:yce,open:$jt,readdir:eq,rename:OJe,rm:Ece,rmdir:jjt,stat:ep,symlink:Cce,unlink:tq}=t0.promises,Lc=process.platform==="win32";function bce(t){return XU(this,void 0,void 0,function*(){let e=yield t0.promises.readlink(t);return Lc&&!e.endsWith("\\")?`${e}\\`:e})}o(bce,"readlink");var Wjt=t0.constants.O_RDONLY;function ag(t){return XU(this,void 0,void 0,function*(){try{yield ep(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(ag,"exists");function yN(t){if(t=LJe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Lc?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(yN,"isRooted");function rq(t,e){return XU(this,void 0,void 0,function*(){let r;try{r=yield ep(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Lc){let i=tf.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(mce(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield ep(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(Lc){try{let s=tf.dirname(t),a=tf.basename(t).toUpperCase();for(let c of yield eq(s))if(a===c.toUpperCase()){t=tf.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(mce(r))return t}}return""})}o(rq,"tryGetExecutablePath");function LJe(t){return t=t||"",Lc?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(LJe,"normalizeSeparators");function mce(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(mce,"isUnixExecutable");var tp=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Sce(t,e){return tp(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=MJe(i),l=(yield ag(n))?yield ep(n):null;if(l&&l.isFile()&&!s)return;let u=l&&l.isDirectory()&&c?ro.join(n,ro.basename(r)):n;if(!(yield ag(r)))throw new Error(`no such file or directory: ${r}`);if((yield ep(r)).isDirectory())if(a)yield Bce(r,u,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(ro.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield xce(r,u,s)}})}o(Sce,"cp");function EN(t){return tp(this,void 0,void 0,function*(){if(Lc&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Ece(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(EN,"rmRF");function Ru(t){return tp(this,void 0,void 0,function*(){(0,wce.ok)(t,"a path argument must be provided"),yield yce(t,{recursive:!0})})}o(Ru,"mkdirP");function ci(t,e){return tp(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield ci(t,!1);if(!n)throw Lc?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 n}let r=yield FJe(t);return r&&r.length>0?r[0]:""})}o(ci,"which");function FJe(t){return tp(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Lc&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(ro.delimiter))i&&e.push(i);if(yN(t)){let i=yield rq(t,e);return i?[i]:[]}if(t.includes(ro.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(ro.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield rq(ro.join(i,t),e);s&&n.push(s)}return n})}o(FJe,"findInPath");function MJe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(MJe,"readCopyOptions");function Bce(t,e,r,n){return tp(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ru(e);let i=yield eq(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield gN(a)).isDirectory()?yield Bce(a,c,r,n):yield xce(a,c,n)}yield ZU(e,(yield ep(t)).mode)})}o(Bce,"cpDirRecursive");function xce(t,e,r){return tp(this,void 0,void 0,function*(){if((yield gN(t)).isSymbolicLink()){try{yield gN(e),yield tq(e)}catch(i){i.code==="EPERM"&&(yield ZU(e,"0666"),yield tq(e))}let n=yield bce(t);yield Cce(n,e,Lc?"junction":null)}else(!(yield ag(e))||r)&&(yield gce(t,e))})}o(xce,"copyFile");var Tce=require("timers");var vce=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},CN=process.platform==="win32",bN=class extends iq.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),i=this._getSpawnArgs(e),s=r?"":"[command]";if(CN)if(this._isCmdFile()){s+=n;for(let a of i)s+=` ${a}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let a of i)s+=` ${a}`}else{s+=this._windowsQuoteCmdArg(n);for(let a of i)s+=` ${this._windowsQuoteCmdArg(a)}`}else{s+=n;for(let a of i)s+=` ${a}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(r0.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+r0.EOL.length),s=i.indexOf(r0.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return CN&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(CN&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);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=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.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='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!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 n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return vce(this,void 0,void 0,function*(){return!yN(this.toolPath)&&(this.toolPath.includes("/")||CN&&this.toolPath.includes("\\"))&&(this.toolPath=_ce.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ci(this.toolPath,!0),new Promise((e,r)=>vce(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 n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+r0.EOL);let i=new nq(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield ag(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Nce.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!n.silent&&n.outStream&&n.outStream.write(u),c=this._processLineBuffer(u,c,d=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(d)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(u),l=this._processLineBuffer(u,l,d=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(d)})}),a.on("error",u=>{i.processError=u.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",u=>{i.processExitCode=u,i.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",u=>{i.processExitCode=u,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(u,d)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(d)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function Rce(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(Rce,"argStringToArray");var nq=class t extends iq.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,Tce.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 Dce=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function no(t,e,r){return Dce(this,void 0,void 0,function*(){let n=Rce(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return e=n.slice(1).concat(e||[]),new bN(i,e,r).exec()})}o(no,"exec");function lg(t,e,r){return Dce(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new sq.StringDecoder("utf8"),l=new sq.StringDecoder("utf8"),u=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,d=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,f=o(m=>{a+=l.write(m),d&&d(m)},"stdErrListener"),h=o(m=>{s+=c.write(m),u&&u(m)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:h,stderr:f}),g=yield no(t,e,Object.assign(Object.assign({},r),{listeners:p}));return s+=c.end(),a+=l.end(),{exitCode:g,stdout:s,stderr:a}})}o(lg,"getExecOutput");var e8t=oq.default.platform(),t8t=oq.default.arch();var GJe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},aq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(aq||(aq={}));function Oc(t){pu("add-mask",{},t)}o(Oc,"setSecret");function Fc(t){process.env.GITHUB_PATH||""?bx("PATH",t):pu("add-path",{},t),process.env.PATH=`${t}${Qce.delimiter}${process.env.PATH}`}o(Fc,"addPath");function li(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(li,"getInput");function rp(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=li(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(rp,"getBooleanInput");function IN(t,e){if(process.env.GITHUB_OUTPUT||"")return bx("OUTPUT",yL(t,e));process.stdout.write(cq.EOL),pu("set-output",{name:t},hu(e))}o(IN,"setOutput");function wN(t){process.exitCode=aq.Failure,dg(t)}o(wN,"setFailed");function np(){return process.env.RUNNER_DEBUG==="1"}o(np,"isDebug");function R(t){pu("debug",{},t)}o(R,"debug");function dg(t,e={}){pu("error",AL(e),t instanceof Error?t.toString():t)}o(dg,"error");function ut(t,e={}){pu("warning",AL(e),t instanceof Error?t.toString():t)}o(ut,"warning");function O(t){process.stdout.write(t+cq.EOL)}o(O,"info");function HJe(t){gL("group",t)}o(HJe,"startGroup");function VJe(){gL("endgroup")}o(VJe,"endGroup");function kr(t,e){return GJe(this,void 0,void 0,function*(){HJe(t);let r;try{r=yield e()}finally{VJe()}return r})}o(kr,"group");function ja(t,e){if(process.env.GITHUB_STATE||"")return bx("STATE",yL(t,e));pu("save-state",{name:t},hu(e))}o(ja,"saveState");function kce(t){return process.env[`STATE_${t}`]||""}o(kce,"getState");var WI=N(require("fs"),1),b$=N(require("os"),1),I$=N(require("path"),1);var Oce=N(require("os"),1);function n0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(n0,"toCommandValue");function Lce(t,e,r){let n=new lq(t,e,r);process.stdout.write(n.toString()+Oce.EOL)}o(Lce,"issueCommand");var Pce="::",lq=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=Pce+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${$Je(i)}`)}}return e+=`${Pce}${zJe(this.message)}`,e}};function zJe(t){return n0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(zJe,"escapeData");function $Je(t){return n0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($Je,"escapeProperty");var qce=N(require("os"),1);var Mce=require("os"),i0=require("fs");var uq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:jJe,appendFile:WJe,writeFile:JJe}=i0.promises,Fce="GITHUB_STEP_SUMMARY";var dq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return uq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Fce];if(!e)throw new Error(`Unable to find environment variable for $${Fce}. Check if your runtime environment supports job summaries.`);try{yield jJe(e,i0.constants.R_OK|i0.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return uq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?JJe:WJe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return uq(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(Mce.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},T8t=new dq;var fq=N(require("os"),1);var P8t=fq.default.platform(),O8t=fq.default.arch();var Uce;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Uce||(Uce={}));function hq(){return process.env.RUNNER_DEBUG==="1"}o(hq,"isDebug");function Zt(t){Lce("debug",{},t)}o(Zt,"debug");function pq(t){process.stdout.write(t+qce.EOL)}o(pq,"info");var Oq=N(require("crypto"),1),vi=N(require("fs"),1);var $Ke=N(kq(),1);var FN=N(require("os"),1),Wa=N(require("path"),1);var Ho=N(kq(),1),Due=N(require("stream"),1),Que=N(require("util"),1),Lq=require("assert");var Rue=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},ON=class{static{o(this,"RetryHelper")}constructor(e,r,n){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(n),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return Rue(this,void 0,void 0,function*(){let n=1;for(;nsetTimeout(r,e*1e3))})}};var Uc=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},LN=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},kue=process.platform==="win32",UWt=process.platform==="darwin",WKe="actions/tool-cache";function Vo(t,e,r,n){return Uc(this,void 0,void 0,function*(){e=e||Wa.join(que(),Oq.randomUUID()),yield Ru(Wa.dirname(e)),Zt(`Downloading ${t}`),Zt(`Destination ${e}`);let i=3,s=Pq("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=Pq("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new ON(i,s,a).execute(()=>Uc(this,void 0,void 0,function*(){return yield JKe(t,e||"",r,n)}),l=>!(l instanceof LN&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(Vo,"downloadTool");function JKe(t,e,r,n){return Uc(this,void 0,void 0,function*(){if(vi.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new Uo(WKe,[],{allowRetries:!1});r&&(Zt("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let d=new LN(s.message.statusCode);throw Zt(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),d}let a=Que.promisify(Due.pipeline),l=Pq("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),u=!1;try{return yield a(l,vi.createWriteStream(e)),Zt("download complete"),u=!0,e}finally{if(!u){Zt("download failed");try{yield EN(e)}catch(d){Zt(`Failed to delete '${e}'. ${d.message}`)}}}})}o(JKe,"downloadToolAttempt");function Pue(t,e){return Uc(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield Mue(n),Zt("Checking tar --version");let s="";yield no("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(d=>s+=d.toString(),"stdout"),stderr:o(d=>s+=d.toString(),"stderr")}}),Zt(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],hq()&&!i.includes("v")&&c.push("-v");let l=n,u=r;return kue&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),u=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",u),yield no("tar",c),n})}o(Pue,"extractTar");function Oue(t,e){return Uc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Mue(e),kue?yield YKe(t,e):yield KKe(t,e),e})}o(Oue,"extractZip");function YKe(t,e){return Uc(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ci("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];Zt(`Using pwsh at path: ${i}`),yield no(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],c=yield ci("powershell",!0);Zt(`Using powershell at path: ${c}`),yield no(`"${c}"`,a)}})}o(YKe,"extractZipWin");function KKe(t,e){return Uc(this,void 0,void 0,function*(){let r=yield ci("unzip",!0),n=[t];hq()||n.unshift("-q"),n.unshift("-o"),yield no(`"${r}"`,n,{cwd:e})})}o(KKe,"extractZipNix");function Lue(t,e,r,n){return Uc(this,void 0,void 0,function*(){if(r=Ho.clean(r)||r,n=n||FN.arch(),Zt(`Caching tool ${e} ${r} ${n}`),Zt(`source dir: ${t}`),!vi.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield ZKe(e,r,n);for(let s of vi.readdirSync(t)){let a=Wa.join(t,s);yield Sce(a,i,{recursive:!0})}return e7e(e,r,n),i})}o(Lue,"cacheDir");function Fue(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||FN.arch(),!Uue(e)){let i=XKe(t,r);e=t7e(i,e)}let n="";if(e){e=Ho.clean(e)||"";let i=Wa.join(MN(),t,e,r);Zt(`checking cache: ${i}`),vi.existsSync(i)&&vi.existsSync(`${i}.complete`)?(Zt(`Found tool in cache ${t} ${e} ${r}`),n=i):Zt("not found")}return n}o(Fue,"find");function XKe(t,e){let r=[];e=e||FN.arch();let n=Wa.join(MN(),t);if(vi.existsSync(n)){let i=vi.readdirSync(n);for(let s of i)if(Uue(s)){let a=Wa.join(n,s,e||"");vi.existsSync(a)&&vi.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(XKe,"findAllVersions");function Mue(t){return Uc(this,void 0,void 0,function*(){return t||(t=Wa.join(que(),Oq.randomUUID())),yield Ru(t),t})}o(Mue,"_createExtractFolder");function ZKe(t,e,r){return Uc(this,void 0,void 0,function*(){let n=Wa.join(MN(),t,Ho.clean(e)||e,r||"");Zt(`destination ${n}`);let i=`${n}.complete`;return yield EN(n),yield EN(i),yield Ru(n),n})}o(ZKe,"_createToolPath");function e7e(t,e,r){let i=`${Wa.join(MN(),t,Ho.clean(e)||e,r||"")}.complete`;vi.writeFileSync(i,""),Zt("finished caching tool")}o(e7e,"_completeToolPath");function Uue(t){let e=Ho.clean(t)||"";Zt(`isExplicit: ${e}`);let r=Ho.valid(e)!=null;return Zt(`explicit? ${r}`),r}o(Uue,"isExplicitVersion");function t7e(t,e){let r="";Zt(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Ho.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Ho.satisfies(i,e)){r=i;break}}return r?Zt(`matched: ${r}`):Zt("match not found"),r}o(t7e,"evaluateVersions");function MN(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Lq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(MN,"_getCacheDirectory");function que(){let t=process.env.RUNNER_TEMP||"";return(0,Lq.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(que,"_getTempDirectory");function Pq(t,e){let r=global[t];return r!==void 0?r:e}o(Pq,"_getGlobal");var jI=N(require("path"),1);var Hue=N(require("os"),1);function f0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(f0,"toCommandValue");function Vue(t,e,r){let n=new Fq(t,e,r);process.stdout.write(n.toString()+Hue.EOL)}o(Vue,"issueCommand");var Gue="::",Fq=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=Gue+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${n7e(i)}`)}}return e+=`${Gue}${r7e(this.message)}`,e}};function r7e(t){return f0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(r7e,"escapeData");function n7e(t){return f0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(n7e,"escapeProperty");var $ue=require("os"),h0=require("fs");var Mq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:i7e,appendFile:s7e,writeFile:o7e}=h0.promises,zue="GITHUB_STEP_SUMMARY";var Uq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Mq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[zue];if(!e)throw new Error(`Unable to find environment variable for $${zue}. Check if your runtime environment supports job summaries.`);try{yield i7e(e,h0.constants.R_OK|h0.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return Mq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?o7e:s7e)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Mq(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($ue.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},rJt=new Uq;var qq=N(require("os"),1);var aJt=qq.default.platform(),cJt=qq.default.arch();var jue;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(jue||(jue={}));function zo(t){Vue("debug",{},t)}o(zo,"debug");var gg=N(require("fs"),1);function Hq(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,zo(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,zo(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,zo(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,zo(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,zo(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Hq,"getOptions");var VN=N(require("path"),1);var pg=N(require("path"),1),rf=N(require("assert"),1);var nf=process.platform==="win32";function Qu(t){if(t=Du(t),nf&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=pg.dirname(t);return nf&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Du(e)),e}o(Qu,"dirname");function UN(t,e){if((0,rf.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,rf.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),p0(e))return e;if(nf){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,rf.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(Ja(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,rf.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,rf.default)(p0(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||nf&&t.endsWith("\\")||(t+=pg.sep),t+e}o(UN,"ensureAbsoluteRoot");function p0(t){return(0,rf.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Ja(t),nf?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(p0,"hasAbsoluteRoot");function A0(t){return(0,rf.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Ja(t),nf?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(A0,"hasRoot");function Ja(t){return t=t||"",nf?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Ja,"normalizeSeparators");function Du(t){return t?(t=Ja(t),!t.endsWith(pg.sep)||t===pg.sep||nf&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Du,"safeTrimTrailingSeparator");var Ya;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Ya||(Ya={}));var Wue=process.platform==="win32";function zq(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=Wue?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=Wue?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=Qu(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=Qu(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(zq,"getSearchPaths");function Jue(t,e){let r=Ya.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(Jue,"match");function Yue(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(Yue,"partialMatch");var gde=N(require("os"),1),mg=N(require("path"),1);var of=N(require("assert"),1),yde=N(mde(),1);var op=N(require("path"),1);var Ag=N(require("assert"),1);var Q7e=process.platform==="win32",ap=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Ag.default)(e,"Parameter 'itemPath' must not be empty"),e=Du(e),!A0(e))this.segments=e.split(op.sep);else{let r=e,n=Qu(r);for(;n!==r;){let i=op.basename(r);this.segments.unshift(i),r=n,n=Qu(r)}this.segments.unshift(r)}else{(0,Ag.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 ap(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),ku?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:ku,nocomment:!0,noext:!0,nonegate:!0};s=ku?s.replace(/\\/g,"/"):s,this.minimatch=new k7e(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Ja(e),!e.endsWith(mg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${mg.sep}`)):e=Du(e),this.minimatch.match(e)?this.trailingSeparator?Ya.Directory:Ya.All:Ya.None}partialMatch(e){return e=Du(e),Qu(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(ku?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(ku?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,of.default)(e,"pattern cannot be empty");let n=new ap(e).segments.map(i=>t.getLiteral(i));if((0,of.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,of.default)(!A0(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Ja(e),e==="."||e.startsWith(`.${mg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${mg.sep}`))r=r||gde.homedir(),(0,of.default)(r,"Unable to determine HOME directory"),(0,of.default)(p0(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(ku&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=UN("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(ku&&(e==="\\"||e.match(/^\\[^\\]/))){let i=UN("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=UN(t.globEscape(process.cwd()),e);return Ja(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var E0=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var Xq=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},P7e=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={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}},af=function(t){return this instanceof af?(this.v=t,this):new af(t)},O7e=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(g){return Promise.resolve(g).then(p,f)}}function c(p,g){n[p]&&(i[p]=function(m){return new Promise(function(E,y){s.push([p,m,E,y])>1||l(p,m)})},g&&(i[p]=g(i[p])))}function l(p,g){try{u(n[p](g))}catch(m){h(s[0][3],m)}}function u(p){p.value instanceof af?Promise.resolve(p.value.v).then(d,f):h(s[0][2],p)}function d(p){l("next",p)}function f(p){l("throw",p)}function h(p,g){p(g),s.shift(),s.length&&l(s[0][0],s[0][1])}},L7e=process.platform==="win32",HN=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Hq(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Xq(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=P7e(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let u=i;s.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return O7e(this,arguments,o(function*(){let r=Hq(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new y0(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of zq(n)){zo(`Search path '${a}'`);try{yield af(gg.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new E0(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=Jue(n,a.path),l=!!c||Yue(n,a.path);if(!c&&!l)continue;let u=yield af(t.stat(a,r,s));if(u&&!(r.excludeHiddenFiles&&VN.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&Ya.Directory&&r.matchDirectories)yield yield af(a.path);else if(!l)continue;let d=a.level+1,f=(yield af(gg.promises.readdir(a.path))).map(h=>new E0(VN.join(a.path,h),d));i.push(...f.reverse())}else c&Ya.File&&(yield yield af(a.path))}},"globGenerator_1"))}static create(e,r){return Xq(this,void 0,void 0,function*(){let n=new t(r);L7e&&(e=e.replace(/\r\n/g,` +`,Nzt=/\u2014 (\S+) (\S+)\n/g;function Rzt(t,e){let r=t.inclusionProof,n=HZ.fromString(r.checkpoint.envelope),i=yL.fromString(n.note);if(!Tzt(n,e))throw new KC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}o(Rzt,"verifyCheckpoint");function Tzt(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let i=e.find(s=>Rqe.crypto.bufferEqual(s.logID.subarray(0,4),n.keyHint)&&s.baseURL.includes(n.name));return i?Rqe.crypto.verify(r,i.publicKey,n.signature):!1})}o(Tzt,"verifySignedNote");var HZ=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(GZ))throw new KC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(GZ),n=e.slice(0,r+1),s=e.slice(r+GZ.length).matchAll(Nzt),a=Array.from(s,c=>{let[,l,u]=c,f=Buffer.from(u,"base64");if(f.length<5)throw new KC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:l,keyHint:f.subarray(0,4),signature:f.subarray(4)}});if(a.length===0)throw new KC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},yL=class t{static{o(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,n,i){this.origin=e,this.logSize=r,this.logHash=n,this.rest=i}static fromString(e){let r=e.trimEnd().split(` +`);if(r.length<3)throw new KC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],i;try{i=BigInt(r[1])}catch{throw new KC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint log size"})}let s=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,i,s,a)}};dv.LogCheckpoint=yL});var Dqe=m(jZ=>{"use strict";Object.defineProperty(jZ,"__esModule",{value:!0});jZ.verifyMerkleInclusion=kzt;var zZ=xc(),EL=Ui(),Dzt=Buffer.from([0]),Qzt=Buffer.from([1]);function kzt(t,e){let r=t.inclusionProof,n;try{n=BigInt(r.logIndex)}catch{throw new EL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid inclusion proof log index"})}let i=BigInt(e.logSize);if(n<0n||n>=i)throw new EL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:s,border:a}=Pzt(n,i);if(r.hashes.length!==s+a)throw new EL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,s),l=r.hashes.slice(s),u=qzt(t.canonicalizedBody),f=Lzt(Ozt(u,c,n),l);if(!zZ.crypto.bufferEqual(f,e.logHash))throw new EL.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(kzt,"verifyMerkleInclusion");function Pzt(t,e){let r=Fzt(t,e),n=Mzt(t>>BigInt(r));return{inner:r,border:n}}o(Pzt,"decompInclProof");function Ozt(t,e,r){return e.reduce((n,i,s)=>r>>BigInt(s)&BigInt(1)?VZ(i,n):VZ(n,i),t)}o(Ozt,"chainInner");function Lzt(t,e){return e.reduce((r,n)=>VZ(n,r),t)}o(Lzt,"chainBorderRight");function Fzt(t,e){return Uzt(t^e-BigInt(1))}o(Fzt,"innerProofSize");function Mzt(t){return t.toString(2).split("1").length-1}o(Mzt,"onesCount");function Uzt(t){return t===0n?0:t.toString(2).length}o(Uzt,"bitLength");function VZ(t,e){return zZ.crypto.digest("sha256",Qzt,t,e)}o(VZ,"hashChildren");function qzt(t){return zZ.crypto.digest("sha256",Dzt,t)}o(qzt,"hashLeaf")});var kqe=m($Z=>{"use strict";Object.defineProperty($Z,"__esModule",{value:!0});$Z.verifyTLogSET=Vzt;var Qqe=xc(),Gzt=Ui(),Hzt=$C();function Vzt(t,e){if(!(0,Hzt.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let s=zzt(t),a=Buffer.from(Qqe.json.canonicalize(s),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return Qqe.crypto.verify(a,i.publicKey,c)}))throw new Gzt.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(Vzt,"verifyTLogSET");function zzt(t){let{integratedTime:e,logIndex:r,logId:n,canonicalizedBody:i}=t;return{body:i.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:n.keyId.toString("hex")}}o(zzt,"toVerificationPayload")});var Oqe=m(bL=>{"use strict";Object.defineProperty(bL,"__esModule",{value:!0});bL.verifyTLogBody=Yzt;bL.verifyTLogInclusion=Kzt;var Pqe=vqe(),CL=Ui(),WZ=xqe(),JZ=_qe(),jzt=Nqe(),$zt=Tqe(),Wzt=Dqe(),Jzt=kqe();function Yzt(t,e){let{kind:r,version:n}=t.kindVersion,i;try{i=JSON.parse(t.canonicalizedBody.toString("utf8"))}catch{throw new CL.VerificationError({code:"TLOG_BODY_ERROR",message:"invalid canonicalized body"})}if(r!==i.kind||n!==i.apiVersion)throw new CL.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${n}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(n==WZ.DSSE_API_VERSION_V1)return(0,WZ.verifyDSSETLogBody)(i,e);{let s=Pqe.Entry.fromJSON(i);return(0,WZ.verifyDSSETLogBodyV2)(s,e)}case"intoto":return(0,jzt.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(n==JZ.HASHEDREKORD_API_VERSION_V1)return(0,JZ.verifyHashedRekordTLogBody)(i,e);{let s=Pqe.Entry.fromJSON(i);return(0,JZ.verifyHashedRekordTLogBodyV2)(s,e)}default:throw new CL.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(Yzt,"verifyTLogBody");function Kzt(t,e){let r=!1;if(Xzt(t)&&((0,Jzt.verifyTLogSET)(t,e),r=!0),Zzt(t)){let n=(0,$zt.verifyCheckpoint)(t,e);(0,Wzt.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new CL.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(Kzt,"verifyTLogInclusion");function Xzt(t){return t.inclusionPromise!==void 0}o(Xzt,"isTLogEntryWithInclusionPromise");function Zzt(t){return t.inclusionProof!==void 0}o(Zzt,"isTLogEntryWithInclusionProof")});var Uqe=m(wL=>{"use strict";Object.defineProperty(wL,"__esModule",{value:!0});wL.Verifier=void 0;var e6t=require("util"),mA=Ui(),Lqe=pqe(),YZ=mqe(),Fqe=yqe(),Mqe=Oqe(),XZ=class{static{o(this,"Verifier")}trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let n=this.verifyTimestamps(e),i=this.verifySigningKey(e,n);return this.verifyTLogs(e),this.verifySignature(e,i),r&&this.verifyPolicy(r,i.identity||{}),i}verifyTimestamps(e){let r=[];for(let n of e.timestamps)switch(n.$case){case"timestamp-authority":r.push((0,Fqe.getTSATimestamp)(n.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let i=(0,Fqe.getTLogTimestamp)(n.tlogEntry);i&&r.push(i);break}}if(KZ(r))throw new mA.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.lengthn.timestamp)}verifySigningKey({key:e},r){switch(e.$case){case"public-key":return(0,Lqe.verifyPublicKey)(e.hint,r,this.trustMaterial);case"certificate":{let n=(0,Lqe.verifyCertificate)(e.certificate,r,this.trustMaterial);if(KZ(n.scts))throw new mA.VerificationError({code:"CERTIFICATE_ERROR",message:"duplicate SCT"});if(n.scts.length{(0,Mqe.verifyTLogInclusion)(i,this.trustMaterial.tlogs),(0,Mqe.verifyTLogBody)(i,e),n.push({logID:i.logId.keyId,logIndex:i.logIndex})}),KZ(n))throw new mA.VerificationError({code:"TLOG_ERROR",message:"duplicate tlog entry"});if(n.length{"use strict";Object.defineProperty(La,"__esModule",{value:!0});La.Verifier=La.toTrustMaterial=La.VerificationError=La.PolicyError=La.toSignedEntity=void 0;var t6t=cqe();Object.defineProperty(La,"toSignedEntity",{enumerable:!0,get:o(function(){return t6t.toSignedEntity},"get")});var qqe=Ui();Object.defineProperty(La,"PolicyError",{enumerable:!0,get:o(function(){return qqe.PolicyError},"get")});Object.defineProperty(La,"VerificationError",{enumerable:!0,get:o(function(){return qqe.VerificationError},"get")});var r6t=$C();Object.defineProperty(La,"toTrustMaterial",{enumerable:!0,get:o(function(){return r6t.toTrustMaterial},"get")});var n6t=Uqe();Object.defineProperty(La,"Verifier",{enumerable:!0,get:o(function(){return n6t.Verifier},"get")})});var qi=m(ko=>{"use strict";ko.__esModule=!0;ko.extend=Zqe;ko.indexOf=c6t;ko.escapeExpression=l6t;ko.isEmpty=u6t;ko.createFrame=f6t;ko.blockParams=d6t;ko.appendContextPath=h6t;var i6t={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},s6t=/[&<>"'`=]/g,o6t=/[&<>"'`=]/;function a6t(t){return i6t[t]}o(a6t,"escapeChar");function Zqe(t){for(var e=1;e{"use strict";UL.__esModule=!0;var cee=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function lee(t,e){var r=e&&e.loc,n=void 0,i=void 0,s=void 0,a=void 0;r&&r.start&&(n=r.start.line,s=r.start.column,r.end&&(i=r.end.line,a=r.end.column),t+=" - "+n+":"+s);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";qL.__esModule=!0;var uee=qi();qL.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(uee.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var s=uee.createFrame(r.data);s.contextPath=uee.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(e,r)})};r3e.exports=qL.default});var s3e=m((GL,i3e)=>{"use strict";GL.__esModule=!0;function p6t(t){return t&&t.__esModule?t:{default:t}}o(p6t,"_interopRequireDefault");var ob=qi(),m6t=Fa(),A6t=p6t(m6t);function g6t(t){try{var e=t.return;ob.isFunction(e)&&e.call(t)}catch{}}o(g6t,"closeIterator");GL.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new A6t.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=ob.appendContextPath(r.data.contextPath,r.ids[0])+"."),ob.isFunction(e)&&(e=e.call(this)),r.data&&(c=ob.createFrame(r.data));function u(A,g,E,y){c&&(c.key=A,c.index=g,c.first=g===0,c.last=!!E,l&&(c.contextPath=l+A)),a=a+n(y,{data:c,blockParams:ob.blockParams([y,A],[l+A,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(ob.isArray(e))for(var f=e.length;s{"use strict";HL.__esModule=!0;function y6t(t){return t&&t.__esModule?t:{default:t}}o(y6t,"_interopRequireDefault");var E6t=Fa(),C6t=y6t(E6t);HL.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new C6t.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};o3e.exports=HL.default});var f3e=m((VL,u3e)=>{"use strict";VL.__esModule=!0;function b6t(t){return t&&t.__esModule?t:{default:t}}o(b6t,"_interopRequireDefault");var c3e=qi(),w6t=Fa(),l3e=b6t(w6t);VL.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new l3e.default("#if requires exactly one argument");return c3e.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||c3e.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new l3e.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};u3e.exports=VL.default});var h3e=m((zL,d3e)=>{"use strict";zL.__esModule=!0;zL.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";jL.__esModule=!0;jL.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};p3e.exports=jL.default});var g3e=m(($L,A3e)=>{"use strict";$L.__esModule=!0;function I6t(t){return t&&t.__esModule?t:{default:t}}o(I6t,"_interopRequireDefault");var gv=qi(),S6t=Fa(),B6t=I6t(S6t);$L.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new B6t.default("#with requires exactly one argument");gv.isFunction(e)&&(e=e.call(this));var n=r.fn;if(gv.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=gv.createFrame(r.data),i.contextPath=gv.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:gv.blockParams([e],[i&&i.contextPath])})})};A3e.exports=$L.default});var fee=m(WL=>{"use strict";WL.__esModule=!0;WL.registerDefaultHelpers=U6t;WL.moveHelperToHooks=q6t;function AA(t){return t&&t.__esModule?t:{default:t}}o(AA,"_interopRequireDefault");var v6t=n3e(),x6t=AA(v6t),_6t=s3e(),N6t=AA(_6t),R6t=a3e(),T6t=AA(R6t),D6t=f3e(),Q6t=AA(D6t),k6t=h3e(),P6t=AA(k6t),O6t=m3e(),L6t=AA(O6t),F6t=g3e(),M6t=AA(F6t);function U6t(t){x6t.default(t),N6t.default(t),T6t.default(t),Q6t.default(t),P6t.default(t),L6t.default(t),M6t.default(t)}o(U6t,"registerDefaultHelpers");function q6t(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(q6t,"moveHelperToHooks")});var E3e=m((JL,y3e)=>{"use strict";JL.__esModule=!0;var G6t=qi();JL.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var s=e;return r.partials||(r.partials={},s=o(function(a,c){var l=n.partials;n.partials=G6t.extend({},l,r.partials);var u=e(a,c);return n.partials=l,u},"ret")),r.partials[i.args[0]]=i.fn,s})};y3e.exports=JL.default});var C3e=m(dee=>{"use strict";dee.__esModule=!0;dee.registerDefaultDecorators=j6t;function H6t(t){return t&&t.__esModule?t:{default:t}}o(H6t,"_interopRequireDefault");var V6t=E3e(),z6t=H6t(V6t);function j6t(t){z6t.default(t)}o(j6t,"registerDefaultDecorators")});var hee=m((YL,b3e)=>{"use strict";YL.__esModule=!0;var $6t=qi(),ab={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=$6t.indexOf(ab.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=ab.lookupLevel(e),typeof console<"u"&&ab.lookupLevel(ab.level)<=e){var r=ab.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s{"use strict";cb.__esModule=!0;cb.createProtoAccessControl=K6t;cb.resultIsAllowed=X6t;cb.isPrototypeConstructor=Z6t;cb.resetLoggedProperties=t9t;function W6t(t){return t&&t.__esModule?t:{default:t}}o(W6t,"_interopRequireDefault");var w3e=qi(),J6t=hee(),Y6t=W6t(J6t),KL=Object.create(null);function K6t(t){var e=Object.create(null);e.__proto__=!1,w3e.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,w3e.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(K6t,"createProtoAccessControl");function X6t(t,e,r){return I3e(typeof t=="function"?e.methods:e.properties,r)}o(X6t,"resultIsAllowed");function Z6t(t,e,r){return e==="constructor"&&typeof r=="function"&&t===r.prototype}o(Z6t,"isPrototypeConstructor");function I3e(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(e9t(e),!1)}o(I3e,"checkWhiteList");function e9t(t){KL[t]!==!0&&(KL[t]=!0,Y6t.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(e9t,"logUnexpecedPropertyAccessOnce");function t9t(){Object.keys(KL).forEach(function(t){delete KL[t]})}o(t9t,"resetLoggedProperties")});var ZL=m(gu=>{"use strict";gu.__esModule=!0;gu.HandlebarsEnvironment=gee;function S3e(t){return t&&t.__esModule?t:{default:t}}o(S3e,"_interopRequireDefault");var gA=qi(),r9t=Fa(),mee=S3e(r9t),n9t=fee(),i9t=C3e(),s9t=hee(),XL=S3e(s9t),o9t=pee(),a9t="4.7.10";gu.VERSION=a9t;var c9t=8;gu.COMPILER_REVISION=c9t;var l9t=7;gu.LAST_COMPATIBLE_COMPILER_REVISION=l9t;var u9t={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"};gu.REVISION_CHANGES=u9t;var Aee="[object Object]";function gee(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},n9t.registerDefaultHelpers(this),i9t.registerDefaultDecorators(this)}o(gee,"HandlebarsEnvironment");gee.prototype={constructor:gee,logger:XL.default,log:XL.default.log,registerHelper:o(function(e,r){if(gA.toString.call(e)===Aee){if(r)throw new mee.default("Arg not supported with multiple helpers");gA.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(gA.toString.call(e)===Aee)gA.extend(this.partials,e);else{if(typeof r>"u")throw new mee.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(gA.toString.call(e)===Aee){if(r)throw new mee.default("Arg not supported with multiple decorators");gA.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){o9t.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var f9t=XL.default.log;gu.log=f9t;gu.createFrame=gA.createFrame;gu.logger=XL.default});var v3e=m((eF,B3e)=>{"use strict";eF.__esModule=!0;function yee(t){this.string=t}o(yee,"SafeString");yee.prototype.toString=yee.prototype.toHTML=function(){return""+this.string};eF.default=yee;B3e.exports=eF.default});var x3e=m(Eee=>{"use strict";Eee.__esModule=!0;Eee.wrapHelper=d9t;function d9t(t,e){if(typeof t!="function")return t;var r=o(function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)},"wrapper");return r}o(d9t,"wrapHelper")});var D3e=m(kh=>{"use strict";kh.__esModule=!0;kh.checkRevision=y9t;kh.template=E9t;kh.wrapProgram=tF;kh.resolvePartial=C9t;kh.invokePartial=b9t;kh.noop=R3e;function h9t(t){return t&&t.__esModule?t:{default:t}}o(h9t,"_interopRequireDefault");function p9t(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(p9t,"_interopRequireWildcard");var m9t=qi(),yA=p9t(m9t),A9t=Fa(),Rc=h9t(A9t),qf=ZL(),_3e=fee(),g9t=x3e(),Cee=pee();function y9t(t){var e=t&&t[0]||1,r=qf.COMPILER_REVISION;if(!(e>=qf.LAST_COMPATIBLE_COMPILER_REVISION&&e<=qf.COMPILER_REVISION))if(e{"use strict";nF.__esModule=!0;nF.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}};Q3e.exports=nF.default});var F3e=m((iF,L3e)=>{"use strict";iF.__esModule=!0;function Iee(t){return t&&t.__esModule?t:{default:t}}o(Iee,"_interopRequireDefault");function See(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(See,"_interopRequireWildcard");var S9t=ZL(),k3e=See(S9t),B9t=v3e(),v9t=Iee(B9t),x9t=Fa(),_9t=Iee(x9t),N9t=qi(),wee=See(N9t),R9t=D3e(),P3e=See(R9t),T9t=bee(),D9t=Iee(T9t);function O3e(){var t=new k3e.HandlebarsEnvironment;return wee.extend(t,k3e),t.SafeString=v9t.default,t.Exception=_9t.default,t.Utils=wee,t.escapeExpression=wee.escapeExpression,t.VM=P3e,t.template=function(e){return P3e.template(e,t)},t}o(O3e,"create");var yv=O3e();yv.create=O3e;D9t.default(yv);yv.default=yv;iF.default=yv;L3e.exports=iF.default});var Bee=m((sF,U3e)=>{"use strict";sF.__esModule=!0;var M3e={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&&!M3e.helpers.scopedId(e)&&!e.depth},"simpleId")}};sF.default=M3e;U3e.exports=sF.default});var G3e=m((oF,q3e)=>{"use strict";oF.__esModule=!0;var Q9t=(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(i,s,a,c,l,u,f){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 h=c.prepareBlock(u[d-2],u[d-1],u[d],u[d],!1,this._$),p=c.prepareProgram([h],u[d-1].loc);p.chained=!0,this.$={strip:u[d-2].strip,program:p,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(i,s){throw new Error(i)},"parseError"),parse:o(function(i){var s=this,a=[0],c=[null],l=[],u=this.table,f="",d=0,h=0,p=0,A=2,g=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var E=this.lexer.yylloc;l.push(E);var y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function C(J){a.length=a.length-2*J,c.length=c.length-J,l.length=l.length-J}o(C,"popStack");function w(){var J;return J=s.lexer.lex()||1,typeof J!="number"&&(J=s.symbols_[J]||J),J}o(w,"lex");for(var S,Q,F,x,j,T,q={},H,W,ee,te;;){if(F=a[a.length-1],this.defaultActions[F]?x=this.defaultActions[F]:((S===null||typeof S>"u")&&(S=w()),x=u[F]&&u[F][S]),typeof x>"u"||!x.length||!x[0]){var ce="";if(!p){te=[];for(H in u[F])this.terminals_[H]&&H>2&&te.push("'"+this.terminals_[H]+"'");this.lexer.showPosition?ce="Parse error on line "+(d+1)+`: +`+this.lexer.showPosition()+` +Expecting `+te.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ce="Parse error on line "+(d+1)+": Unexpected "+(S==1?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ce,{text:this.lexer.match,token:this.terminals_[S]||S,line:this.lexer.yylineno,loc:E,expected:te})}}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+S);switch(x[0]){case 1:a.push(S),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(x[1]),S=null,Q?(S=Q,Q=null):(h=this.lexer.yyleng,f=this.lexer.yytext,d=this.lexer.yylineno,E=this.lexer.yylloc,p>0&&p--);break;case 2:if(W=this.productions_[x[1]][1],q.$=c[c.length-W],q._$={first_line:l[l.length-(W||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(W||1)].first_column,last_column:l[l.length-1].last_column},y&&(q._$.range=[l[l.length-(W||1)].range[0],l[l.length-1].range[1]]),T=this.performAction.call(q,f,h,d,this.yy,x[1],c,l),typeof T<"u")return T;W&&(a=a.slice(0,-1*W*2),c=c.slice(0,-1*W),l=l.slice(0,-1*W)),a.push(this.productions_[x[1]][0]),c.push(q.$),l.push(q._$),ee=u[a[a.length-2]][a[a.length-1]],a.push(ee);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:o(function(s,a){if(this.yy.parser)this.yy.parser.parseError(s,a);else throw new Error(s)},"parseError"),setInput:o(function(s){return this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.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),s},"input"),unput:o(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+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(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+` +`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,c,l,u,f;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),h=0;ha[0].length)&&(a=c,l=h,!this.options.flex)));h++);return a?(f=a[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.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],s=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||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 s=this.next();return typeof s<"u"?s:this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"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(s){this.begin(s)},"begin")};return n.options={},n.performAction=o(function(s,a,c,l){function u(d,h){return a.yytext=a.yytext.substring(d,a.yyleng-h+d)}o(u,"strip");var f=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"),n.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();oF.default=Q9t;q3e.exports=oF.default});var xee=m(vee=>{"use strict";vee.__esModule=!0;var k9t=["Program","BlockStatement","DecoratorBlock","PartialStatement","PartialBlockStatement","Decorator","MustacheStatement","ContentStatement","CommentStatement","SubExpression","PathExpression","StringLiteral","NumberLiteral","BooleanLiteral","UndefinedLiteral","NullLiteral","Hash","HashPair"];vee.NODE_TYPES=k9t});var uF=m((lF,j3e)=>{"use strict";lF.__esModule=!0;function P9t(t){return t&&t.__esModule?t:{default:t}}o(P9t,"_interopRequireDefault");var O9t=Fa(),_ee=P9t(O9t),L9t=qi(),F9t=xee();function cF(){this.parents=[]}o(cF,"Visitor");function H3e(t,e){return L9t.indexOf(F9t.NODE_TYPES,e)!==-1||!(e in cF.prototype)&&typeof t[e]=="function"}o(H3e,"isDispatchable");cF.prototype={constructor:cF,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!H3e(this,n.type))throw new _ee.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new _ee.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";fF.__esModule=!0;function M9t(t){return t&&t.__esModule?t:{default:t}}o(M9t,"_interopRequireDefault");var U9t=uF(),q9t=M9t(U9t);function yu(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(yu,"WhitespaceControl");yu.prototype=new q9t.default;yu.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,s=n.length;i{"use strict";Ma.__esModule=!0;Ma.SourceLocation=V9t;Ma.id=z9t;Ma.stripFlags=j9t;Ma.stripComment=$9t;Ma.preparePath=W9t;Ma.prepareMustache=J9t;Ma.prepareRawBlock=Y9t;Ma.prepareBlock=K9t;Ma.prepareProgram=X9t;Ma.preparePartialBlock=Z9t;function G9t(t){return t&&t.__esModule?t:{default:t}}o(G9t,"_interopRequireDefault");var H9t=Fa(),Tee=G9t(H9t);function Dee(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Tee.default(t.path.original+" doesn't match "+e,r)}}o(Dee,"validateClose");function V9t(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(V9t,"SourceLocation");function z9t(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(z9t,"id");function j9t(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(j9t,"stripFlags");function $9t(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o($9t,"stripComment");function W9t(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,c=e.length;a0)throw new Tee.default("Invalid path: "+n,{loc:r});l===".."&&s++}else i.push(l)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}o(W9t,"preparePath");function J9t(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:i,loc:this.locInfo(s)}}o(J9t,"prepareMustache");function Y9t(t,e,r,n){Dee(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(Y9t,"prepareRawBlock");function K9t(t,e,r,n,i,s){n&&n.path&&Dee(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new Tee.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return i&&(i=c,c=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}o(K9t,"prepareBlock");function X9t(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(X9t,"prepareProgram");function Z9t(t,e,r,n){return Dee(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(n)}}o(Z9t,"preparePartialBlock")});var X3e=m(Ev=>{"use strict";Ev.__esModule=!0;Ev.parseWithoutProcessing=K3e;Ev.parse=ajt;function ejt(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(ejt,"_interopRequireWildcard");function Y3e(t){return t&&t.__esModule?t:{default:t}}o(Y3e,"_interopRequireDefault");var tjt=G3e(),Qee=Y3e(tjt),rjt=W3e(),njt=Y3e(rjt),ijt=J3e(),sjt=ejt(ijt),ojt=qi();Ev.parser=Qee.default;var dF={};ojt.extend(dF,sjt);function K3e(t,e){if(t.type==="Program")return t;Qee.default.yy=dF,dF.locInfo=function(n){return new dF.SourceLocation(e&&e.srcName,n)};var r=Qee.default.parse(t);return r}o(K3e,"parseWithoutProcessing");function ajt(t,e){var r=K3e(t,e),n=new njt.default(e);return n.accept(r)}o(ajt,"parse")});var nGe=m(bv=>{"use strict";bv.__esModule=!0;bv.Compiler=Oee;bv.precompile=djt;bv.compile=hjt;function eGe(t){return t&&t.__esModule?t:{default:t}}o(eGe,"_interopRequireDefault");var cjt=Fa(),lb=eGe(cjt),Oh=qi(),ljt=Bee(),Cv=eGe(ljt),ujt=xee(),fjt=[].slice;function Oee(){}o(Oee,"Compiler");Oee.prototype={compiler:Oee,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new lb.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,s=e.name.type==="SubExpression";s&&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",s,i,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 Gf(e,"value must be a string");e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){Z3e(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,n){var i=e.path,s=i.parts[0],a=r!=null||n!=null;this.opcode("getContext",kee(i)),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",s,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,n){var i=this.setupFullMustacheParams(e,r,n),s=e.path,a=s.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new lb.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,Cv.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){var r=kee(e),n=Pee(e);this.addDepth(r),this.opcode("getContext",r);var i=n[0],s=Cv.default.helpers.scopedId(e),a=!r&&!s&&this.blockParamIndex(i);a?this.opcode("lookupBlockParam",a,n):i?e.data?(this.options.data=!0,this.opcode("lookupData",r,n,e.strict)):this.opcode("lookupOnContext",n,e.falsy,e.strict,s):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){hF(e),this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){hF(e),this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(e){hF(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,n=0,i=void 0;if(!Oh.isArray(r))throw Gf(e,"pairs must be an array");i=r.length;for(var s=0;s=0)return[r,s]}},"blockParamIndex")};function djt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new lb.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 n=r.parse(t,e),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}o(djt,"precompile");function hjt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new lb.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Oh.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){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(i,"compileInput");function s(a,c){return n||(n=i()),n.call(this,a,c)}return o(s,"ret"),s._setup=function(a){return n||(n=i()),n._setup(a)},s._child=function(a,c,l,u){return n||(n=i()),n._child(a,c,l,u)},s}o(hjt,"compile");function Gf(t,e){return new lb.default("Invalid AST: "+t.type+" "+e,t)}o(Gf,"invalidAst");function kee(t){var e=t.depth;if(e==null)return 0;if(typeof e!="number"||!isFinite(e)||Math.floor(e)!==e||e<0)throw Gf(t,"depth must be a non-negative integer");return e}o(kee,"validateDepth");function hF(t){var e=t.value;if(t.type==="StringLiteral"&&typeof e!="string")throw Gf(t,"value must be a string");if(t.type==="NumberLiteral"&&typeof e!="number")throw Gf(t,"value must be a number");if(t.type==="BooleanLiteral"&&typeof e!="boolean")throw Gf(t,"value must be a boolean")}o(hF,"validateLiteral");function tGe(t,e,r){if(!Oh.isArray(e))throw Gf(t,r+" must be an array");for(var n=0;n{"use strict";pF.__esModule=!0;pF.safeJsonLiteral=sGe;var Fee=qi(),mjt=/[\x00-\x1f\\"\u2028\u2029<\ud800-\udfff]/,Ajt=/<(?=!--|\/?script)/gi;function gjt(t){return t.replace(Ajt,"\\u003C")}o(gjt,"escapeScriptDelimiters");function yjt(t){return"\\u"+t.charCodeAt(0).toString(16)}o(yjt,"escapeSurrogate");function sGe(t){return gjt(JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/[\ud800-\udfff]/g,yjt))}o(sGe,"safeJsonLiteral");var CA=void 0;try{(typeof define!="function"||!define.amd)&&(iGe=j9(),CA=iGe.SourceNode)}catch{}var iGe;CA||(CA=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),CA.prototype={add:o(function(e){Fee.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){Fee.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 Lee(t,e,r){if(Fee.isArray(t)){for(var n=[],i=0,s=t.length;i{"use strict";mF.__esModule=!0;function uGe(t){return t&&t.__esModule?t:{default:t}}o(uGe,"_interopRequireDefault");var cGe=ZL(),Ejt=Fa(),Mee=uGe(Ejt),Cjt=qi(),fGe=aGe(),lGe=uGe(fGe);function ub(t){this.value=t}o(ub,"Literal");function fb(){}o(fb,"JavaScriptCompiler");fb.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=cGe.COMPILER_REVISION,r=cGe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return Cjt.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["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,n,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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 s=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=s.length;l0&&(n+=", "+i.join(", "));var s=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(n+=", alias"+ ++s+"="+l,u.children[0]="alias"+s)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+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(n);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,n=!this.forceBuffer,i=void 0,s=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(s?a.prepend("buffer += "):i=!0,c.add(";"),a=c=void 0),s=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):s||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":`; +`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return` + lookupProperty = container.lookupProperty || function(parent, propertyName) { + if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { + return parent[propertyName]; + } + return undefined + } + `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n,i){var s=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[s++])):this.pushContext(),this.resolvePath("context",e,s,r,n)},"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,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,i,s){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(bjt(this.options.strict&&s,this,r,n,e));return}for(var c=r.length,l=o(function(f){a.replaceStack(function(d){var h=a.nameLookup(d,r[f],e);return i?[" && ",h]:[" != null ? ",h," : ",d]})},"_loop"),u=n;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,n=e.length;r{"use strict";AF.__esModule=!0;function wv(t){return t&&t.__esModule?t:{default:t}}o(wv,"_interopRequireDefault");var wjt=F3e(),Ijt=wv(wjt),Sjt=Bee(),Bjt=wv(Sjt),Uee=X3e(),qee=nGe(),vjt=pGe(),xjt=wv(vjt),_jt=uF(),Njt=wv(_jt),Rjt=bee(),Tjt=wv(Rjt),Djt=Ijt.default.create;function mGe(){var t=Djt();return t.compile=function(e,r){return qee.compile(e,r,t)},t.precompile=function(e,r){return qee.precompile(e,r,t)},t.AST=Bjt.default,t.Compiler=qee.Compiler,t.JavaScriptCompiler=xjt.default,t.Parser=Uee.parser,t.parse=Uee.parse,t.parseWithoutProcessing=Uee.parseWithoutProcessing,t}o(mGe,"create");var db=mGe();db.create=mGe;Tjt.default(db);db.Visitor=Njt.default;db.default=db;AF.default=db;AGe.exports=AF.default});var yGe=m(gF=>{"use strict";gF.__esModule=!0;gF.print=Ojt;gF.PrintVisitor=Jr;function Qjt(t){return t&&t.__esModule?t:{default:t}}o(Qjt,"_interopRequireDefault");var kjt=uF(),Pjt=Qjt(kjt);function Ojt(t){return new Jr().accept(t)}o(Ojt,"print");function Jr(){this.padding=0}o(Jr,"PrintVisitor");Jr.prototype=new Pjt.default;Jr.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};Jr.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+" }}")};Jr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Jr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Jr.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${B4e(i)}`)}}return e+=`${Ste}${S4e(this.message)}`,e}};function S4e(t){return bu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(S4e,"escapeData");function B4e(t){return bu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(B4e,"escapeProperty");var vte=N(require("crypto"),1),Kv=N(require("fs"),1),Yv=N(require("os"),1);function Xv(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Kv.existsSync(r))throw new Error(`Missing file at path: ${r}`);Kv.appendFileSync(r,`${bu(e)}${Yv.EOL}`,{encoding:"utf8"})}o(Xv,"issueFileCommand");function _F(t,e){let r=`ghadelimiter_${vte.randomUUID()}`,n=bu(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Yv.EOL}${n}${Yv.EOL}${r}`}o(_F,"prepareKeyValueMessage");var y3=N(require("os"),1),Bue=N(require("path"),1);var S0=N(require("http"),1),i3=N(require("https"),1);function NF(t){let e=t.protocol==="https:";if(v4e(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 Zv(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Zv(`http://${r}`)}else return}o(NF,"getProxyUrl");function v4e(t){if(!t.hostname)return!1;let e=t.hostname;if(x4e(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(v4e,"checkBypass");function x4e(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(x4e,"isLoopbackAddress");var Zv=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 ud=N(_A(),1),iue=N(ld(),1);var Zr=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},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 zi;(function(t){t.Accept="accept",t.ContentType="content-type"})(zi||(zi={}));var Fu;(function(t){t.ApplicationJson="application/json"})(Fu||(Fu={}));var G7e=[Vn.MovedPermanently,Vn.ResourceMoved,Vn.SeeOther,Vn.TemporaryRedirect,Vn.PermanentRedirect],H7e=[Vn.BadGateway,Vn.ServiceUnavailable,Vn.GatewayTimeout],V7e=["OPTIONS","GET","DELETE","HEAD"],z7e=10,j7e=5,r3=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},n3=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Zr(this,void 0,void 0,function*(){return new Promise(e=>Zr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Zr(this,void 0,void 0,function*(){return new Promise(e=>Zr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Ho=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Zr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Zr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Zr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Zr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Zr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Zr(this,arguments,void 0,function*(r,n={}){n[zi.Accept]=this._getExistingOrDefaultHeader(n,zi.Accept,Fu.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[zi.Accept]=this._getExistingOrDefaultHeader(s,zi.Accept,Fu.ApplicationJson),s[zi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Fu.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[zi.Accept]=this._getExistingOrDefaultHeader(s,zi.Accept,Fu.ApplicationJson),s[zi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Fu.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[zi.Accept]=this._getExistingOrDefaultHeader(s,zi.Accept,Fu.ApplicationJson),s[zi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Fu.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Zr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&V7e.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Vn.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,a,n):u}let f=this._maxRedirects;for(;u.message.statusCode&&G7e.includes(u.message.statusCode)&&this._allowRedirects&&f>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),f--}if(!u.message.statusCode||!H7e.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new n3(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=NF(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?i3:S0;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},I0(this.requestOptions.headers),I0(e||{})):I0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=I0(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=I0(this.requestOptions.headers)[zi.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[zi.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=NF(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||S0.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?ud.httpsOverHttps:ud.httpsOverHttp:l=u?ud.httpOverHttps:ud.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new i3.Agent(c):new S0.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new iue.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Zr(this,void 0,void 0,function*(){e=Math.min(z7e,e);let r=j7e*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Zr(this,void 0,void 0,function*(){return new Promise((n,i)=>Zr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Vn.NotFound&&n(a);function c(f,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}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(s>299){let f;l&&l.message?f=l.message:u&&u.length>0?f=u:f=`Failed request: (${s})`;let d=new r3(f,s);d.result=a.result,i(d)}else n(a)}))})}},I0=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var $7e=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};var fd=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 $7e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var aue=require("os"),B0=require("fs");var s3=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:W7e,appendFile:J7e,writeFile:Y7e}=B0.promises,oue="GITHUB_STEP_SUMMARY";var o3=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return s3(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[oue];if(!e)throw new Error(`Unable to find environment variable for $${oue}. Check if your runtime environment supports job summaries.`);try{yield W7e(e,B0.constants.R_OK|B0.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return s3(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Y7e:J7e)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return s3(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(aue.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:f}=a,d=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),f&&{rowspan:f});return this.wrap(d,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},K7e=new o3;var a3=K7e;var A3=N(require("os"),1);var m3=require("string_decoder");var x0=N(require("os"),1),p3=N(require("events"),1),Cue=N(require("child_process"),1),bue=N(require("path"),1);var mue=require("assert"),io=N(require("path"),1);var v0=N(require("fs"),1),dd=N(require("path"),1);var c3=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{chmod:l3,copyFile:lue,lstat:W2,mkdir:uue,open:qYt,readdir:u3,rename:X7e,rm:fue,rmdir:GYt,stat:hp,symlink:due,unlink:f3}=v0.promises,Hc=process.platform==="win32";function hue(t){return c3(this,void 0,void 0,function*(){let e=yield v0.promises.readlink(t);return Hc&&!e.endsWith("\\")?`${e}\\`:e})}o(hue,"readlink");var HYt=v0.constants.O_RDONLY;function Bg(t){return c3(this,void 0,void 0,function*(){try{yield hp(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Bg,"exists");function J2(t){if(t=Z7e(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Hc?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(J2,"isRooted");function d3(t,e){return c3(this,void 0,void 0,function*(){let r;try{r=yield hp(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Hc){let i=dd.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(cue(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield hp(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(Hc){try{let s=dd.dirname(t),a=dd.basename(t).toUpperCase();for(let c of yield u3(s))if(a===c.toUpperCase()){t=dd.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(cue(r))return t}}return""})}o(d3,"tryGetExecutablePath");function Z7e(t){return t=t||"",Hc?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Z7e,"normalizeSeparators");function cue(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(cue,"isUnixExecutable");var pp=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Aue(t,e){return pp(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=tKe(i),l=(yield Bg(n))?yield hp(n):null;if(l&&l.isFile()&&!s)return;let u=l&&l.isDirectory()&&c?io.join(n,io.basename(r)):n;if(!(yield Bg(r)))throw new Error(`no such file or directory: ${r}`);if((yield hp(r)).isDirectory())if(a)yield gue(r,u,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(io.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield yue(r,u,s)}})}o(Aue,"cp");function Y2(t){return pp(this,void 0,void 0,function*(){if(Hc&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield fue(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Y2,"rmRF");function Mu(t){return pp(this,void 0,void 0,function*(){(0,mue.ok)(t,"a path argument must be provided"),yield uue(t,{recursive:!0})})}o(Mu,"mkdirP");function li(t,e){return pp(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield li(t,!1);if(!n)throw Hc?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 n}let r=yield eKe(t);return r&&r.length>0?r[0]:""})}o(li,"which");function eKe(t){return pp(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Hc&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(io.delimiter))i&&e.push(i);if(J2(t)){let i=yield d3(t,e);return i?[i]:[]}if(t.includes(io.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(io.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield d3(io.join(i,t),e);s&&n.push(s)}return n})}o(eKe,"findInPath");function tKe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(tKe,"readCopyOptions");function gue(t,e,r,n){return pp(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Mu(e);let i=yield u3(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield W2(a)).isDirectory()?yield gue(a,c,r,n):yield yue(a,c,n)}yield l3(e,(yield hp(t)).mode)})}o(gue,"cpDirRecursive");function yue(t,e,r){return pp(this,void 0,void 0,function*(){if((yield W2(t)).isSymbolicLink()){try{yield W2(e),yield f3(e)}catch(i){i.code==="EPERM"&&(yield l3(e,"0666"),yield f3(e))}let n=yield hue(t);yield due(n,e,Hc?"junction":null)}else(!(yield Bg(e))||r)&&(yield lue(t,e))})}o(yue,"copyFile");var wue=require("timers");var Eue=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},K2=process.platform==="win32",X2=class extends p3.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),i=this._getSpawnArgs(e),s=r?"":"[command]";if(K2)if(this._isCmdFile()){s+=n;for(let a of i)s+=` ${a}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let a of i)s+=` ${a}`}else{s+=this._windowsQuoteCmdArg(n);for(let a of i)s+=` ${this._windowsQuoteCmdArg(a)}`}else{s+=n;for(let a of i)s+=` ${a}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(x0.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+x0.EOL.length),s=i.indexOf(x0.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return K2&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(K2&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);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=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.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='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!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 n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return Eue(this,void 0,void 0,function*(){return!J2(this.toolPath)&&(this.toolPath.includes("/")||K2&&this.toolPath.includes("\\"))&&(this.toolPath=bue.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield li(this.toolPath,!0),new Promise((e,r)=>Eue(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 n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+x0.EOL);let i=new h3(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Bg(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Cue.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!n.silent&&n.outStream&&n.outStream.write(u),c=this._processLineBuffer(u,c,f=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(f)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(u),l=this._processLineBuffer(u,l,f=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(f)})}),a.on("error",u=>{i.processError=u.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",u=>{i.processExitCode=u,i.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",u=>{i.processExitCode=u,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(u,f)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(f)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function Iue(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(Iue,"argStringToArray");var h3=class t extends p3.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,wue.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 Sue=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function so(t,e,r){return Sue(this,void 0,void 0,function*(){let n=Iue(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return e=n.slice(1).concat(e||[]),new X2(i,e,r).exec()})}o(so,"exec");function xg(t,e,r){return Sue(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new m3.StringDecoder("utf8"),l=new m3.StringDecoder("utf8"),u=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,f=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,d=o(g=>{a+=l.write(g),f&&f(g)},"stdErrListener"),h=o(g=>{s+=c.write(g),u&&u(g)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:h,stderr:d}),A=yield so(t,e,Object.assign(Object.assign({},r),{listeners:p}));return s+=c.end(),a+=l.end(),{exitCode:A,stdout:s,stderr:a}})}o(xg,"getExecOutput");var JYt=A3.default.platform(),YYt=A3.default.arch();var iKe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},g3;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(g3||(g3={}));function Gc(t){wu("add-mask",{},t)}o(Gc,"setSecret");function Vc(t){process.env.GITHUB_PATH||""?Xv("PATH",t):wu("add-path",{},t),process.env.PATH=`${t}${Bue.delimiter}${process.env.PATH}`}o(Vc,"addPath");function ui(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(ui,"getInput");function mp(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=ui(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(mp,"getBooleanInput");function Z2(t,e){if(process.env.GITHUB_OUTPUT||"")return Xv("OUTPUT",_F(t,e));process.stdout.write(y3.EOL),wu("set-output",{name:t},bu(e))}o(Z2,"setOutput");function e_(t){process.exitCode=g3.Failure,Ng(t)}o(e_,"setFailed");function Ap(){return process.env.RUNNER_DEBUG==="1"}o(Ap,"isDebug");function D(t){wu("debug",{},t)}o(D,"debug");function Ng(t,e={}){wu("error",BF(e),t instanceof Error?t.toString():t)}o(Ng,"error");function ut(t,e={}){wu("warning",BF(e),t instanceof Error?t.toString():t)}o(ut,"warning");function O(t){process.stdout.write(t+y3.EOL)}o(O,"info");function sKe(t){xF("group",t)}o(sKe,"startGroup");function oKe(){xF("endgroup")}o(oKe,"endGroup");function kr(t,e){return iKe(this,void 0,void 0,function*(){sKe(t);let r;try{r=yield e()}finally{oKe()}return r})}o(kr,"group");function Xa(t,e){if(process.env.GITHUB_STATE||"")return Xv("STATE",_F(t,e));wu("save-state",{name:t},bu(e))}o(Xa,"saveState");function vue(t){return process.env[`STATE_${t}`]||""}o(vue,"getState");var EI=N(require("fs"),1),T6=N(require("os"),1),D6=N(require("path"),1);var _ue=N(require("os"),1);function _0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(_0,"toCommandValue");function Nue(t,e,r){let n=new E3(t,e,r);process.stdout.write(n.toString()+_ue.EOL)}o(Nue,"issueCommand");var xue="::",E3=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=xue+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${cKe(i)}`)}}return e+=`${xue}${aKe(this.message)}`,e}};function aKe(t){return _0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(aKe,"escapeData");function cKe(t){return _0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(cKe,"escapeProperty");var Que=N(require("os"),1);var Tue=require("os"),N0=require("fs");var C3=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:lKe,appendFile:uKe,writeFile:fKe}=N0.promises,Rue="GITHUB_STEP_SUMMARY";var b3=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return C3(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Rue];if(!e)throw new Error(`Unable to find environment variable for $${Rue}. Check if your runtime environment supports job summaries.`);try{yield lKe(e,N0.constants.R_OK|N0.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return C3(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?fKe:uKe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return C3(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(Tue.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:f}=a,d=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),f&&{rowspan:f});return this.wrap(d,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},B7t=new b3;var w3=N(require("os"),1);var R7t=w3.default.platform(),T7t=w3.default.arch();var Due;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Due||(Due={}));function I3(){return process.env.RUNNER_DEBUG==="1"}o(I3,"isDebug");function Zt(t){Nue("debug",{},t)}o(Zt,"debug");function S3(t){process.stdout.write(t+Que.EOL)}o(S3,"info");var j3=N(require("crypto"),1),_i=N(require("fs"),1);var cet=N(V3(),1);var m_=N(require("os"),1),Za=N(require("path"),1);var jo=N(V3(),1),Sde=N(require("stream"),1),Bde=N(require("util"),1),$3=require("assert");var Ide=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},h_=class{static{o(this,"RetryHelper")}constructor(e,r,n){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(n),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return Ide(this,void 0,void 0,function*(){let n=1;for(;nsetTimeout(r,e*1e3))})}};var jc=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},p_=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},vde=process.platform==="win32",PXt=process.platform==="darwin",fet="actions/tool-cache";function $o(t,e,r,n){return jc(this,void 0,void 0,function*(){e=e||Za.join(Qde(),j3.randomUUID()),yield Mu(Za.dirname(e)),Zt(`Downloading ${t}`),Zt(`Destination ${e}`);let i=3,s=z3("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=z3("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new h_(i,s,a).execute(()=>jc(this,void 0,void 0,function*(){return yield det(t,e||"",r,n)}),l=>!(l instanceof p_&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o($o,"downloadTool");function det(t,e,r,n){return jc(this,void 0,void 0,function*(){if(_i.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new Ho(fet,[],{allowRetries:!1});r&&(Zt("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let f=new p_(s.message.statusCode);throw Zt(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),f}let a=Bde.promisify(Sde.pipeline),l=z3("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),u=!1;try{return yield a(l,_i.createWriteStream(e)),Zt("download complete"),u=!0,e}finally{if(!u){Zt("download failed");try{yield Y2(e)}catch(f){Zt(`Failed to delete '${e}'. ${f.message}`)}}}})}o(det,"downloadToolAttempt");function xde(t,e){return jc(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield Tde(n),Zt("Checking tar --version");let s="";yield so("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(f=>s+=f.toString(),"stdout"),stderr:o(f=>s+=f.toString(),"stderr")}}),Zt(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],I3()&&!i.includes("v")&&c.push("-v");let l=n,u=r;return vde&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),u=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",u),yield so("tar",c),n})}o(xde,"extractTar");function _de(t,e){return jc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Tde(e),vde?yield het(t,e):yield pet(t,e),e})}o(_de,"extractZip");function het(t,e){return jc(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield li("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];Zt(`Using pwsh at path: ${i}`),yield so(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],c=yield li("powershell",!0);Zt(`Using powershell at path: ${c}`),yield so(`"${c}"`,a)}})}o(het,"extractZipWin");function pet(t,e){return jc(this,void 0,void 0,function*(){let r=yield li("unzip",!0),n=[t];I3()||n.unshift("-q"),n.unshift("-o"),yield so(`"${r}"`,n,{cwd:e})})}o(pet,"extractZipNix");function Nde(t,e,r,n){return jc(this,void 0,void 0,function*(){if(r=jo.clean(r)||r,n=n||m_.arch(),Zt(`Caching tool ${e} ${r} ${n}`),Zt(`source dir: ${t}`),!_i.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield Aet(e,r,n);for(let s of _i.readdirSync(t)){let a=Za.join(t,s);yield Aue(a,i,{recursive:!0})}return get(e,r,n),i})}o(Nde,"cacheDir");function Rde(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||m_.arch(),!Dde(e)){let i=met(t,r);e=yet(i,e)}let n="";if(e){e=jo.clean(e)||"";let i=Za.join(A_(),t,e,r);Zt(`checking cache: ${i}`),_i.existsSync(i)&&_i.existsSync(`${i}.complete`)?(Zt(`Found tool in cache ${t} ${e} ${r}`),n=i):Zt("not found")}return n}o(Rde,"find");function met(t,e){let r=[];e=e||m_.arch();let n=Za.join(A_(),t);if(_i.existsSync(n)){let i=_i.readdirSync(n);for(let s of i)if(Dde(s)){let a=Za.join(n,s,e||"");_i.existsSync(a)&&_i.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(met,"findAllVersions");function Tde(t){return jc(this,void 0,void 0,function*(){return t||(t=Za.join(Qde(),j3.randomUUID())),yield Mu(t),t})}o(Tde,"_createExtractFolder");function Aet(t,e,r){return jc(this,void 0,void 0,function*(){let n=Za.join(A_(),t,jo.clean(e)||e,r||"");Zt(`destination ${n}`);let i=`${n}.complete`;return yield Y2(n),yield Y2(i),yield Mu(n),n})}o(Aet,"_createToolPath");function get(t,e,r){let i=`${Za.join(A_(),t,jo.clean(e)||e,r||"")}.complete`;_i.writeFileSync(i,""),Zt("finished caching tool")}o(get,"_completeToolPath");function Dde(t){let e=jo.clean(t)||"";Zt(`isExplicit: ${e}`);let r=jo.valid(e)!=null;return Zt(`explicit? ${r}`),r}o(Dde,"isExplicitVersion");function yet(t,e){let r="";Zt(`evaluating ${t.length} versions`),t=t.sort((n,i)=>jo.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(jo.satisfies(i,e)){r=i;break}}return r?Zt(`matched: ${r}`):Zt("match not found"),r}o(yet,"evaluateVersions");function A_(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,$3.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(A_,"_getCacheDirectory");function Qde(){let t=process.env.RUNNER_TEMP||"";return(0,$3.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(Qde,"_getTempDirectory");function z3(t,e){let r=global[t];return r!==void 0?r:e}o(z3,"_getGlobal");var yI=N(require("path"),1);var Pde=N(require("os"),1);function L0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(L0,"toCommandValue");function Ode(t,e,r){let n=new W3(t,e,r);process.stdout.write(n.toString()+Pde.EOL)}o(Ode,"issueCommand");var kde="::",W3=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=kde+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${Cet(i)}`)}}return e+=`${kde}${Eet(this.message)}`,e}};function Eet(t){return L0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Eet,"escapeData");function Cet(t){return L0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Cet,"escapeProperty");var Fde=require("os"),F0=require("fs");var J3=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:bet,appendFile:wet,writeFile:Iet}=F0.promises,Lde="GITHUB_STEP_SUMMARY";var Y3=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return J3(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Lde];if(!e)throw new Error(`Unable to find environment variable for $${Lde}. Check if your runtime environment supports job summaries.`);try{yield bet(e,F0.constants.R_OK|F0.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return J3(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Iet:wet)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return J3(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(Fde.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:f}=a,d=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),f&&{rowspan:f});return this.wrap(d,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},KXt=new Y3;var K3=N(require("os"),1);var rZt=K3.default.platform(),nZt=K3.default.arch();var Mde;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Mde||(Mde={}));function Wo(t){Ode("debug",{},t)}o(Wo,"debug");var Pg=N(require("fs"),1);function Z3(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Wo(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Wo(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Wo(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Wo(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Wo(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Z3,"getOptions");var b_=N(require("path"),1);var Dg=N(require("path"),1),hd=N(require("assert"),1);var pd=process.platform==="win32";function qu(t){if(t=Uu(t),pd&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Dg.dirname(t);return pd&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Uu(e)),e}o(qu,"dirname");function g_(t,e){if((0,hd.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,hd.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),M0(e))return e;if(pd){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,hd.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(ec(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,hd.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,hd.default)(M0(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||pd&&t.endsWith("\\")||(t+=Dg.sep),t+e}o(g_,"ensureAbsoluteRoot");function M0(t){return(0,hd.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=ec(t),pd?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(M0,"hasAbsoluteRoot");function U0(t){return(0,hd.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=ec(t),pd?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(U0,"hasRoot");function ec(t){return t=t||"",pd?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(ec,"normalizeSeparators");function Uu(t){return t?(t=ec(t),!t.endsWith(Dg.sep)||t===Dg.sep||pd&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Uu,"safeTrimTrailingSeparator");var tc;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(tc||(tc={}));var Ude=process.platform==="win32";function tG(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=Ude?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=Ude?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=qu(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=qu(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(tG,"getSearchPaths");function qde(t,e){let r=tc.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(qde,"match");function Gde(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(Gde,"partialMatch");var lhe=N(require("os"),1),kg=N(require("path"),1);var Ad=N(require("assert"),1),uhe=N(che(),1);var Ep=N(require("path"),1);var Qg=N(require("assert"),1);var Ket=process.platform==="win32",Cp=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Qg.default)(e,"Parameter 'itemPath' must not be empty"),e=Uu(e),!U0(e))this.segments=e.split(Ep.sep);else{let r=e,n=qu(r);for(;n!==r;){let i=Ep.basename(r);this.segments.unshift(i),r=n,n=qu(r)}this.segments.unshift(r)}else{(0,Qg.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 Cp(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Gu?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Gu,nocomment:!0,noext:!0,nonegate:!0};s=Gu?s.replace(/\\/g,"/"):s,this.minimatch=new Xet(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=ec(e),!e.endsWith(kg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${kg.sep}`)):e=Uu(e),this.minimatch.match(e)?this.trailingSeparator?tc.Directory:tc.All:tc.None}partialMatch(e){return e=Uu(e),qu(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Gu?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Gu?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Ad.default)(e,"pattern cannot be empty");let n=new Cp(e).segments.map(i=>t.getLiteral(i));if((0,Ad.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Ad.default)(!U0(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=ec(e),e==="."||e.startsWith(`.${kg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${kg.sep}`))r=r||lhe.homedir(),(0,Ad.default)(r,"Unable to determine HOME directory"),(0,Ad.default)(M0(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Gu&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=g_("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Gu&&(e==="\\"||e.match(/^\\[^\\]/))){let i=g_("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=g_(t.globEscape(process.cwd()),e);return ec(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var V0=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var cG=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Zet=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={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}},gd=function(t){return this instanceof gd?(this.v=t,this):new gd(t)},ett=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(A){return Promise.resolve(A).then(p,d)}}function c(p,A){n[p]&&(i[p]=function(g){return new Promise(function(E,y){s.push([p,g,E,y])>1||l(p,g)})},A&&(i[p]=A(i[p])))}function l(p,A){try{u(n[p](A))}catch(g){h(s[0][3],g)}}function u(p){p.value instanceof gd?Promise.resolve(p.value.v).then(f,d):h(s[0][2],p)}function f(p){l("next",p)}function d(p){l("throw",p)}function h(p,A){p(A),s.shift(),s.length&&l(s[0][0],s[0][1])}},ttt=process.platform==="win32",C_=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Z3(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return cG(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=Zet(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let u=i;s.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return ett(this,arguments,o(function*(){let r=Z3(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new H0(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of tG(n)){Wo(`Search path '${a}'`);try{yield gd(Pg.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new V0(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=qde(n,a.path),l=!!c||Gde(n,a.path);if(!c&&!l)continue;let u=yield gd(t.stat(a,r,s));if(u&&!(r.excludeHiddenFiles&&b_.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&tc.Directory&&r.matchDirectories)yield yield gd(a.path);else if(!l)continue;let f=a.level+1,d=(yield gd(Pg.promises.readdir(a.path))).map(h=>new V0(b_.join(a.path,h),f));i.push(...d.reverse())}else c&tc.File&&(yield yield gd(a.path))}},"globGenerator_1"))}static create(e,r){return cG(this,void 0,void 0,function*(){let n=new t(r);ttt&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let i=e.split(` -`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new y0(s));return n.searchPaths.push(...zq(n.patterns)),n})}static stat(e,r,n){return Xq(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield gg.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){zo(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield gg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield gg.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){zo(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};var F7e=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Ede(t,e){return F7e(this,void 0,void 0,function*(){return yield HN.create(t,e)})}o(Ede,"create");var o_=N(require("crypto"),1),bg=N(require("fs"),1),cp=N(require("path"),1),fhe=N(uhe(),1),hhe=N(require("util"),1);var B0;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(B0||(B0={}));var Wi;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Wi||(Wi={}));var so;(function(t){t.GNU="gnu",t.BSD="bsd"})(so||(so={}));var n_=2,i_=5e3,E3=5e3,C3=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,dhe=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,x0="cache.tar",b3="manifest.txt",UYt=10*Math.pow(1024,3),s_="cache read denied:";var Cg=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},jet=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={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}},Wet="1.0";function v0(){return Cg(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=cp.join(n,"actions","temp")}let r=cp.join(e,o_.randomUUID());return yield Ru(r),r})}o(v0,"createTempDirectory");function Gc(t){return bg.statSync(t).size}o(Gc,"getArchiveFileSizeInBytes");function I3(t){return Cg(this,void 0,void 0,function*(){var e,r,n,i,s;let a=[],c=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),l=yield Ede(t.join(` -`),{implicitDescendants:!1});try{for(var u=!0,d=jet(l.globGenerator()),f;f=yield d.next(),e=f.done,!e;u=!0){i=f.value,u=!1;let p=cp.relative(c,i).replace(new RegExp(`\\${cp.sep}`,"g"),"/");R(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(h){r={error:h}}finally{try{!u&&!e&&(n=d.return)&&(yield n.call(d))}finally{if(r)throw r.error}}return a})}o(I3,"resolvePaths");function N0(t){return Cg(this,void 0,void 0,function*(){return hhe.promisify(bg.unlink)(t)})}o(N0,"unlinkFile");function phe(t){return Cg(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),R(`Checking ${e} ${r.join(" ")}`);try{yield no(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(i=>n+=i.toString(),"stdout"),stderr:o(i=>n+=i.toString(),"stderr")}})}catch(i){R(i.message)}return n=n.trim(),R(n),n})}o(phe,"getVersion");function _0(){return Cg(this,void 0,void 0,function*(){let t=yield phe("zstd",["--quiet"]),e=fhe.clean(t);return R(`zstd version: ${e}`),t===""?Wi.Gzip:Wi.ZstdWithoutLong})}o(_0,"getCompressionMethod");function lf(t){return t===Wi.Gzip?B0.Gzip:B0.Zstd}o(lf,"getCacheFileName");function Ahe(){return Cg(this,void 0,void 0,function*(){return bg.existsSync(C3)?C3:(yield phe("tar")).toLowerCase().includes("gnu tar")?ci("tar"):""})}o(Ahe,"getGnuTarPathOnWindows");function w3(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(w3,"assertDefined");function Ig(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Wet),o_.createHash("sha256").update(n.join("|")).digest("hex")}o(Ig,"getCacheVersion");function mhe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(mhe,"getRuntimeToken");var R0=N(require("http"),1),x3=N(require("https"),1);function S3(t){let e=t.protocol==="https:";if(Jet(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 c_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new c_(`http://${r}`)}else return}o(S3,"getProxyUrl");function Jet(t){if(!t.hostname)return!1;let e=t.hostname;if(Yet(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(Jet,"checkBypass");function Yet(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(Yet,"isLoopbackAddress");var c_=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 uf=N(um(),1),ghe=N(Xd(),1);var Zr=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Pr;(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"})(Pr||(Pr={}));var Ji;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ji||(Ji={}));var Pu;(function(t){t.ApplicationJson="application/json"})(Pu||(Pu={}));var Xet=[Pr.MovedPermanently,Pr.ResourceMoved,Pr.SeeOther,Pr.TemporaryRedirect,Pr.PermanentRedirect],Zet=[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout],ett=["OPTIONS","GET","DELETE","HEAD"],ttt=10,rtt=5,Hc=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},B3=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Zr(this,void 0,void 0,function*(){return new Promise(e=>Zr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Zr(this,void 0,void 0,function*(){return new Promise(e=>Zr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Ou=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Zr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Zr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Zr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Zr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Zr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Zr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Zr(this,arguments,void 0,function*(r,n={}){n[Ji.Accept]=this._getExistingOrDefaultHeader(n,Ji.Accept,Pu.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Ji.Accept]=this._getExistingOrDefaultHeader(s,Ji.Accept,Pu.ApplicationJson),s[Ji.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Pu.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Ji.Accept]=this._getExistingOrDefaultHeader(s,Ji.Accept,Pu.ApplicationJson),s[Ji.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Pu.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Zr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Ji.Accept]=this._getExistingOrDefaultHeader(s,Ji.Accept,Pu.ApplicationJson),s[Ji.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Pu.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Zr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&ett.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Pr.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&Xet.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!Zet.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new B3(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=S3(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?x3:R0;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},T0(this.requestOptions.headers),T0(e||{})):T0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=T0(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=T0(this.requestOptions.headers)[Ji.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Ji.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=S3(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||R0.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?uf.httpsOverHttps:uf.httpsOverHttp:l=u?uf.httpOverHttps:uf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new x3.Agent(c):new R0.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new ghe.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Zr(this,void 0,void 0,function*(){e=Math.min(ttt,e);let r=rtt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Zr(this,void 0,void 0,function*(){return new Promise((n,i)=>Zr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Pr.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}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(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new Hc(d,s);f.result=a.result,i(f)}else n(a)}))})}},T0=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var ntt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};var wg=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 ntt(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Zg=N(require("fs"),1),jye=require("url");var Vc=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var yhe=require("node:os"),Ehe=N(require("node:util"),1),Che=N(require("node:process"),1);function bhe(t,...e){Che.default.stderr.write(`${Ehe.default.format(t,...e)}${yhe.EOL}`)}o(bhe,"log");var Ihe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,She,v3=[],N3=[],l_=[];Ihe&&_3(Ihe);var Bhe=Object.assign(t=>xhe(t),{enable:_3,enabled:T3,disable:itt,log:bhe});function _3(t){She=t,v3=[],N3=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?N3.push(r.substring(1)):v3.push(r);for(let r of l_)r.enabled=T3(r.namespace)}o(_3,"enable");function T3(t){if(t.endsWith("*"))return!0;for(let e of N3)if(whe(t,e))return!1;for(let e of v3)if(whe(t,e))return!0;return!1}o(T3,"enabled");function whe(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let h=[],p="";for(let g of e)g==="*"&&p==="*"||(p=g,h.push(g));r=h.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let u=n===t.length,d=i===r.length,f=i===r.length-1&&r[i]==="*";return u&&(d||f)}o(whe,"namespaceMatches");function itt(){let t=She||"";return _3(""),t}o(itt,"disable");function xhe(t){let e=Object.assign(r,{enabled:T3(t),destroy:stt,log:Bhe.log,namespace:t,extend:ott});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),l_.push(e),e}o(xhe,"createDebugger");function stt(){let t=l_.indexOf(this);return t>=0?(l_.splice(t,1),!0):!1}o(stt,"destroy");function ott(t){let e=xhe(`${this.namespace}:${t}`);return e.log=this.log,e}o(ott,"extend");var Sg=Bhe;var R3=["verbose","info","warning","error"],vhe={verbose:400,info:300,warning:200,error:100};function Nhe(t,e){e.log=(...r)=>{t.log(...r)}}o(Nhe,"patchLogMethod");function _he(t){return R3.includes(t)}o(_he,"isTypeSpecRuntimeLogLevel");function u_(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=Sg(t.namespace);i.log=(...d)=>{Sg.log(...d)};function s(d){if(d&&!_he(d))throw new Error(`Unknown log level '${d}'. Acceptable values: ${R3.join(",")}`);n=d;let f=[];for(let h of e)a(h)&&f.push(h.namespace);Sg.enable(f.join(","))}o(s,"contextSetLogLevel"),r&&(_he(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${R3.join(", ")}.`));function a(d){return!!(n&&vhe[d.level]<=vhe[n])}o(a,"shouldEnable");function c(d,f){let h=Object.assign(d.extend(f),{level:f});if(Nhe(d,h),a(h)){let p=Sg.disable();Sg.enable(p+","+h.namespace)}return e.add(h),h}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function u(d){let f=i.extend(d);return Nhe(i,f),{error:c(f,"error"),warning:c(f,"warning"),info:c(f,"info"),verbose:c(f,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:u,logger:i}}o(u_,"createLoggerContext");var The=u_({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),att=The.logger;function D0(t){return The.createClientLogger(t)}o(D0,"createClientLogger");function d_(t){return t.toLowerCase()}o(d_,"normalizeName");function*ctt(t){for(let e of t.values())yield[e.name,e.value]}o(ctt,"headerIterator");var D3=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(d_(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(d_(e))?.value}has(e){return this._headersMap.has(d_(e))}delete(e){this._headersMap.delete(d_(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return ctt(this._headersMap)}};function oo(t){return new D3(t)}o(oo,"createHttpHeaders");function lp(){return crypto.randomUUID()}o(lp,"randomUUID");var Q3=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??oo(),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||lp(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function f_(t){return new Q3(t)}o(f_,"createPipelineRequest");var Rhe=new Set(["Deserialize","Serialize","Retry","Sign"]),k3=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&&!Rhe.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!Rhe.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(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(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 n(g){return{name:g,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),u=[i,s,a,c,l];function d(g){return g==="Retry"?c:g==="Serialize"?i:g==="Deserialize"?a:g==="Sign"?l:s}o(d,"getPhase");for(let g of this._policies){let m=g.policy,E=g.options,y=m.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let C={policy:m,dependsOn:new Set,dependants:new Set};E.afterPhase&&(C.afterPhase=d(E.afterPhase),C.afterPhase.hasAfterPolicies=!0),r.set(y,C),d(E.phase).policies.add(C)}for(let g of this._policies){let{policy:m,options:E}=g,y=m.name,C=r.get(y);if(!C)throw new Error(`Missing node for policy ${y}`);if(E.afterPolicies)for(let I of E.afterPolicies){let B=r.get(I);B&&(C.dependsOn.add(B),B.dependants.add(C))}if(E.beforePolicies)for(let I of E.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(C),C.dependants.add(B))}}function f(g){g.hasRun=!0;for(let m of g.policies)if(!(m.afterPhase&&(!m.afterPhase.hasRun||m.afterPhase.policies.size))&&m.dependsOn.size===0){e.push(m.policy);for(let E of m.dependants)E.dependsOn.delete(m);r.delete(m.policy.name),g.policies.delete(m)}}o(f,"walkPhase");function h(){for(let g of u){if(f(g),g.policies.size>0&&g!==s){s.hasRun||f(s);return}g.hasAfterPolicies&&f(s)}}o(h,"walkPhases");let p=0;for(;r.size>0;){p++;let g=e.length;if(h(),e.length<=g&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function h_(){return k3.create()}o(h_,"createEmptyPipeline");function Bg(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Bg,"isObject");function up(t){if(Bg(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(up,"isError");var Dhe=require("node:util"),Qhe=Dhe.inspect.custom;var P3="REDACTED",ltt=["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"],utt=["api-version"],Ka=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=ltt.concat(e),r=utt.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||Bg(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,P3);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=P3;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=P3;return r}};var dtt=new Ka,Yi=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 n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,Qhe,{value:o(()=>`RestError: ${this.message} - ${dtt.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function p_(t){return t instanceof Yi?!0:up(t)&&t.name==="RestError"}o(p_,"isRestError");function Is(t,e){return Buffer.from(t,e)}o(Is,"stringToUint8Array");var A_=N(require("node:http"),1),m_=N(require("node:https"),1),O3=N(require("node:zlib"),1),Phe=require("node:stream");var Wo=D0("ts-http-runtime");var ftt={};function Q0(t){return t&&typeof t.pipe=="function"}o(Q0,"isReadableStream");function khe(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(khe,"isStreamComplete");function Ohe(t){return t&&typeof t.byteLength=="number"}o(Ohe,"isArrayBuffer");var g_=class extends Phe.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},L3=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Vc("The operation was aborted. Request has already been canceled.");n=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let u=new Ka;Wo.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=mtt(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let g=e.onUploadProgress,m=new g_(g);m.on("error",E=>{Wo.error("Error in upload progress",E)}),Q0(c)?c.pipe(m):m.end(c),c=m}let u=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let d=htt(u),h={status:u.statusCode??0,headers:d,request:e};if(e.method==="HEAD")return u.resume(),h;l=a?ptt(u,d):u;let p=e.onDownloadProgress;if(p){let g=new g_(p);g.on("error",m=>{Wo.error("Error in download progress",m)}),l.pipe(g),l=g}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(h.status)?h.readableStreamBody=l:h.bodyAsText=await Att(l),h}finally{if(e.abortSignal&&n){let u=Promise.resolve();Q0(c)&&(u=khe(c));let d=Promise.resolve();Q0(l)&&(d=khe(l)),Promise.all([u,d]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(f=>{Wo.warning("Error when cleaning up abortListener on httpRequest",f)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let d=s?A_.default.request(c,l):m_.default.request(c,l);d.once("error",f=>{u(new Yi(f.message,{code:f.code??Yi.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let f=new Vc("The operation was aborted. Rejecting from abort signal callback while making request.");d.destroy(f),u(f)}),n&&Q0(n)?n.pipe(d):n?typeof n=="string"||Buffer.isBuffer(n)?d.end(n):Ohe(n)?d.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Wo.error("Unrecognized body type",n),u(new Yi("Unrecognized body type"))):d.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?A_.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new A_.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return m_.default.globalAgent;let i=e.tlsSettings??ftt,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(Wo.info("No cached TLS Agent exist, creating a new Agent"),s=new m_.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function htt(t){let e=oo();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(htt,"getResponseHeaders");function ptt(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=O3.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=O3.default.createInflate();return t.pipe(n),n}return t}o(ptt,"getDecodedResponseStream");function Att(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new Yi(`Error reading response as text: ${i.message}`,{code:Yi.PARSE_ERROR}))})})}o(Att,"streamToText");function mtt(t){return t?Buffer.isBuffer(t)?t.length:Q0(t)?null:Ohe(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(mtt,"getBodyLength");function Lhe(){return new L3}o(Lhe,"createNodeHttpClient");function y_(){return Lhe()}o(y_,"createDefaultHttpClient");var F3="logPolicy";function E_(t={}){let e=t.logger??Wo.info,r=new Ka({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:F3,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(E_,"logPolicy");var C_="redirectPolicy",Fhe=["GET","HEAD"];function b_(t={}){let{maxRetries:e=20}=t;return{name:C_,async sendRequest(r,n){let i=await n(r);return Mhe(n,i,e)}}}o(b_,"redirectPolicy");async function Mhe(t,e,r,n=0){let{request:i,status:s,headers:a}=e,c=a.get("location");if(c&&(s===300||s===301&&Fhe.includes(i.method)||s===302&&Fhe.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n{let s,a,c=o(()=>i(new Vc(r?.abortErrorMsg?r?.abortErrorMsg:gtt)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(Ghe,"delay");function Hhe(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Hhe,"parseHeaderValueAsNumber");var M3="Retry-After",ytt=["retry-after-ms","x-ms-retry-after-ms",M3];function Vhe(t){if(t&&[429,503].includes(t.status))try{for(let i of ytt){let s=Hhe(t,i);if(s===0||s)return s*(i===M3?1e3:1)}let e=t.headers.get(M3);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(Vhe,"getRetryAfterInMs");function zhe(t){return Number.isFinite(Vhe(t))}o(zhe,"isThrottlingRetryResponse");function U3(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=Vhe(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(U3,"throttlingRetryStrategy");var Ett=1e3,Ctt=1e3*64;function B_(t={}){let e=t.retryDelayInMs??Ett,r=t.maxRetryDelayInMs??Ctt;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=Itt(s),c=a&&t.ignoreSystemErrors,l=btt(i),u=l&&t.ignoreHttpStatusCodes;return i&&(zhe(i)||!l)||u||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:S_(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(B_,"exponentialRetryStrategy");function btt(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(btt,"isExponentialRetryResponse");function Itt(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(Itt,"isSystemError");var wtt=D0("ts-http-runtime retryPolicy"),Stt="retryPolicy";function fp(t,e={maxRetries:3}){let r=e.logger||wtt;return{name:Stt,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Vc;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(s)return s;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 d=l.retry({retryCount:c,response:s,responseError:a});if(d.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:f,retryAfterInMs:h,redirectTo:p}=d;if(f)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,f),f;if(h||h===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${h}`),await Ghe(h,void 0,{abortSignal:n.abortSignal});continue e}if(p){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${p}`),n.url=p;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(fp,"retryPolicy");var q3="defaultRetryPolicy";function x_(t={}){return{name:q3,sendRequest:fp([U3(),B_(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(x_,"defaultRetryPolicy");var $he=typeof window<"u"&&typeof window.document<"u",jhe=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),Whe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",Jhe=typeof Bun<"u"&&typeof Bun.version<"u",hp=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var Yhe=typeof navigator<"u"&&navigator?.product==="ReactNative";var G3="formDataPolicy";function Btt(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(Btt,"formDataToFormDataMap");function v_(){return{name:G3,async sendRequest(t,e){if(hp&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Btt(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=xtt(t.formData):await vtt(t.formData,t),t.formData=void 0}return e(t)}}}o(v_,"formDataPolicy");function xtt(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(xtt,"wwwFormUrlEncode");async function vtt(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 n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:oo({"Content-Disposition":`form-data; name="${i}"`}),body:Is(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=oo();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(vtt,"prepareFormData");var kpe=N(Cpe(),1),Ppe=N(Tpe(),1);var Ort="HTTPS_PROXY",Lrt="HTTP_PROXY",Frt="ALL_PROXY",Mrt="NO_PROXY",Y3="proxyPolicy",Rpe=[],Ope=!1,Urt=new Map;function L_(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(L_,"getEnvironmentValue");function Lpe(){if(!process)return;let t=L_(Ort),e=L_(Frt),r=L_(Lrt);return t||e||r}o(Lpe,"loadEnvironmentProxyValue");function qrt(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(qrt,"isBypassed");function Grt(){let t=L_(Mrt);return Ope=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Grt,"loadNoProxy");function K3(t){if(!t&&(t=Lpe(),!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(K3,"getDefaultProxySettings");function Hrt(){let t=Lpe();return t?new URL(t):void 0}o(Hrt,"getDefaultProxySettingsInternal");function Dpe(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(Dpe,"getUrlFromProxySettings");function Qpe(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&Wo.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new Ppe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new kpe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(Qpe,"setProxyAgentOnRequest");function F_(t,e){Ope||Rpe.push(...Grt());let r=t?Dpe(t):Hrt(),n={};return{name:Y3,async sendRequest(i,s){return!i.proxySettings&&r&&!qrt(i.url,e?.customNoProxyList??Rpe,e?.customNoProxyList?void 0:Urt)?Qpe(i,n,r):i.proxySettings&&Qpe(i,n,Dpe(i.proxySettings)),s(i)}}}o(F_,"proxyPolicy");var X3="agentPolicy";function M_(t){return{name:X3,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(M_,"agentPolicy");var Z3="tlsPolicy";function U_(t){return{name:Z3,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(U_,"tlsPolicy");function q_(t){return typeof t.stream=="function"}o(q_,"isBlob");var G_=require("stream");async function*Fpe(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(Fpe,"streamAsyncIterator");function Vrt(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=Fpe.bind(t)),t.values||(t.values=Fpe.bind(t))}o(Vrt,"makeAsyncIterable");function Mpe(t){return t instanceof ReadableStream?(Vrt(t),G_.Readable.fromWeb(t)):t}o(Mpe,"ensureNodeStream");function zrt(t){return t instanceof Uint8Array?G_.Readable.from(Buffer.from(t)):q_(t)?Mpe(t.stream()):Mpe(t)}o(zrt,"toStream");async function Upe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(zrt);return G_.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(Upe,"concat");function $rt(){return`----AzSDKFormBoundary${lp()}`}o($rt,"generateBoundary");function jrt(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r -`;return e}o(jrt,"encodeHeaders");function Wrt(t){return t instanceof Uint8Array?t.byteLength:q_(t)?t.size===-1?void 0:t.size:void 0}o(Wrt,"getLength");function Jrt(t){let e=0;for(let r of t){let n=Wrt(r);if(n===void 0)return;e+=n}return e}o(Jrt,"getTotalLength");async function Yrt(t,e,r){let n=[Is(`--${r}`,"utf-8"),...e.flatMap(s=>[Is(`\r -`,"utf-8"),Is(jrt(s.headers),"utf-8"),Is(`\r -`,"utf-8"),s.body,Is(`\r ---${r}`,"utf-8")]),Is(`--\r +`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new H0(s));return n.searchPaths.push(...tG(n.patterns)),n})}static stat(e,r,n){return cG(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield Pg.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Wo(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield Pg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield Pg.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){Wo(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};var rtt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function fhe(t,e){return rtt(this,void 0,void 0,function*(){return yield C_.create(t,e)})}o(fhe,"create");var L_=N(require("crypto"),1),Mg=N(require("fs"),1),bp=N(require("path"),1),ime=N(rme(),1),sme=N(require("util"),1);var Y0;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Y0||(Y0={}));var Yi;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Yi||(Yi={}));var ao;(function(t){t.GNU="gnu",t.BSD="bsd"})(ao||(ao={}));var k_=2,P_=5e3,NG=5e3,RG=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,nme=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,K0="cache.tar",TG="manifest.txt",Ptr=10*Math.pow(1024,3),O_="cache read denied:";var Fg=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},lit=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={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}},uit="1.0";function X0(){return Fg(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=bp.join(n,"actions","temp")}let r=bp.join(e,L_.randomUUID());return yield Mu(r),r})}o(X0,"createTempDirectory");function Wc(t){return Mg.statSync(t).size}o(Wc,"getArchiveFileSizeInBytes");function DG(t){return Fg(this,void 0,void 0,function*(){var e,r,n,i,s;let a=[],c=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),l=yield fhe(t.join(` +`),{implicitDescendants:!1});try{for(var u=!0,f=lit(l.globGenerator()),d;d=yield f.next(),e=d.done,!e;u=!0){i=d.value,u=!1;let p=bp.relative(c,i).replace(new RegExp(`\\${bp.sep}`,"g"),"/");D(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(h){r={error:h}}finally{try{!u&&!e&&(n=f.return)&&(yield n.call(f))}finally{if(r)throw r.error}}return a})}o(DG,"resolvePaths");function Z0(t){return Fg(this,void 0,void 0,function*(){return sme.promisify(Mg.unlink)(t)})}o(Z0,"unlinkFile");function ome(t){return Fg(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),D(`Checking ${e} ${r.join(" ")}`);try{yield so(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(i=>n+=i.toString(),"stdout"),stderr:o(i=>n+=i.toString(),"stderr")}})}catch(i){D(i.message)}return n=n.trim(),D(n),n})}o(ome,"getVersion");function ew(){return Fg(this,void 0,void 0,function*(){let t=yield ome("zstd",["--quiet"]),e=ime.clean(t);return D(`zstd version: ${e}`),t===""?Yi.Gzip:Yi.ZstdWithoutLong})}o(ew,"getCompressionMethod");function Ed(t){return t===Yi.Gzip?Y0.Gzip:Y0.Zstd}o(Ed,"getCacheFileName");function ame(){return Fg(this,void 0,void 0,function*(){return Mg.existsSync(RG)?RG:(yield ome("tar")).toLowerCase().includes("gnu tar")?li("tar"):""})}o(ame,"getGnuTarPathOnWindows");function QG(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(QG,"assertDefined");function Ug(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(uit),L_.createHash("sha256").update(n.join("|")).digest("hex")}o(Ug,"getCacheVersion");function cme(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(cme,"getRuntimeToken");var rw=N(require("http"),1),OG=N(require("https"),1);function kG(t){let e=t.protocol==="https:";if(fit(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 M_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new M_(`http://${r}`)}else return}o(kG,"getProxyUrl");function fit(t){if(!t.hostname)return!1;let e=t.hostname;if(dit(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(fit,"checkBypass");function dit(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(dit,"isLoopbackAddress");var M_=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 Cd=N(_A(),1),lme=N(ld(),1);var en=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Pr;(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"})(Pr||(Pr={}));var Ki;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ki||(Ki={}));var Hu;(function(t){t.ApplicationJson="application/json"})(Hu||(Hu={}));var pit=[Pr.MovedPermanently,Pr.ResourceMoved,Pr.SeeOther,Pr.TemporaryRedirect,Pr.PermanentRedirect],mit=[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout],Ait=["OPTIONS","GET","DELETE","HEAD"],git=10,yit=5,Jc=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},PG=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return en(this,void 0,void 0,function*(){return new Promise(e=>en(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return en(this,void 0,void 0,function*(){return new Promise(e=>en(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Vu=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return en(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return en(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return en(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return en(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return en(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return en(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return en(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return en(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return en(this,arguments,void 0,function*(r,n={}){n[Ki.Accept]=this._getExistingOrDefaultHeader(n,Ki.Accept,Hu.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return en(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Ki.Accept]=this._getExistingOrDefaultHeader(s,Ki.Accept,Hu.ApplicationJson),s[Ki.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Hu.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return en(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Ki.Accept]=this._getExistingOrDefaultHeader(s,Ki.Accept,Hu.ApplicationJson),s[Ki.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Hu.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return en(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Ki.Accept]=this._getExistingOrDefaultHeader(s,Ki.Accept,Hu.ApplicationJson),s[Ki.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Hu.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return en(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&Ait.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Pr.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,a,n):u}let f=this._maxRedirects;for(;u.message.statusCode&&pit.includes(u.message.statusCode)&&this._allowRedirects&&f>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),f--}if(!u.message.statusCode||!mit.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new PG(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=kG(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?OG:rw;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},tw(this.requestOptions.headers),tw(e||{})):tw(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=tw(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=tw(this.requestOptions.headers)[Ki.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Ki.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=kG(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||rw.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?Cd.httpsOverHttps:Cd.httpsOverHttp:l=u?Cd.httpOverHttps:Cd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new OG.Agent(c):new rw.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new lme.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return en(this,void 0,void 0,function*(){e=Math.min(git,e);let r=yit*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return en(this,void 0,void 0,function*(){return new Promise((n,i)=>en(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Pr.NotFound&&n(a);function c(f,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}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(s>299){let f;l&&l.message?f=l.message:u&&u.length>0?f=u:f=`Failed request: (${s})`;let d=new Jc(f,s);d.result=a.result,i(d)}else n(a)}))})}},tw=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Eit=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};var qg=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 Eit(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var gy=N(require("fs"),1),MCe=require("url");var Yc=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var ume=require("node:os"),fme=N(require("node:util"),1),dme=N(require("node:process"),1);function hme(t,...e){dme.default.stderr.write(`${fme.default.format(t,...e)}${ume.EOL}`)}o(hme,"log");var pme=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Ame,LG=[],FG=[],U_=[];pme&&MG(pme);var gme=Object.assign(t=>yme(t),{enable:MG,enabled:UG,disable:Cit,log:hme});function MG(t){Ame=t,LG=[],FG=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?FG.push(r.substring(1)):LG.push(r);for(let r of U_)r.enabled=UG(r.namespace)}o(MG,"enable");function UG(t){if(t.endsWith("*"))return!0;for(let e of FG)if(mme(t,e))return!1;for(let e of LG)if(mme(t,e))return!0;return!1}o(UG,"enabled");function mme(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let h=[],p="";for(let A of e)A==="*"&&p==="*"||(p=A,h.push(A));r=h.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let u=n===t.length,f=i===r.length,d=i===r.length-1&&r[i]==="*";return u&&(f||d)}o(mme,"namespaceMatches");function Cit(){let t=Ame||"";return MG(""),t}o(Cit,"disable");function yme(t){let e=Object.assign(r,{enabled:UG(t),destroy:bit,log:gme.log,namespace:t,extend:wit});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),U_.push(e),e}o(yme,"createDebugger");function bit(){let t=U_.indexOf(this);return t>=0?(U_.splice(t,1),!0):!1}o(bit,"destroy");function wit(t){let e=yme(`${this.namespace}:${t}`);return e.log=this.log,e}o(wit,"extend");var Gg=gme;var qG=["verbose","info","warning","error"],Eme={verbose:400,info:300,warning:200,error:100};function Cme(t,e){e.log=(...r)=>{t.log(...r)}}o(Cme,"patchLogMethod");function bme(t){return qG.includes(t)}o(bme,"isTypeSpecRuntimeLogLevel");function q_(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=Gg(t.namespace);i.log=(...f)=>{Gg.log(...f)};function s(f){if(f&&!bme(f))throw new Error(`Unknown log level '${f}'. Acceptable values: ${qG.join(",")}`);n=f;let d=[];for(let h of e)a(h)&&d.push(h.namespace);Gg.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(bme(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${qG.join(", ")}.`));function a(f){return!!(n&&Eme[f.level]<=Eme[n])}o(a,"shouldEnable");function c(f,d){let h=Object.assign(f.extend(d),{level:d});if(Cme(f,h),a(h)){let p=Gg.disable();Gg.enable(p+","+h.namespace)}return e.add(h),h}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function u(f){let d=i.extend(f);return Cme(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:u,logger:i}}o(q_,"createLoggerContext");var wme=q_({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Iit=wme.logger;function nw(t){return wme.createClientLogger(t)}o(nw,"createClientLogger");function G_(t){return t.toLowerCase()}o(G_,"normalizeName");function*Sit(t){for(let e of t.values())yield[e.name,e.value]}o(Sit,"headerIterator");var GG=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 n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Sit(this._headersMap)}};function co(t){return new GG(t)}o(co,"createHttpHeaders");function wp(){return crypto.randomUUID()}o(wp,"randomUUID");var HG=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??co(),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||wp(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function H_(t){return new HG(t)}o(H_,"createPipelineRequest");var Ime=new Set(["Deserialize","Serialize","Retry","Sign"]),VG=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&&!Ime.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!Ime.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(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(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 n(A){return{name:A,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),u=[i,s,a,c,l];function f(A){return A==="Retry"?c:A==="Serialize"?i:A==="Deserialize"?a:A==="Sign"?l:s}o(f,"getPhase");for(let A of this._policies){let g=A.policy,E=A.options,y=g.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let C={policy:g,dependsOn:new Set,dependants:new Set};E.afterPhase&&(C.afterPhase=f(E.afterPhase),C.afterPhase.hasAfterPolicies=!0),r.set(y,C),f(E.phase).policies.add(C)}for(let A of this._policies){let{policy:g,options:E}=A,y=g.name,C=r.get(y);if(!C)throw new Error(`Missing node for policy ${y}`);if(E.afterPolicies)for(let w of E.afterPolicies){let S=r.get(w);S&&(C.dependsOn.add(S),S.dependants.add(C))}if(E.beforePolicies)for(let w of E.beforePolicies){let S=r.get(w);S&&(S.dependsOn.add(C),C.dependants.add(S))}}function d(A){A.hasRun=!0;for(let g of A.policies)if(!(g.afterPhase&&(!g.afterPhase.hasRun||g.afterPhase.policies.size))&&g.dependsOn.size===0){e.push(g.policy);for(let E of g.dependants)E.dependsOn.delete(g);r.delete(g.policy.name),A.policies.delete(g)}}o(d,"walkPhase");function h(){for(let A of u){if(d(A),A.policies.size>0&&A!==s){s.hasRun||d(s);return}A.hasAfterPolicies&&d(s)}}o(h,"walkPhases");let p=0;for(;r.size>0;){p++;let A=e.length;if(h(),e.length<=A&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function V_(){return VG.create()}o(V_,"createEmptyPipeline");function Hg(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Hg,"isObject");function Ip(t){if(Hg(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Ip,"isError");var Sme=require("node:util"),Bme=Sme.inspect.custom;var zG="REDACTED",Bit=["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"],vit=["api-version"],rc=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Bit.concat(e),r=vit.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||Hg(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,zG);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=zG;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=zG;return r}};var xit=new rc,Xi=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 n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,Bme,{value:o(()=>`RestError: ${this.message} + ${xit.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function z_(t){return t instanceof Xi?!0:Ip(t)&&t.name==="RestError"}o(z_,"isRestError");function Ss(t,e){return Buffer.from(t,e)}o(Ss,"stringToUint8Array");var j_=N(require("node:http"),1),$_=N(require("node:https"),1),jG=N(require("node:zlib"),1),xme=require("node:stream");var Ko=nw("ts-http-runtime");var _it={};function iw(t){return t&&typeof t.pipe=="function"}o(iw,"isReadableStream");function vme(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(vme,"isStreamComplete");function _me(t){return t&&typeof t.byteLength=="number"}o(_me,"isArrayBuffer");var W_=class extends xme.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},$G=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Yc("The operation was aborted. Request has already been canceled.");n=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let u=new rc;Ko.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=Dit(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let A=e.onUploadProgress,g=new W_(A);g.on("error",E=>{Ko.error("Error in upload progress",E)}),iw(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let f=Nit(u),h={status:u.statusCode??0,headers:f,request:e};if(e.method==="HEAD")return u.resume(),h;l=a?Rit(u,f):u;let p=e.onDownloadProgress;if(p){let A=new W_(p);A.on("error",g=>{Ko.error("Error in download progress",g)}),l.pipe(A),l=A}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(h.status)?h.readableStreamBody=l:h.bodyAsText=await Tit(l),h}finally{if(e.abortSignal&&n){let u=Promise.resolve();iw(c)&&(u=vme(c));let f=Promise.resolve();iw(l)&&(f=vme(l)),Promise.all([u,f]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{Ko.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let f=s?j_.default.request(c,l):$_.default.request(c,l);f.once("error",d=>{u(new Xi(d.message,{code:d.code??Xi.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Yc("The operation was aborted. Rejecting from abort signal callback while making request.");f.destroy(d),u(d)}),n&&iw(n)?n.pipe(f):n?typeof n=="string"||Buffer.isBuffer(n)?f.end(n):_me(n)?f.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Ko.error("Unrecognized body type",n),u(new Xi("Unrecognized body type"))):f.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?j_.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new j_.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return $_.default.globalAgent;let i=e.tlsSettings??_it,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(Ko.info("No cached TLS Agent exist, creating a new Agent"),s=new $_.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function Nit(t){let e=co();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(Nit,"getResponseHeaders");function Rit(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=jG.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=jG.default.createInflate();return t.pipe(n),n}return t}o(Rit,"getDecodedResponseStream");function Tit(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new Xi(`Error reading response as text: ${i.message}`,{code:Xi.PARSE_ERROR}))})})}o(Tit,"streamToText");function Dit(t){return t?Buffer.isBuffer(t)?t.length:iw(t)?null:_me(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Dit,"getBodyLength");function Nme(){return new $G}o(Nme,"createNodeHttpClient");function J_(){return Nme()}o(J_,"createDefaultHttpClient");var WG="logPolicy";function Y_(t={}){let e=t.logger??Ko.info,r=new rc({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:WG,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(Y_,"logPolicy");var K_="redirectPolicy",Rme=["GET","HEAD"];function X_(t={}){let{maxRetries:e=20}=t;return{name:K_,async sendRequest(r,n){let i=await n(r);return Tme(n,i,e)}}}o(X_,"redirectPolicy");async function Tme(t,e,r,n=0){let{request:i,status:s,headers:a}=e,c=a.get("location");if(c&&(s===300||s===301&&Rme.includes(i.method)||s===302&&Rme.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n{let s,a,c=o(()=>i(new Yc(r?.abortErrorMsg?r?.abortErrorMsg:Qit)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(kme,"delay");function Pme(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Pme,"parseHeaderValueAsNumber");var JG="Retry-After",kit=["retry-after-ms","x-ms-retry-after-ms",JG];function Ome(t){if(t&&[429,503].includes(t.status))try{for(let i of kit){let s=Pme(t,i);if(s===0||s)return s*(i===JG?1e3:1)}let e=t.headers.get(JG);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(Ome,"getRetryAfterInMs");function Lme(t){return Number.isFinite(Ome(t))}o(Lme,"isThrottlingRetryResponse");function YG(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=Ome(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(YG,"throttlingRetryStrategy");var Pit=1e3,Oit=1e3*64;function rN(t={}){let e=t.retryDelayInMs??Pit,r=t.maxRetryDelayInMs??Oit;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=Fit(s),c=a&&t.ignoreSystemErrors,l=Lit(i),u=l&&t.ignoreHttpStatusCodes;return i&&(Lme(i)||!l)||u||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:tN(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(rN,"exponentialRetryStrategy");function Lit(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Lit,"isExponentialRetryResponse");function Fit(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(Fit,"isSystemError");var Mit=nw("ts-http-runtime retryPolicy"),Uit="retryPolicy";function Bp(t,e={maxRetries:3}){let r=e.logger||Mit;return{name:Uit,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Yc;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(s)return s;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 f=l.retry({retryCount:c,response:s,responseError:a});if(f.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:h,redirectTo:p}=f;if(d)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(h||h===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${h}`),await kme(h,void 0,{abortSignal:n.abortSignal});continue e}if(p){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${p}`),n.url=p;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(Bp,"retryPolicy");var KG="defaultRetryPolicy";function nN(t={}){return{name:KG,sendRequest:Bp([YG(),rN(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(nN,"defaultRetryPolicy");var Fme=typeof window<"u"&&typeof window.document<"u",Mme=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),Ume=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",qme=typeof Bun<"u"&&typeof Bun.version<"u",vp=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var Gme=typeof navigator<"u"&&navigator?.product==="ReactNative";var XG="formDataPolicy";function qit(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(qit,"formDataToFormDataMap");function iN(){return{name:XG,async sendRequest(t,e){if(vp&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=qit(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=Git(t.formData):await Hit(t.formData,t),t.formData=void 0}return e(t)}}}o(iN,"formDataPolicy");function Git(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(Git,"wwwFormUrlEncode");async function Hit(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 n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:co({"Content-Disposition":`form-data; name="${i}"`}),body:Ss(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=co();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(Hit,"prepareFormData");var vAe=N(dAe(),1),xAe=N(wAe(),1);var Xst="HTTPS_PROXY",Zst="HTTP_PROXY",eot="ALL_PROXY",tot="NO_PROXY",o4="proxyPolicy",IAe=[],_Ae=!1,rot=new Map;function pN(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(pN,"getEnvironmentValue");function NAe(){if(!process)return;let t=pN(Xst),e=pN(eot),r=pN(Zst);return t||e||r}o(NAe,"loadEnvironmentProxyValue");function not(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(not,"isBypassed");function iot(){let t=pN(tot);return _Ae=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(iot,"loadNoProxy");function a4(t){if(!t&&(t=NAe(),!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(a4,"getDefaultProxySettings");function sot(){let t=NAe();return t?new URL(t):void 0}o(sot,"getDefaultProxySettingsInternal");function SAe(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(SAe,"getUrlFromProxySettings");function BAe(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&Ko.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new xAe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new vAe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(BAe,"setProxyAgentOnRequest");function mN(t,e){_Ae||IAe.push(...iot());let r=t?SAe(t):sot(),n={};return{name:o4,async sendRequest(i,s){return!i.proxySettings&&r&&!not(i.url,e?.customNoProxyList??IAe,e?.customNoProxyList?void 0:rot)?BAe(i,n,r):i.proxySettings&&BAe(i,n,SAe(i.proxySettings)),s(i)}}}o(mN,"proxyPolicy");var c4="agentPolicy";function AN(t){return{name:c4,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(AN,"agentPolicy");var l4="tlsPolicy";function gN(t){return{name:l4,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(gN,"tlsPolicy");function yN(t){return typeof t.stream=="function"}o(yN,"isBlob");var EN=require("stream");async function*RAe(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(RAe,"streamAsyncIterator");function oot(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=RAe.bind(t)),t.values||(t.values=RAe.bind(t))}o(oot,"makeAsyncIterable");function TAe(t){return t instanceof ReadableStream?(oot(t),EN.Readable.fromWeb(t)):t}o(TAe,"ensureNodeStream");function aot(t){return t instanceof Uint8Array?EN.Readable.from(Buffer.from(t)):yN(t)?TAe(t.stream()):TAe(t)}o(aot,"toStream");async function DAe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(aot);return EN.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(DAe,"concat");function cot(){return`----AzSDKFormBoundary${wp()}`}o(cot,"generateBoundary");function lot(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r +`;return e}o(lot,"encodeHeaders");function uot(t){return t instanceof Uint8Array?t.byteLength:yN(t)?t.size===-1?void 0:t.size:void 0}o(uot,"getLength");function fot(t){let e=0;for(let r of t){let n=uot(r);if(n===void 0)return;e+=n}return e}o(fot,"getTotalLength");async function dot(t,e,r){let n=[Ss(`--${r}`,"utf-8"),...e.flatMap(s=>[Ss(`\r +`,"utf-8"),Ss(lot(s.headers),"utf-8"),Ss(`\r +`,"utf-8"),s.body,Ss(`\r +--${r}`,"utf-8")]),Ss(`--\r \r -`,"utf-8")],i=Jrt(n);i&&t.headers.set("Content-Length",i),t.body=await Upe(n)}o(Yrt,"buildRequestBody");var O0="multipartPolicy",Krt=70,Xrt=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Zrt(t){if(t.length>Krt)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Xrt.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Zrt,"assertValidBoundary");function H_(){return{name:O0,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,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;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?Zrt(r):r=$rt(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Yrt(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(H_,"multipartPolicy");function V_(){return h_()}o(V_,"createEmptyPipeline");var qpe=u_({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),Fer=qpe.logger;function jc(t){return qpe.createClientLogger(t)}o(jc,"createClientLogger");var Wc=jc("core-rest-pipeline");function rG(t={}){return E_({logger:Wc.info,...t})}o(rG,"logPolicy");var nG=C_;function iG(t={}){return b_(t)}o(iG,"redirectPolicy");var z_=N(require("node:os"),1),$_=N(require("node:process"),1);function Gpe(){return"User-Agent"}o(Gpe,"getHeaderName");async function Hpe(t){if($_.default&&$_.default.versions){let e=`${z_.default.type()} ${z_.default.release()}; ${z_.default.arch()}`,r=$_.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(Hpe,"setPlatformSpecificData");var j_="1.22.2";function ant(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(ant,"getUserAgentString");function Vpe(){return Gpe()}o(Vpe,"getUserAgentHeaderName");async function W_(t){let e=new Map;e.set("core-rest-pipeline",j_),await Hpe(e);let r=ant(e);return t?`${t} ${r}`:r}o(W_,"getUserAgentValue");var zpe=Vpe(),$pe="userAgentPolicy";function sG(t={}){let e=W_(t.userAgentPrefix);return{name:$pe,async sendRequest(r,n){return r.headers.has(zpe)||r.headers.set(zpe,await e),n(r)}}}o(sG,"userAgentPolicy");var uo=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function oG(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new uo(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(d=>{l(),s(d)},d=>{l(),a(d)})}catch(d){a(d)}n?.addEventListener("abort",u)})}o(oG,"createAbortablePromise");var fnt="The delay was aborted.";function L0(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return oG(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??fnt})}o(L0,"delay");function ff(t){if(up(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(ff,"getErrorMessage");function jpe(t){return up(t)}o(jpe,"isError");function Rg(){return lp()}o(Rg,"randomUUID");var Lt=hp;var Wpe=Symbol("rawContent");function cG(t){return typeof t[Wpe]=="function"}o(cG,"hasRawContent");function Jpe(t){return cG(t)?t[Wpe]():t}o(Jpe,"getRawContent");var J_=O0;function lG(){let t=H_();return{name:J_,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)cG(n.body)&&(n.body=Jpe(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(lG,"multipartPolicy");var uG=I_;function dG(){return w_()}o(dG,"decompressResponsePolicy");function fG(t={}){return x_(t)}o(fG,"defaultRetryPolicy");function hG(){return v_()}o(hG,"formDataPolicy");function hf(t){return K3(t)}o(hf,"getDefaultProxySettings");function pG(t,e){return F_(t,e)}o(pG,"proxyPolicy");var Ype="setClientRequestIdPolicy";function AG(t="x-ms-client-request-id"){return{name:Ype,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(AG,"setClientRequestIdPolicy");function mG(t){return M_(t)}o(mG,"agentPolicy");function gG(t){return U_(t)}o(gG,"tlsPolicy");var Dg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Kpe(t={}){let e=new yG(t.parentContext);return t.span&&(e=e.setValue(Dg.span,t.span)),t.namespace&&(e=e.setValue(Dg.namespace,t.namespace)),e}o(Kpe,"createTracingContext");var yG=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var Zpe=N(Xpe(),1),K_=Zpe.state;function hnt(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(hnt,"createDefaultTracingSpan");function pnt(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:hnt(),tracingContext:Kpe({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(pnt,"createDefaultInstrumenter");function F0(){return K_.instrumenterImplementation||(K_.instrumenterImplementation=pnt()),K_.instrumenterImplementation}o(F0,"getInstrumenter");function M0(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(u,d,f){let h=F0().startSpan(u,{...f,packageName:r,packageVersion:n,tracingContext:d?.tracingOptions?.tracingContext}),p=h.tracingContext,g=h.span;p.getValue(Dg.namespace)||(p=p.setValue(Dg.namespace,e)),g.setAttribute("az.namespace",p.getValue(Dg.namespace));let m=Object.assign({},d,{tracingOptions:{...d?.tracingOptions,tracingContext:p}});return{span:g,updatedOptions:m}}o(i,"startSpan");async function s(u,d,f,h){let{span:p,updatedOptions:g}=i(u,d,h);try{let m=await a(g.tracingOptions.tracingContext,()=>Promise.resolve(f(g,p)));return p.setStatus({status:"success"}),m}catch(m){throw p.setStatus({status:"error",error:m}),m}finally{p.end()}}o(s,"withSpan");function a(u,d,...f){return F0().withContext(u,d,...f)}o(a,"withContext");function c(u){return F0().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return F0().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(M0,"createTracingClient");var Lu=Yi;function Ap(t){return p_(t)}o(Ap,"isRestError");var eAe="tracingPolicy";function EG(t={}){let e=W_(t.userAgentPrefix),r=new Ka({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Ant();return{name:eAe,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=mnt(n,i,c)??{};if(!l||!u)return s(i);try{let d=await n.withContext(u,s,i);return ynt(l,d),d}catch(d){throw gnt(l,d),d}}}}o(EG,"tracingPolicy");function Ant(){try{return M0({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:j_})}catch(t){Wc.warning(`Error when creating the TracingClient: ${ff(t)}`);return}}o(Ant,"tryCreateTracingClient");function mnt(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){Wc.warning(`Skipping creating a tracing span due to an error: ${ff(n)}`);return}}o(mnt,"tryCreateSpan");function gnt(t,e){try{t.setStatus({status:"error",error:jpe(e)?e:void 0}),Ap(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Wc.warning(`Skipping tracing span processing due to an error: ${ff(r)}`)}}o(gnt,"tryProcessError");function ynt(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){Wc.warning(`Skipping tracing span processing due to an error: ${ff(r)}`)}}o(ynt,"tryProcessResponse");function X_(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(X_,"wrapAbortSignalLike");var Ent="wrapAbortSignalLikePolicy";function tAe(){return{name:Ent,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=X_(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(tAe,"wrapAbortSignalLikePolicy");function CG(t){let e=V_();return Lt&&(t.agent&&e.addPolicy(mG(t.agent)),t.tlsOptions&&e.addPolicy(gG(t.tlsOptions)),e.addPolicy(pG(t.proxyOptions)),e.addPolicy(dG())),e.addPolicy(tAe()),e.addPolicy(hG(),{beforePolicies:[J_]}),e.addPolicy(sG(t.userAgentOptions)),e.addPolicy(AG(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(lG(),{afterPhase:"Deserialize"}),e.addPolicy(fG(t.retryOptions),{phase:"Retry"}),e.addPolicy(EG({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Lt&&e.addPolicy(iG(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(rG(t.loggingOptions),{afterPhase:"Sign"}),e}o(CG,"createPipelineFromOptions");function U0(){let t=y_();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?X_(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(U0,"createDefaultHttpClient");function Fu(t){return oo(t)}o(Fu,"createHttpHeaders");function q0(t){return f_(t)}o(q0,"createPipelineRequest");var pir=jc("core-rest-pipeline retryPolicy");var Cnt={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function bnt(t,e,r){async function n(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(f=>(r=null,n=f,i=u.tenantId,n)).catch(f=>{throw r=null,n=null,i=void 0,f})),r}return o(c,"refresh"),async(l,u)=>{let d=!!u.claims,f=i!==u.tenantId;return d&&(n=null),f||d||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),n)}}o(bG,"createTokenCycler");var sAe="bearerTokenAuthenticationPolicy";async function Z_(t,e){try{return[await e(t),void 0]}catch(r){if(Ap(r)&&r.response)return[r.response,r];throw r}}o(Z_,"trySendRequest");async function Int(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(Int,"defaultAuthorizeRequest");function rAe(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(rAe,"isChallengeResponse");async function nAe(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(nAe,"authorizeRequestOnCaeChallenge");function Qg(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||Wc,s={authorizeRequest:n?.authorizeRequest?.bind(n)??Int,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?bG(e):()=>Promise.resolve(null);return{name:sAe,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 s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let u,d,f;if([u,d]=await Z_(c,l),rAe(u)){let h=iAe(u.headers.get("WWW-Authenticate"));if(h){let p;try{p=atob(h)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${h}`),u}f=await nAe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await Z_(c,l))}else if(s.authorizeRequestOnChallenge&&(f=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:i}),f&&([u,d]=await Z_(c,l)),rAe(u)&&(h=iAe(u.headers.get("WWW-Authenticate")),h))){let p;try{p=atob(h)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${h}`),u}f=await nAe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await Z_(c,l))}}if(d)throw d;return u}}}o(Qg,"bearerTokenAuthenticationPolicy");function wnt(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(wnt,"parseChallenges");function iAe(t){return t?wnt(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(iAe,"getCaeChallengeClaims");function fo(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(fo,"isTokenCredential");var IG="DisableKeepAlivePolicy";function oAe(){return{name:IG,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(oAe,"createDisableKeepAlivePolicy");function aAe(t){return t.getOrderedPolicies().some(e=>e.name===IG)}o(aAe,"pipelineContainsDisableKeepAlivePolicy");function wG(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(wG,"encodeByteArray");function SG(t){return Buffer.from(t,"base64")}o(SG,"decodeString");function Bnt(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(Bnt,"isPrimitiveBody");var xnt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function cAe(t){return xnt.test(t)}o(cAe,"isDuration");var vnt=/^[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 lAe(t){return vnt.test(t)}o(lAe,"isValidUuid");function Nnt(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(Nnt,"handleNullableResponseAndWrappableBody");function BG(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="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 i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return Nnt({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:Bnt(t.parsedBody,s)})}o(BG,"flattenResponse");var xG=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:d,MinItems:f,MinLength:h,MultipleOf:p,Pattern:g,UniqueItems:m}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&ru&&i("MaxItems",u),d!==void 0&&r.length>d&&i("MaxLength",d),f!==void 0&&r.lengthC.indexOf(E)!==y)&&i("UniqueItems",m)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},a={},c=e.type.name;n||(n=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(`${n} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=knt(c,n,r):c.match(/^Enum$/i)!==null?a=Pnt(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=Fnt(c,r,n):c.match(/^ByteArray$/i)!==null?a=Ont(n,r):c.match(/^Base64Url$/i)!==null?a=Lnt(n,r):c.match(/^Sequence$/i)!==null?a=Mnt(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=Unt(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=Gnt(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.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(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=Vnt(this,e,r,n,s);else{if(this.isXML){let l=s.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=Qnt(r):c.match(/^ByteArray$/i)!==null?a=SG(r):c.match(/^Base64Url$/i)!==null?a=Rnt(r):c.match(/^Sequence$/i)!==null?a=$nt(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=znt(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function ho(t={},e=!1){return new xG(t,e)}o(ho,"createSerializer");function _nt(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(_nt,"trimEnd");function Tnt(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=wG(t);return _nt(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(Tnt,"bufferToBase64Url");function Rnt(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,"/"),SG(t)}}o(Rnt,"base64UrlToByteArray");function vG(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(vG,"splitSerializeName");function Dnt(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(Dnt,"dateToUnixTime");function Qnt(t){if(t)return new Date(t*1e3)}o(Qnt,"unixTimeToDate");function knt(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"&&lAe(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 n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(knt,"serializeBasicTypes");function Pnt(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(Pnt,"serializeEnumType");function Ont(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=wG(e)}return e}o(Ont,"serializeByteArrayType");function Lnt(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Tnt(e)}return e}o(Lnt,"serializeBase64UrlType");function Fnt(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=Dnt(e)}else if(t.match(/^TimeSpan$/i)!==null&&!cAe(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(Fnt,"serializeDateTypes");function Mnt(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} 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 ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lh!==d)&&(a[d]=t.serialize(l,r[d],n+'["'+d+'"]',s))}return a}return r}o(Gnt,"serializeCompositeType");function hAe(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a["$"]=s,a}o(hAe,"getXmlObjectValue");function Hnt(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(Hnt,"isSpecialXmlProperty");function Vnt(t,e,r,n,i){let s=i.xml.xmlCharKey??"_";eT(t,e)&&(e=pAe(t,e,r,"serializedName"));let a=fAe(t,e,n),c={},l=[];for(let d of Object.keys(a)){let f=a[d],h=vG(a[d].serializedName);l.push(h[0]);let{serializedName:p,xmlName:g,xmlElementName:m}=f,E=n;p!==""&&p!==void 0&&(E=n+"."+p);let y=f.headerCollectionPrefix;if(y){let C={};for(let I of Object.keys(r))I.startsWith(y)&&(C[I.substring(y.length)]=t.deserialize(f.type.value,r[I],E,i)),l.push(I);c[d]=C}else if(t.isXML)if(f.xmlIsAttribute&&r["$"])c[d]=t.deserialize(f,r["$"][g],E,i);else if(f.xmlIsMsText)r[s]!==void 0?c[d]=r[s]:typeof r=="string"&&(c[d]=r);else{let C=m||g||p;if(f.xmlIsWrapped){let B=r[g]?.[m]??[];c[d]=t.deserialize(f,B,E,i),l.push(g)}else{let I=r[C];c[d]=t.deserialize(f,I,E,i),l.push(C)}}else{let C,I=r,B=0;for(let v of h){if(!I)break;B++,I=I[v]}I===null&&B{for(let h in a)if(vG(a[h].serializedName)[0]===f)return!1;return!0},"isAdditionalProperty");for(let f in r)d(f)&&(c[f]=t.deserialize(u,r[f],n+'["'+f+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let d of Object.keys(r))c[d]===void 0&&!l.includes(d)&&!Hnt(d,i)&&(c[d]=r[d]);return c}o(Vnt,"deserializeCompositeType");function znt(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(znt,"deserializeDictionaryType");function $nt(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c0)if(i.isConstant)s=i.defaultValue;else{let a=gAe(t,n);!a.propertyFound&&r&&(a=gAe(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],u=Af(t,{parameterPath:l,mapper:c},r);u!==void 0&&(s||(s={}),s[a]=u)}}return s}o(Af,"getOperationArgumentValueFromParameter");function gAe(t,e){let r={propertyFound:!1},n=0;for(;n=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(Znt,"deserializeResponseBody");function eit(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(eit,"isOperationSpecEmpty");function tit(t,e,r,n){let i=200<=t.status&&t.status<300;if(eit(e)?i:!!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 Lu(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,d=a?.headersMapper;try{if(t.parsedBody){let f=t.parsedBody,h;if(u){let g=f;if(e.isXML&&u.type.name===Jc.Sequence){g=[];let m=u.xmlElementName;typeof f=="object"&&m&&(g=f[m])}h=e.serializer.deserialize(u,g,"error.response.parsedBody",n)}let p=f.error||h||f;l.code=p.code,p.message&&(l.message=p.message),u&&(l.response.parsedBody=h)}t.headers&&d&&(l.response.parsedHeaders=e.serializer.deserialize(d,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(f){l.message=`Error "${f.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(tit,"handleErrorResponse");async function rit(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=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(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,d=l.code||Lu.PARSE_ERROR;throw new Lu(u,{code:d,statusCode:r.status,request:r.request,response:r})}}return r}o(rit,"parse");function CAe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Jc.Stream&&e.add(Number(r))}return e}o(CAe,"getStreamingResponseStatusCodes");function Yc(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(Yc,"getPathStringFromParameter");var bAe="serializationPolicy";function rT(t={}){let e=t.stringifyXML;return{name:bAe,async sendRequest(r,n){let i=Mu(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(nit(r,a,s),iit(r,a,s,e)),n(r)}}}o(rT,"serializationPolicy");function nit(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=Af(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,Yc(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||Yc(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(nit,"serializeHeaders");function iit(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Af(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:d,xmlElementName:f,xmlNamespace:h,xmlNamespacePrefix:p,nullable:g}=c,m=c.type.name;try{if(t.body!==void 0&&t.body!==null||g&&t.body===null||l){let E=Yc(r.requestBody);t.body=r.serializer.serialize(c,t.body,E,s);let y=m===Jc.Stream;if(r.isXML){let C=p?`xmlns:${p}`:"xmlns",I=sit(h,C,m,t.body,s);m===Jc.Sequence?t.body=n(oit(I,f||d||u,C,h),{rootName:d||u,xmlCharKey:a}):y||(t.body=n(I,{rootName:d||u,xmlCharKey:a}))}else{if(m===Jc.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(E){throw new Error(`Error "${E.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=Af(e,c);if(l!=null){let u=c.mapper.serializedName||Yc(c);t.formData[u]=r.serializer.serialize(c.mapper,l,Yc(c),s)}}}}o(iit,"serializeRequestBody");function sit(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s["$"]={[e]:t},s}return n}o(sit,"getXmlValueWithNamespace");function oit(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i["$"]={[r]:n},i}o(oit,"prepareXMLRootList");function G0(t={}){let e=CG(t??{});return t.credentialOptions&&e.addPolicy(Qg({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(rT(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(_G(t.deserializationOptions),{phase:"Deserialize"}),e}o(G0,"createClientPipeline");var TG;function IAe(){return TG||(TG=U0()),TG}o(IAe,"getCachedDefaultHttpClient");var ait={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function SAe(t,e,r,n){let i=cit(e,r,n),s=!1,a=wAe(t,i);if(e.path){let u=wAe(e.path,i);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),lit(u)?(a=u,s=!0):a=uit(a,u)}let{queryParams:c,sequenceParams:l}=dit(e,r,n);return a=hit(a,c,l,s),a}o(SAe,"getRequestUrl");function wAe(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(wAe,"replaceAll");function cit(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=Af(e,i,r),a=Yc(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(cit,"calculateUrlReplacements");function lit(t){return t.includes("://")}o(lit,"isAbsoluteUrl");function uit(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(uit,"appendPath");function dit(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=Af(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,Yc(s));let c=s.collectionFormat?ait[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||Yc(s),a)}}return{queryParams:n,sequenceParams:i}}o(dit,"calculateQueryParameters");function fit(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(fit,"simpleParseQueryParams");function hit(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=fit(i.search);for(let[c,l]of e){let u=s.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let d=new Set(u);s.set(c,Array.from(d))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&s.set(c,[u,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)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 i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(hit,"appendQueryParams");var RG=jc("core-client");var H0=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&&RG.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||IAe(),this.pipeline=e.pipeline||pit(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)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 i=SAe(n,r,e,this),s=q0({url:i});s.method=r.httpMethod;let a=Mu(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(s.timeout=u.timeout),u.onUploadProgress&&(s.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(s.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=CAe(r));try{let u=await this.sendRequest(s),d=BG(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,d),d}catch(u){if(typeof u=="object"&&u?.response){let d=u.response,f=BG(d,r.responses[u.statusCode]||r.responses.default);u.details=f,l?.onResponse&&l.onResponse(d,f,u)}throw u}}};function pit(t){let e=Ait(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return G0({...t,credentialOptions:r})}o(pit,"createDefaultPipeline");function Ait(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(Ait,"getCredentialScopes");var BAe={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function mit(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(mit,"isUuid");var nT=o(async t=>{let e=bit(t.request),r=Eit(t.response);if(r){let n=Cit(r),i=yit(t,n),s=git(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(BAe.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function git(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&mit(n))return n}o(git,"extractTenantId");function yit(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=BAe.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(yit,"buildScopes");function Eit(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Eit,"getChallenge");function Cit(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(Cit,"parseChallenge");function bit(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(bit,"requestToOptions");var xAe=Symbol("Original PipelineRequest"),Iit=Symbol.for("@azure/core-client original request");function z0(t,e={}){let n=t[xAe],i=Fu(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=q0({url:t.url,method:t.method,headers:i,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&&(s[Iit]=e.originalRequest),s}}o(z0,"toPipelineRequest");function mp(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:$0(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(n,{get(i,s,a){return s===xAe?t:s==="clone"?()=>mp(z0(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(mp,"toWebResourceLike");function $0(t){return new DG(t.toJSON({preserveCase:!0}))}o($0,"toHttpHeadersLike");function V0(t){return t.toLowerCase()}o(V0,"getHeaderKey");var DG=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[V0(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[V0(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[V0(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[V0(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 n=0;n{let r=await t.sendRequest(mp(e,{createProxy:!0}));return sT(r)},"sendRequest")}}o(PG,"convertHttpClient");var _Ae=":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",Bit=_Ae+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xit="["+_Ae+"]["+Bit+"]*",vit=new RegExp("^"+xit+"$");function oT(t,e){let r=[],n=e.exec(t);for(;n;){let i=[];i.startIndex=e.lastIndex-n[0].length;let s=n.length;for(let a=0;a"u")},"isName");function TAe(t){return typeof t<"u"}o(TAe,"isExist");var W0=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],aT=["__proto__","constructor","prototype"];var Nit={allowBooleanAttributes:!1,unpairedTags:[]};function cT(t,e){e=Object.assign({},Nit,e);let r=[],n=!1,i=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let s=0;s"&&t[s]!==" "&&t[s]!==" "&&t[s]!==` -`&&t[s]!=="\r";s++)l+=t[s];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),s--),!Oit(l)){let f;return l.trim().length===0?f="Invalid space after '<'.":f="Tag '"+l+"' is an invalid name.",en("InvalidTag",f,Ki(t,s))}let u=Rit(t,s);if(u===!1)return en("InvalidAttr","Attributes for '"+l+"' have open quote.",Ki(t,s));let d=u.value;if(s=u.index,d[d.length-1]==="/"){let f=s-d.length;d=d.substring(0,d.length-1);let h=kAe(d,e);if(h===!0)n=!0;else return en(h.err.code,h.err.msg,Ki(t,f+h.err.line))}else if(c)if(u.tagClosed){if(d.trim().length>0)return en("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Ki(t,a));if(r.length===0)return en("InvalidTag","Closing tag '"+l+"' has not been opened.",Ki(t,a));{let f=r.pop();if(l!==f.tagName){let h=Ki(t,f.tagStartPos);return en("InvalidTag","Expected closing tag '"+f.tagName+"' (opened in line "+h.line+", col "+h.col+") instead of closing tag '"+l+"'.",Ki(t,a))}r.length==0&&(i=!0)}}else return en("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Ki(t,s));else{let f=kAe(d,e);if(f!==!0)return en(f.err.code,f.err.msg,Ki(t,s-d.length+f.err.line));if(i===!0)return en("InvalidXml","Multiple possible root nodes found.",Ki(t,s));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(s++;s0)return en("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return en("InvalidXml","Start tag expected.",1);return!0}o(cT,"validate");function RAe(t){return t===" "||t===" "||t===` -`||t==="\r"}o(RAe,"isWhiteSpace");function DAe(t,e){let r=e;for(;e5&&n==="xml")return en("InvalidXml","XML declaration allowed only at the start of the document.",Ki(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(DAe,"readPI");function QAe(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(QAe,"readCommentAndCDATA");var _it='"',Tit="'";function Rit(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:i}}o(Rit,"readAttributeStr");var Dit=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function kAe(t,e){let r=oT(t,Dit),n={};for(let i=0;i",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"},OAe={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"},LAe={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"},FAe={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"},MAe={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"},UAe={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:"<"},qAe={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"},GAe={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"},HAe={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"},VAe={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"},lT={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"},zAe={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"},$Ae={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"},Lit={...PAe,...OAe,...LAe,...FAe,...MAe,...UAe,...qAe,...GAe,...HAe,...VAe,...lT,...zAe,...$Ae},Y0={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},LG={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 Fit=new Set("!?\\\\/[]$%{}^&*()<>|+");function jAe(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(Fit.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(jAe,"validateEntityName");function FG(...t){let e=Object.create(null);for(let r of t)if(r)for(let n of Object.keys(r)){let i=r[n];if(typeof i=="string")e[n]=i;else if(i&&typeof i=="object"&&i.val!==void 0){let s=i.val;typeof s=="string"&&(e[n]=s)}}return e}o(FG,"mergeEntityMaps");var gp="external",uT="base",MG="all";function Mit(t){return!t||t===gp?new Set([gp]):t===MG?new Set([MG]):t===uT?new Set([uT]):Array.isArray(t)?new Set(t):new Set([gp])}o(Mit,"parseLimitTiers");var Bs=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Uit=new Set([9,10,13]);function qit(t){if(!t)return{xmlVersion:1,onLevel:Bs.allow,nullLevel:Bs.remove};let e=t.xmlVersion===1.1?1.1:1,r=Bs[t.onNCR]??Bs.allow,n=Bs[t.nullNCR]??Bs.remove,i=Math.max(n,Bs.remove);return{xmlVersion:e,onLevel:r,nullLevel:i}}o(qit,"parseNCRConfig");var Pg=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:n=>n,this._limitTiers=Mit(this._limit.applyLimitsTo??gp),this._numericAllowed=e.numericAllowed??!0,this._baseMap=FG(Y0,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=qit(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))jAe(r);this._externalMap=FG(e)}addExternalEntity(e,r){jAe(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=FG(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,n=[],i=e.length,s=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a=i||e.charCodeAt(f)!==59){a++;continue}let h=e.slice(a+1,f);if(h.length===0){a++;continue}let p,g;if(this._removeSet.has(h))p="",g===void 0&&(g=gp);else if(this._leaveSet.has(h)){a++;continue}else if(h.charCodeAt(0)===35){let m=this._resolveNCR(h);if(m===void 0){a++;continue}p=m,g=uT}else{let m=this._resolveName(h);p=m?.value,g=m?.tier}if(p===void 0){a++;continue}if(a>s&&n.push(e.slice(s,a)),n.push(p),s=f+1,a=s,u&&this._tierCounts(g)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let m=p.length-(h.length+2);if(m>0&&(this._expandedLength+=m,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}s=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!Uit.has(e)?Bs.remove:-1}_applyNCRAction(e,r,n){switch(e){case Bs.allow:return String.fromCodePoint(n);case Bs.remove:return"";case Bs.leave:return;case Bs.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let i=this._classifyNCR(n);if(!this._numericAllowed&&iW0.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Git={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:WAe};function Hit(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(W0.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(aT.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(Hit,"validatePropertyName");function JAe(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"}:JAe(!0)}o(JAe,"normalizeProcessEntities");var YAe=o(function(t){let e=Object.assign({},Git,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:n,name:i}of r)n&&Hit(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=WAe),e.processEntities=JAe(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e},"buildOptions");var dT;typeof Symbol!="function"?dT="@@xmlMetadata":dT=Symbol("XML Node Metadata");var xs=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][dT]={startIndex:r})}static getMetaDataSymbol(){return dT}};var KAe=":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",Vit=KAe+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",XAe=":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}",zit=XAe+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",ZAe=o((t,e,r="")=>{let n=t.replace(":",""),i=e.replace(":",""),s=`[${n}][${i}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${s}$`,r),qName:new RegExp(`^${s}(?::${s})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),$it=ZAe(KAe,Vit),jit=ZAe(XAe,zit,"u"),Wit=o((t="1.0")=>t==="1.1"?jit:$it,"getRegexes");var yp=o((t,{xmlVersion:e="1.0"}={})=>Wit(e).qName.test(t),"qName");var X0=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 n=Object.create(null),i=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 s=1,a=!1,c=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[u]=d,i++}}else if(a&&Ep(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&Ep(e,"!ATTLIST",r))r+=8;else if(a&&Ep(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(Ep(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");s++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,s--):s--,s===0)break}else e[r]==="["?a=!0:l+=e[r];if(s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=vs(e,r);let n=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[i,s,r]}readNotationExp(e,r){r=vs(e,r);let n=r;for(;r{for(;e1||s.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===`${i}${a}`?l:t;let d=s?a:r;return s?d===u||i+d===u?l:t:d===u||d===i+u?l:t}}else return t}}else return nst(t,Number(r),e)}o(qG,"toNumber");var est=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function tst(t,e,r){if(!r.eNotation)return t;let n=e.match(est);if(n){let i=n[1]||"",s=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=i?t[a.length+1]===s:t[a.length]===s;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${s}`)||n[3][0]===s)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}o(tst,"resolveEnotation");function rst(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(rst,"trimZeros");function UG(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(UG,"parse_int");function nst(t,e,r){let n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}o(nst,"handleInfinity");function GG(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(GG,"getIgnoreAttributesFn");var po=class{static{o(this,"Expression")}constructor(e,r={},n){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(i=>i.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(i=>i.attrName!==void 0),this._hasPositionSelector=this.segments.some(i=>i.position!==void 0)}_parse(e){let r=[],n=0,i="";for(;n0?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 n=r[r.length-1];return n.values!==void 0&&e in n.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)}},Kc=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new HG(this)}push(e,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);let s=this.siblingStacks[i],a=n?`${n}:${e}`:e,c=s.get(a)||0,l=0;for(let d of s.values())l+=d;s.set(a,c+1);let u={tag:e,position:l,counter:c};n!=null&&(u.namespace=n),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 n=e||this.separator;if(n===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let s=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(n);return this._pathStringCache=s,s}return this.path.map(s=>r&&s.namespace?`${s.namespace}:${s.tag}`:s.tag).join(n)}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 i=e[n];if(i.type==="deep-wildcard"){if(n--,n<0)return!0;let s=e[n],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(s,this.path[c],c===this.path.length-1)){r=c-1,n--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(i,this.path[r],r===this.path.length-1))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!n||!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(!n)return!1;let i=r.counter??0;if(e.position==="first"&&i!==0)return!1;if(e.position==="odd"&&i%2!==1)return!1;if(e.position==="even"&&i%2!==0)return!1;if(e.position==="nth"&&i!==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 ist(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let n={};for(let i in r)if(i.startsWith(e.attributeNamePrefix)){let s=i.substring(e.attributeNamePrefix.length);n[s]=r[i]}else n[i]=r[i];return n}o(ist,"extractRawAttributes");function sst(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(sst,"extractNamespace");var Z0=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ust,this.parseTextData=ost,this.resolveNameSpace=ast,this.buildAttributesMap=lst,this.isItStopNode=pst,this.replaceEntitiesValue=fst,this.readStopNodeData=gst,this.saveTextToParentTag=hst,this.addChild=dst,this.ignoreAttributesFn=GG(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...Y0};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...LG,...lT}),this.entityDecoder=new Pg({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Kc,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Og;let i=this.options.stopNodes;if(i&&i.length>0){for(let s=0;s0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,i,s);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?$G(t,c.parseTagValue,c.numberParseOptions):t}}o(ost,"parseTextData");function ast(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(ast,"resolveNameSpace");var cst=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function lst(t,e,r,n=!1){let i=this.options;if(n===!0||i.ignoreAttributes!==!0&&typeof t=="string"){let s=oT(t,cst),a=s.length,c={},l=new Array(a),u=!1,d={};for(let p=0;p",c,"Closing Tag is not closed."),f=t.substring(c+2,d).trim();if(i.removeNSPrefix){let p=f.indexOf(":");p!==-1&&(f=f.substr(p+1))}f=VG(i.transformTagName,f,"",i).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let h=this.matcher.getCurrentTag();if(f&&i.unpairedTagsSet.has(f))throw new Error(`Unpaired tag can not be used as closing tag: `);h&&i.unpairedTagsSet.has(h)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=d}else if(u===63){let d=zG(t,c,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let f=this.buildAttributesMap(d.tagExp,this.matcher,d.tagName,!0);if(f){let h=f[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(h)||1),s.setXmlVersion(Number(h)||1)}if(!(i.ignoreDeclaration&&d.tagName==="?xml"||i.ignorePiTags)){let h=new xs(d.tagName);h.add(i.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&i.ignoreAttributes!==!0&&(h[":@"]=f),this.addChild(r,h,this.readonlyMatcher,c)}c=d.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let d=Lg(t,"-->",c+4,"Comment is not closed.");if(i.commentPropName){let f=t.substring(c+4,d-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(i.commentPropName,[{[i.textNodeName]:f}])}c=d}else if(u===33&&t.charCodeAt(c+2)===68){let d=s.readDocType(t,c);this.entityDecoder.addInputEntities(d.entities),c=d.i}else if(u===33&&t.charCodeAt(c+2)===91){let d=Lg(t,"]]>",c,"CDATA is not closed.")-2,f=t.substring(c+9,d);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let h=this.parseTextData(f,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);h==null&&(h=""),i.cdataPropName?r.add(i.cdataPropName,[{[i.textNodeName]:f}]):r.add(i.textNodeName,h),c=d+2}else{let d=zG(t,c,i.removeNSPrefix);if(!d){let M=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${M}"`)}let f=d.tagName,h=d.rawTagName,p=d.tagExp,g=d.attrExpPresent,m=d.closeIndex;if({tagName:f,tagExp:p}=VG(i.transformTagName,f,p,i),i.strictReservedNames&&(f===i.commentPropName||f===i.cdataPropName||f===i.textNodeName||f===i.attributesGroupName))throw new Error(`Invalid tag name: ${f}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let E=r;E&&i.unpairedTagsSet.has(E.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,f[f.length-1]==="/"?(f=f.substr(0,f.length-1),p=f):p=p.substr(0,p.length-1),g=f!==p);let C=null,I={},B;B=sst(h),f!==e.tagname&&this.matcher.push(f,{},B),f!==p&&g&&(C=this.buildAttributesMap(p,this.matcher,f),C&&(I=ist(C,i))),f!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let Q=c;if(this.isCurrentNodeStopNode){let M="";if(y)c=d.closeIndex;else if(i.unpairedTagsSet.has(f))c=d.closeIndex;else{let $=this.readStopNodeData(t,h,m+1);if(!$)throw new Error(`Unexpected end of ${h}`);c=$.i,M=$.tagContent}let v=new xs(f);C&&(v[":@"]=C),v.add(i.textNodeName,M),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,v,this.readonlyMatcher,Q)}else{if(y){({tagName:f,tagExp:p}=VG(i.transformTagName,f,p,i));let M=new xs(f);C&&(M[":@"]=C),this.addChild(r,M,this.readonlyMatcher,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(f)){let M=new xs(f);C&&(M[":@"]=C),this.addChild(r,M,this.readonlyMatcher,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=d.closeIndex;continue}else{let M=new xs(f);if(this.tagsNodeStack.length>i.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),C&&(M[":@"]=C),this.addChild(r,M,this.readonlyMatcher,Q),r=M}n="",c=m}}}else n+=t[c];return e.child},"parseXml");function dst(t,e,r,n){this.options.captureMetaData||(n=void 0);let i=this.options.jPath?r.toString():r,s=this.options.updateTag(e.tagname,i,e[":@"]);s===!1||(typeof s=="string"&&(e.tagname=s),t.addChild(e,n))}o(dst,"addChild");function fst(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){let i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}return this.entityDecoder.decode(t)}o(fst,"replaceEntitiesValue");function hst(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(hst,"saveTextToParentTag");function pst(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(pst,"isItStopNode");function Ast(t,e,r=">"){let n=0,i=t.length,s=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&&(i--,i===0))return{tagContent:t.substring(n,r),i:c};r=c}else if(a===63)r=Lg(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Lg(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Lg(t,"]]>",r,"StopNode is not closed.")-2;else{let c=zG(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&i++,r=c.closeIndex)}}}o(gst,"readStopNodeData");function $G(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:qG(t,r)}else return TAe(t)?t:""}o($G,"parseValue");function VG(t,e,r,n){if(t){let i=t(e);r===e&&(r=i),e=i}return e=eme(e,n),{tagName:e,tagExp:r}}o(VG,"transformTagName");function eme(t,e){if(aT.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return W0.includes(t)?e.onDangerousProperty(t):t}o(eme,"sanitizeName");var jG=xs.getMetaDataSymbol();function yst(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let n in t)if(n.startsWith(e)){let i=n.substring(e.length);r[i]=t[n]}else r[n]=t[n];return r}o(yst,"stripAttributePrefix");function WG(t,e,r,n){return tme(t,e,r,n)}o(WG,"prettify");function tme(t,e,r,n){let i,s={};for(let a=0;a0&&(s[e.textNodeName]=i):i!==void 0&&(s[e.textNodeName]=i),s}o(tme,"compress");function Est(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(hT,"safeCdata");function mf(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(mf,"escapeAttribute");var Ist=` -`;function wst(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(KG(r)==="?xml"){let i=r[":@"];if(i){let s=e.attributeNamePrefix+"version";if(i[s])return i[s]}}return"1.0"}o(wst,"detectXmlVersionFromArray");function nme(t,e,r,n,i){return!r.sanitizeName||yp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(nme,"resolveTagName");function YG(t,e){let r="";e.format&&(r=Ist);let n=[];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=JG(l,e),l}return""}for(let l=0;l`,c=!1,n.pop();continue}else if(h===e.commentPropName){let I=u[d][0][e.textNodeName],B=fT(I);a+=r+``,c=!0,n.pop();continue}else if(h[0]==="?"){let I=rme(u[":@"],e,g,n,s);a+=(h==="?xml"?"":r)+`<${h}${I}?>`,c=!0,n.pop();continue}let m=r;m!==""&&(m+=e.indentBy);let E=rme(u[":@"],e,g,n,s),y=r+`<${h}${E}`,C;g?C=sme(u[d],e):C=ime(u[d],e,m,n,i,s),e.unpairedTags.indexOf(h)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!C||C.length===0)&&e.suppressEmptyNode?a+=y+"/>":C&&C.endsWith(">")?a+=y+`>${C}${r}`:(a+=y+">",C&&r!==""&&(C.includes("/>")||C.includes("`),c=!0,n.pop()}return a}o(ime,"arrToStr");function Sst(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let s=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[s]=mf(t[i]),n=!0}return n?r:null}o(Sst,"extractAttributeValues");function sme(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${s}${a}>${c}`}}}return r}o(sme,"getRawContent");function Bst(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];i===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${mf(i)}"`}return r}o(Bst,"attr_to_str_raw");function KG(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(XG,"getIgnoreAttributesFn");var vst={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 Ns(t){if(this.options=Object.assign({},vst,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")],i=fot(n);i&&t.headers.set("Content-Length",i),t.body=await DAe(n)}o(dot,"buildRequestBody");var aw="multipartPolicy",hot=70,pot=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function mot(t){if(t.length>hot)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!pot.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(mot,"assertValidBoundary");function CN(){return{name:aw,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,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;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?mot(r):r=cot(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await dot(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(CN,"multipartPolicy");function bN(){return V_()}o(bN,"createEmptyPipeline");var QAe=q_({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),kor=QAe.logger;function Zc(t){return QAe.createClientLogger(t)}o(Zc,"createClientLogger");var el=Zc("core-rest-pipeline");function d4(t={}){return Y_({logger:el.info,...t})}o(d4,"logPolicy");var h4=K_;function p4(t={}){return X_(t)}o(p4,"redirectPolicy");var wN=N(require("node:os"),1),IN=N(require("node:process"),1);function kAe(){return"User-Agent"}o(kAe,"getHeaderName");async function PAe(t){if(IN.default&&IN.default.versions){let e=`${wN.default.type()} ${wN.default.release()}; ${wN.default.arch()}`,r=IN.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(PAe,"setPlatformSpecificData");var SN="1.22.2";function Iot(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(Iot,"getUserAgentString");function OAe(){return kAe()}o(OAe,"getUserAgentHeaderName");async function BN(t){let e=new Map;e.set("core-rest-pipeline",SN),await PAe(e);let r=Iot(e);return t?`${t} ${r}`:r}o(BN,"getUserAgentValue");var LAe=OAe(),FAe="userAgentPolicy";function m4(t={}){let e=BN(t.userAgentPrefix);return{name:FAe,async sendRequest(r,n){return r.headers.has(LAe)||r.headers.set(LAe,await e),n(r)}}}o(m4,"userAgentPolicy");var ho=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function A4(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new ho(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(f=>{l(),s(f)},f=>{l(),a(f)})}catch(f){a(f)}n?.addEventListener("abort",u)})}o(A4,"createAbortablePromise");var _ot="The delay was aborted.";function cw(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return A4(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??_ot})}o(cw,"delay");function wd(t){if(Ip(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(wd,"getErrorMessage");function MAe(t){return Ip(t)}o(MAe,"isError");function Jg(){return wp()}o(Jg,"randomUUID");var Lt=vp;var UAe=Symbol("rawContent");function y4(t){return typeof t[UAe]=="function"}o(y4,"hasRawContent");function qAe(t){return y4(t)?t[UAe]():t}o(qAe,"getRawContent");var vN=aw;function E4(){let t=CN();return{name:vN,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)y4(n.body)&&(n.body=qAe(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(E4,"multipartPolicy");var C4=Z_;function b4(){return eN()}o(b4,"decompressResponsePolicy");function w4(t={}){return nN(t)}o(w4,"defaultRetryPolicy");function I4(){return iN()}o(I4,"formDataPolicy");function Id(t){return a4(t)}o(Id,"getDefaultProxySettings");function S4(t,e){return mN(t,e)}o(S4,"proxyPolicy");var GAe="setClientRequestIdPolicy";function B4(t="x-ms-client-request-id"){return{name:GAe,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(B4,"setClientRequestIdPolicy");function v4(t){return AN(t)}o(v4,"agentPolicy");function x4(t){return gN(t)}o(x4,"tlsPolicy");var Yg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function HAe(t={}){let e=new _4(t.parentContext);return t.span&&(e=e.setValue(Yg.span,t.span)),t.namespace&&(e=e.setValue(Yg.namespace,t.namespace)),e}o(HAe,"createTracingContext");var _4=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var zAe=N(VAe(),1),_N=zAe.state;function Not(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Not,"createDefaultTracingSpan");function Rot(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Not(),tracingContext:HAe({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Rot,"createDefaultInstrumenter");function lw(){return _N.instrumenterImplementation||(_N.instrumenterImplementation=Rot()),_N.instrumenterImplementation}o(lw,"getInstrumenter");function uw(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(u,f,d){let h=lw().startSpan(u,{...d,packageName:r,packageVersion:n,tracingContext:f?.tracingOptions?.tracingContext}),p=h.tracingContext,A=h.span;p.getValue(Yg.namespace)||(p=p.setValue(Yg.namespace,e)),A.setAttribute("az.namespace",p.getValue(Yg.namespace));let g=Object.assign({},f,{tracingOptions:{...f?.tracingOptions,tracingContext:p}});return{span:A,updatedOptions:g}}o(i,"startSpan");async function s(u,f,d,h){let{span:p,updatedOptions:A}=i(u,f,h);try{let g=await a(A.tracingOptions.tracingContext,()=>Promise.resolve(d(A,p)));return p.setStatus({status:"success"}),g}catch(g){throw p.setStatus({status:"error",error:g}),g}finally{p.end()}}o(s,"withSpan");function a(u,f,...d){return lw().withContext(u,f,...d)}o(a,"withContext");function c(u){return lw().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return lw().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(uw,"createTracingClient");var zu=Xi;function _p(t){return z_(t)}o(_p,"isRestError");var jAe="tracingPolicy";function N4(t={}){let e=BN(t.userAgentPrefix),r=new rc({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Tot();return{name:jAe,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=Dot(n,i,c)??{};if(!l||!u)return s(i);try{let f=await n.withContext(u,s,i);return kot(l,f),f}catch(f){throw Qot(l,f),f}}}}o(N4,"tracingPolicy");function Tot(){try{return uw({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:SN})}catch(t){el.warning(`Error when creating the TracingClient: ${wd(t)}`);return}}o(Tot,"tryCreateTracingClient");function Dot(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){el.warning(`Skipping creating a tracing span due to an error: ${wd(n)}`);return}}o(Dot,"tryCreateSpan");function Qot(t,e){try{t.setStatus({status:"error",error:MAe(e)?e:void 0}),_p(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){el.warning(`Skipping tracing span processing due to an error: ${wd(r)}`)}}o(Qot,"tryProcessError");function kot(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){el.warning(`Skipping tracing span processing due to an error: ${wd(r)}`)}}o(kot,"tryProcessResponse");function NN(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(NN,"wrapAbortSignalLike");var Pot="wrapAbortSignalLikePolicy";function $Ae(){return{name:Pot,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=NN(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o($Ae,"wrapAbortSignalLikePolicy");function R4(t){let e=bN();return Lt&&(t.agent&&e.addPolicy(v4(t.agent)),t.tlsOptions&&e.addPolicy(x4(t.tlsOptions)),e.addPolicy(S4(t.proxyOptions)),e.addPolicy(b4())),e.addPolicy($Ae()),e.addPolicy(I4(),{beforePolicies:[vN]}),e.addPolicy(m4(t.userAgentOptions)),e.addPolicy(B4(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(E4(),{afterPhase:"Deserialize"}),e.addPolicy(w4(t.retryOptions),{phase:"Retry"}),e.addPolicy(N4({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Lt&&e.addPolicy(p4(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(d4(t.loggingOptions),{afterPhase:"Sign"}),e}o(R4,"createPipelineFromOptions");function fw(){let t=J_();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?NN(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(fw,"createDefaultHttpClient");function ju(t){return co(t)}o(ju,"createHttpHeaders");function dw(t){return H_(t)}o(dw,"createPipelineRequest");var fur=Zc("core-rest-pipeline retryPolicy");var Oot={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Lot(t,e,r){async function n(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=u.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return o(c,"refresh"),async(l,u)=>{let f=!!u.claims,d=i!==u.tenantId;return f&&(n=null),d||f||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),n)}}o(T4,"createTokenCycler");var KAe="bearerTokenAuthenticationPolicy";async function RN(t,e){try{return[await e(t),void 0]}catch(r){if(_p(r)&&r.response)return[r.response,r];throw r}}o(RN,"trySendRequest");async function Fot(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(Fot,"defaultAuthorizeRequest");function WAe(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(WAe,"isChallengeResponse");async function JAe(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(JAe,"authorizeRequestOnCaeChallenge");function Kg(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||el,s={authorizeRequest:n?.authorizeRequest?.bind(n)??Fot,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?T4(e):()=>Promise.resolve(null);return{name:KAe,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 s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let u,f,d;if([u,f]=await RN(c,l),WAe(u)){let h=YAe(u.headers.get("WWW-Authenticate"));if(h){let p;try{p=atob(h)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${h}`),u}d=await JAe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),d&&([u,f]=await RN(c,l))}else if(s.authorizeRequestOnChallenge&&(d=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:i}),d&&([u,f]=await RN(c,l)),WAe(u)&&(h=YAe(u.headers.get("WWW-Authenticate")),h))){let p;try{p=atob(h)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${h}`),u}d=await JAe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),d&&([u,f]=await RN(c,l))}}if(f)throw f;return u}}}o(Kg,"bearerTokenAuthenticationPolicy");function Mot(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(Mot,"parseChallenges");function YAe(t){return t?Mot(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(YAe,"getCaeChallengeClaims");function po(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(po,"isTokenCredential");var D4="DisableKeepAlivePolicy";function XAe(){return{name:D4,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(XAe,"createDisableKeepAlivePolicy");function ZAe(t){return t.getOrderedPolicies().some(e=>e.name===D4)}o(ZAe,"pipelineContainsDisableKeepAlivePolicy");function Q4(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(Q4,"encodeByteArray");function k4(t){return Buffer.from(t,"base64")}o(k4,"decodeString");function qot(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(qot,"isPrimitiveBody");var Got=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ege(t){return Got.test(t)}o(ege,"isDuration");var Hot=/^[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 tge(t){return Hot.test(t)}o(tge,"isValidUuid");function Vot(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(Vot,"handleNullableResponseAndWrappableBody");function P4(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="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 i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return Vot({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:qot(t.parsedBody,s)})}o(P4,"flattenResponse");var O4=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:f,MinItems:d,MinLength:h,MultipleOf:p,Pattern:A,UniqueItems:g}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&ru&&i("MaxItems",u),f!==void 0&&r.length>f&&i("MaxLength",f),d!==void 0&&r.lengthC.indexOf(E)!==y)&&i("UniqueItems",g)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},a={},c=e.type.name;n||(n=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(`${n} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=Yot(c,n,r):c.match(/^Enum$/i)!==null?a=Kot(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=eat(c,r,n):c.match(/^ByteArray$/i)!==null?a=Xot(n,r):c.match(/^Base64Url$/i)!==null?a=Zot(n,r):c.match(/^Sequence$/i)!==null?a=tat(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=rat(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=iat(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.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(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=oat(this,e,r,n,s);else{if(this.isXML){let l=s.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=Jot(r):c.match(/^ByteArray$/i)!==null?a=k4(r):c.match(/^Base64Url$/i)!==null?a=$ot(r):c.match(/^Sequence$/i)!==null?a=cat(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=aat(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function mo(t={},e=!1){return new O4(t,e)}o(mo,"createSerializer");function zot(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(zot,"trimEnd");function jot(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=Q4(t);return zot(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(jot,"bufferToBase64Url");function $ot(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,"/"),k4(t)}}o($ot,"base64UrlToByteArray");function L4(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(L4,"splitSerializeName");function Wot(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(Wot,"dateToUnixTime");function Jot(t){if(t)return new Date(t*1e3)}o(Jot,"unixTimeToDate");function Yot(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"&&tge(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 n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(Yot,"serializeBasicTypes");function Kot(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(Kot,"serializeEnumType");function Xot(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Q4(e)}return e}o(Xot,"serializeByteArrayType");function Zot(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=jot(e)}return e}o(Zot,"serializeBase64UrlType");function eat(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=Wot(e)}else if(t.match(/^TimeSpan$/i)!==null&&!ege(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(eat,"serializeDateTypes");function tat(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} 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 ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lh!==f)&&(a[f]=t.serialize(l,r[f],n+'["'+f+'"]',s))}return a}return r}o(iat,"serializeCompositeType");function sge(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a["$"]=s,a}o(sge,"getXmlObjectValue");function sat(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(sat,"isSpecialXmlProperty");function oat(t,e,r,n,i){let s=i.xml.xmlCharKey??"_";TN(t,e)&&(e=oge(t,e,r,"serializedName"));let a=ige(t,e,n),c={},l=[];for(let f of Object.keys(a)){let d=a[f],h=L4(a[f].serializedName);l.push(h[0]);let{serializedName:p,xmlName:A,xmlElementName:g}=d,E=n;p!==""&&p!==void 0&&(E=n+"."+p);let y=d.headerCollectionPrefix;if(y){let C={};for(let w of Object.keys(r))w.startsWith(y)&&(C[w.substring(y.length)]=t.deserialize(d.type.value,r[w],E,i)),l.push(w);c[f]=C}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[f]=t.deserialize(d,r["$"][A],E,i);else if(d.xmlIsMsText)r[s]!==void 0?c[f]=r[s]:typeof r=="string"&&(c[f]=r);else{let C=g||A||p;if(d.xmlIsWrapped){let S=r[A]?.[g]??[];c[f]=t.deserialize(d,S,E,i),l.push(A)}else{let w=r[C];c[f]=t.deserialize(d,w,E,i),l.push(C)}}else{let C,w=r,S=0;for(let x of h){if(!w)break;S++,w=w[x]}w===null&&S{for(let h in a)if(L4(a[h].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)f(d)&&(c[d]=t.deserialize(u,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let f of Object.keys(r))c[f]===void 0&&!l.includes(f)&&!sat(f,i)&&(c[f]=r[f]);return c}o(oat,"deserializeCompositeType");function aat(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(aat,"deserializeDictionaryType");function cat(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c0)if(i.isConstant)s=i.defaultValue;else{let a=lge(t,n);!a.propertyFound&&r&&(a=lge(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],u=Bd(t,{parameterPath:l,mapper:c},r);u!==void 0&&(s||(s={}),s[a]=u)}}return s}o(Bd,"getOperationArgumentValueFromParameter");function lge(t,e){let r={propertyFound:!1},n=0;for(;n=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(mat,"deserializeResponseBody");function Aat(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Aat,"isOperationSpecEmpty");function gat(t,e,r,n){let i=200<=t.status&&t.status<300;if(Aat(e)?i:!!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 zu(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,f=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,h;if(u){let A=d;if(e.isXML&&u.type.name===tl.Sequence){A=[];let g=u.xmlElementName;typeof d=="object"&&g&&(A=d[g])}h=e.serializer.deserialize(u,A,"error.response.parsedBody",n)}let p=d.error||h||d;l.code=p.code,p.message&&(l.message=p.message),u&&(l.response.parsedBody=h)}t.headers&&f&&(l.response.parsedHeaders=e.serializer.deserialize(f,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(gat,"handleErrorResponse");async function yat(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=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(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,f=l.code||zu.PARSE_ERROR;throw new zu(u,{code:f,statusCode:r.status,request:r.request,response:r})}}return r}o(yat,"parse");function dge(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===tl.Stream&&e.add(Number(r))}return e}o(dge,"getStreamingResponseStatusCodes");function rl(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(rl,"getPathStringFromParameter");var hge="serializationPolicy";function QN(t={}){let e=t.stringifyXML;return{name:hge,async sendRequest(r,n){let i=$u(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(Eat(r,a,s),Cat(r,a,s,e)),n(r)}}}o(QN,"serializationPolicy");function Eat(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=Bd(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,rl(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||rl(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(Eat,"serializeHeaders");function Cat(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Bd(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:f,xmlElementName:d,xmlNamespace:h,xmlNamespacePrefix:p,nullable:A}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||A&&t.body===null||l){let E=rl(r.requestBody);t.body=r.serializer.serialize(c,t.body,E,s);let y=g===tl.Stream;if(r.isXML){let C=p?`xmlns:${p}`:"xmlns",w=bat(h,C,g,t.body,s);g===tl.Sequence?t.body=n(wat(w,d||f||u,C,h),{rootName:f||u,xmlCharKey:a}):y||(t.body=n(w,{rootName:f||u,xmlCharKey:a}))}else{if(g===tl.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(E){throw new Error(`Error "${E.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=Bd(e,c);if(l!=null){let u=c.mapper.serializedName||rl(c);t.formData[u]=r.serializer.serialize(c.mapper,l,rl(c),s)}}}}o(Cat,"serializeRequestBody");function bat(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s["$"]={[e]:t},s}return n}o(bat,"getXmlValueWithNamespace");function wat(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i["$"]={[r]:n},i}o(wat,"prepareXMLRootList");function hw(t={}){let e=R4(t??{});return t.credentialOptions&&e.addPolicy(Kg({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(QN(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(M4(t.deserializationOptions),{phase:"Deserialize"}),e}o(hw,"createClientPipeline");var U4;function pge(){return U4||(U4=fw()),U4}o(pge,"getCachedDefaultHttpClient");var Iat={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function Age(t,e,r,n){let i=Sat(e,r,n),s=!1,a=mge(t,i);if(e.path){let u=mge(e.path,i);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),Bat(u)?(a=u,s=!0):a=vat(a,u)}let{queryParams:c,sequenceParams:l}=xat(e,r,n);return a=Nat(a,c,l,s),a}o(Age,"getRequestUrl");function mge(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(mge,"replaceAll");function Sat(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=Bd(e,i,r),a=rl(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(Sat,"calculateUrlReplacements");function Bat(t){return t.includes("://")}o(Bat,"isAbsoluteUrl");function vat(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(vat,"appendPath");function xat(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=Bd(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,rl(s));let c=s.collectionFormat?Iat[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||rl(s),a)}}return{queryParams:n,sequenceParams:i}}o(xat,"calculateQueryParameters");function _at(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(_at,"simpleParseQueryParams");function Nat(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=_at(i.search);for(let[c,l]of e){let u=s.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let f=new Set(u);s.set(c,Array.from(f))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&s.set(c,[u,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)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 i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(Nat,"appendQueryParams");var q4=Zc("core-client");var pw=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&&q4.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||pge(),this.pipeline=e.pipeline||Rat(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)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 i=Age(n,r,e,this),s=dw({url:i});s.method=r.httpMethod;let a=$u(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(s.timeout=u.timeout),u.onUploadProgress&&(s.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(s.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=dge(r));try{let u=await this.sendRequest(s),f=P4(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,f),f}catch(u){if(typeof u=="object"&&u?.response){let f=u.response,d=P4(f,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(f,d,u)}throw u}}};function Rat(t){let e=Tat(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return hw({...t,credentialOptions:r})}o(Rat,"createDefaultPipeline");function Tat(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(Tat,"getCredentialScopes");var gge={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Dat(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(Dat,"isUuid");var kN=o(async t=>{let e=Lat(t.request),r=Pat(t.response);if(r){let n=Oat(r),i=kat(t,n),s=Qat(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(gge.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function Qat(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Dat(n))return n}o(Qat,"extractTenantId");function kat(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=gge.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(kat,"buildScopes");function Pat(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Pat,"getChallenge");function Oat(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(Oat,"parseChallenge");function Lat(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Lat,"requestToOptions");var yge=Symbol("Original PipelineRequest"),Fat=Symbol.for("@azure/core-client original request");function Aw(t,e={}){let n=t[yge],i=ju(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=dw({url:t.url,method:t.method,headers:i,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&&(s[Fat]=e.originalRequest),s}}o(Aw,"toPipelineRequest");function Np(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:gw(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(n,{get(i,s,a){return s===yge?t:s==="clone"?()=>Np(Aw(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(Np,"toWebResourceLike");function gw(t){return new G4(t.toJSON({preserveCase:!0}))}o(gw,"toHttpHeadersLike");function mw(t){return t.toLowerCase()}o(mw,"getHeaderKey");var G4=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[mw(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[mw(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[mw(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[mw(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 n=0;n{let r=await t.sendRequest(Np(e,{createProxy:!0}));return ON(r)},"sendRequest")}}o(z4,"convertHttpClient");var bge=":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",qat=bge+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Gat="["+bge+"]["+qat+"]*",Hat=new RegExp("^"+Gat+"$");function LN(t,e){let r=[],n=e.exec(t);for(;n;){let i=[];i.startIndex=e.lastIndex-n[0].length;let s=n.length;for(let a=0;a"u")},"isName");function wge(t){return typeof t<"u"}o(wge,"isExist");var Ew=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],FN=["__proto__","constructor","prototype"];var Vat={allowBooleanAttributes:!1,unpairedTags:[]};function MN(t,e){e=Object.assign({},Vat,e);let r=[],n=!1,i=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let s=0;s"&&t[s]!==" "&&t[s]!==" "&&t[s]!==` +`&&t[s]!=="\r";s++)l+=t[s];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),s--),!Xat(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",tn("InvalidTag",d,Zi(t,s))}let u=$at(t,s);if(u===!1)return tn("InvalidAttr","Attributes for '"+l+"' have open quote.",Zi(t,s));let f=u.value;if(s=u.index,f[f.length-1]==="/"){let d=s-f.length;f=f.substring(0,f.length-1);let h=vge(f,e);if(h===!0)n=!0;else return tn(h.err.code,h.err.msg,Zi(t,d+h.err.line))}else if(c)if(u.tagClosed){if(f.trim().length>0)return tn("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Zi(t,a));if(r.length===0)return tn("InvalidTag","Closing tag '"+l+"' has not been opened.",Zi(t,a));{let d=r.pop();if(l!==d.tagName){let h=Zi(t,d.tagStartPos);return tn("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+h.line+", col "+h.col+") instead of closing tag '"+l+"'.",Zi(t,a))}r.length==0&&(i=!0)}}else return tn("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Zi(t,s));else{let d=vge(f,e);if(d!==!0)return tn(d.err.code,d.err.msg,Zi(t,s-f.length+d.err.line));if(i===!0)return tn("InvalidXml","Multiple possible root nodes found.",Zi(t,s));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(s++;s0)return tn("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return tn("InvalidXml","Start tag expected.",1);return!0}o(MN,"validate");function Ige(t){return t===" "||t===" "||t===` +`||t==="\r"}o(Ige,"isWhiteSpace");function Sge(t,e){let r=e;for(;e5&&n==="xml")return tn("InvalidXml","XML declaration allowed only at the start of the document.",Zi(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(Sge,"readPI");function Bge(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(Bge,"readCommentAndCDATA");var zat='"',jat="'";function $at(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:i}}o($at,"readAttributeStr");var Wat=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function vge(t,e){let r=LN(t,Wat),n={};for(let i=0;i",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"},_ge={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"},Nge={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"},Rge={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"},Tge={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"},Dge={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:"<"},Qge={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"},kge={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"},Pge={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"},Oge={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"},UN={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"},Lge={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"},Fge={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"},Zat={...xge,..._ge,...Nge,...Rge,...Tge,...Dge,...Qge,...kge,...Pge,...Oge,...UN,...Lge,...Fge},bw={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},$4={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 ect=new Set("!?\\\\/[]$%{}^&*()<>|+");function Mge(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(ect.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(Mge,"validateEntityName");function W4(...t){let e=Object.create(null);for(let r of t)if(r)for(let n of Object.keys(r)){let i=r[n];if(typeof i=="string")e[n]=i;else if(i&&typeof i=="object"&&i.val!==void 0){let s=i.val;typeof s=="string"&&(e[n]=s)}}return e}o(W4,"mergeEntityMaps");var Rp="external",qN="base",J4="all";function tct(t){return!t||t===Rp?new Set([Rp]):t===J4?new Set([J4]):t===qN?new Set([qN]):Array.isArray(t)?new Set(t):new Set([Rp])}o(tct,"parseLimitTiers");var xs=Object.freeze({allow:0,leave:1,remove:2,throw:3}),rct=new Set([9,10,13]);function nct(t){if(!t)return{xmlVersion:1,onLevel:xs.allow,nullLevel:xs.remove};let e=t.xmlVersion===1.1?1.1:1,r=xs[t.onNCR]??xs.allow,n=xs[t.nullNCR]??xs.remove,i=Math.max(n,xs.remove);return{xmlVersion:e,onLevel:r,nullLevel:i}}o(nct,"parseNCRConfig");var Zg=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:n=>n,this._limitTiers=tct(this._limit.applyLimitsTo??Rp),this._numericAllowed=e.numericAllowed??!0,this._baseMap=W4(bw,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=nct(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))Mge(r);this._externalMap=W4(e)}addExternalEntity(e,r){Mge(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=W4(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,n=[],i=e.length,s=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a=i||e.charCodeAt(d)!==59){a++;continue}let h=e.slice(a+1,d);if(h.length===0){a++;continue}let p,A;if(this._removeSet.has(h))p="",A===void 0&&(A=Rp);else if(this._leaveSet.has(h)){a++;continue}else if(h.charCodeAt(0)===35){let g=this._resolveNCR(h);if(g===void 0){a++;continue}p=g,A=qN}else{let g=this._resolveName(h);p=g?.value,A=g?.tier}if(p===void 0){a++;continue}if(a>s&&n.push(e.slice(s,a)),n.push(p),s=d+1,a=s,u&&this._tierCounts(A)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let g=p.length-(h.length+2);if(g>0&&(this._expandedLength+=g,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}s=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!rct.has(e)?xs.remove:-1}_applyNCRAction(e,r,n){switch(e){case xs.allow:return String.fromCodePoint(n);case xs.remove:return"";case xs.leave:return;case xs.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let i=this._classifyNCR(n);if(!this._numericAllowed&&iEw.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),ict={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:Uge};function sct(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Ew.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(FN.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(sct,"validatePropertyName");function qge(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"}:qge(!0)}o(qge,"normalizeProcessEntities");var Gge=o(function(t){let e=Object.assign({},ict,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:n,name:i}of r)n&&sct(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=Uge),e.processEntities=qge(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e},"buildOptions");var GN;typeof Symbol!="function"?GN="@@xmlMetadata":GN=Symbol("XML Node Metadata");var _s=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][GN]={startIndex:r})}static getMetaDataSymbol(){return GN}};var Hge=":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",oct=Hge+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",Vge=":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}",act=Vge+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",zge=o((t,e,r="")=>{let n=t.replace(":",""),i=e.replace(":",""),s=`[${n}][${i}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${s}$`,r),qName:new RegExp(`^${s}(?::${s})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),cct=zge(Hge,oct),lct=zge(Vge,act,"u"),uct=o((t="1.0")=>t==="1.1"?lct:cct,"getRegexes");var Tp=o((t,{xmlVersion:e="1.0"}={})=>uct(e).qName.test(t),"qName");var Iw=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 n=Object.create(null),i=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 s=1,a=!1,c=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[u]=f,i++}}else if(a&&Dp(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&Dp(e,"!ATTLIST",r))r+=8;else if(a&&Dp(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(Dp(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");s++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,s--):s--,s===0)break}else e[r]==="["?a=!0:l+=e[r];if(s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=Ns(e,r);let n=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[i,s,r]}readNotationExp(e,r){r=Ns(e,r);let n=r;for(;r{for(;e1||s.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===`${i}${a}`?l:t;let f=s?a:r;return s?f===u||i+f===u?l:t:f===u||f===i+u?l:t}}else return t}}else return Ect(t,Number(r),e)}o(K4,"toNumber");var Act=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function gct(t,e,r){if(!r.eNotation)return t;let n=e.match(Act);if(n){let i=n[1]||"",s=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=i?t[a.length+1]===s:t[a.length]===s;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${s}`)||n[3][0]===s)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}o(gct,"resolveEnotation");function yct(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(yct,"trimZeros");function Y4(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(Y4,"parse_int");function Ect(t,e,r){let n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}o(Ect,"handleInfinity");function X4(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(X4,"getIgnoreAttributesFn");var Ao=class{static{o(this,"Expression")}constructor(e,r={},n){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(i=>i.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(i=>i.attrName!==void 0),this._hasPositionSelector=this.segments.some(i=>i.position!==void 0)}_parse(e){let r=[],n=0,i="";for(;n0?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 n=r[r.length-1];return n.values!==void 0&&e in n.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)}},nl=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Z4(this)}push(e,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);let s=this.siblingStacks[i],a=n?`${n}:${e}`:e,c=s.get(a)||0,l=0;for(let f of s.values())l+=f;s.set(a,c+1);let u={tag:e,position:l,counter:c};n!=null&&(u.namespace=n),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 n=e||this.separator;if(n===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let s=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(n);return this._pathStringCache=s,s}return this.path.map(s=>r&&s.namespace?`${s.namespace}:${s.tag}`:s.tag).join(n)}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 i=e[n];if(i.type==="deep-wildcard"){if(n--,n<0)return!0;let s=e[n],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(s,this.path[c],c===this.path.length-1)){r=c-1,n--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(i,this.path[r],r===this.path.length-1))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!n||!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(!n)return!1;let i=r.counter??0;if(e.position==="first"&&i!==0)return!1;if(e.position==="odd"&&i%2!==1)return!1;if(e.position==="even"&&i%2!==0)return!1;if(e.position==="nth"&&i!==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 Cct(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let n={};for(let i in r)if(i.startsWith(e.attributeNamePrefix)){let s=i.substring(e.attributeNamePrefix.length);n[s]=r[i]}else n[i]=r[i];return n}o(Cct,"extractRawAttributes");function bct(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(bct,"extractNamespace");var Sw=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=vct,this.parseTextData=wct,this.resolveNameSpace=Ict,this.buildAttributesMap=Bct,this.isItStopNode=Rct,this.replaceEntitiesValue=_ct,this.readStopNodeData=Qct,this.saveTextToParentTag=Nct,this.addChild=xct,this.ignoreAttributesFn=X4(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...bw};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...$4,...UN}),this.entityDecoder=new Zg({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new nl,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new ey;let i=this.options.stopNodes;if(i&&i.length>0){for(let s=0;s0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,i,s);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?r5(t,c.parseTagValue,c.numberParseOptions):t}}o(wct,"parseTextData");function Ict(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(Ict,"resolveNameSpace");var Sct=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Bct(t,e,r,n=!1){let i=this.options;if(n===!0||i.ignoreAttributes!==!0&&typeof t=="string"){let s=LN(t,Sct),a=s.length,c={},l=new Array(a),u=!1,f={};for(let p=0;p",c,"Closing Tag is not closed."),d=t.substring(c+2,f).trim();if(i.removeNSPrefix){let p=d.indexOf(":");p!==-1&&(d=d.substr(p+1))}d=e5(i.transformTagName,d,"",i).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let h=this.matcher.getCurrentTag();if(d&&i.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);h&&i.unpairedTagsSet.has(h)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=f}else if(u===63){let f=t5(t,c,!1,"?>");if(!f)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(f.tagExp,this.matcher,f.tagName,!0);if(d){let h=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(h)||1),s.setXmlVersion(Number(h)||1)}if(!(i.ignoreDeclaration&&f.tagName==="?xml"||i.ignorePiTags)){let h=new _s(f.tagName);h.add(i.textNodeName,""),f.tagName!==f.tagExp&&f.attrExpPresent&&i.ignoreAttributes!==!0&&(h[":@"]=d),this.addChild(r,h,this.readonlyMatcher,c)}c=f.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let f=ty(t,"-->",c+4,"Comment is not closed.");if(i.commentPropName){let d=t.substring(c+4,f-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(i.commentPropName,[{[i.textNodeName]:d}])}c=f}else if(u===33&&t.charCodeAt(c+2)===68){let f=s.readDocType(t,c);this.entityDecoder.addInputEntities(f.entities),c=f.i}else if(u===33&&t.charCodeAt(c+2)===91){let f=ty(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,f);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let h=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);h==null&&(h=""),i.cdataPropName?r.add(i.cdataPropName,[{[i.textNodeName]:d}]):r.add(i.textNodeName,h),c=f+2}else{let f=t5(t,c,i.removeNSPrefix);if(!f){let F=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${F}"`)}let d=f.tagName,h=f.rawTagName,p=f.tagExp,A=f.attrExpPresent,g=f.closeIndex;if({tagName:d,tagExp:p}=e5(i.transformTagName,d,p,i),i.strictReservedNames&&(d===i.commentPropName||d===i.cdataPropName||d===i.textNodeName||d===i.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let E=r;E&&i.unpairedTagsSet.has(E.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),p=d):p=p.substr(0,p.length-1),A=d!==p);let C=null,w={},S;S=bct(h),d!==e.tagname&&this.matcher.push(d,{},S),d!==p&&A&&(C=this.buildAttributesMap(p,this.matcher,d),C&&(w=Cct(C,i))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let Q=c;if(this.isCurrentNodeStopNode){let F="";if(y)c=f.closeIndex;else if(i.unpairedTagsSet.has(d))c=f.closeIndex;else{let j=this.readStopNodeData(t,h,g+1);if(!j)throw new Error(`Unexpected end of ${h}`);c=j.i,F=j.tagContent}let x=new _s(d);C&&(x[":@"]=C),x.add(i.textNodeName,F),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,x,this.readonlyMatcher,Q)}else{if(y){({tagName:d,tagExp:p}=e5(i.transformTagName,d,p,i));let F=new _s(d);C&&(F[":@"]=C),this.addChild(r,F,this.readonlyMatcher,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(d)){let F=new _s(d);C&&(F[":@"]=C),this.addChild(r,F,this.readonlyMatcher,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=f.closeIndex;continue}else{let F=new _s(d);if(this.tagsNodeStack.length>i.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),C&&(F[":@"]=C),this.addChild(r,F,this.readonlyMatcher,Q),r=F}n="",c=g}}}else n+=t[c];return e.child},"parseXml");function xct(t,e,r,n){this.options.captureMetaData||(n=void 0);let i=this.options.jPath?r.toString():r,s=this.options.updateTag(e.tagname,i,e[":@"]);s===!1||(typeof s=="string"&&(e.tagname=s),t.addChild(e,n))}o(xct,"addChild");function _ct(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){let i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}return this.entityDecoder.decode(t)}o(_ct,"replaceEntitiesValue");function Nct(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(Nct,"saveTextToParentTag");function Rct(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Rct,"isItStopNode");function Tct(t,e,r=">"){let n=0,i=t.length,s=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&&(i--,i===0))return{tagContent:t.substring(n,r),i:c};r=c}else if(a===63)r=ty(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=ty(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=ty(t,"]]>",r,"StopNode is not closed.")-2;else{let c=t5(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&i++,r=c.closeIndex)}}}o(Qct,"readStopNodeData");function r5(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:K4(t,r)}else return wge(t)?t:""}o(r5,"parseValue");function e5(t,e,r,n){if(t){let i=t(e);r===e&&(r=i),e=i}return e=jge(e,n),{tagName:e,tagExp:r}}o(e5,"transformTagName");function jge(t,e){if(FN.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Ew.includes(t)?e.onDangerousProperty(t):t}o(jge,"sanitizeName");var n5=_s.getMetaDataSymbol();function kct(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let n in t)if(n.startsWith(e)){let i=n.substring(e.length);r[i]=t[n]}else r[n]=t[n];return r}o(kct,"stripAttributePrefix");function i5(t,e,r,n){return $ge(t,e,r,n)}o(i5,"prettify");function $ge(t,e,r,n){let i,s={};for(let a=0;a0&&(s[e.textNodeName]=i):i!==void 0&&(s[e.textNodeName]=i),s}o($ge,"compress");function Pct(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(VN,"safeCdata");function vd(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(vd,"escapeAttribute");var Fct=` +`;function Mct(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(a5(r)==="?xml"){let i=r[":@"];if(i){let s=e.attributeNamePrefix+"version";if(i[s])return i[s]}}return"1.0"}o(Mct,"detectXmlVersionFromArray");function Jge(t,e,r,n,i){return!r.sanitizeName||Tp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(Jge,"resolveTagName");function o5(t,e){let r="";e.format&&(r=Fct);let n=[];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=s5(l,e),l}return""}for(let l=0;l`,c=!1,n.pop();continue}else if(h===e.commentPropName){let w=u[f][0][e.textNodeName],S=HN(w);a+=r+``,c=!0,n.pop();continue}else if(h[0]==="?"){let w=Wge(u[":@"],e,A,n,s);a+=(h==="?xml"?"":r)+`<${h}${w}?>`,c=!0,n.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let E=Wge(u[":@"],e,A,n,s),y=r+`<${h}${E}`,C;A?C=Kge(u[f],e):C=Yge(u[f],e,g,n,i,s),e.unpairedTags.indexOf(h)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!C||C.length===0)&&e.suppressEmptyNode?a+=y+"/>":C&&C.endsWith(">")?a+=y+`>${C}${r}`:(a+=y+">",C&&r!==""&&(C.includes("/>")||C.includes("`),c=!0,n.pop()}return a}o(Yge,"arrToStr");function Uct(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let s=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[s]=vd(t[i]),n=!0}return n?r:null}o(Uct,"extractAttributeValues");function Kge(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${s}${a}>${c}`}}}return r}o(Kge,"getRawContent");function qct(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];i===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${vd(i)}"`}return r}o(qct,"attr_to_str_raw");function a5(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(c5,"getIgnoreAttributesFn");var Hct={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 Rs(t){if(this.options=Object.assign({},Hct,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(Ns,"Builder");function Nst(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let i=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(i)return i}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(Nst,"detectXmlVersionFromObj");function ZG(t,e,r,n,i){return!r.sanitizeName||yp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(ZG,"resolveTagName");Ns.prototype.build=function(t){if(this.options.preserveOrder)return YG(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Kc,r=Nst(t,this.options);return this.j2x(t,0,e,r).val}};Ns.prototype.j2x=function(t,e,r,n){let i="",s="";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 d=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:ZG(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(s+="");else if(t[l]===null)this.isAttribute(l)||d===this.options.cdataPropName||d===this.options.commentPropName?s+="":d[0]==="?"?s+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(t[l]instanceof Date)s+=this.buildTextValNode(t[l],d,"",e,r);else if(typeof t[l]!="object"){let f=this.isAttribute(l);if(f&&!this.ignoreAttributesFn(f,a)){let h=ZG(f,!0,this.options,r,n);i+=this.buildAttrPairStr(h,""+t[l],c)}else if(!f)if(l===this.options.textNodeName){let h=this.options.tagValueProcessor(l,""+t[l]);s+=this.replaceEntitiesValue(h)}else{r.push(d);let h=this.checkStopNode(r);if(r.pop(),h){let p=""+t[l];p===""?s+=this.indentate(e)+"<"+d+this.closeTag(d)+this.tagEndChar:s+=this.indentate(e)+"<"+d+">"+p+""u"))if(m===null)d[0]==="?"?s+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(typeof m=="object")if(this.options.oneListGroup){r.push(d);let E=this.j2x(m,e+1,r,n);r.pop(),h+=E.val,this.options.attributesGroupName&&m.hasOwnProperty(this.options.attributesGroupName)&&(p+=E.attrStr)}else h+=this.processTextOrObjNode(m,d,e,r,n);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(d,m);E=this.replaceEntitiesValue(E),h+=E}else{r.push(d);let E=this.checkStopNode(r);if(r.pop(),E){let y=""+m;y===""?h+=this.indentate(e)+"<"+d+this.closeTag(d)+this.tagEndChar:h+=this.indentate(e)+"<"+d+">"+y+"${i}`;else if(typeof i=="object"&&i!==null){let s=this.buildRawContent(i),a=this.buildAttributesForStopNode(i);s===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${s}`}}else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${s}/>`:e+=`<${r}${s}>${i}`}else e+=`<${r}>${n}`}return e};Ns.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 n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,s=r[n];s===!0&&this.options.suppressBooleanAttributes?e+=" "+i:e+=" "+i+'="'+s+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let i=t[r];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}return e};Ns.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=""+t+i:this.options.commentPropName!==!1&&e===this.options.commentPropName&&s.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i}};Ns.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 s=fT(t);return this.indentate(n)+``+this.newLine}else{if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),s===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+s+"0&&this.options.processEntities)for(let e=0;e${n.build(i)}`.replace(/\n/g,"")}o(pT,"stringifyXML");async function tH(t,e={}){if(!t)throw new Error("Document is empty");let r=ome.validate(t);if(r!==!0)throw r;let i=new Fg(Qst(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(tH,"parseXML");var AT=jc("storage-blob");var fme=require("events");var ume=require("node:stream");var mT=class extends ume.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var dme=N(require("node:buffer"),1);var gT=dme.default.constants.MAX_LENGTH,yT=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/gT);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new mT(this.buffers,this.size)}};var ET=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new fme.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.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 yT(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(n){this.emitter.emit("error",n);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 rH;function nH(){return rH||(rH=U0()),rH}o(nH,"getCachedDefaultHttpClient");var Xc=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 Uu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},Ve={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 gf(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(gf,"setURLParameter");function CT(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(CT,"setURLHost");function bT(t){try{return new URL(t).pathname}catch{return}}o(bT,"getURLPath");function IT(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(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(wT,"delay");var eI=class extends Xc{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Lt?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=gf(e.url,Uu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Ve.COOKIE),e.headers.remove(Ve.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var tI=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new eI(e,r)}};var Cp=class extends Xc{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var rI=class extends Cp{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var bp=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Er=class extends bp{static{o(this,"AnonymousCredential")}create(e,r){return new rI(e,r)}};var hme=require("node:crypto");var kst=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]),Pst=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]),Ost=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 ST(t,e){return Lst(t,e)?-1:1}o(ST,"compareHeader");function Lst(t,e){let r=[kst,Pst,Ost],n=0,i=0,s=0;for(;ns;let a=i0&&e.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Ve.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Ve.CONTENT_ENCODING),this.getHeaderValueToSign(e,Ve.CONTENT_LENGTH),this.getHeaderValueToSign(e,Ve.CONTENT_MD5),this.getHeaderValueToSign(e,Ve.CONTENT_TYPE),this.getHeaderValueToSign(e,Ve.DATE),this.getHeaderValueToSign(e,Ve.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Ve.IF_MATCH),this.getHeaderValueToSign(e,Ve.IF_NONE_MATCH),this.getHeaderValueToSign(e,Ve.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Ve.RANGE)].join(` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Rs,"Builder");function Vct(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let i=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(i)return i}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(Vct,"detectXmlVersionFromObj");function l5(t,e,r,n,i){return!r.sanitizeName||Tp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(l5,"resolveTagName");Rs.prototype.build=function(t){if(this.options.preserveOrder)return o5(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new nl,r=Vct(t,this.options);return this.j2x(t,0,e,r).val}};Rs.prototype.j2x=function(t,e,r,n){let i="",s="";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 f=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:l5(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(s+="");else if(t[l]===null)this.isAttribute(l)||f===this.options.cdataPropName||f===this.options.commentPropName?s+="":f[0]==="?"?s+=this.indentate(e)+"<"+f+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+f+"/"+this.tagEndChar;else if(t[l]instanceof Date)s+=this.buildTextValNode(t[l],f,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let h=l5(d,!0,this.options,r,n);i+=this.buildAttrPairStr(h,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let h=this.options.tagValueProcessor(l,""+t[l]);s+=this.replaceEntitiesValue(h)}else{r.push(f);let h=this.checkStopNode(r);if(r.pop(),h){let p=""+t[l];p===""?s+=this.indentate(e)+"<"+f+this.closeTag(f)+this.tagEndChar:s+=this.indentate(e)+"<"+f+">"+p+""u"))if(g===null)f[0]==="?"?s+=this.indentate(e)+"<"+f+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+f+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(f);let E=this.j2x(g,e+1,r,n);r.pop(),h+=E.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(p+=E.attrStr)}else h+=this.processTextOrObjNode(g,f,e,r,n);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(f,g);E=this.replaceEntitiesValue(E),h+=E}else{r.push(f);let E=this.checkStopNode(r);if(r.pop(),E){let y=""+g;y===""?h+=this.indentate(e)+"<"+f+this.closeTag(f)+this.tagEndChar:h+=this.indentate(e)+"<"+f+">"+y+"${i}`;else if(typeof i=="object"&&i!==null){let s=this.buildRawContent(i),a=this.buildAttributesForStopNode(i);s===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${s}`}}else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${s}/>`:e+=`<${r}${s}>${i}`}else e+=`<${r}>${n}`}return e};Rs.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 n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,s=r[n];s===!0&&this.options.suppressBooleanAttributes?e+=" "+i:e+=" "+i+'="'+s+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let i=t[r];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}return e};Rs.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=""+t+i:this.options.commentPropName!==!1&&e===this.options.commentPropName&&s.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i}};Rs.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 s=HN(t);return this.indentate(n)+``+this.newLine}else{if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),s===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+s+"0&&this.options.processEntities)for(let e=0;e${n.build(i)}`.replace(/\n/g,"")}o(zN,"stringifyXML");async function f5(t,e={}){if(!t)throw new Error("Document is empty");let r=Xge.validate(t);if(r!==!0)throw r;let i=new ry(Jct(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(f5,"parseXML");var jN=Zc("storage-blob");var iye=require("events");var rye=require("node:stream");var $N=class extends rye.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var nye=N(require("node:buffer"),1);var WN=nye.default.constants.MAX_LENGTH,JN=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/WN);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new $N(this.buffers,this.size)}};var YN=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new iye.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.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 JN(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(n){this.emitter.emit("error",n);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 d5;function h5(){return d5||(d5=fw()),d5}o(h5,"getCachedDefaultHttpClient");var il=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 Wu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},Ve={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 xd(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(xd,"setURLParameter");function KN(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(KN,"setURLHost");function XN(t){try{return new URL(t).pathname}catch{return}}o(XN,"getURLPath");function ZN(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(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(eR,"delay");var Bw=class extends il{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Lt?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=xd(e.url,Wu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Ve.COOKIE),e.headers.remove(Ve.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var vw=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Bw(e,r)}};var Qp=class extends il{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var xw=class extends Qp{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var kp=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Er=class extends kp{static{o(this,"AnonymousCredential")}create(e,r){return new xw(e,r)}};var sye=require("node:crypto");var Yct=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]),Kct=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]),Xct=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 tR(t,e){return Zct(t,e)?-1:1}o(tR,"compareHeader");function Zct(t,e){let r=[Yct,Kct,Xct],n=0,i=0,s=0;for(;ns;let a=i0&&e.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Ve.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Ve.CONTENT_ENCODING),this.getHeaderValueToSign(e,Ve.CONTENT_LENGTH),this.getHeaderValueToSign(e,Ve.CONTENT_MD5),this.getHeaderValueToSign(e,Ve.CONTENT_TYPE),this.getHeaderValueToSign(e,Ve.DATE),this.getHeaderValueToSign(e,Ve.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Ve.IF_MATCH),this.getHeaderValueToSign(e,Ve.IF_NONE_MATCH),this.getHeaderValueToSign(e,Ve.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Ve.RANGE)].join(` `)+` -`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Ve.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Ve.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Ve.PREFIX_FOR_STORAGE));r.sort((i,s)=>ST(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()} -`}),n}getCanonicalizedResourceString(e){let r=bT(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=IT(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=` -${c}:${decodeURIComponent(s[c])}`}return n}};var Or=class extends bp{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new nI(e,r,this)}computeHMACSHA256(e){return(0,hme.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Nn=jc("storage-common");var Xo;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Xo||(Xo={}));var yf={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Xo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Fst=new uo("The operation was aborted."),iI=class extends Xc{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=yf){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:yf.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):yf.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:yf.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:yf.maxRetryDelayInMs):yf.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:yf.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:yf.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=CT(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=gf(i.url,Uu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Nn.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Nn.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Nn.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Nn.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Nn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Nn.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Ve.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Nn.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case Xo.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Xo.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Nn.info(`RetryPolicy: Delay for ${i}ms`),wT(i,n,Fst)}};var sI=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new iI(e,r,this.retryOptions)}};var Mst="storageBrowserPolicy";function pme(){return{name:Mst,async sendRequest(t,e){return Lt||((t.method==="GET"||t.method==="HEAD")&&(t.url=gf(t.url,Uu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ve.COOKIE),t.headers.delete(Ve.CONTENT_LENGTH)),e(t)}}}o(pme,"storageBrowserPolicy");var Ust="StorageCorrectContentLengthPolicy";function Ame(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Ust,async sendRequest(e,r){return t(e),r(e)}}}o(Ame,"storageCorrectContentLengthPolicy");var qst="storageRetryPolicy",Mg={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Xo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Gst=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Hst=new uo("The operation was aborted.");function mme(t={}){let e=t.retryPolicyType??Mg.retryPolicyType,r=t.maxTries??Mg.maxTries,n=t.retryDelayInMs??Mg.retryDelayInMs,i=t.maxRetryDelayInMs??Mg.maxRetryDelayInMs,s=t.secondaryHost??Mg.secondaryHost,a=t.tryTimeoutInMs??Mg.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:d,response:f,error:h}){if(d>=r)return Nn.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${r}, no further try.`),!1;if(h){for(let p of Gst)if(h.name.toUpperCase().includes(p)||h.message.toUpperCase().includes(p)||h.code&&h.code.toString().toUpperCase()===p)return Nn.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(h?.code==="PARSE_ERROR"&&h?.message.startsWith('Error "Error: Unclosed root tag'))return Nn.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(f||h){let p=f?.status??h?.statusCode??0;if(!u&&p===404)return Nn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Nn.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(f&&f?.status>=400){let p=f.headers.get(Ve.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,d){let f=0;if(u)switch(e){case Xo.EXPONENTIAL:f=Math.min((Math.pow(2,d-1)-1)*n,i);break;case Xo.FIXED:f=n;break}else f=Math.random()*1e3;return Nn.info(`RetryPolicy: Delay for ${f}ms`),f}return o(l,"calculateDelay"),{name:qst,async sendRequest(u,d){a&&(u.url=gf(u.url,Uu.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let f=u.url,h=s?CT(u.url,s):void 0,p=!1,g=1,m=!0,E,y;for(;m;){let C=p||!h||!["GET","HEAD","OPTIONS"].includes(u.method)||g%2===1;u.url=C?f:h,E=void 0,y=void 0;try{Nn.info(`RetryPolicy: =====> Try=${g} ${C?"Primary":"Secondary"}`),E=await d(u),p=p||!C&&E.status===404}catch(I){if(Ap(I))Nn.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw Nn.error(`RetryPolicy: Caught error, message: ${ff(I)}`),I}m=c({isPrimaryRetry:C,attempt:g,response:E,error:y}),m&&await wT(l(C,g),u.abortSignal,Hst),g++}if(E)return E;throw y??new Lu("RetryPolicy failed without known error.")}}}o(mme,"storageRetryPolicy");var gme=require("node:crypto");var Vst="storageSharedKeyCredentialPolicy";function iH(t){function e(s){s.headers.set(Ve.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,Ve.CONTENT_LANGUAGE),r(s,Ve.CONTENT_ENCODING),r(s,Ve.CONTENT_LENGTH),r(s,Ve.CONTENT_MD5),r(s,Ve.CONTENT_TYPE),r(s,Ve.DATE),r(s,Ve.IF_MODIFIED_SINCE),r(s,Ve.IF_MATCH),r(s,Ve.IF_NONE_MATCH),r(s,Ve.IF_UNMODIFIED_SINCE),r(s,Ve.RANGE)].join(` +`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Ve.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Ve.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Ve.PREFIX_FOR_STORAGE));r.sort((i,s)=>tR(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()} +`}),n}getCanonicalizedResourceString(e){let r=XN(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=ZN(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=` +${c}:${decodeURIComponent(s[c])}`}return n}};var Or=class extends kp{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new _w(e,r,this)}computeHMACSHA256(e){return(0,sye.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Nn=Zc("storage-common");var ta;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(ta||(ta={}));var _d={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ta.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},elt=new ho("The operation was aborted."),Nw=class extends il{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=_d){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:_d.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):_d.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:_d.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:_d.maxRetryDelayInMs):_d.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:_d.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:_d.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=KN(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=xd(i.url,Wu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Nn.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Nn.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Nn.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Nn.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Nn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Nn.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Ve.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Nn.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case ta.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case ta.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Nn.info(`RetryPolicy: Delay for ${i}ms`),eR(i,n,elt)}};var Rw=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Nw(e,r,this.retryOptions)}};var tlt="storageBrowserPolicy";function oye(){return{name:tlt,async sendRequest(t,e){return Lt||((t.method==="GET"||t.method==="HEAD")&&(t.url=xd(t.url,Wu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ve.COOKIE),t.headers.delete(Ve.CONTENT_LENGTH)),e(t)}}}o(oye,"storageBrowserPolicy");var rlt="StorageCorrectContentLengthPolicy";function aye(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:rlt,async sendRequest(e,r){return t(e),r(e)}}}o(aye,"storageCorrectContentLengthPolicy");var nlt="storageRetryPolicy",ny={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ta.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ilt=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],slt=new ho("The operation was aborted.");function cye(t={}){let e=t.retryPolicyType??ny.retryPolicyType,r=t.maxTries??ny.maxTries,n=t.retryDelayInMs??ny.retryDelayInMs,i=t.maxRetryDelayInMs??ny.maxRetryDelayInMs,s=t.secondaryHost??ny.secondaryHost,a=t.tryTimeoutInMs??ny.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:f,response:d,error:h}){if(f>=r)return Nn.info(`RetryPolicy: Attempt(s) ${f} >= maxTries ${r}, no further try.`),!1;if(h){for(let p of ilt)if(h.name.toUpperCase().includes(p)||h.message.toUpperCase().includes(p)||h.code&&h.code.toString().toUpperCase()===p)return Nn.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(h?.code==="PARSE_ERROR"&&h?.message.startsWith('Error "Error: Unclosed root tag'))return Nn.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||h){let p=d?.status??h?.statusCode??0;if(!u&&p===404)return Nn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Nn.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(d&&d?.status>=400){let p=d.headers.get(Ve.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,f){let d=0;if(u)switch(e){case ta.EXPONENTIAL:d=Math.min((Math.pow(2,f-1)-1)*n,i);break;case ta.FIXED:d=n;break}else d=Math.random()*1e3;return Nn.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:nlt,async sendRequest(u,f){a&&(u.url=xd(u.url,Wu.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,h=s?KN(u.url,s):void 0,p=!1,A=1,g=!0,E,y;for(;g;){let C=p||!h||!["GET","HEAD","OPTIONS"].includes(u.method)||A%2===1;u.url=C?d:h,E=void 0,y=void 0;try{Nn.info(`RetryPolicy: =====> Try=${A} ${C?"Primary":"Secondary"}`),E=await f(u),p=p||!C&&E.status===404}catch(w){if(_p(w))Nn.error(`RetryPolicy: Caught error, message: ${w.message}, code: ${w.code}`),y=w;else throw Nn.error(`RetryPolicy: Caught error, message: ${wd(w)}`),w}g=c({isPrimaryRetry:C,attempt:A,response:E,error:y}),g&&await eR(l(C,A),u.abortSignal,slt),A++}if(E)return E;throw y??new zu("RetryPolicy failed without known error.")}}}o(cye,"storageRetryPolicy");var lye=require("node:crypto");var olt="storageSharedKeyCredentialPolicy";function p5(t){function e(s){s.headers.set(Ve.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(Ve.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,Ve.CONTENT_LANGUAGE),r(s,Ve.CONTENT_ENCODING),r(s,Ve.CONTENT_LENGTH),r(s,Ve.CONTENT_MD5),r(s,Ve.CONTENT_TYPE),r(s,Ve.DATE),r(s,Ve.IF_MODIFIED_SINCE),r(s,Ve.IF_MATCH),r(s,Ve.IF_NONE_MATCH),r(s,Ve.IF_UNMODIFIED_SINCE),r(s,Ve.RANGE)].join(` `)+` -`+n(s)+i(s),c=(0,gme.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(Ve.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===Ve.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,u]of s.headers)l.toLowerCase().startsWith(Ve.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>ST(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,d)=>!(u>0&&l.name.toLowerCase()===d[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} -`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=bT(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=IT(s.url),u={};if(l){let d=[];for(let f in l)if(Object.prototype.hasOwnProperty.call(l,f)){let h=f.toLowerCase();u[h]=l[f],d.push(h)}d.sort();for(let f of d)c+=` -${f}:${decodeURIComponent(u[f])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:Vst,async sendRequest(s,a){return e(s),a(s)}}}o(iH,"storageSharedKeyCredentialPolicy");var zst="storageRequestFailureDetailsParserPolicy";function yme(){return{name:zst,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(yme,"storageRequestFailureDetailsParserPolicy");var Eme=require("node:crypto");var BT=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,Eme.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var xT="12.31.0",vT="2026-02-06";var NT="https://storage.azure.com/.default",qu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Xa="",sH="*",$st=1*1024*1024;var jst=4*$st;var Cme="AES256",bme="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Ime=["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"],wme=["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"],Sme="BlobUsesCustomerSpecifiedEncryption",Bme="BlobDoesNotUseCustomerSpecifiedEncryption",xme=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Gu(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(Gu,"isPipelineLike");var oI=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 tn(t,e={}){t||(t=new Er);let r=new oI([],e);return r._credential=t,r}o(tn,"newPipeline");function Wst(t){let e=[Jst,vme,Yst,Kst,Xst,Zst,tot];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>eot(i));return{wrappedPolicies:kG(r),afterRetry:n}}}}o(Wst,"processDownlevelPipeline");function oH(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?PG(e):nH(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${xT}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=G0({...r,loggingOptions:{additionalAllowedHeaderNames:Ime,additionalAllowedQueryParameters:wme,logger:AT.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:pT,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:tH,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:uG}),i.addPolicy(Ame()),i.addPolicy(mme(r.retryOptions),{phase:"Retry"}),i.addPolicy(yme()),i.addPolicy(pme());let c=Wst(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=aH(t);fo(l)?i.addPolicy(Qg({credential:l,scopes:r.audience??NT,challengeCallbacks:{authorizeRequestOnChallenge:nT}}),{phase:"Sign"}):l instanceof Or&&i.addPolicy(iH({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(oH,"getCoreClientOptions");function aH(t){if(t._credential)return t._credential;let e=new Er;for(let r of t.factories)if(fo(r.credential))e=r.credential;else if(vme(r))return r;return e}o(aH,"getCredentialFromPipeline");function vme(t){return t instanceof Or?!0:t.constructor.name==="StorageSharedKeyCredential"}o(vme,"isStorageSharedKeyCredential");function Jst(t){return t instanceof Er?!0:t.constructor.name==="AnonymousCredential"}o(Jst,"isAnonymousCredential");function Yst(t){return fo(t.credential)}o(Yst,"isCoreHttpBearerTokenFactory");function Kst(t){return t instanceof tI?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Kst,"isStorageBrowserPolicyFactory");function Xst(t){return t instanceof sI?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Xst,"isStorageRetryPolicyFactory");function Zst(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Zst,"isStorageTelemetryPolicyFactory");function eot(t){return t.constructor.name==="InjectorPolicyFactory"}o(eot,"isInjectorPolicyFactory");function tot(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(tot,"isCoreHttpPolicyFactory");var Nme;(function(t){t.AES256="AES256"})(Nme||(Nme={}));var _me;(function(t){t.Backup="backup"})(_me||(_me={}));var Tme;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(Tme||(Tme={}));var Rme;(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"})(Rme||(Rme={}));var Ao={};oqe(Ao,{AccessPolicy:()=>hot,AppendBlobAppendBlockExceptionHeaders:()=>vV,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>_V,AppendBlobAppendBlockFromUrlHeaders:()=>NV,AppendBlobAppendBlockHeaders:()=>xV,AppendBlobCreateExceptionHeaders:()=>BV,AppendBlobCreateHeaders:()=>SV,AppendBlobSealExceptionHeaders:()=>RV,AppendBlobSealHeaders:()=>TV,ArrowConfiguration:()=>vot,ArrowField:()=>Not,BlobAbortCopyFromURLExceptionHeaders:()=>K4,BlobAbortCopyFromURLHeaders:()=>Y4,BlobAcquireLeaseExceptionHeaders:()=>P4,BlobAcquireLeaseHeaders:()=>k4,BlobBreakLeaseExceptionHeaders:()=>H4,BlobBreakLeaseHeaders:()=>G4,BlobChangeLeaseExceptionHeaders:()=>q4,BlobChangeLeaseHeaders:()=>U4,BlobCopyFromURLExceptionHeaders:()=>J4,BlobCopyFromURLHeaders:()=>W4,BlobCreateSnapshotExceptionHeaders:()=>z4,BlobCreateSnapshotHeaders:()=>V4,BlobDeleteExceptionHeaders:()=>E4,BlobDeleteHeaders:()=>y4,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>_4,BlobDeleteImmutabilityPolicyHeaders:()=>N4,BlobDownloadExceptionHeaders:()=>A4,BlobDownloadHeaders:()=>TT,BlobFlatListSegment:()=>pot,BlobGetAccountInfoExceptionHeaders:()=>eV,BlobGetAccountInfoHeaders:()=>Z4,BlobGetPropertiesExceptionHeaders:()=>g4,BlobGetPropertiesHeaders:()=>m4,BlobGetTagsExceptionHeaders:()=>nV,BlobGetTagsHeaders:()=>rV,BlobHierarchyListSegment:()=>yot,BlobItemInternal:()=>Aot,BlobName:()=>mot,BlobPrefix:()=>Eot,BlobPropertiesInternal:()=>got,BlobQueryExceptionHeaders:()=>tV,BlobQueryHeaders:()=>DT,BlobReleaseLeaseExceptionHeaders:()=>L4,BlobReleaseLeaseHeaders:()=>O4,BlobRenewLeaseExceptionHeaders:()=>M4,BlobRenewLeaseHeaders:()=>F4,BlobServiceProperties:()=>aI,BlobServiceStatistics:()=>cH,BlobSetExpiryExceptionHeaders:()=>w4,BlobSetExpiryHeaders:()=>I4,BlobSetHttpHeadersExceptionHeaders:()=>B4,BlobSetHttpHeadersHeaders:()=>S4,BlobSetImmutabilityPolicyExceptionHeaders:()=>v4,BlobSetImmutabilityPolicyHeaders:()=>x4,BlobSetLegalHoldExceptionHeaders:()=>R4,BlobSetLegalHoldHeaders:()=>T4,BlobSetMetadataExceptionHeaders:()=>Q4,BlobSetMetadataHeaders:()=>D4,BlobSetTagsExceptionHeaders:()=>sV,BlobSetTagsHeaders:()=>iV,BlobSetTierExceptionHeaders:()=>X4,BlobSetTierHeaders:()=>RT,BlobStartCopyFromURLExceptionHeaders:()=>j4,BlobStartCopyFromURLHeaders:()=>$4,BlobTag:()=>dot,BlobTags:()=>lI,BlobUndeleteExceptionHeaders:()=>b4,BlobUndeleteHeaders:()=>C4,Block:()=>Cot,BlockBlobCommitBlockListExceptionHeaders:()=>qV,BlockBlobCommitBlockListHeaders:()=>UV,BlockBlobGetBlockListExceptionHeaders:()=>HV,BlockBlobGetBlockListHeaders:()=>GV,BlockBlobPutBlobFromUrlExceptionHeaders:()=>PV,BlockBlobPutBlobFromUrlHeaders:()=>kV,BlockBlobStageBlockExceptionHeaders:()=>LV,BlockBlobStageBlockFromURLExceptionHeaders:()=>MV,BlockBlobStageBlockFromURLHeaders:()=>FV,BlockBlobStageBlockHeaders:()=>OV,BlockBlobUploadExceptionHeaders:()=>QV,BlockBlobUploadHeaders:()=>DV,BlockList:()=>AH,BlockLookupList:()=>pH,ClearRange:()=>Iot,ContainerAcquireLeaseExceptionHeaders:()=>e4,ContainerAcquireLeaseHeaders:()=>ZH,ContainerBreakLeaseExceptionHeaders:()=>o4,ContainerBreakLeaseHeaders:()=>s4,ContainerChangeLeaseExceptionHeaders:()=>c4,ContainerChangeLeaseHeaders:()=>a4,ContainerCreateExceptionHeaders:()=>kH,ContainerCreateHeaders:()=>QH,ContainerDeleteExceptionHeaders:()=>FH,ContainerDeleteHeaders:()=>LH,ContainerFilterBlobsExceptionHeaders:()=>XH,ContainerFilterBlobsHeaders:()=>KH,ContainerGetAccessPolicyExceptionHeaders:()=>GH,ContainerGetAccessPolicyHeaders:()=>qH,ContainerGetAccountInfoExceptionHeaders:()=>p4,ContainerGetAccountInfoHeaders:()=>h4,ContainerGetPropertiesExceptionHeaders:()=>OH,ContainerGetPropertiesHeaders:()=>PH,ContainerItem:()=>cot,ContainerListBlobFlatSegmentExceptionHeaders:()=>u4,ContainerListBlobFlatSegmentHeaders:()=>l4,ContainerListBlobHierarchySegmentExceptionHeaders:()=>f4,ContainerListBlobHierarchySegmentHeaders:()=>d4,ContainerProperties:()=>lot,ContainerReleaseLeaseExceptionHeaders:()=>r4,ContainerReleaseLeaseHeaders:()=>t4,ContainerRenameExceptionHeaders:()=>WH,ContainerRenameHeaders:()=>jH,ContainerRenewLeaseExceptionHeaders:()=>i4,ContainerRenewLeaseHeaders:()=>n4,ContainerRestoreExceptionHeaders:()=>$H,ContainerRestoreHeaders:()=>zH,ContainerSetAccessPolicyExceptionHeaders:()=>VH,ContainerSetAccessPolicyHeaders:()=>HH,ContainerSetMetadataExceptionHeaders:()=>UH,ContainerSetMetadataHeaders:()=>MH,ContainerSubmitBatchExceptionHeaders:()=>YH,ContainerSubmitBatchHeaders:()=>JH,CorsRule:()=>sot,DelimitedTextConfiguration:()=>Bot,FilterBlobItem:()=>uot,FilterBlobSegment:()=>cI,GeoReplication:()=>aot,JsonTextConfiguration:()=>xot,KeyInfo:()=>uH,ListBlobsFlatSegmentResponse:()=>fH,ListBlobsHierarchySegmentResponse:()=>hH,ListContainersSegmentResponse:()=>lH,Logging:()=>rot,Metrics:()=>iot,PageBlobClearPagesExceptionHeaders:()=>dV,PageBlobClearPagesHeaders:()=>uV,PageBlobCopyIncrementalExceptionHeaders:()=>wV,PageBlobCopyIncrementalHeaders:()=>IV,PageBlobCreateExceptionHeaders:()=>aV,PageBlobCreateHeaders:()=>oV,PageBlobGetPageRangesDiffExceptionHeaders:()=>gV,PageBlobGetPageRangesDiffHeaders:()=>mV,PageBlobGetPageRangesExceptionHeaders:()=>AV,PageBlobGetPageRangesHeaders:()=>pV,PageBlobResizeExceptionHeaders:()=>EV,PageBlobResizeHeaders:()=>yV,PageBlobUpdateSequenceNumberExceptionHeaders:()=>bV,PageBlobUpdateSequenceNumberHeaders:()=>CV,PageBlobUploadPagesExceptionHeaders:()=>lV,PageBlobUploadPagesFromURLExceptionHeaders:()=>hV,PageBlobUploadPagesFromURLHeaders:()=>fV,PageBlobUploadPagesHeaders:()=>cV,PageList:()=>_T,PageRange:()=>bot,QueryFormat:()=>Sot,QueryRequest:()=>mH,QuerySerialization:()=>wot,RetentionPolicy:()=>not,ServiceFilterBlobsExceptionHeaders:()=>DH,ServiceFilterBlobsHeaders:()=>RH,ServiceGetAccountInfoExceptionHeaders:()=>NH,ServiceGetAccountInfoHeaders:()=>vH,ServiceGetPropertiesExceptionHeaders:()=>CH,ServiceGetPropertiesHeaders:()=>EH,ServiceGetStatisticsExceptionHeaders:()=>IH,ServiceGetStatisticsHeaders:()=>bH,ServiceGetUserDelegationKeyExceptionHeaders:()=>xH,ServiceGetUserDelegationKeyHeaders:()=>BH,ServiceListContainersSegmentExceptionHeaders:()=>SH,ServiceListContainersSegmentHeaders:()=>wH,ServiceSetPropertiesExceptionHeaders:()=>yH,ServiceSetPropertiesHeaders:()=>gH,ServiceSubmitBatchExceptionHeaders:()=>TH,ServiceSubmitBatchHeaders:()=>_H,SignedIdentifier:()=>fot,StaticWebsite:()=>oot,StorageError:()=>te,UserDelegationKey:()=>dH});var aI={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"}}}}},rot={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"}}}}},not={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"}}}}},iot={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"}}}}},sot={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"}}}}},oot={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"}}}}},te={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"}}}}},cH={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},aot={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"}}}}},lH={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"}}}}},cot={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"}}}}}}},lot={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"}}}}},uH={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"}}}}},dH={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"}}}}},cI={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"}}}}},uot={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"}}}}},lI={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"}}}}}}},dot={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"}}}}},fot={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"}}}}},hot={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"}}}}},fH={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"}}}}},pot={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"}}}}}}},Aot={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"}}}}},mot={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"}}}}},got={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"}}}}},hH={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"}}}}},yot={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"}}}}}}},Eot={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},pH={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"}}}}}}},AH={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"}}}}}}},Cot={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"}}}}},_T={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"}}}}},bot={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"}}}}},Iot={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"}}}}},mH={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"}}}}},wot={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Sot={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"}}}}}}},Bot={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"}}}}},xot={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},vot={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"}}}}}}},Not={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"}}}}},gH={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"}}}}},yH={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EH={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"}}}}},CH={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bH={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"}}}}},IH={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wH={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"}}}}},SH={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BH={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"}}}}},xH={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vH={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"}}}}},NH={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_H={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"}}}}},TH={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RH={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"}}}}},DH={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QH={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"}}}}},kH={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PH={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"}}}}},OH={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LH={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"}}}}},FH={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MH={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"}}}}},UH={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qH={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"}}}}},GH={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HH={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"}}}}},VH={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zH={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"}}}}},$H={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jH={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"}}}}},WH={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JH={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"}}}}},YH={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KH={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"}}}}},XH={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZH={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"}}}}},e4={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},t4={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"}}}}},r4={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},n4={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"}}}}},i4={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s4={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"}}}}},o4={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a4={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"}}}}},c4={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},l4={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"}}}}},u4={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},d4={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"}}}}},f4={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},h4={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"}}}}},p4={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={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"}}}}},A4={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},m4={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"}}}}},g4={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y4={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"}}}}},E4={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},C4={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"}}}}},b4={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},I4={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"}}}}},w4={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S4={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"}}}}},B4={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},x4={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"]}}}}},v4={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={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"}}}}},_4={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T4={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"}}}}},R4={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},D4={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"}}}}},Q4={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},k4={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"}}}}},P4={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},O4={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"}}}}},L4={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},F4={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"}}}}},M4={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},U4={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"}}}}},q4={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},G4={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"}}}}},H4={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},V4={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"}}}}},z4={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$4={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"}}}}},j4={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"}}}}},W4={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"}}}}},J4={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"}}}}},Y4={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"}}}}},K4={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RT={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"}}}}},X4={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Z4={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"}}}}},eV={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DT={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"}}}}},tV={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rV={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"}}}}},nV={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iV={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"}}}}},sV={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oV={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"}}}}},aV={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cV={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"}}}}},lV={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uV={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"}}}}},dV={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fV={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"}}}}},hV={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"}}}}},pV={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"}}}}},AV={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mV={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"}}}}},gV={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yV={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"}}}}},EV={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CV={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"}}}}},bV={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IV={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"}}}}},wV={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SV={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"}}}}},BV={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xV={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"}}}}},vV={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NV={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"}}}}},_V={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"}}}}},TV={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"}}}}},RV={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DV={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"}}}}},QV={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kV={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"}}}}},PV={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"}}}}},OV={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"}}}}},LV={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FV={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"}}}}},MV={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"}}}}},UV={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"}}}}},qV={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GV={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"}}}}},HV={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Zc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Dme={parameterPath:"blobServiceProperties",mapper:aI},Zo={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},ne={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},uI={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},ea={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ie={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},se={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},oe={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},ye={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Qme={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dI={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},fI={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},el={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},tl={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},kme={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},Pme={parameterPath:"keyInfo",mapper:uH},Ome={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ug={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},QT={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},kT={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zn={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},PT={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},OT={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},LT={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},$n={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ni={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},VV={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},Lme={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},Fme={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},rt={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},Je={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Ye={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},FT={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zV={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mme={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},MT={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ume={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},qme={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},Gme={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hme={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},Vme={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},ta={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},UT={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},qT={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},GT={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},HT={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ef={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},VT={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},zT={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},$T={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},jT={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},WT={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},$V={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"},jV={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},zme={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Xi={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},rl={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Ip={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},$me={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},jme={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Lr={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Fr={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Mr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Nt={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},_t={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},dt={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},Wme={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},Jme={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},Yme={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Kme={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},Xme={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},nl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},il={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},sl={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ol={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},al={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},cl={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},WV={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Za={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},ec={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},Zme={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ege={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},En={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},tge={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hu={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"]}}},JV={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},ll={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},ul={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},dl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},fl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},JT={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},wp={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},tc={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},rge={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},hl={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},nge={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Vu={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},zu={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},YT={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},$u={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},ige={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sge={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},oge={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},age={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cge={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"]}}},lge={parameterPath:["options","queryRequest"],mapper:mH},uge={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},YV={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},KV={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},XV={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ZV={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},e5={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},dge={parameterPath:["options","tags"],mapper:lI},ra={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},pl={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},fge={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},t5={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},r5={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Sp={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Bp={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},xp={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},KT={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},n5={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},XT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},ZT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},eR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},hge={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},qg={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},pge={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Gg={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Age={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},i5={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mge={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},gge={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},yge={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},Ege={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cge={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},s5={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},o5={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},tR={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},rR={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},bge={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},a5={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Ige={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},c5={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l5={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},wge={parameterPath:"blocks",mapper:pH},u5={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sge={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var nR=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},_ot)}getProperties(e){return this.client.sendOperationRequest({options:e},Tot)}getStatistics(e){return this.client.sendOperationRequest({options:e},Rot)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Dot)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Qot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},kot)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},Pot)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Oot)}},Cf=ho(Ao,!0),_ot={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:gH},default:{bodyMapper:te,headersMapper:yH}},requestBody:Dme,queryParameters:[uI,ea,ie],urlParameters:[ne],headerParameters:[Zc,Zo,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cf},Tot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aI,headersMapper:EH},default:{bodyMapper:te,headersMapper:CH}},queryParameters:[uI,ea,ie],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cf},Rot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:cH,headersMapper:bH},default:{bodyMapper:te,headersMapper:IH}},queryParameters:[uI,ie,Qme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cf},Dot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:lH,headersMapper:wH},default:{bodyMapper:te,headersMapper:SH}},queryParameters:[ie,dI,fI,el,tl,kme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cf},Qot={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:dH,headersMapper:BH},default:{bodyMapper:te,headersMapper:xH}},requestBody:Pme,queryParameters:[uI,ie,Ome],urlParameters:[ne],headerParameters:[Zc,Zo,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cf},kot={path:"/",httpMethod:"GET",responses:{200:{headersMapper:vH},default:{bodyMapper:te,headersMapper:NH}},queryParameters:[ea,ie,Ug],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cf},Pot={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:_H},default:{bodyMapper:te,headersMapper:TH}},requestBody:QT,queryParameters:[ie,kT],urlParameters:[ne],headerParameters:[Zo,se,oe,zn,PT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cf},Oot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:cI,headersMapper:RH},default:{bodyMapper:te,headersMapper:DH}},queryParameters:[ie,el,tl,OT,LT],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cf};var iR=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Lot)}getProperties(e){return this.client.sendOperationRequest({options:e},Fot)}delete(e){return this.client.sendOperationRequest({options:e},Mot)}setMetadata(e){return this.client.sendOperationRequest({options:e},Uot)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},qot)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Got)}restore(e){return this.client.sendOperationRequest({options:e},Hot)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Vot)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},zot)}filterBlobs(e){return this.client.sendOperationRequest({options:e},$ot)}acquireLease(e){return this.client.sendOperationRequest({options:e},jot)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Wot)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Jot)}breakLease(e){return this.client.sendOperationRequest({options:e},Yot)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Kot)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Xot)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Zot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},eat)}},jn=ho(Ao,!0),Lot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:QH},default:{bodyMapper:te,headersMapper:kH}},queryParameters:[ie,$n],urlParameters:[ne],headerParameters:[se,oe,ye,Ni,VV,Lme,Fme],isXML:!0,serializer:jn},Fot={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:PH},default:{bodyMapper:te,headersMapper:OH}},queryParameters:[ie,$n],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},Mot={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:LH},default:{bodyMapper:te,headersMapper:FH}},queryParameters:[ie,$n],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye],isXML:!0,serializer:jn},Uot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:MH},default:{bodyMapper:te,headersMapper:UH}},queryParameters:[ie,$n,FT],urlParameters:[ne],headerParameters:[se,oe,ye,Ni,rt,Je],isXML:!0,serializer:jn},qot={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:qH},default:{bodyMapper:te,headersMapper:GH}},queryParameters:[ie,$n,zV],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},Got={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:HH},default:{bodyMapper:te,headersMapper:VH}},requestBody:Mme,queryParameters:[ie,$n,zV],urlParameters:[ne],headerParameters:[Zc,Zo,se,oe,VV,rt,Je,Ye],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},Hot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:zH},default:{bodyMapper:te,headersMapper:$H}},queryParameters:[ie,$n,MT],urlParameters:[ne],headerParameters:[se,oe,ye,Ume,qme],isXML:!0,serializer:jn},Vot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:jH},default:{bodyMapper:te,headersMapper:WH}},queryParameters:[ie,$n,Gme],urlParameters:[ne],headerParameters:[se,oe,ye,Hme,Vme],isXML:!0,serializer:jn},zot={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:JH},default:{bodyMapper:te,headersMapper:YH}},requestBody:QT,queryParameters:[ie,kT,$n],urlParameters:[ne],headerParameters:[Zo,se,oe,zn,PT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},$ot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:cI,headersMapper:KH},default:{bodyMapper:te,headersMapper:XH}},queryParameters:[ie,el,tl,OT,LT,$n],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},jot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:ZH},default:{bodyMapper:te,headersMapper:e4}},queryParameters:[ie,$n,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,UT,qT,GT],isXML:!0,serializer:jn},Wot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:t4},default:{bodyMapper:te,headersMapper:r4}},queryParameters:[ie,$n,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,HT,Ef],isXML:!0,serializer:jn},Jot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:n4},default:{bodyMapper:te,headersMapper:i4}},queryParameters:[ie,$n,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,Ef,VT],isXML:!0,serializer:jn},Yot={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:s4},default:{bodyMapper:te,headersMapper:o4}},queryParameters:[ie,$n,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,zT,$T],isXML:!0,serializer:jn},Kot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:a4},default:{bodyMapper:te,headersMapper:c4}},queryParameters:[ie,$n,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,Ef,jT,WT],isXML:!0,serializer:jn},Xot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:fH,headersMapper:l4},default:{bodyMapper:te,headersMapper:u4}},queryParameters:[ie,dI,fI,el,tl,$n,$V,jV],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Zot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:hH,headersMapper:d4},default:{bodyMapper:te,headersMapper:f4}},queryParameters:[ie,dI,fI,el,tl,$n,$V,jV,zme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},eat={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:h4},default:{bodyMapper:te,headersMapper:p4}},queryParameters:[ea,ie,Ug],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn};var sR=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},tat)}getProperties(e){return this.client.sendOperationRequest({options:e},rat)}delete(e){return this.client.sendOperationRequest({options:e},nat)}undelete(e){return this.client.sendOperationRequest({options:e},iat)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},sat)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},oat)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},aat)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cat)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},lat)}setMetadata(e){return this.client.sendOperationRequest({options:e},uat)}acquireLease(e){return this.client.sendOperationRequest({options:e},dat)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},fat)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},hat)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},pat)}breakLease(e){return this.client.sendOperationRequest({options:e},Aat)}createSnapshot(e){return this.client.sendOperationRequest({options:e},mat)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},gat)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},yat)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Eat)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Cat)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},bat)}query(e){return this.client.sendOperationRequest({options:e},Iat)}getTags(e){return this.client.sendOperationRequest({options:e},wat)}setTags(e){return this.client.sendOperationRequest({options:e},Sat)}},Cr=ho(Ao,!0),tat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:TT},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:TT},default:{bodyMapper:te,headersMapper:A4}},queryParameters:[ie,Xi,rl],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Ip,$me,jme,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,serializer:Cr},rat={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:m4},default:{bodyMapper:te,headersMapper:g4}},queryParameters:[ie,Xi,rl],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,serializer:Cr},nat={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:y4},default:{bodyMapper:te,headersMapper:E4}},queryParameters:[ie,Xi,rl,Jme],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,dt,Wme],isXML:!0,serializer:Cr},iat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C4},default:{bodyMapper:te,headersMapper:b4}},queryParameters:[ie,MT],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},sat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:I4},default:{bodyMapper:te,headersMapper:w4}},queryParameters:[ie,Yme],urlParameters:[ne],headerParameters:[se,oe,ye,Kme,Xme],isXML:!0,serializer:Cr},oat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:S4},default:{bodyMapper:te,headersMapper:B4}},queryParameters:[ea,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,dt,nl,il,sl,ol,al,cl],isXML:!0,serializer:Cr},aat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:x4},default:{bodyMapper:te,headersMapper:v4}},queryParameters:[ie,Xi,rl,WV],urlParameters:[ne],headerParameters:[se,oe,ye,Ye,Za,ec],isXML:!0,serializer:Cr},cat={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:N4},default:{bodyMapper:te,headersMapper:_4}},queryParameters:[ie,Xi,rl,WV],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},lat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:T4},default:{bodyMapper:te,headersMapper:R4}},queryParameters:[ie,Xi,rl,Zme],urlParameters:[ne],headerParameters:[se,oe,ye,ege],isXML:!0,serializer:Cr},uat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:D4},default:{bodyMapper:te,headersMapper:Q4}},queryParameters:[ie,FT],urlParameters:[ne],headerParameters:[se,oe,ye,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En],isXML:!0,serializer:Cr},dat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:k4},default:{bodyMapper:te,headersMapper:P4}},queryParameters:[ie,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,UT,qT,GT,Nt,_t,dt],isXML:!0,serializer:Cr},fat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:O4},default:{bodyMapper:te,headersMapper:L4}},queryParameters:[ie,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,HT,Ef,Nt,_t,dt],isXML:!0,serializer:Cr},hat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:F4},default:{bodyMapper:te,headersMapper:M4}},queryParameters:[ie,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,Ef,VT,Nt,_t,dt],isXML:!0,serializer:Cr},pat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:U4},default:{bodyMapper:te,headersMapper:q4}},queryParameters:[ie,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,Ef,jT,WT,Nt,_t,dt],isXML:!0,serializer:Cr},Aat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:G4},default:{bodyMapper:te,headersMapper:H4}},queryParameters:[ie,ta],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,zT,$T,Nt,_t,dt],isXML:!0,serializer:Cr},mat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:V4},default:{bodyMapper:te,headersMapper:z4}},queryParameters:[ie,tge],urlParameters:[ne],headerParameters:[se,oe,ye,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En],isXML:!0,serializer:Cr},gat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:$4},default:{bodyMapper:te,headersMapper:j4}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Ni,rt,Je,Ye,Nt,_t,dt,Za,ec,Hu,JV,ll,ul,dl,fl,JT,wp,tc,rge,hl],isXML:!0,serializer:Cr},yat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:W4},default:{bodyMapper:te,headersMapper:J4}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Ni,rt,Je,Ye,Nt,_t,dt,Za,ec,En,Hu,ll,ul,dl,fl,wp,tc,hl,nge,Vu,zu,YT,$u],isXML:!0,serializer:Cr},Eat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y4},default:{bodyMapper:te,headersMapper:K4}},queryParameters:[ie,ige,oge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,sge],isXML:!0,serializer:Cr},Cat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:RT},202:{headersMapper:RT},default:{bodyMapper:te,headersMapper:X4}},queryParameters:[ie,Xi,rl,age],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt,JV,cge],isXML:!0,serializer:Cr},bat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Z4},default:{bodyMapper:te,headersMapper:eV}},queryParameters:[ea,ie,Ug],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Cr},Iat={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DT},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DT},default:{bodyMapper:te,headersMapper:tV}},requestBody:lge,queryParameters:[ie,Xi,uge],urlParameters:[ne],headerParameters:[Zc,Zo,se,oe,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cr},wat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:lI,headersMapper:rV},default:{bodyMapper:te,headersMapper:nV}},queryParameters:[ie,Xi,rl,YV],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt,KV,XV,ZV,e5],isXML:!0,serializer:Cr},Sat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:iV},default:{bodyMapper:te,headersMapper:sV}},requestBody:dge,queryParameters:[ie,rl,YV],urlParameters:[ne],headerParameters:[Zc,Zo,se,oe,rt,dt,KV,XV,ZV,e5,ra,pl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cr};var oR=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},Bat)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},xat)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},vat)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},Nat)}getPageRanges(e){return this.client.sendOperationRequest({options:e},_at)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Tat)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},Rat)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},Dat)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Qat)}},ju=ho(Ao,!0),Bat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oV},default:{bodyMapper:te,headersMapper:aV}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,zn,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,nl,il,sl,ol,al,cl,Za,ec,En,Hu,tc,hl,fge,t5,r5],isXML:!0,serializer:ju},xat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cV},default:{bodyMapper:te,headersMapper:lV}},requestBody:Bp,queryParameters:[ie,KT],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Je,Ye,Ip,Lr,Fr,Mr,Nt,_t,dt,En,ra,pl,Sp,xp,n5,XT,ZT,eR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ju},vat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:uV},default:{bodyMapper:te,headersMapper:dV}},queryParameters:[ie,KT],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,Ip,Lr,Fr,Mr,Nt,_t,dt,En,XT,ZT,eR,hge],isXML:!0,serializer:ju},Nat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fV},default:{bodyMapper:te,headersMapper:hV}},queryParameters:[ie,KT],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,ll,ul,dl,fl,Vu,zu,$u,n5,XT,ZT,eR,qg,pge,Gg,Age],isXML:!0,serializer:ju},_at={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:_T,headersMapper:pV},default:{bodyMapper:te,headersMapper:AV}},queryParameters:[ie,el,tl,Xi,i5],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Ip,Nt,_t,dt],isXML:!0,serializer:ju},Tat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:_T,headersMapper:mV},default:{bodyMapper:te,headersMapper:gV}},queryParameters:[ie,el,tl,Xi,i5,mge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Ip,Nt,_t,dt,gge],isXML:!0,serializer:ju},Rat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yV},default:{bodyMapper:te,headersMapper:EV}},queryParameters:[ea,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,t5],isXML:!0,serializer:ju},Dat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:CV},default:{bodyMapper:te,headersMapper:bV}},queryParameters:[ea,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,dt,r5,yge],isXML:!0,serializer:ju},Qat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:IV},default:{bodyMapper:te,headersMapper:wV}},queryParameters:[ie,Ege],urlParameters:[ne],headerParameters:[se,oe,ye,Je,Ye,Nt,_t,dt,wp],isXML:!0,serializer:ju};var aR=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},kat)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Pat)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},Oat)}seal(e){return this.client.sendOperationRequest({options:e},Lat)}},cR=ho(Ao,!0),kat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:SV},default:{bodyMapper:te,headersMapper:BV}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,zn,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,nl,il,sl,ol,al,cl,Za,ec,En,tc,hl,Cge],isXML:!0,serializer:cR},Pat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xV},default:{bodyMapper:te,headersMapper:vV}},requestBody:Bp,queryParameters:[ie,s5],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,ra,pl,Sp,xp,o5,tR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:cR},Oat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NV},default:{bodyMapper:te,headersMapper:_V}},queryParameters:[ie,s5],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,En,ll,ul,dl,fl,Vu,zu,$u,ra,qg,Gg,o5,tR,rR],isXML:!0,serializer:cR},Lat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:TV},default:{bodyMapper:te,headersMapper:RV}},queryParameters:[ie,bge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Je,Ye,Nt,_t,tR],isXML:!0,serializer:cR};var lR=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Fat)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},Mat)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},Uat)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},qat)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},Gat)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},Hat)}},Vg=ho(Ao,!0),Fat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DV},default:{bodyMapper:te,headersMapper:QV}},requestBody:Bp,queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,zn,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,nl,il,sl,ol,al,cl,Za,ec,En,Hu,tc,hl,ra,pl,Sp,xp,a5],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Vg},Mat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kV},default:{bodyMapper:te,headersMapper:PV}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,zn,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,nl,il,sl,ol,al,cl,En,Hu,ll,ul,dl,fl,JT,wp,tc,Vu,zu,YT,$u,ra,a5,Ige],isXML:!0,serializer:Vg},Uat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:OV},default:{bodyMapper:te,headersMapper:LV}},requestBody:Bp,queryParameters:[ie,c5,l5],urlParameters:[ne],headerParameters:[se,oe,zn,rt,Lr,Fr,Mr,En,ra,pl,Sp,xp],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Vg},qat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FV},default:{bodyMapper:te,headersMapper:MV}},queryParameters:[ie,c5,l5],urlParameters:[ne],headerParameters:[se,oe,ye,zn,rt,Lr,Fr,Mr,En,ll,ul,dl,fl,Vu,zu,$u,qg,Gg,rR],isXML:!0,serializer:Vg},Gat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:UV},default:{bodyMapper:te,headersMapper:qV}},requestBody:wge,queryParameters:[ie,u5],urlParameters:[ne],headerParameters:[Zc,Zo,se,oe,Ni,rt,Je,Ye,Lr,Fr,Mr,Nt,_t,dt,nl,il,sl,ol,al,cl,Za,ec,En,Hu,tc,hl,ra,pl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vg},Hat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:AH,headersMapper:GV},default:{bodyMapper:te,headersMapper:HV}},queryParameters:[ie,Xi,u5,Sge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,dt],isXML:!0,serializer:Vg};var hI=class extends j0{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new nR(this),this.container=new iR(this),this.blob=new sR(this),this.pageBlob=new oR(this),this.appendBlob=new aR(this),this.blockBlob=new lR(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var pI=class extends hI{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function xge(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=zat(r),e.pathname=r,e.toString()}o(xge,"escapeURLPath");function Vat(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(Vat,"getProxyUriFromDevConnString");function vp(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(vp,"getValueInConnString");function Np(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=Vat(t),t=bme);let r=vp(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=vp(t,"AccountName"),s=Buffer.from(vp(t,"AccountKey"),"base64"),!r){n=vp(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=vp(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.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:i,accountKey:s,proxyUri:e}}else{let n=vp(t,"SharedAccessSignature"),i=vp(t,"AccountName");if(i||(i=p5(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(Np,"extractConnectionStringParts");function zat(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(zat,"escape");function _n(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(_n,"appendToURLPath");function zg(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(zg,"setURLParameter");function d5(t,e){return new URL(t).searchParams.get(e)??void 0}o(d5,"getURLParameter");function vge(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(vge,"getURLScheme");function AI(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(AI,"appendToURLQuery");function Ft(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Ft,"truncatedISO8061Date");function $at(t){return Lt?Buffer.from(t).toString("base64"):btoa(t)}o($at,"base64encode");function f5(t,e){t.length>42&&(t=t.slice(0,42));let s=t+jat(e.toString(),48-t.length,"0");return $at(s)}o(f5,"generateBlockID");function jat(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(jat,"padStart");function h5(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(h5,"iEqual");function p5(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:uR(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(p5,"getAccountNameFromUrl");function uR(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&&xme.includes(t.port)}o(uR,"isIpEndpointStyle");function bf(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(bf,"toBlobTagsString");function Nge(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(Nge,"toBlobTags");function dR(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(dR,"toTags");function A5(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(A5,"toQuerySerialization");function fR(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(fR,"parseObjectReplicationRecord");function $g(t){return t?t.scheme+" "+t.value:void 0}o($g,"httpAuthorizationToString");function*m5(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n0&&n.length>0&&e.push(`${r}=${n}`))}};function mI(t,e,r){return gI(t,e,r).sasQueryParameters}o(mI,"generateBlobSASQueryParameters");function gI(t,e,r){let n=t.version?t.version:vT,i=e instanceof Or?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new BT(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?Yat(t,i):n>="2025-07-05"?ect(t,s):Zat(t,s);if(n>="2018-11-09")return i!==void 0?Jat(t,i):n>="2020-02-10"?Xat(t,s):Kat(t,s);if(n>="2015-04-05"){if(i!==void 0)return Wat(t,i);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(gI,"generateBlobSASQueryParametersInternal");function Wat(t,e){if(t=Tp(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 n;t.permissions&&(t.blobName?n=Al.parse(t.permissions.toString()).toString():n=ml.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?rc(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(` -`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new nc(t.version,s,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(Wat,"generateBlobSASQueryParameters20150405");function Jat(t,e){if(t=Tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Al.parse(t.permissions.toString()).toString():i=ml.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?rc(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new nc(t.version,a,i,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:s}}o(Jat,"generateBlobSASQueryParameters20181109");function Yat(t,e){if(t=Tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Al.parse(t.permissions.toString()).toString():i=ml.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?rc(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,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(s);return{sasQueryParameters:new nc(t.version,a,i,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:s}}o(Yat,"generateBlobSASQueryParameters20201206");function Kat(t,e){if(t=Tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Al.parse(t.permissions.toString()).toString():i=ml.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?rc(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new nc(t.version,a,i,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:s}}o(Kat,"generateBlobSASQueryParametersUDK20181109");function Xat(t,e){if(t=Tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Al.parse(t.permissions.toString()).toString():i=ml.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?rc(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new nc(t.version,a,i,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:s}}o(Xat,"generateBlobSASQueryParametersUDK20200210");function Zat(t,e){if(t=Tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Al.parse(t.permissions.toString()).toString():i=ml.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?rc(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new nc(t.version,a,i,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:s}}o(Zat,"generateBlobSASQueryParametersUDK20201206");function ect(t,e){if(t=Tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Al.parse(t.permissions.toString()).toString():i=ml.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",_p(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?rc(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new nc(t.version,a,i,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:s}}o(ect,"generateBlobSASQueryParametersUDK20250705");function _p(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(_p,"getCanonicalName");function Tp(t){let e=t.version?t.version:vT;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(Tp,"SASSignatureValuesSanityCheckAndAutofill");var yI=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=Rg()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Xa||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Xa||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 Ce.withSpan("BlobLeaseClient-acquireLease",r,async n=>Ne(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Xa||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Xa||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 Ce.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=Ne(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Xa||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Xa||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 Ce.withSpan("BlobLeaseClient-releaseLease",e,async r=>Ne(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!==Xa||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Xa||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 Ce.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!==Xa||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Xa||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 Ce.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Ne(await this._containerOrBlobOperation.breakLease(i))})}};var Tge=require("node:stream");var hR=class extends Tge.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,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 uo("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 pR=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 Lt?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new hR(this.originalResponse.readableStreamBody,r,n,i,s)}};var Oge=require("node:stream");var g5=new Uint8Array([79,98,106,1]),Rge="avro.codec",Dge="avro.schema";var vr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&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 n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}},Rp;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Rp||(Rp={}));var Wn;(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"})(Wn||(Wn={}));var Wu=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 Wn.NULL:case Wn.BOOLEAN:case Wn.INT:case Wn.LONG:case Wn.FLOAT:case Wn.DOUBLE:case Wn.BYTES:case Wn.STRING:return new y5(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new C5(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Rp.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 n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new I5(n,e.name);case Rp.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 E5(e.symbols);case Rp.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new b5(t.fromSchema(e.values));case Rp.ARRAY:case Rp.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},y5=class extends Wu{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Wn.NULL:return vr.readNull();case Wn.BOOLEAN:return vr.readBoolean(e,r);case Wn.INT:return vr.readInt(e,r);case Wn.LONG:return vr.readLong(e,r);case Wn.FLOAT:return vr.readFloat(e,r);case Wn.DOUBLE:return vr.readDouble(e,r);case Wn.BYTES:return vr.readBytes(e,r);case Wn.STRING:return vr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},E5=class extends Wu{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await vr.readInt(e,r);return this._symbols[n]}},C5=class extends Wu{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await vr.readInt(e,r);return this._types[n].read(e,r)}},b5=class extends Wu{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return vr.readMap(e,n,r)}},I5=class extends Wu{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}};function w5(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 s=0;s0}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 n=await vr.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!w5(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await vr.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await vr.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var CI=class{static{o(this,"AvroReadable")}};var Pge=require("buffer");var kge=new uo("Reading from the avro stream was aborted."),bI=class extends CI{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?Pge.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 kge;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 n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{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 d=this._readable.read(e);d&&(this._position+=d.length,a(),i(this.toUint8Array(d)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),u=o(()=>{a(),s(kge)},"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 AR=class extends Oge.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 EI(new bI(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,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="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:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var mR=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 Lt?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new AR(this.originalResponse.readableStreamBody,r)}};var S5;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(S5||(S5={}));var B5;(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"})(B5||(B5={}));function If(t){if(t!==void 0)return t}o(If,"toAccessTier");function Tn(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=Cme)}o(Tn,"ensureCpkIfSpecified");var x5;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(x5||(x5={}));function gR(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(gR,"rangeResponseFromModel");var bye=N(Cye(),1);var vR=class extends bye.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=BI({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return L0(this.intervalInMs)}},Kct=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?BI(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,BI(r)):(r.isCancelled=!0,BI(r))},"cancel"),Xct=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=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 n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return BI(r)},"update"),Zct=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function BI(t){return{state:{...t},cancel:Kct,toString:Zct,update:Xct}}o(BI,"makeBlobBeginCopyFromURLPollOperation");function _s(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(_s,"rangeToString");var Iye=require("events");var xI;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(xI||(xI={}));var vI=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=xI.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Iye.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",n=>{this.state=xI.Error,r(n)})}))}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(s>=a){clearTimeout(u),c();return}let d=t.read();if(!d)return;typeof d=="string"&&(d=Buffer.from(d,i));let f=s+d.length>a?a-s:d.length;e.fill(d.slice(0,f),r+s,r+s+f),s+=f}),t.on("end",()=>{clearTimeout(u),s{clearTimeout(u),l(d)})})}o(Sye,"streamToBuffer");async function Bye(t,e){return new Promise((r,n)=>{let i=NR.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(Bye,"readStreamToLocalFile");var xye=wye.default.promisify(NR.default.stat),vye=NR.default.createReadStream;var ic=class t extends jg{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if(Gu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||fo(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=Np(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=hf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);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,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=d5(this.url,qu.Parameters.SNAPSHOT),this._versionId=d5(this.url,qu.Parameters.VERSIONID)}withSnapshot(e){return new t(zg(this.url,qu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(zg(this.url,qu.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new TR(this.url,this.pipeline)}getBlockBlobClient(){return new Yg(this.url,this.pipeline)}getPageBlobClient(){return new RR(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-download",n,async i=>{let s=Ne(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Lt?void 0:n.onProgress},range:e===0&&!r?void 0:_s({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:fR(s.objectReplicationRules)};if(!Lt)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=5),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new pR(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:_s({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return Ce.withSpan("BlobClient-exists",e,async r=>{try{return Tn(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===Sme||n.details.errorCode===Bme))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-getProperties",e,async r=>{let n=Ne(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:fR(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},Ce.withSpan("BlobClient-delete",e,async r=>Ne(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 Ce.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=Ne(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return Ce.withSpan("BlobClient-undelete",e,async r=>Ne(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-setHTTPHeaders",r,async n=>Ne(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-setMetadata",r,async n=>Ne(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:n.tracingOptions})))}async setTags(e,r={}){return Ce.withSpan("BlobClient-setTags",r,async n=>Ne(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:Nge(e)})))}async getTags(e={}){return Ce.withSpan("BlobClient-getTags",e,async r=>{let n=Ne(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:dR({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new yI(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-createSnapshot",e,async r=>Ne(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 n={abortCopyFromURL:o((...s)=>this.abortCopyFromURL(...s),"abortCopyFromURL"),getProperties:o((...s)=>this.getProperties(...s),"getProperties"),startCopyFromURL:o((...s)=>this.startCopyFromURL(...s),"startCopyFromURL")},i=new vR({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return Ce.withSpan("BlobClient-abortCopyFromURL",r,async n=>Ne(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Ce.withSpan("BlobClient-syncCopyFromURL",r,async n=>Ne(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:$g(r.sourceAuthorization),tier:If(r.tier),blobTagsString:bf(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return Ce.withSpan("BlobClient-setAccessTier",r,async n=>Ne(await this.blobContext.setTier(If(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});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={}),Ce.withSpan("BlobClient-downloadToBuffer",l,async d=>{if(!c){let p=await this.getProperties({...l,tracingOptions:d.tracingOptions});if(c=p.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${p.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(p){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". ${p.message}`)}if(s.length{let g=a+c;p+u{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await Bye(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if(uR(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[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 Ce.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Ne(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:If(r.tier),blobTagsString:bf(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Or))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=mI({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(AI(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Or))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return gI({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=mI({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(AI(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return gI({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Ce.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Ne(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return Ce.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>Ne(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return Ce.withSpan("BlobClient-setLegalHold",r,async n=>Ne(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return Ce.withSpan("BlobClient-getAccountInfo",e,async r=>Ne(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},TR=class t extends ic{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},Gu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||fo(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=Np(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=hf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);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,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(zg(this.url,qu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-create",e,async r=>Ne(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:bf(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:sH};return Ce.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=Ne(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},Ce.withSpan("AppendBlobClient-seal",e,async r=>Ne(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,n={}){return n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-appendBlock",n,async i=>Ne(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>Ne(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:_s({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions: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},copySourceAuthorization:$g(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}},Yg=class t extends ic{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},Gu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||fo(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=Np(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=hf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);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,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(zg(this.url,qu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Tn(r.customerProvidedKey,this.isHttps),!Lt)throw new Error("This operation currently is only supported in Node.js.");return Ce.withSpan("BlockBlobClient-query",r,async n=>{let i=Ne(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:A5(r.inputTextConfiguration),outputSerialization:A5(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new mR(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-upload",n,async i=>Ne(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:If(n.tier),blobTagsString:bf(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>Ne(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:$g(r.sourceAuthorization),tier:If(r.tier),blobTagsString:bf(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-stageBlock",i,async s=>Ne(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return Tn(s.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>Ne(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:_s({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:$g(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-commitBlockList",r,async n=>Ne(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:If(r.tier),blobTagsString:bf(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return Ce.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=Ne(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return Ce.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Lt){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return Ce.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let s=n.maxSingleShotSize??268435456;if(s<0||s>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(i===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/5e4),i<4194304&&(i=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),Ce.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=s)return Ne(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+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=Rg(),d=0,f=new vI(n.concurrency);for(let h=0;h{let p=f5(u,h),g=i*h,E=(h===c-1?r:g+i)-g;l.push(p),await this.stageBlock(p,e(g,E),E,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),d+=E,n.onProgress&&n.onProgress({loadedBytes:d})});return await f.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return Ce.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await xye(e)).size;return this.uploadSeekableInternal((s,a)=>()=>vye(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),Ce.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=Rg(),l=0,u=[];return await new ET(e,r,n,async(f,h)=>{let p=f5(c,a);u.push(p),a++,await this.stageBlock(p,f,h,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=h,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),Ne(await this.commitBlockList(u,{...i,tracingOptions:s.tracingOptions}))})}},RR=class t extends ic{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},Gu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||fo(r))a=e,i=n,s=tn(r,i);else if(!r&&typeof r!="string")a=e,s=tn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=Np(e);if(u.kind==="AccountConnString")if(Lt){let d=new Or(u.accountName,u.accountKey);a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=hf(u.proxyUri)),s=tn(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_n(_n(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=tn(new Er,i);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,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(zg(this.url,qu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-create",r,async n=>Ne(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:If(r.tier),blobTagsString:bf(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return Ce.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:sH},s=Ne(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-uploadPages",i,async s=>Ne(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:_s({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},Tn(s.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>Ne(await this.pageBlobContext.uploadPagesFromURL(e,_s({offset:r,count:i}),0,_s({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:$g(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-clearPages",n,async i=>Ne(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:_s({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=Ne(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:_s({offset:e,count:r}),tracingOptions:i.tracingOptions}));return gR(s)})}async listPageRangesSegment(e=0,r,n,i={}){return Ce.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>Ne(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:_s({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*m5(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},Ce.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=Ne(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:_s({offset:e,count:r}),tracingOptions:s.tracingOptions}));return gR(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return Ce.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>Ne(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:_s({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*m5(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},Ce.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=Ne(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:_s({offset:e,count:r}),tracingOptions:s.tracingOptions}));return gR(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},Ce.withSpan("PageBlobClient-resize",r,async n=>Ne(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>Ne(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return Ce.withSpan("PageBlobClient-startCopyIncremental",r,async n=>Ne(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var Nye;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(Nye||(Nye={}));var _ye;(function(t){t.AES256="AES256"})(_ye||(_ye={}));var DR=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Kg=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"}};Kg.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var kp=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"}};kp.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var NI=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var ult=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Y5=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),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);O(`Sent ${e} of ${this.contentLength} (${r}%), ${i} 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 Tye(t,e,r){return ult(this,void 0,void 0,function*(){var n;let i=new ic(t),s=i.getBlockBlobClient(),a=new Y5((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),R(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new DR(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ut(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(Tye,"uploadCacheArchiveSDK");var Dye=N(require("buffer"),1),gl=N(require("fs"),1),Qye=N(require("stream"),1),kye=N(require("util"),1);var QR=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function kR(t){return t?t>=200&&t<300:!1}o(kR,"isSuccessStatusCode");function dlt(t){return t?t>=500:!0}o(dlt,"isServerErrorStatusCode");function flt(t){return t?[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout].includes(t):!1}o(flt,"isRetryableStatusCode");function hlt(t){return QR(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(hlt,"sleep");function Rye(t,e,r){return QR(this,arguments,void 0,function*(n,i,s,a=n_,c=i_,l=void 0){let u="",d=1;for(;d<=a;){let f,h,p=!1;try{f=yield i()}catch(g){l&&(f=l(g)),p=!0,u=g.message}if(f&&(h=s(f),!dlt(h)))return f;if(h&&(p=flt(h),u=`Cache service responded with ${h}`),R(`${n} - Attempt ${d} of ${a} failed with error: ${u}`),!p){R(`${n} - Error is not retryable`);break}yield hlt(c),d++}throw Error(`${n} failed: ${u}`)})}o(Rye,"retry");function _I(t,e){return QR(this,arguments,void 0,function*(r,n,i=n_,s=i_){return yield Rye(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof Hc)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(_I,"retryTypedResponse");function Xg(t,e){return QR(this,arguments,void 0,function*(r,n,i=n_,s=i_){return yield Rye(r,n,a=>a.message.statusCode,i,s)})}o(Xg,"retryHttpClientResponse");var na=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function plt(t,e){return na(this,void 0,void 0,function*(){yield kye.promisify(Qye.pipeline)(t.message,e)})}o(plt,"pipeResponseToStream");var PR=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,R(`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),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);O(`Received ${e} of ${this.contentLength} (${r}%), ${i} 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 OR(t,e){return na(this,void 0,void 0,function*(){let r=gl.createWriteStream(e),n=new Ou("actions/cache"),i=yield Xg("downloadCache",()=>na(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(E3,()=>{i.message.destroy(),R(`Aborting download, socket timed out after ${E3} ms`)}),yield plt(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Gc(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else R("Unable to validate download, no Content-Length header")})}o(OR,"downloadCacheHttpClient");function Pye(t,e,r){return na(this,void 0,void 0,function*(){var n;let i=yield gl.promises.open(e,"w"),s=new Ou("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Xg("downloadCacheMetadata",()=>na(this,void 0,void 0,function*(){return yield s.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=[],d=4*1024*1024;for(let C=0;Cna(this,void 0,void 0,function*(){return yield Alt(s,t,C,I)}),"promiseGetter")})}u.reverse();let f=0,h=0,p=new PR(l);p.startDisplayTimer();let g=p.onProgress(),m=[],E,y=o(()=>na(this,void 0,void 0,function*(){let C=yield Promise.race(Object.values(m));yield i.write(C.buffer,0,C.count,C.offset),f--,delete m[C.offset],h+=C.count,g({loadedBytes:h})}),"waitAndWrite");for(;E=u.pop();)m[E.offset]=E.promiseGetter(),f++,f>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;f>0;)yield y()}finally{s.dispose(),yield i.close()}})}o(Pye,"downloadCacheHttpClientConcurrent");function Alt(t,e,r,n){return na(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield Lye(3e4,mlt(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(Alt,"downloadSegmentRetry");function mlt(t,e,r,n){return na(this,void 0,void 0,function*(){let i=yield Xg("downloadCachePart",()=>na(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(mlt,"downloadSegment");function Oye(t,e,r){return na(this,void 0,void 0,function*(){var n;let i=new Yg(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)R("Unable to determine content length, downloading file with http-client..."),yield OR(t,e);else{let c=Math.min(134217728,Dye.constants.MAX_LENGTH),l=new PR(a),u=gl.openSync(e,"w");try{l.startDisplayTimer();let d=new AbortController,f=d.signal;for(;!l.isDone();){let h=l.segmentOffset+l.segmentSize,p=Math.min(c,a-h);l.nextSegment(p);let g=yield Lye(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(h,p,{abortSignal:f,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(g==="timeout")throw d.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(g)&&gl.writeFileSync(u,g)}}finally{l.stopDisplayTimer(),gl.closeSync(u)}}})}o(Oye,"downloadCacheStorageSDK");var Lye=o((t,e)=>na(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout");function K5(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),R(`Use Azure SDK: ${e.useAzureSdk}`),R(`Upload concurrency: ${e.uploadConcurrency}`),R(`Upload chunk size: ${e.uploadChunkSize}`),e}o(K5,"getUploadOptions");function Fye(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),R(`Use Azure SDK: ${e.useAzureSdk}`),R(`Download concurrency: ${e.downloadConcurrency}`),R(`Request timeout (ms): ${e.timeoutInMs}`),R(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),R(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),R(`Lookup only: ${e.lookupOnly}`),e}o(Fye,"getDownloadOptions");function X5(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(X5,"isGhes");function TI(){return X5()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(TI,"getCacheServiceVersion");var Mye=["none","read","write","write-only"];function Z5(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(Z5,"getCacheMode");function Uye(t){return Mye.includes(t)?t==="read"||t==="write":!0}o(Uye,"isCacheReadable");function qye(t){return Mye.includes(t)?t==="write"||t==="write-only":!0}o(qye,"isCacheWritable");function LR(){let t=TI();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(LR,"getCacheServiceURL");var zye=N(Vye(),1);function FR(){return`@actions/cache-${zye.version}`}o(FR,"getUserAgentString");var Ts=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function RI(t){let e=LR();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return R(`Resource Url: ${r}`),r}o(RI,"getCacheApiUrl");function Elt(t,e){return`${t};api-version=${e}`}o(Elt,"createAcceptHeader");function Clt(){return{headers:{Accept:Elt("application/json","6.0-preview.1")}}}o(Clt,"getRequestOptions");function ez(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new wg(t);return new Ou(FR(),[e],Clt())}o(ez,"createHttpClient");function Wye(t,e,r){return Ts(this,void 0,void 0,function*(){var n;let i=ez(),s=Ig(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,c=yield _I("getCacheEntry",()=>Ts(this,void 0,void 0,function*(){return i.getJson(RI(a))}));if(c.statusCode===204)return np()&&(yield blt(t[0],i,s)),null;if(!kR(c.statusCode)){let d=(n=c.error)===null||n===void 0?void 0:n.message;throw d?.includes(s_)?new Error(d):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,u=l?.archiveLocation;if(!u)throw new Error("Cache not found.");return Oc(u),R("Cache Result:"),R(JSON.stringify(l)),l})}o(Wye,"getCacheEntry");function blt(t,e,r){return Ts(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield _I("listCache",()=>Ts(this,void 0,void 0,function*(){return e.getJson(RI(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){R(`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 s?.artifactCaches||[])R(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(blt,"printCachesListForDiagnostics");function tz(t,e,r){return Ts(this,void 0,void 0,function*(){let n=new jye.URL(t),i=Fye(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield Oye(t,e,i):i.concurrentBlobDownloads?yield Pye(t,e,i):yield OR(t,e):yield OR(t,e)})}o(tz,"downloadCache");function Jye(t,e,r){return Ts(this,void 0,void 0,function*(){let n=ez(),i=Ig(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield _I("reserveCache",()=>Ts(this,void 0,void 0,function*(){return n.postJson(RI("caches"),s)}))})}o(Jye,"reserveCache");function $ye(t,e){return`bytes ${t}-${e}/*`}o($ye,"getContentRange");function Ilt(t,e,r,n,i){return Ts(this,void 0,void 0,function*(){R(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${$ye(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":$ye(n,i)},a=yield Xg(`uploadChunk (start: ${n}, end: ${i})`,()=>Ts(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!kR(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(Ilt,"uploadChunk");function wlt(t,e,r,n){return Ts(this,void 0,void 0,function*(){let i=Gc(r),s=RI(`caches/${e.toString()}`),a=Zg.openSync(r,"r"),c=K5(n),l=w3("uploadConcurrency",c.uploadConcurrency),u=w3("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];R("Awaiting all uploads");let f=0;try{yield Promise.all(d.map(()=>Ts(this,void 0,void 0,function*(){for(;fZg.createReadStream(r,{fd:a,start:p,end:g,autoClose:!1}).on("error",m=>{throw new Error(`Cache upload failed because file read failed with ${m.message}`)}),p,g)}})))}finally{Zg.closeSync(a)}})}o(wlt,"uploadFile");function Slt(t,e,r){return Ts(this,void 0,void 0,function*(){let n={size:r};return yield _I("commitCache",()=>Ts(this,void 0,void 0,function*(){return t.postJson(RI(`caches/${e.toString()}`),n)}))})}o(Slt,"commitCache");function rz(t,e,r,n){return Ts(this,void 0,void 0,function*(){if(K5(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Tye(r,e,n)}else{let s=ez();R("Upload cache"),yield wlt(s,t,e,n),R("Commiting cache");let a=Gc(e);O(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield Slt(s,t,a);if(!kR(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);O("Cache saved successfully")}})}o(rz,"saveCache");var HEe=N(OEe(),1),sn=N(nn(),1),go=N(nn(),1),Mp=N(nn(),1),Up=N(nn(),1),qp=N(nn(),1);var Yz=N(nn(),1),Kz=N(nn(),1),UEe=N(nn(),1),qEe=N(nn(),1),GEe=N(nn(),1);var jz=N(nn(),1),Wz=N(nn(),1),LEe=N(nn(),1),FEe=N(nn(),1),MEe=N(nn(),1);var Jz=class extends MEe.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,FEe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,LEe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posw2,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,qEe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,UEe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIl,"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,Up.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Mp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIl,"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,Up.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Mp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIl,"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,Up.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Mp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.poso$.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=a$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>c$.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=l$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>u$.fromJson(i,{ignoreUnknownFields:!0}))}};function VEe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(Oc(r),Oc(encodeURIComponent(r)))}catch(e){R(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(VEe,"maskSigUrl");function zEe(t){if(typeof t!="object"||t===null){R("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&VEe(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&VEe(t.signed_download_url)}o(zEe,"maskSecretUrls");var B2=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},d$=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=mhe();this.baseUrl=LR(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Ou(e,[new wg(s)])}request(e,r,n,i){return B2(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;R(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>B2(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return B2(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&ut(`You've hit a rate limit, your rate limit will reset in ${f} seconds`)}throw new NI(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&R(`Raw Body: ${i}`),c instanceof kp||c instanceof NI)throw c;if(Kg.isNetworkErrorCode(c?.code))throw new Kg(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);O(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. 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?[Pr.BadGateway,Pr.GatewayTimeout,Pr.InternalServerError,Pr.ServiceUnavailable].includes(e):!1}sleep(e){return B2(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),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function f$(t){let e=new d$(FR(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new S2(e)}o(f$,"internalCacheTwirpClient");var x2=require("fs"),yo=N(require("path"),1);var Yu=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},xf=process.platform==="win32";function kdt(){return Yu(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield Ahe(),e=dhe;if(t)return{path:t,type:so.GNU};if((0,x2.existsSync)(e))return{path:e,type:so.BSD};break}case"darwin":{let t=yield ci("gtar",!1);return t?{path:t,type:so.GNU}:{path:yield ci("tar",!0),type:so.BSD}}default:break}return{path:yield ci("tar",!0),type:so.GNU}})}o(kdt,"getTarPath");function Pdt(t,e,r){return Yu(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=lf(i),u="cache.tar",d=$Ee(),f=n.type===so.BSD&&i!==Wi.Gzip&&xf;switch(s){case"create":c.push("--posix","-cf",f?u:l.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),"--exclude",f?u:l.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),"--files-from",b3);break;case"extract":c.push("-xf",f?u:a.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${yo.sep}`,"g"),"/"));break;case"list":c.push("-tf",f?u:a.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),"-P");break}if(n.type===so.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(Pdt,"getTarArgs");function h$(t,e){return Yu(this,arguments,void 0,function*(r,n,i=""){let s,a=yield kdt(),c=yield Pdt(a,r,n,i),l=n!=="create"?yield Odt(a,r,i):yield Ldt(a,r),u=a.type===so.BSD&&r!==Wi.Gzip&&xf;return u&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],u?s:[s.join(" ")]})}o(h$,"getCommands");function $Ee(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o($Ee,"getWorkingDirectory");function Odt(t,e,r){return Yu(this,void 0,void 0,function*(){let n=t.type===so.BSD&&e!==Wi.Gzip&&xf;switch(e){case Wi.Zstd:return n?["zstd -d --long=30 --force -o",x0,r.replace(new RegExp(`\\${yo.sep}`,"g"),"/")]:["--use-compress-program",xf?'"zstd -d --long=30"':"unzstd --long=30"];case Wi.ZstdWithoutLong:return n?["zstd -d --force -o",x0,r.replace(new RegExp(`\\${yo.sep}`,"g"),"/")]:["--use-compress-program",xf?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(Odt,"getDecompressionProgram");function Ldt(t,e){return Yu(this,void 0,void 0,function*(){let r=lf(e),n=t.type===so.BSD&&e!==Wi.Gzip&&xf;switch(e){case Wi.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),x0]:["--use-compress-program",xf?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Wi.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${yo.sep}`,"g"),"/"),x0]:["--use-compress-program",xf?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(Ldt,"getCompressionProgram");function p$(t,e){return Yu(this,void 0,void 0,function*(){for(let r of t)try{yield no(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(p$,"execCommands");function $I(t,e){return Yu(this,void 0,void 0,function*(){let r=yield h$(e,"list",t);yield p$(r)})}o($I,"listTar");function A$(t,e){return Yu(this,void 0,void 0,function*(){let r=$Ee();yield Ru(r);let n=yield h$(e,"extract",t);yield p$(n)})}o(A$,"extractTar");function m$(t,e,r){return Yu(this,void 0,void 0,function*(){(0,x2.writeFileSync)(yo.join(t,b3),e.join(` -`));let n=yield h$(r,"create");yield p$(n,t)})}o(m$,"createTar");var Ay=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},ac=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Gp=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},g$="cache write denied:",v2=class t extends Gp{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},jEe=s_,N2=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},_2=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function WEe(t){if(!t||t.length===0)throw new ac("Path Validation Error: At least one directory or file path is required")}o(WEe,"checkPaths");function y$(t){if(t.length>512)throw new ac(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new ac(`Key Validation Error: ${t} cannot contain commas.`)}o(y$,"checkKey");function E$(){return TI()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(E$,"isFeatureAvailable");function JEe(t,e,r,n){return Ay(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=TI();R(`Cache service version: ${u}`),WEe(i);let d=Z5();if(!Uye(d)){O(`Cache restore skipped: the effective cache-mode '${d}' does not permit reads.`),R(`Skipped restore for paths [${i.join(", ")}] with primary key '${s}'.`);return}return u==="v2"?yield Mdt(i,s,a,c,l):yield Fdt(i,s,a,c,l)})}o(JEe,"restoreCache");function Fdt(t,e,r,n){return Ay(this,arguments,void 0,function*(i,s,a,c,l=!1){var u;a=a||[];let d=[s,...a];if(R("Resolved Keys:"),R(JSON.stringify(d)),d.length>10)throw new ac("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of d)y$(p);let f=yield _0(),h="";try{let p;try{p=yield Wye(d,i,{compressionMethod:f,enableCrossOsArchive:l})}catch(m){let E=(u=m?.message)!==null&&u!==void 0?u:"";throw E.includes(jEe)?new N2(E):m}if(!p?.archiveLocation)return;if(c?.lookupOnly)return O("Lookup only - skipping download"),p.cacheKey;h=jI.join(yield v0(),lf(f)),R(`Archive Path: ${h}`),yield tz(p.archiveLocation,h,c),np()&&(yield $I(h,f));let g=Gc(h);return O(`Cache Size: ~${Math.round(g/(1024*1024))} MB (${g} B)`),yield A$(h,f),O("Cache restored successfully"),p.cacheKey}catch(p){let g=p;if(g.name===ac.name)throw p;g instanceof Hc&&typeof g.statusCode=="number"&&g.statusCode>=500?dg(`Failed to restore: ${p.message}`):ut(`Failed to restore: ${p.message}`)}finally{try{yield N0(h)}catch(p){R(`Failed to delete archive: ${p}`)}}})}o(Fdt,"restoreCacheV1");function Mdt(t,e,r,n){return Ay(this,arguments,void 0,function*(i,s,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let d=[s,...a];if(R("Resolved Keys:"),R(JSON.stringify(d)),d.length>10)throw new ac("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of d)y$(h);let f="";try{let h=f$(),p=yield _0(),g={key:s,restoreKeys:a,version:Ig(i,p,l)},m;try{m=yield h.GetCacheEntryDownloadURL(g)}catch(C){let I=(u=C?.message)!==null&&u!==void 0?u:"";throw I.includes(jEe)?new N2(I):C}if(!m.ok){R(`Cache not found for version ${g.version} of keys: ${d.join(", ")}`);return}if(g.key!==m.matchedKey?O(`Cache hit for restore-key: ${m.matchedKey}`):O(`Cache hit for: ${m.matchedKey}`),c?.lookupOnly)return O("Lookup only - skipping download"),m.matchedKey;f=jI.join(yield v0(),lf(p)),R(`Archive path: ${f}`),R(`Starting download of archive to: ${f}`),yield tz(m.signedDownloadUrl,f,c);let y=Gc(f);return O(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),np()&&(yield $I(f,p)),yield A$(f,p),O("Cache restored successfully"),m.matchedKey}catch(h){let p=h;if(p.name===ac.name)throw h;p instanceof Hc&&typeof p.statusCode=="number"&&p.statusCode>=500?dg(`Failed to restore: ${h.message}`):ut(`Failed to restore: ${h.message}`)}finally{try{f&&(yield N0(f))}catch(h){R(`Failed to delete archive: ${h}`)}}})}o(Mdt,"restoreCacheV2");function C$(t,e,r){return Ay(this,arguments,void 0,function*(n,i,s,a=!1){let c=TI();R(`Cache service version: ${c}`),WEe(n),y$(i);let l=Z5();return qye(l)?c==="v2"?yield qdt(n,i,s,a):yield Udt(n,i,s,a):(O(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),R(`Skipped save for paths [${n.join(", ")}] with key '${i}'.`),-1)})}o(C$,"saveCache");function Udt(t,e,r){return Ay(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,u,d,f,h;let p=yield _0(),g=-1,m=yield I3(n);if(R("Cache Paths:"),R(`${JSON.stringify(m)}`),m.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 E=yield v0(),y=jI.join(E,lf(p));R(`Archive Path: ${y}`);try{yield m$(E,m,p),np()&&(yield $I(y,p));let C=10*1024*1024*1024,I=Gc(y);if(R(`File Size: ${I}`),I>C&&!X5())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);R("Reserving Cache");let B=yield Jye(i,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)g=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((d=(u=B?.error)===null||u===void 0?void 0:u.message)!==null&&d!==void 0?d:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let Q=(f=B?.error)===null||f===void 0?void 0:f.message;throw Q?.startsWith(g$)?new v2(`Unable to reserve cache with key ${i}. More details: ${Q}`):new Gp(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(h=B?.error)===null||h===void 0?void 0:h.message}`)}}R(`Saving Cache (ID: ${g})`),yield rz(g,y,"",s)}catch(C){let I=C;if(I.name===ac.name)throw C;I.name===Gp.name?O(`Failed to save: ${I.message}`):I instanceof Hc&&typeof I.statusCode=="number"&&I.statusCode>=500?dg(`Failed to save: ${I.message}`):ut(`Failed to save: ${I.message}`)}finally{try{yield N0(y)}catch(C){R(`Failed to delete archive: ${C}`)}}return g})}o(Udt,"saveCacheV1");function qdt(t,e,r){return Ay(this,arguments,void 0,function*(n,i,s,a=!1){var c;s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield _0(),u=f$(),d=-1,f=yield I3(n);if(R("Cache Paths:"),R(`${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 h=yield v0(),p=jI.join(h,lf(l));R(`Archive Path: ${p}`);try{yield m$(h,f,l),np()&&(yield $I(p,l));let g=Gc(p);R(`File Size: ${g}`),s.archiveSizeBytes=g,R("Reserving Cache");let m=Ig(n,l,a),E={key:i,version:m},y;try{let B=yield u.CreateCacheEntry(E);if(!B.ok)throw B.message&&!B.message.startsWith(g$)&&ut(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){R(`Failed to reserve cache: ${B}`);let Q=(c=B?.message)!==null&&c!==void 0?c:"";throw Q.startsWith(g$)?new v2(`Unable to reserve cache with key ${i}. More details: ${Q}`):new Gp(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}R(`Attempting to upload cache located at: ${p}`),yield rz(d,p,y,s);let C={key:i,version:m,sizeBytes:`${g}`},I=yield u.FinalizeCacheEntryUpload(C);if(R(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new _2(I.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);d=parseInt(I.entryId)}catch(g){let m=g;if(m.name===ac.name)throw g;m.name===Gp.name?O(`Failed to save: ${m.message}`):m.name===_2.name?ut(m.message):m instanceof Hc&&typeof m.statusCode=="number"&&m.statusCode>=500?dg(`Failed to save: ${m.message}`):ut(`Failed to save: ${m.message}`)}finally{try{yield N0(p)}catch(g){R(`Failed to delete archive: ${g}`)}}return d})}o(qdt,"saveCacheV2");var YEe=N(require("util"),1);var Yn=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=YEe.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=I$.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=I$.default.join(this.cacheDir,this.opts.cacheFile),WI.default.existsSync(this.cacheDir)||WI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){R(`Cache.save ${e}`);let n=this.copyToCache(e),i=await this.cacheToHostedToolCache();if(i&&R(`Cache.save cached to hosted tool cache ${i}`),!this.ghaNoCache&&E$())if(r)try{R(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await C$([this.cacheDir],this.ghaCacheKey)}catch(s){ut(`Failed to save cache: ${s}`)}else R(`Cache.save sending ${this.ghaCacheKey} to post state`),ja(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Fue(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return O(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&E$()){if(R("GitHub Actions cache feature available"),await JEe([this.cacheDir],this.ghaCacheKey)){if(O(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!WI.default.existsSync(this.cachePath))return ut(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&O(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?O("GitHub Actions cache disabled"):O("GitHub Actions cache feature not available")}catch(e){ut(`Failed to restore cache: ${e}`)}return""}static async post(){let e=kce(t.POST_CACHE_KEY);if(!e)return O("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{O(`Caching ${r.key} to GitHub Actions cache`),await C$([r.dir],r.key)}catch(n){ut(`Failed to save cache: ${n}`)}return r}copyToCache(e){return O(`Copying ${e} to ${this.cachePath}`),WI.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await Lue(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){O(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${b$.default.platform()}-${b$.default.arch()}${e?"v"+e:""}`}};var KEe=!!process.env.STATE_isPost;KEe||ja("isPost","true");async function XEe(t,e){if(KEe)e&&await e(),await kr("Post cache",async()=>{await Yn.post()});else try{await t()}catch(r){wN(r.message)}}o(XEe,"run");var ha=N(require("fs"),1),Ps=N(require("path"),1),pSe=require("util");var ASe=N(cc(),1);var G2=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 n=r[0].toLowerCase();if(n=n.slice(0,n.lastIndexOf("://")),!(n in t.supportedProtos))throw new Error(`Invalid protocol: ${n}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let n;return(e.username||e.password)&&(n={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:n,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,n]=e.slice(1).split(":");return{ref:r,subdir:n}}static parseRef(e){let r={},n;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,n=t.fromURL(new URL("https://"+e));else if(n=t.parseURL(e),["http","git"].includes(n.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(n.scheme)&&!n.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=n.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),n.fragment&&(r.commit=n.fragment.ref,r.subDir=n.fragment.subdir);let i=r.remote.split("/");return r.shortName=i[i.length-1].replace(".git",""),r}};var zj=N(require("fs"),1),fwe=N(require("os"),1),mw=N(require("path"),1),hwe=require("util"),pwe=N(Jbe(),1);var W$=N(require("fs"),1),p0e=N(require("os"),1),A0e=N(require("path"),1),m0e=N(h0e(),1);var gt=class t{static{o(this,"Context")}static _tmpDir=W$.default.mkdtempSync(A0e.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||p0e.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return W$.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return m0e.tmpNameSync(e)}};var _e=class{static{o(this,"Exec")}static async exec(e,r,n){return R(`Exec.exec: ${e} ${r?.join(" ")}`),no(e,r,n)}static async getExecOutput(e,r,n){return R(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),lg(e,r,n)}};var Vj=N(require("crypto"),1),uwe=N(require("fs"),1),Aw=N(require("path"),1),dwe=N(qj(),1);var ft=class t extends Error{static{o(this,"CsvError")}constructor(e,r,n,...i){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let s of i)for(let a in s){let c=s[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var pw=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var ND=o(function(t){let e=[];for(let r=0,n=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.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}},Hj=Gj;var owe=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((n,i)=>{let s=Buffer.from(String.fromCharCode(i),t.encoding);return i!==63&&s.length===1&&s[0]===63||n.push(s),n},[]),r=new Uint8Array(256);for(let n of e)r[n[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 Hj(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new Hj(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var awe=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var Ty=o(function(t){let e={};for(let n in t)e[awe(n)]=t[n];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 ft("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 ft("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 ft("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(n){let i=Date.parse(n);return isNaN(i)?n:new Date(i)};else if(typeof e.cast_date!="function")throw new ft("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=ND(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new ft("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 ft("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 ft("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 ft("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 ft("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(!pw(e.delimiter_auto))throw new ft("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(!pw(e.delimiter_auto.preferred))throw new ft("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=(n,i)=>(n.total-n.std)*(i.preferred[n.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new ft("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 ft("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(n){if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ft("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 n}),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 ft("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 ft("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 ft("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 ft("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 ft("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(n,i){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new ft("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new ft("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],e);return typeof n=="string"&&(n=Buffer.from(n,e.encoding)),n}),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 cwe=o(function(t,e){e||({delimiter_auto:e}=Ty({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(i=>{let s=[],a=_D({delimiter:[]}),c=o(d=>s.push(d),"push"),l=o(()=>{},"close"),u=a.parse(i,!0,c,l);if(u!==void 0)throw u;return s})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([i],s)=>{for(let a=0,c=i.length;a{i.char_code=s,i.std=dyt(i.lines),i.total=i.lines.reduce((a,c)=>a+c,0),i.preferred=!!e.preferred[s],i.score=e.score(i,e)});let n=r.reduce((i,s)=>i.score>s.score?i:s,{});return String.fromCharCode(n.char_code)},"delimiter_discover"),dyt=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((n,i)=>n+i)/e;return Math.sqrt(t.map(n=>Math.pow(n-r,2)).reduce((n,i)=>n+i)/e)},"std");var lwe=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),fyt=13,hyt=10,Ry={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},_D=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=Ty(t);return{info:e,original_options:t,options:r,state:owe(r),__needMoreData:o(function(n,i,s){if(s)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:d,recordDelimiterMaxLength:f}=this.state,h=i-n-1,p=Math.max(d,f===0?Buffer.from(`\r -`,a).length:f,u?(c===null?0:c.length)+l.length:0,u?l.length+f:0);return hu.size)this.options.delimiter=[Buffer.from(cwe(z,this.options.delimiter_auto))],this.state.previousBuf=z,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=z;return}}let{previousBuf:ee}=this.state,ae;if(ee===void 0)if(n===void 0){a();return}else ae=n;else ee!==void 0&&n===void 0?ae=ee:ae=Buffer.concat([ee,n]);if($===!1)if(c===!1)this.state.bomSkipped=!0;else if(ae.length<3){if(i===!1){this.state.previousBuf=ae;return}}else{for(let z in Ry)if(Ry[z].compare(ae,0,Ry[z].length)===0){let we=Ry[z].length;this.state.bufBytesStart+=we,ae=ae.slice(we);let Be=Ty({...this.original_options,encoding:z});for(let st in Be)this.options[st]=Be[st];({comment:B,escape:Q,quote:M}=this.options);break}this.state.bomSkipped=!0}let Ae=ae.length,Y;for(Y=0;YI){this.state.stop=!0,a();return}this.state.quoting===!1&&v.length===0&&this.__autoDiscoverRecordDelimiter(ae,Y)&&(v=this.options.record_delimiter);let z=ae[Y];if(g===!0&&V.append(z),(z===fyt||z===hyt)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(Q!==null&&this.state.quoting===!0&&this.__isEscape(ae,Y,z)&&Y+Q.lengthRy[hn].equals(this.state.field.toString())?hn:!1).filter(Boolean)[0],hr=this.__error(new ft("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(st.column)} at line ${st.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,bt?`(${bt} bom)`:void 0],this.options,st,{field:this.state.field}));if(hr!==void 0)return hr}}else{this.state.quoting=!0,Y+=M.length-1;continue}if(this.state.quoting===!1){let st=this.__isRecordDelimiter(z,ae,Y);if(st!==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)>=f){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),Y+=st-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,Y+=st-1;continue}this.info.bytes=this.state.bufBytesStart+Y;let hn=this.__onField();if(hn!==void 0)return hn;this.info.bytes=this.state.bufBytesStart+Y+st;let oi=this.__onRecord(s);if(oi!==void 0)return oi;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,Y+=st-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,ae,Y,z)!==0){this.state.commenting=!0;continue}let bt=this.__isDelimiter(ae,Y,z);if(bt!==0){this.info.bytes=this.state.bufBytesStart+Y;let hr=this.__onField();if(hr!==void 0)return hr;Y+=bt-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new ft("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${p}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let we=h===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ae,Y),Be=E===!1||this.state.wasQuoting===!1;if(we===!0&&Be===!0)this.state.field.append(z);else{if(E===!0&&!this.__isCharTrimable(ae,Y))return this.__error(new ft("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()));we===!1&&(Y+=this.__isCharTrimable(ae,Y)-1);continue}}if(i===!0)if(this.state.quoting===!0){let z=this.__error(new ft("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(z!==void 0)return z}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+Y;let z=this.__onField();if(z!==void 0)return z;let we=this.__onRecord(s);if(we!==void 0)return we}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=Y,this.state.previousBuf=ae.slice(Y);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(n){let{columns:i,group_columns_by_name:s,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:d,relax_column_count_more:f,raw:h,skip_records_with_empty_values:p}=this.options,{enabled:g,record:m}=this.state;if(g===!1)return this.__resetRecord();let E=m.length;if(i===!0){if(p===!0&&lwe(m)){this.__resetRecord();return}return this.__firstLineToColumns(m)}if(i===!1&&this.info.records===0&&(this.state.expectedRecordLength=E),E!==this.state.expectedRecordLength){let y=i===!1?new ft("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:m}):new ft("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${i.length},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:m});if(u===!0||d===!0&&Ethis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let C=this.__error(y);if(C)return C}}if(p===!0&&lwe(m)){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:y}=this.options;if(i!==!1){let C={};for(let I=0,B=m.length;I=0},"__isFloat"),__isQuote:o(function(n,i){let{quote:s}=this.options;if(s===null)return!1;let a=s.length;for(let c=0;ctR(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,f)=>!(u>0&&l.name.toLowerCase()===f[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} +`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=XN(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=ZN(s.url),u={};if(l){let f=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let h=d.toLowerCase();u[h]=l[d],f.push(h)}f.sort();for(let d of f)c+=` +${d}:${decodeURIComponent(u[d])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:olt,async sendRequest(s,a){return e(s),a(s)}}}o(p5,"storageSharedKeyCredentialPolicy");var alt="storageRequestFailureDetailsParserPolicy";function uye(){return{name:alt,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(uye,"storageRequestFailureDetailsParserPolicy");var fye=require("node:crypto");var rR=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,fye.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var nR="12.31.0",iR="2026-02-06";var sR="https://storage.azure.com/.default",Ju={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var nc="",m5="*",clt=1*1024*1024;var llt=4*clt;var dye="AES256",hye="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",pye=["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"],mye=["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"],Aye="BlobUsesCustomerSpecifiedEncryption",gye="BlobDoesNotUseCustomerSpecifiedEncryption",yye=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Yu(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(Yu,"isPipelineLike");var Tw=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 rn(t,e={}){t||(t=new Er);let r=new Tw([],e);return r._credential=t,r}o(rn,"newPipeline");function ult(t){let e=[flt,Eye,dlt,hlt,plt,mlt,glt];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>Alt(i));return{wrappedPolicies:V4(r),afterRetry:n}}}}o(ult,"processDownlevelPipeline");function A5(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?z4(e):h5(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${nR}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=hw({...r,loggingOptions:{additionalAllowedHeaderNames:pye,additionalAllowedQueryParameters:mye,logger:jN.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:zN,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:f5,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:C4}),i.addPolicy(aye()),i.addPolicy(cye(r.retryOptions),{phase:"Retry"}),i.addPolicy(uye()),i.addPolicy(oye());let c=ult(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=g5(t);po(l)?i.addPolicy(Kg({credential:l,scopes:r.audience??sR,challengeCallbacks:{authorizeRequestOnChallenge:kN}}),{phase:"Sign"}):l instanceof Or&&i.addPolicy(p5({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(A5,"getCoreClientOptions");function g5(t){if(t._credential)return t._credential;let e=new Er;for(let r of t.factories)if(po(r.credential))e=r.credential;else if(Eye(r))return r;return e}o(g5,"getCredentialFromPipeline");function Eye(t){return t instanceof Or?!0:t.constructor.name==="StorageSharedKeyCredential"}o(Eye,"isStorageSharedKeyCredential");function flt(t){return t instanceof Er?!0:t.constructor.name==="AnonymousCredential"}o(flt,"isAnonymousCredential");function dlt(t){return po(t.credential)}o(dlt,"isCoreHttpBearerTokenFactory");function hlt(t){return t instanceof vw?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(hlt,"isStorageBrowserPolicyFactory");function plt(t){return t instanceof Rw?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(plt,"isStorageRetryPolicyFactory");function mlt(t){return t.constructor.name==="TelemetryPolicyFactory"}o(mlt,"isStorageTelemetryPolicyFactory");function Alt(t){return t.constructor.name==="InjectorPolicyFactory"}o(Alt,"isInjectorPolicyFactory");function glt(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(glt,"isCoreHttpPolicyFactory");var Cye;(function(t){t.AES256="AES256"})(Cye||(Cye={}));var bye;(function(t){t.Backup="backup"})(bye||(bye={}));var wye;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(wye||(wye={}));var Iye;(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"})(Iye||(Iye={}));var go={};w4e(go,{AccessPolicy:()=>Nlt,AppendBlobAppendBlockExceptionHeaders:()=>L8,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>M8,AppendBlobAppendBlockFromUrlHeaders:()=>F8,AppendBlobAppendBlockHeaders:()=>O8,AppendBlobCreateExceptionHeaders:()=>P8,AppendBlobCreateHeaders:()=>k8,AppendBlobSealExceptionHeaders:()=>q8,AppendBlobSealHeaders:()=>U8,ArrowConfiguration:()=>Hlt,ArrowField:()=>Vlt,BlobAbortCopyFromURLExceptionHeaders:()=>a8,BlobAbortCopyFromURLHeaders:()=>o8,BlobAcquireLeaseExceptionHeaders:()=>zH,BlobAcquireLeaseHeaders:()=>VH,BlobBreakLeaseExceptionHeaders:()=>ZH,BlobBreakLeaseHeaders:()=>XH,BlobChangeLeaseExceptionHeaders:()=>KH,BlobChangeLeaseHeaders:()=>YH,BlobCopyFromURLExceptionHeaders:()=>s8,BlobCopyFromURLHeaders:()=>i8,BlobCreateSnapshotExceptionHeaders:()=>t8,BlobCreateSnapshotHeaders:()=>e8,BlobDeleteExceptionHeaders:()=>NH,BlobDeleteHeaders:()=>_H,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>MH,BlobDeleteImmutabilityPolicyHeaders:()=>FH,BlobDownloadExceptionHeaders:()=>BH,BlobDownloadHeaders:()=>aR,BlobFlatListSegment:()=>Rlt,BlobGetAccountInfoExceptionHeaders:()=>u8,BlobGetAccountInfoHeaders:()=>l8,BlobGetPropertiesExceptionHeaders:()=>xH,BlobGetPropertiesHeaders:()=>vH,BlobGetTagsExceptionHeaders:()=>h8,BlobGetTagsHeaders:()=>d8,BlobHierarchyListSegment:()=>klt,BlobItemInternal:()=>Tlt,BlobName:()=>Dlt,BlobPrefix:()=>Plt,BlobPropertiesInternal:()=>Qlt,BlobQueryExceptionHeaders:()=>f8,BlobQueryHeaders:()=>lR,BlobReleaseLeaseExceptionHeaders:()=>$H,BlobReleaseLeaseHeaders:()=>jH,BlobRenewLeaseExceptionHeaders:()=>JH,BlobRenewLeaseHeaders:()=>WH,BlobServiceProperties:()=>Dw,BlobServiceStatistics:()=>y5,BlobSetExpiryExceptionHeaders:()=>QH,BlobSetExpiryHeaders:()=>DH,BlobSetHttpHeadersExceptionHeaders:()=>PH,BlobSetHttpHeadersHeaders:()=>kH,BlobSetImmutabilityPolicyExceptionHeaders:()=>LH,BlobSetImmutabilityPolicyHeaders:()=>OH,BlobSetLegalHoldExceptionHeaders:()=>qH,BlobSetLegalHoldHeaders:()=>UH,BlobSetMetadataExceptionHeaders:()=>HH,BlobSetMetadataHeaders:()=>GH,BlobSetTagsExceptionHeaders:()=>m8,BlobSetTagsHeaders:()=>p8,BlobSetTierExceptionHeaders:()=>c8,BlobSetTierHeaders:()=>cR,BlobStartCopyFromURLExceptionHeaders:()=>n8,BlobStartCopyFromURLHeaders:()=>r8,BlobTag:()=>xlt,BlobTags:()=>kw,BlobUndeleteExceptionHeaders:()=>TH,BlobUndeleteHeaders:()=>RH,Block:()=>Olt,BlockBlobCommitBlockListExceptionHeaders:()=>K8,BlockBlobCommitBlockListHeaders:()=>Y8,BlockBlobGetBlockListExceptionHeaders:()=>Z8,BlockBlobGetBlockListHeaders:()=>X8,BlockBlobPutBlobFromUrlExceptionHeaders:()=>z8,BlockBlobPutBlobFromUrlHeaders:()=>V8,BlockBlobStageBlockExceptionHeaders:()=>$8,BlockBlobStageBlockFromURLExceptionHeaders:()=>J8,BlockBlobStageBlockFromURLHeaders:()=>W8,BlockBlobStageBlockHeaders:()=>j8,BlockBlobUploadExceptionHeaders:()=>H8,BlockBlobUploadHeaders:()=>G8,BlockList:()=>B5,BlockLookupList:()=>S5,ClearRange:()=>Flt,ContainerAcquireLeaseExceptionHeaders:()=>uH,ContainerAcquireLeaseHeaders:()=>lH,ContainerBreakLeaseExceptionHeaders:()=>AH,ContainerBreakLeaseHeaders:()=>mH,ContainerChangeLeaseExceptionHeaders:()=>yH,ContainerChangeLeaseHeaders:()=>gH,ContainerCreateExceptionHeaders:()=>V5,ContainerCreateHeaders:()=>H5,ContainerDeleteExceptionHeaders:()=>W5,ContainerDeleteHeaders:()=>$5,ContainerFilterBlobsExceptionHeaders:()=>cH,ContainerFilterBlobsHeaders:()=>aH,ContainerGetAccessPolicyExceptionHeaders:()=>X5,ContainerGetAccessPolicyHeaders:()=>K5,ContainerGetAccountInfoExceptionHeaders:()=>SH,ContainerGetAccountInfoHeaders:()=>IH,ContainerGetPropertiesExceptionHeaders:()=>j5,ContainerGetPropertiesHeaders:()=>z5,ContainerItem:()=>Slt,ContainerListBlobFlatSegmentExceptionHeaders:()=>CH,ContainerListBlobFlatSegmentHeaders:()=>EH,ContainerListBlobHierarchySegmentExceptionHeaders:()=>wH,ContainerListBlobHierarchySegmentHeaders:()=>bH,ContainerProperties:()=>Blt,ContainerReleaseLeaseExceptionHeaders:()=>dH,ContainerReleaseLeaseHeaders:()=>fH,ContainerRenameExceptionHeaders:()=>iH,ContainerRenameHeaders:()=>nH,ContainerRenewLeaseExceptionHeaders:()=>pH,ContainerRenewLeaseHeaders:()=>hH,ContainerRestoreExceptionHeaders:()=>rH,ContainerRestoreHeaders:()=>tH,ContainerSetAccessPolicyExceptionHeaders:()=>eH,ContainerSetAccessPolicyHeaders:()=>Z5,ContainerSetMetadataExceptionHeaders:()=>Y5,ContainerSetMetadataHeaders:()=>J5,ContainerSubmitBatchExceptionHeaders:()=>oH,ContainerSubmitBatchHeaders:()=>sH,CorsRule:()=>blt,DelimitedTextConfiguration:()=>qlt,FilterBlobItem:()=>vlt,FilterBlobSegment:()=>Qw,GeoReplication:()=>Ilt,JsonTextConfiguration:()=>Glt,KeyInfo:()=>C5,ListBlobsFlatSegmentResponse:()=>w5,ListBlobsHierarchySegmentResponse:()=>I5,ListContainersSegmentResponse:()=>E5,Logging:()=>ylt,Metrics:()=>Clt,PageBlobClearPagesExceptionHeaders:()=>b8,PageBlobClearPagesHeaders:()=>C8,PageBlobCopyIncrementalExceptionHeaders:()=>Q8,PageBlobCopyIncrementalHeaders:()=>D8,PageBlobCreateExceptionHeaders:()=>g8,PageBlobCreateHeaders:()=>A8,PageBlobGetPageRangesDiffExceptionHeaders:()=>x8,PageBlobGetPageRangesDiffHeaders:()=>v8,PageBlobGetPageRangesExceptionHeaders:()=>B8,PageBlobGetPageRangesHeaders:()=>S8,PageBlobResizeExceptionHeaders:()=>N8,PageBlobResizeHeaders:()=>_8,PageBlobUpdateSequenceNumberExceptionHeaders:()=>T8,PageBlobUpdateSequenceNumberHeaders:()=>R8,PageBlobUploadPagesExceptionHeaders:()=>E8,PageBlobUploadPagesFromURLExceptionHeaders:()=>I8,PageBlobUploadPagesFromURLHeaders:()=>w8,PageBlobUploadPagesHeaders:()=>y8,PageList:()=>oR,PageRange:()=>Llt,QueryFormat:()=>Ult,QueryRequest:()=>v5,QuerySerialization:()=>Mlt,RetentionPolicy:()=>Elt,ServiceFilterBlobsExceptionHeaders:()=>G5,ServiceFilterBlobsHeaders:()=>q5,ServiceGetAccountInfoExceptionHeaders:()=>F5,ServiceGetAccountInfoHeaders:()=>L5,ServiceGetPropertiesExceptionHeaders:()=>R5,ServiceGetPropertiesHeaders:()=>N5,ServiceGetStatisticsExceptionHeaders:()=>D5,ServiceGetStatisticsHeaders:()=>T5,ServiceGetUserDelegationKeyExceptionHeaders:()=>O5,ServiceGetUserDelegationKeyHeaders:()=>P5,ServiceListContainersSegmentExceptionHeaders:()=>k5,ServiceListContainersSegmentHeaders:()=>Q5,ServiceSetPropertiesExceptionHeaders:()=>_5,ServiceSetPropertiesHeaders:()=>x5,ServiceSubmitBatchExceptionHeaders:()=>U5,ServiceSubmitBatchHeaders:()=>M5,SignedIdentifier:()=>_lt,StaticWebsite:()=>wlt,StorageError:()=>re,UserDelegationKey:()=>b5});var Dw={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"}}}}},ylt={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"}}}}},Elt={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"}}}}},Clt={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"}}}}},blt={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"}}}}},wlt={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"}}}}},re={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"}}}}},y5={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Ilt={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"}}}}},E5={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"}}}}},Slt={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"}}}}}}},Blt={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"}}}}},C5={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"}}}}},b5={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"}}}}},Qw={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"}}}}},vlt={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"}}}}},kw={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"}}}}}}},xlt={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"}}}}},_lt={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"}}}}},Nlt={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"}}}}},w5={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"}}}}},Rlt={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"}}}}}}},Tlt={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"}}}}},Dlt={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"}}}}},Qlt={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"}}}}},I5={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"}}}}},klt={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"}}}}}}},Plt={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},S5={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"}}}}}}},B5={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"}}}}}}},Olt={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"}}}}},oR={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"}}}}},Llt={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"}}}}},Flt={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"}}}}},v5={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"}}}}},Mlt={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Ult={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"}}}}}}},qlt={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"}}}}},Glt={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Hlt={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"}}}}}}},Vlt={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"}}}}},x5={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"}}}}},_5={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N5={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"}}}}},R5={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T5={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"}}}}},D5={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q5={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"}}}}},k5={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},P5={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"}}}}},O5={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},L5={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"}}}}},F5={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},M5={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"}}}}},U5={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},q5={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"}}}}},G5={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},H5={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"}}}}},V5={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},z5={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"}}}}},j5={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$5={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"}}}}},W5={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},J5={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"}}}}},Y5={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},K5={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"}}}}},X5={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Z5={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"}}}}},eH={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tH={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"}}}}},rH={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nH={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"}}}}},iH={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sH={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"}}}}},oH={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aH={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"}}}}},cH={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lH={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"}}}}},uH={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fH={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"}}}}},dH={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hH={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"}}}}},pH={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mH={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"}}}}},AH={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gH={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"}}}}},yH={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EH={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"}}}}},CH={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bH={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"}}}}},wH={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IH={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"}}}}},SH={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},BH={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vH={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"}}}}},xH={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_H={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"}}}}},NH={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RH={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"}}}}},TH={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DH={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"}}}}},QH={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kH={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"}}}}},PH={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OH={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"]}}}}},LH={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FH={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"}}}}},MH={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UH={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"}}}}},qH={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GH={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"}}}}},HH={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VH={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"}}}}},zH={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jH={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"}}}}},$H={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WH={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"}}}}},JH={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YH={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"}}}}},KH={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XH={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"}}}}},ZH={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},e8={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"}}}}},t8={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},r8={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"}}}}},n8={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"}}}}},i8={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"}}}}},s8={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"}}}}},o8={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"}}}}},a8={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={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"}}}}},c8={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},l8={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"}}}}},u8={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},f8={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},d8={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"}}}}},h8={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},p8={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"}}}}},m8={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},A8={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"}}}}},g8={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y8={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"}}}}},E8={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},C8={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"}}}}},b8={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},w8={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"}}}}},I8={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"}}}}},S8={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"}}}}},B8={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},v8={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"}}}}},x8={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_8={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"}}}}},N8={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},R8={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"}}}}},T8={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},D8={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"}}}}},Q8={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},k8={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"}}}}},P8={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},O8={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"}}}}},L8={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},F8={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"}}}}},M8={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"}}}}},U8={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"}}}}},q8={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},G8={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"}}}}},H8={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},V8={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"}}}}},z8={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"}}}}},j8={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"}}}}},$8={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},W8={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"}}}}},J8={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"}}}}},Y8={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"}}}}},K8={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},X8={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"}}}}},Z8={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var sl={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sye={parameterPath:"blobServiceProperties",mapper:Dw},ra={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},ie={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Pw={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},na={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},se={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},oe={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},ae={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},ye={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Bye={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ow={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Lw={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ol={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},al={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},vye={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},xye={parameterPath:"keyInfo",mapper:C5},_ye={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},iy={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},uR={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},fR={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jn={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},dR={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},hR={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pR={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},$n={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ni={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},eV={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},Nye={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},Rye={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},rt={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},Je={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Ye={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},mR={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},tV={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Tye={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},AR={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Dye={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},Qye={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},kye={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Pye={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},Oye={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},ia={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gR={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yR={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},ER={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},CR={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Nd={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},bR={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},wR={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},IR={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},SR={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},BR={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},rV={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"},nV={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},Lye={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},es={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},cl={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Pp={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},Fye={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},Mye={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Lr={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Fr={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Mr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},_t={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},Nt={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},ft={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},Uye={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},qye={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},Gye={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hye={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},Vye={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ll={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},ul={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},fl={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},dl={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},hl={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},pl={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},iV={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ic={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},sc={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},zye={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jye={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Cn={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},$ye={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ku={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"]}}},sV={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},ml={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Al={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},gl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},yl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},vR={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Op={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},oc={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},Wye={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},El={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Jye={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Xu={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Zu={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},xR={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},ef={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},Yye={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Kye={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},Xye={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},Zye={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},eEe={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"]}}},tEe={parameterPath:["options","queryRequest"],mapper:v5},rEe={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oV={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},aV={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},cV={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},lV={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},uV={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},nEe={parameterPath:["options","tags"],mapper:kw},sa={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Cl={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},iEe={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},fV={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},dV={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Lp={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Fp={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Mp={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},_R={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},hV={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},NR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},RR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},TR={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},sEe={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},sy={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},oEe={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},oy={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},aEe={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},pV={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cEe={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},lEe={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},uEe={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},fEe={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dEe={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},mV={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AV={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},DR={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},QR={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},hEe={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gV={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},pEe={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},yV={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},EV={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},mEe={parameterPath:"blocks",mapper:S5},CV={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AEe={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var kR=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},zlt)}getProperties(e){return this.client.sendOperationRequest({options:e},jlt)}getStatistics(e){return this.client.sendOperationRequest({options:e},$lt)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Wlt)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Jlt)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Ylt)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},Klt)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Xlt)}},Rd=mo(go,!0),zlt={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:x5},default:{bodyMapper:re,headersMapper:_5}},requestBody:Sye,queryParameters:[Pw,na,se],urlParameters:[ie],headerParameters:[sl,ra,oe,ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rd},jlt={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Dw,headersMapper:N5},default:{bodyMapper:re,headersMapper:R5}},queryParameters:[Pw,na,se],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Rd},$lt={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:y5,headersMapper:T5},default:{bodyMapper:re,headersMapper:D5}},queryParameters:[Pw,se,Bye],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Rd},Wlt={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:E5,headersMapper:Q5},default:{bodyMapper:re,headersMapper:k5}},queryParameters:[se,Ow,Lw,ol,al,vye],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Rd},Jlt={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:b5,headersMapper:P5},default:{bodyMapper:re,headersMapper:O5}},requestBody:xye,queryParameters:[Pw,se,_ye],urlParameters:[ie],headerParameters:[sl,ra,oe,ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rd},Ylt={path:"/",httpMethod:"GET",responses:{200:{headersMapper:L5},default:{bodyMapper:re,headersMapper:F5}},queryParameters:[na,se,iy],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Rd},Klt={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:M5},default:{bodyMapper:re,headersMapper:U5}},requestBody:uR,queryParameters:[se,fR],urlParameters:[ie],headerParameters:[ra,oe,ae,jn,dR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rd},Xlt={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Qw,headersMapper:q5},default:{bodyMapper:re,headersMapper:G5}},queryParameters:[se,ol,al,hR,pR],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Rd};var PR=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Zlt)}getProperties(e){return this.client.sendOperationRequest({options:e},eut)}delete(e){return this.client.sendOperationRequest({options:e},tut)}setMetadata(e){return this.client.sendOperationRequest({options:e},rut)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},nut)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},iut)}restore(e){return this.client.sendOperationRequest({options:e},sut)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},out)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},aut)}filterBlobs(e){return this.client.sendOperationRequest({options:e},cut)}acquireLease(e){return this.client.sendOperationRequest({options:e},lut)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},uut)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},fut)}breakLease(e){return this.client.sendOperationRequest({options:e},dut)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},hut)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},put)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},mut)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Aut)}},Wn=mo(go,!0),Zlt={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:H5},default:{bodyMapper:re,headersMapper:V5}},queryParameters:[se,$n],urlParameters:[ie],headerParameters:[oe,ae,ye,Ni,eV,Nye,Rye],isXML:!0,serializer:Wn},eut={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:z5},default:{bodyMapper:re,headersMapper:j5}},queryParameters:[se,$n],urlParameters:[ie],headerParameters:[oe,ae,ye,rt],isXML:!0,serializer:Wn},tut={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:$5},default:{bodyMapper:re,headersMapper:W5}},queryParameters:[se,$n],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye],isXML:!0,serializer:Wn},rut={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:J5},default:{bodyMapper:re,headersMapper:Y5}},queryParameters:[se,$n,mR],urlParameters:[ie],headerParameters:[oe,ae,ye,Ni,rt,Je],isXML:!0,serializer:Wn},nut={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:K5},default:{bodyMapper:re,headersMapper:X5}},queryParameters:[se,$n,tV],urlParameters:[ie],headerParameters:[oe,ae,ye,rt],isXML:!0,serializer:Wn},iut={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Z5},default:{bodyMapper:re,headersMapper:eH}},requestBody:Tye,queryParameters:[se,$n,tV],urlParameters:[ie],headerParameters:[sl,ra,oe,ae,eV,rt,Je,Ye],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Wn},sut={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:tH},default:{bodyMapper:re,headersMapper:rH}},queryParameters:[se,$n,AR],urlParameters:[ie],headerParameters:[oe,ae,ye,Dye,Qye],isXML:!0,serializer:Wn},out={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:nH},default:{bodyMapper:re,headersMapper:iH}},queryParameters:[se,$n,kye],urlParameters:[ie],headerParameters:[oe,ae,ye,Pye,Oye],isXML:!0,serializer:Wn},aut={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:sH},default:{bodyMapper:re,headersMapper:oH}},requestBody:uR,queryParameters:[se,fR,$n],urlParameters:[ie],headerParameters:[ra,oe,ae,jn,dR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Wn},cut={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Qw,headersMapper:aH},default:{bodyMapper:re,headersMapper:cH}},queryParameters:[se,ol,al,hR,pR,$n],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Wn},lut={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:lH},default:{bodyMapper:re,headersMapper:uH}},queryParameters:[se,$n,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,gR,yR,ER],isXML:!0,serializer:Wn},uut={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fH},default:{bodyMapper:re,headersMapper:dH}},queryParameters:[se,$n,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,CR,Nd],isXML:!0,serializer:Wn},fut={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:hH},default:{bodyMapper:re,headersMapper:pH}},queryParameters:[se,$n,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,Nd,bR],isXML:!0,serializer:Wn},dut={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:mH},default:{bodyMapper:re,headersMapper:AH}},queryParameters:[se,$n,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,wR,IR],isXML:!0,serializer:Wn},hut={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:gH},default:{bodyMapper:re,headersMapper:yH}},queryParameters:[se,$n,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,Nd,SR,BR],isXML:!0,serializer:Wn},put={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:w5,headersMapper:EH},default:{bodyMapper:re,headersMapper:CH}},queryParameters:[se,Ow,Lw,ol,al,$n,rV,nV],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Wn},mut={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:I5,headersMapper:bH},default:{bodyMapper:re,headersMapper:wH}},queryParameters:[se,Ow,Lw,ol,al,$n,rV,nV,Lye],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Wn},Aut={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:IH},default:{bodyMapper:re,headersMapper:SH}},queryParameters:[na,se,iy],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Wn};var OR=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},gut)}getProperties(e){return this.client.sendOperationRequest({options:e},yut)}delete(e){return this.client.sendOperationRequest({options:e},Eut)}undelete(e){return this.client.sendOperationRequest({options:e},Cut)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},but)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},wut)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Iut)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Sut)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},But)}setMetadata(e){return this.client.sendOperationRequest({options:e},vut)}acquireLease(e){return this.client.sendOperationRequest({options:e},xut)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},_ut)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Nut)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Rut)}breakLease(e){return this.client.sendOperationRequest({options:e},Tut)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Dut)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Qut)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},kut)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Put)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Out)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Lut)}query(e){return this.client.sendOperationRequest({options:e},Fut)}getTags(e){return this.client.sendOperationRequest({options:e},Mut)}setTags(e){return this.client.sendOperationRequest({options:e},Uut)}},Cr=mo(go,!0),gut={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:aR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:aR},default:{bodyMapper:re,headersMapper:BH}},queryParameters:[se,es,cl],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,Pp,Fye,Mye,Lr,Fr,Mr,_t,Nt,ft],isXML:!0,serializer:Cr},yut={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:vH},default:{bodyMapper:re,headersMapper:xH}},queryParameters:[se,es,cl],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft],isXML:!0,serializer:Cr},Eut={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:_H},default:{bodyMapper:re,headersMapper:NH}},queryParameters:[se,es,cl,qye],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,_t,Nt,ft,Uye],isXML:!0,serializer:Cr},Cut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:RH},default:{bodyMapper:re,headersMapper:TH}},queryParameters:[se,AR],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Cr},but={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:DH},default:{bodyMapper:re,headersMapper:QH}},queryParameters:[se,Gye],urlParameters:[ie],headerParameters:[oe,ae,ye,Hye,Vye],isXML:!0,serializer:Cr},wut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kH},default:{bodyMapper:re,headersMapper:PH}},queryParameters:[na,se],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,_t,Nt,ft,ll,ul,fl,dl,hl,pl],isXML:!0,serializer:Cr},Iut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:OH},default:{bodyMapper:re,headersMapper:LH}},queryParameters:[se,es,cl,iV],urlParameters:[ie],headerParameters:[oe,ae,ye,Ye,ic,sc],isXML:!0,serializer:Cr},Sut={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:FH},default:{bodyMapper:re,headersMapper:MH}},queryParameters:[se,es,cl,iV],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Cr},But={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:UH},default:{bodyMapper:re,headersMapper:qH}},queryParameters:[se,es,cl,zye],urlParameters:[ie],headerParameters:[oe,ae,ye,jye],isXML:!0,serializer:Cr},vut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GH},default:{bodyMapper:re,headersMapper:HH}},queryParameters:[se,mR],urlParameters:[ie],headerParameters:[oe,ae,ye,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,Cn],isXML:!0,serializer:Cr},xut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VH},default:{bodyMapper:re,headersMapper:zH}},queryParameters:[se,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,gR,yR,ER,_t,Nt,ft],isXML:!0,serializer:Cr},_ut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jH},default:{bodyMapper:re,headersMapper:$H}},queryParameters:[se,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,CR,Nd,_t,Nt,ft],isXML:!0,serializer:Cr},Nut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:WH},default:{bodyMapper:re,headersMapper:JH}},queryParameters:[se,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,Nd,bR,_t,Nt,ft],isXML:!0,serializer:Cr},Rut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:YH},default:{bodyMapper:re,headersMapper:KH}},queryParameters:[se,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,Nd,SR,BR,_t,Nt,ft],isXML:!0,serializer:Cr},Tut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:XH},default:{bodyMapper:re,headersMapper:ZH}},queryParameters:[se,ia],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,wR,IR,_t,Nt,ft],isXML:!0,serializer:Cr},Dut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:e8},default:{bodyMapper:re,headersMapper:t8}},queryParameters:[se,$ye],urlParameters:[ie],headerParameters:[oe,ae,ye,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,Cn],isXML:!0,serializer:Cr},Qut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:r8},default:{bodyMapper:re,headersMapper:n8}},queryParameters:[se],urlParameters:[ie],headerParameters:[oe,ae,ye,Ni,rt,Je,Ye,_t,Nt,ft,ic,sc,Ku,sV,ml,Al,gl,yl,vR,Op,oc,Wye,El],isXML:!0,serializer:Cr},kut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:i8},default:{bodyMapper:re,headersMapper:s8}},queryParameters:[se],urlParameters:[ie],headerParameters:[oe,ae,ye,Ni,rt,Je,Ye,_t,Nt,ft,ic,sc,Cn,Ku,ml,Al,gl,yl,Op,oc,El,Jye,Xu,Zu,xR,ef],isXML:!0,serializer:Cr},Put={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:o8},default:{bodyMapper:re,headersMapper:a8}},queryParameters:[se,Yye,Xye],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Kye],isXML:!0,serializer:Cr},Out={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:cR},202:{headersMapper:cR},default:{bodyMapper:re,headersMapper:c8}},queryParameters:[se,es,cl,Zye],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,ft,sV,eEe],isXML:!0,serializer:Cr},Lut={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:l8},default:{bodyMapper:re,headersMapper:u8}},queryParameters:[na,se,iy],urlParameters:[ie],headerParameters:[oe,ae,ye],isXML:!0,serializer:Cr},Fut={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:lR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:lR},default:{bodyMapper:re,headersMapper:f8}},requestBody:tEe,queryParameters:[se,es,rEe],urlParameters:[ie],headerParameters:[sl,ra,oe,ae,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cr},Mut={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:kw,headersMapper:d8},default:{bodyMapper:re,headersMapper:h8}},queryParameters:[se,es,cl,oV],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,ft,aV,cV,lV,uV],isXML:!0,serializer:Cr},Uut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:p8},default:{bodyMapper:re,headersMapper:m8}},requestBody:nEe,queryParameters:[se,cl,oV],urlParameters:[ie],headerParameters:[sl,ra,oe,ae,rt,ft,aV,cV,lV,uV,sa,Cl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Cr};var LR=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},qut)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Gut)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},Hut)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},Vut)}getPageRanges(e){return this.client.sendOperationRequest({options:e},zut)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},jut)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},$ut)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},Wut)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Jut)}},tf=mo(go,!0),qut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A8},default:{bodyMapper:re,headersMapper:g8}},queryParameters:[se],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,ll,ul,fl,dl,hl,pl,ic,sc,Cn,Ku,oc,El,iEe,fV,dV],isXML:!0,serializer:tf},Gut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:y8},default:{bodyMapper:re,headersMapper:E8}},requestBody:Fp,queryParameters:[se,_R],urlParameters:[ie],headerParameters:[oe,ae,jn,rt,Je,Ye,Pp,Lr,Fr,Mr,_t,Nt,ft,Cn,sa,Cl,Lp,Mp,hV,NR,RR,TR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:tf},Hut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C8},default:{bodyMapper:re,headersMapper:b8}},queryParameters:[se,_R],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,rt,Je,Ye,Pp,Lr,Fr,Mr,_t,Nt,ft,Cn,NR,RR,TR,sEe],isXML:!0,serializer:tf},Vut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:w8},default:{bodyMapper:re,headersMapper:I8}},queryParameters:[se,_R],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,Cn,ml,Al,gl,yl,Xu,Zu,ef,hV,NR,RR,TR,sy,oEe,oy,aEe],isXML:!0,serializer:tf},zut={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:oR,headersMapper:S8},default:{bodyMapper:re,headersMapper:B8}},queryParameters:[se,ol,al,es,pV],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,Pp,_t,Nt,ft],isXML:!0,serializer:tf},jut={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:oR,headersMapper:v8},default:{bodyMapper:re,headersMapper:x8}},queryParameters:[se,ol,al,es,pV,cEe],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,Pp,_t,Nt,ft,lEe],isXML:!0,serializer:tf},$ut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_8},default:{bodyMapper:re,headersMapper:N8}},queryParameters:[na,se],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,Cn,fV],isXML:!0,serializer:tf},Wut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:R8},default:{bodyMapper:re,headersMapper:T8}},queryParameters:[na,se],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,_t,Nt,ft,dV,uEe],isXML:!0,serializer:tf},Jut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:D8},default:{bodyMapper:re,headersMapper:Q8}},queryParameters:[se,fEe],urlParameters:[ie],headerParameters:[oe,ae,ye,Je,Ye,_t,Nt,ft,Op],isXML:!0,serializer:tf};var FR=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},Yut)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Kut)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},Xut)}seal(e){return this.client.sendOperationRequest({options:e},Zut)}},MR=mo(go,!0),Yut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:k8},default:{bodyMapper:re,headersMapper:P8}},queryParameters:[se],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,ll,ul,fl,dl,hl,pl,ic,sc,Cn,oc,El,dEe],isXML:!0,serializer:MR},Kut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:O8},default:{bodyMapper:re,headersMapper:L8}},requestBody:Fp,queryParameters:[se,mV],urlParameters:[ie],headerParameters:[oe,ae,jn,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,Cn,sa,Cl,Lp,Mp,AV,DR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:MR},Xut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:F8},default:{bodyMapper:re,headersMapper:M8}},queryParameters:[se,mV],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,Cn,ml,Al,gl,yl,Xu,Zu,ef,sa,sy,oy,AV,DR,QR],isXML:!0,serializer:MR},Zut={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:U8},default:{bodyMapper:re,headersMapper:q8}},queryParameters:[se,hEe],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,Je,Ye,_t,Nt,DR],isXML:!0,serializer:MR};var UR=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},eft)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},tft)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},rft)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},nft)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},ift)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},sft)}},cy=mo(go,!0),eft={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:G8},default:{bodyMapper:re,headersMapper:H8}},requestBody:Fp,queryParameters:[se],urlParameters:[ie],headerParameters:[oe,ae,jn,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,ll,ul,fl,dl,hl,pl,ic,sc,Cn,Ku,oc,El,sa,Cl,Lp,Mp,gV],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:cy},tft={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:V8},default:{bodyMapper:re,headersMapper:z8}},queryParameters:[se],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,ll,ul,fl,dl,hl,pl,Cn,Ku,ml,Al,gl,yl,vR,Op,oc,Xu,Zu,xR,ef,sa,gV,pEe],isXML:!0,serializer:cy},rft={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:j8},default:{bodyMapper:re,headersMapper:$8}},requestBody:Fp,queryParameters:[se,yV,EV],urlParameters:[ie],headerParameters:[oe,ae,jn,rt,Lr,Fr,Mr,Cn,sa,Cl,Lp,Mp],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:cy},nft={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:W8},default:{bodyMapper:re,headersMapper:J8}},queryParameters:[se,yV,EV],urlParameters:[ie],headerParameters:[oe,ae,ye,jn,rt,Lr,Fr,Mr,Cn,ml,Al,gl,yl,Xu,Zu,ef,sy,oy,QR],isXML:!0,serializer:cy},ift={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y8},default:{bodyMapper:re,headersMapper:K8}},requestBody:mEe,queryParameters:[se,CV],urlParameters:[ie],headerParameters:[sl,ra,oe,ae,Ni,rt,Je,Ye,Lr,Fr,Mr,_t,Nt,ft,ll,ul,fl,dl,hl,pl,ic,sc,Cn,Ku,oc,El,sa,Cl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cy},sft={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:B5,headersMapper:X8},default:{bodyMapper:re,headersMapper:Z8}},queryParameters:[se,es,CV,AEe],urlParameters:[ie],headerParameters:[oe,ae,ye,rt,ft],isXML:!0,serializer:cy};var Fw=class extends yw{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new kR(this),this.container=new PR(this),this.blob=new OR(this),this.pageBlob=new LR(this),this.appendBlob=new FR(this),this.blockBlob=new UR(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Mw=class extends Fw{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function yEe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=aft(r),e.pathname=r,e.toString()}o(yEe,"escapeURLPath");function oft(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(oft,"getProxyUriFromDevConnString");function Up(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Up,"getValueInConnString");function qp(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=oft(t),t=hye);let r=Up(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Up(t,"AccountName"),s=Buffer.from(Up(t,"AccountKey"),"base64"),!r){n=Up(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Up(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.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:i,accountKey:s,proxyUri:e}}else{let n=Up(t,"SharedAccessSignature"),i=Up(t,"AccountName");if(i||(i=SV(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(qp,"extractConnectionStringParts");function aft(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(aft,"escape");function Rn(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(Rn,"appendToURLPath");function ly(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(ly,"setURLParameter");function bV(t,e){return new URL(t).searchParams.get(e)??void 0}o(bV,"getURLParameter");function EEe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(EEe,"getURLScheme");function Uw(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Uw,"appendToURLQuery");function Ft(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Ft,"truncatedISO8061Date");function cft(t){return Lt?Buffer.from(t).toString("base64"):btoa(t)}o(cft,"base64encode");function wV(t,e){t.length>42&&(t=t.slice(0,42));let s=t+lft(e.toString(),48-t.length,"0");return cft(s)}o(wV,"generateBlockID");function lft(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(lft,"padStart");function IV(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(IV,"iEqual");function SV(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:qR(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(SV,"getAccountNameFromUrl");function qR(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&&yye.includes(t.port)}o(qR,"isIpEndpointStyle");function Td(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(Td,"toBlobTagsString");function CEe(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(CEe,"toBlobTags");function GR(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(GR,"toTags");function BV(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(BV,"toQuerySerialization");function HR(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(HR,"parseObjectReplicationRecord");function uy(t){return t?t.scheme+" "+t.value:void 0}o(uy,"httpAuthorizationToString");function*vV(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n0&&n.length>0&&e.push(`${r}=${n}`))}};function qw(t,e,r){return Gw(t,e,r).sasQueryParameters}o(qw,"generateBlobSASQueryParameters");function Gw(t,e,r){let n=t.version?t.version:iR,i=e instanceof Or?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new rR(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?dft(t,i):n>="2025-07-05"?Aft(t,s):mft(t,s);if(n>="2018-11-09")return i!==void 0?fft(t,i):n>="2020-02-10"?pft(t,s):hft(t,s);if(n>="2015-04-05"){if(i!==void 0)return uft(t,i);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(Gw,"generateBlobSASQueryParametersInternal");function uft(t,e){if(t=Hp(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 n;t.permissions&&(t.blobName?n=bl.parse(t.permissions.toString()).toString():n=wl.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ac(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(` +`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new cc(t.version,s,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(uft,"generateBlobSASQueryParameters20150405");function fft(t,e){if(t=Hp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=bl.parse(t.permissions.toString()).toString():i=wl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ac(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new cc(t.version,a,i,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:s}}o(fft,"generateBlobSASQueryParameters20181109");function dft(t,e){if(t=Hp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=bl.parse(t.permissions.toString()).toString():i=wl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ac(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,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(s);return{sasQueryParameters:new cc(t.version,a,i,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:s}}o(dft,"generateBlobSASQueryParameters20201206");function hft(t,e){if(t=Hp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=bl.parse(t.permissions.toString()).toString():i=wl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ac(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new cc(t.version,a,i,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:s}}o(hft,"generateBlobSASQueryParametersUDK20181109");function pft(t,e){if(t=Hp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=bl.parse(t.permissions.toString()).toString():i=wl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ac(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new cc(t.version,a,i,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:s}}o(pft,"generateBlobSASQueryParametersUDK20200210");function mft(t,e){if(t=Hp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=bl.parse(t.permissions.toString()).toString():i=wl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ac(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new cc(t.version,a,i,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:s}}o(mft,"generateBlobSASQueryParametersUDK20201206");function Aft(t,e){if(t=Hp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=bl.parse(t.permissions.toString()).toString():i=wl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Ft(t.startsOn,!1):"",t.expiresOn?Ft(t.expiresOn,!1):"",Gp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ft(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ft(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?ac(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new cc(t.version,a,i,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:s}}o(Aft,"generateBlobSASQueryParametersUDK20250705");function Gp(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Gp,"getCanonicalName");function Hp(t){let e=t.version?t.version:iR;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(Hp,"SASSignatureValuesSanityCheckAndAutofill");var Hw=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=Jg()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==nc||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==nc||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 Ce.withSpan("BlobLeaseClient-acquireLease",r,async n=>_e(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==nc||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==nc||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 Ce.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=_e(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==nc||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==nc||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 Ce.withSpan("BlobLeaseClient-releaseLease",e,async r=>_e(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!==nc||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==nc||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 Ce.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!==nc||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==nc||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 Ce.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return _e(await this._containerOrBlobOperation.breakLease(i))})}};var wEe=require("node:stream");var VR=class extends wEe.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,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 ho("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 zR=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 Lt?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new VR(this.originalResponse.readableStreamBody,r,n,i,s)}};var _Ee=require("node:stream");var xV=new Uint8Array([79,98,106,1]),IEe="avro.codec",SEe="avro.schema";var xr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&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 n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}},Vp;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Vp||(Vp={}));var Jn;(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"})(Jn||(Jn={}));var rf=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 Jn.NULL:case Jn.BOOLEAN:case Jn.INT:case Jn.LONG:case Jn.FLOAT:case Jn.DOUBLE:case Jn.BYTES:case Jn.STRING:return new _V(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new RV(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Vp.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 n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new DV(n,e.name);case Vp.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 NV(e.symbols);case Vp.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new TV(t.fromSchema(e.values));case Vp.ARRAY:case Vp.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},_V=class extends rf{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Jn.NULL:return xr.readNull();case Jn.BOOLEAN:return xr.readBoolean(e,r);case Jn.INT:return xr.readInt(e,r);case Jn.LONG:return xr.readLong(e,r);case Jn.FLOAT:return xr.readFloat(e,r);case Jn.DOUBLE:return xr.readDouble(e,r);case Jn.BYTES:return xr.readBytes(e,r);case Jn.STRING:return xr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},NV=class extends rf{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await xr.readInt(e,r);return this._symbols[n]}},RV=class extends rf{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await xr.readInt(e,r);return this._types[n].read(e,r)}},TV=class extends rf{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return xr.readMap(e,n,r)}},DV=class extends rf{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}};function QV(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 s=0;s0}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 n=await xr.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!QV(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await xr.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await xr.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var zw=class{static{o(this,"AvroReadable")}};var xEe=require("buffer");var vEe=new ho("Reading from the avro stream was aborted."),jw=class extends zw{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?xEe.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 vEe;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 n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{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 f=this._readable.read(e);f&&(this._position+=f.length,a(),i(this.toUint8Array(f)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),u=o(()=>{a(),s(vEe)},"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 jR=class extends _Ee.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 Vw(new jw(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,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="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:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var $R=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 Lt?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new jR(this.originalResponse.readableStreamBody,r)}};var kV;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(kV||(kV={}));var PV;(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"})(PV||(PV={}));function Dd(t){if(t!==void 0)return t}o(Dd,"toAccessTier");function Tn(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=dye)}o(Tn,"ensureCpkIfSpecified");var OV;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(OV||(OV={}));function WR(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(WR,"rangeResponseFromModel");var hCe=N(dCe(),1);var iT=class extends hCe.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=Yw({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return cw(this.intervalInMs)}},hdt=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Yw(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Yw(r)):(r.isCancelled=!0,Yw(r))},"cancel"),pdt=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=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 n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Yw(r)},"update"),mdt=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Yw(t){return{state:{...t},cancel:hdt,toString:mdt,update:pdt}}o(Yw,"makeBlobBeginCopyFromURLPollOperation");function Ts(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(Ts,"rangeToString");var pCe=require("events");var Kw;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Kw||(Kw={}));var Xw=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=Kw.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new pCe.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",n=>{this.state=Kw.Error,r(n)})}))}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(s>=a){clearTimeout(u),c();return}let f=t.read();if(!f)return;typeof f=="string"&&(f=Buffer.from(f,i));let d=s+f.length>a?a-s:f.length;e.fill(f.slice(0,d),r+s,r+s+d),s+=d}),t.on("end",()=>{clearTimeout(u),s{clearTimeout(u),l(f)})})}o(ACe,"streamToBuffer");async function gCe(t,e){return new Promise((r,n)=>{let i=sT.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(gCe,"readStreamToLocalFile");var yCe=mCe.default.promisify(sT.default.stat),ECe=sT.default.createReadStream;var lc=class t extends fy{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if(Yu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||po(r))a=e,i=n,s=rn(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=rn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=qp(e);if(u.kind==="AccountConnString")if(Lt){let f=new Or(u.accountName,u.accountKey);a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=Id(u.proxyUri)),s=rn(f,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=rn(new Er,i);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,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=bV(this.url,Ju.Parameters.SNAPSHOT),this._versionId=bV(this.url,Ju.Parameters.VERSIONID)}withSnapshot(e){return new t(ly(this.url,Ju.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(ly(this.url,Ju.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new aT(this.url,this.pipeline)}getBlockBlobClient(){return new py(this.url,this.pipeline)}getPageBlobClient(){return new cT(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-download",n,async i=>{let s=_e(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Lt?void 0:n.onProgress},range:e===0&&!r?void 0:Ts({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:HR(s.objectReplicationRules)};if(!Lt)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=5),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new zR(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Ts({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return Ce.withSpan("BlobClient-exists",e,async r=>{try{return Tn(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===Aye||n.details.errorCode===gye))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-getProperties",e,async r=>{let n=_e(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:HR(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},Ce.withSpan("BlobClient-delete",e,async r=>_e(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 Ce.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=_e(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return Ce.withSpan("BlobClient-undelete",e,async r=>_e(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-setHTTPHeaders",r,async n=>_e(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-setMetadata",r,async n=>_e(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:n.tracingOptions})))}async setTags(e,r={}){return Ce.withSpan("BlobClient-setTags",r,async n=>_e(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:CEe(e)})))}async getTags(e={}){return Ce.withSpan("BlobClient-getTags",e,async r=>{let n=_e(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:GR({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Hw(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("BlobClient-createSnapshot",e,async r=>_e(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 n={abortCopyFromURL:o((...s)=>this.abortCopyFromURL(...s),"abortCopyFromURL"),getProperties:o((...s)=>this.getProperties(...s),"getProperties"),startCopyFromURL:o((...s)=>this.startCopyFromURL(...s),"startCopyFromURL")},i=new iT({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return Ce.withSpan("BlobClient-abortCopyFromURL",r,async n=>_e(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Ce.withSpan("BlobClient-syncCopyFromURL",r,async n=>_e(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:uy(r.sourceAuthorization),tier:Dd(r.tier),blobTagsString:Td(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return Ce.withSpan("BlobClient-setAccessTier",r,async n=>_e(await this.blobContext.setTier(Dd(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});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={}),Ce.withSpan("BlobClient-downloadToBuffer",l,async f=>{if(!c){let p=await this.getProperties({...l,tracingOptions:f.tracingOptions});if(c=p.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${p.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(p){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". ${p.message}`)}if(s.length{let A=a+c;p+u{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await gCe(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if(qR(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[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 Ce.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},_e(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:Dd(r.tier),blobTagsString:Td(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Or))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=qw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Uw(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Or))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Gw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=qw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Uw(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return Gw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Ce.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>_e(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return Ce.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>_e(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return Ce.withSpan("BlobClient-setLegalHold",r,async n=>_e(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return Ce.withSpan("BlobClient-getAccountInfo",e,async r=>_e(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},aT=class t extends lc{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},Yu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||po(r))a=e,i=n,s=rn(r,i);else if(!r&&typeof r!="string")a=e,s=rn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=qp(e);if(u.kind==="AccountConnString")if(Lt){let f=new Or(u.accountName,u.accountKey);a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=Id(u.proxyUri)),s=rn(f,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=rn(new Er,i);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,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(ly(this.url,Ju.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Tn(e.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-create",e,async r=>_e(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:Td(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:m5};return Ce.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=_e(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},Ce.withSpan("AppendBlobClient-seal",e,async r=>_e(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,n={}){return n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-appendBlock",n,async i=>_e(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>_e(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Ts({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions: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},copySourceAuthorization:uy(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}},py=class t extends lc{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},Yu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||po(r))a=e,i=n,s=rn(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=rn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=qp(e);if(u.kind==="AccountConnString")if(Lt){let f=new Or(u.accountName,u.accountKey);a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=Id(u.proxyUri)),s=rn(f,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=rn(new Er,i);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,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(ly(this.url,Ju.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Tn(r.customerProvidedKey,this.isHttps),!Lt)throw new Error("This operation currently is only supported in Node.js.");return Ce.withSpan("BlockBlobClient-query",r,async n=>{let i=_e(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:BV(r.inputTextConfiguration),outputSerialization:BV(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new $R(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Tn(n.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-upload",n,async i=>_e(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:Dd(n.tier),blobTagsString:Td(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>_e(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:uy(r.sourceAuthorization),tier:Dd(r.tier),blobTagsString:Td(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-stageBlock",i,async s=>_e(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return Tn(s.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>_e(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:Ts({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:uy(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("BlockBlobClient-commitBlockList",r,async n=>_e(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:Dd(r.tier),blobTagsString:Td(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return Ce.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=_e(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return Ce.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Lt){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return Ce.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let s=n.maxSingleShotSize??268435456;if(s<0||s>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(i===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/5e4),i<4194304&&(i=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),Ce.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=s)return _e(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+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=Jg(),f=0,d=new Xw(n.concurrency);for(let h=0;h{let p=wV(u,h),A=i*h,E=(h===c-1?r:A+i)-A;l.push(p),await this.stageBlock(p,e(A,E),E,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),f+=E,n.onProgress&&n.onProgress({loadedBytes:f})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return Ce.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await yCe(e)).size;return this.uploadSeekableInternal((s,a)=>()=>ECe(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),Ce.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=Jg(),l=0,u=[];return await new YN(e,r,n,async(d,h)=>{let p=wV(c,a);u.push(p),a++,await this.stageBlock(p,d,h,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=h,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),_e(await this.commitBlockList(u,{...i,tracingOptions:s.tracingOptions}))})}},cT=class t extends lc{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},Yu(r))a=e,s=r;else if(Lt&&r instanceof Or||r instanceof Er||po(r))a=e,i=n,s=rn(r,i);else if(!r&&typeof r!="string")a=e,s=rn(new Er,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=qp(e);if(u.kind==="AccountConnString")if(Lt){let f=new Or(u.accountName,u.accountKey);a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=Id(u.proxyUri)),s=rn(f,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Rn(Rn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=rn(new Er,i);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,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(ly(this.url,Ju.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Tn(r.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-create",r,async n=>_e(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:Dd(r.tier),blobTagsString:Td(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return Ce.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:m5},s=_e(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},Tn(i.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-uploadPages",i,async s=>_e(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:Ts({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},Tn(s.customerProvidedKey,this.isHttps),Ce.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>_e(await this.pageBlobContext.uploadPagesFromURL(e,Ts({offset:r,count:i}),0,Ts({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:uy(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-clearPages",n,async i=>_e(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Ts({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=_e(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Ts({offset:e,count:r}),tracingOptions:i.tracingOptions}));return WR(s)})}async listPageRangesSegment(e=0,r,n,i={}){return Ce.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>_e(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:Ts({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*vV(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},Ce.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=_e(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:Ts({offset:e,count:r}),tracingOptions:s.tracingOptions}));return WR(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return Ce.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>_e(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:Ts({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*vV(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},Ce.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=_e(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:Ts({offset:e,count:r}),tracingOptions:s.tracingOptions}));return WR(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},Ce.withSpan("PageBlobClient-resize",r,async n=>_e(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},Ce.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>_e(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return Ce.withSpan("PageBlobClient-startCopyIncremental",r,async n=>_e(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var CCe;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(CCe||(CCe={}));var bCe;(function(t){t.AES256="AES256"})(bCe||(bCe={}));var lT=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var my=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"}};my.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var $p=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"}};$p.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Zw=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var vdt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},oz=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),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);O(`Sent ${e} of ${this.contentLength} (${r}%), ${i} 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 wCe(t,e,r){return vdt(this,void 0,void 0,function*(){var n;let i=new lc(t),s=i.getBlockBlobClient(),a=new oz((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),D(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new lT(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ut(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(wCe,"uploadCacheArchiveSDK");var SCe=N(require("buffer"),1),Il=N(require("fs"),1),BCe=N(require("stream"),1),vCe=N(require("util"),1);var uT=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function fT(t){return t?t>=200&&t<300:!1}o(fT,"isSuccessStatusCode");function xdt(t){return t?t>=500:!0}o(xdt,"isServerErrorStatusCode");function _dt(t){return t?[Pr.BadGateway,Pr.ServiceUnavailable,Pr.GatewayTimeout].includes(t):!1}o(_dt,"isRetryableStatusCode");function Ndt(t){return uT(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Ndt,"sleep");function ICe(t,e,r){return uT(this,arguments,void 0,function*(n,i,s,a=k_,c=P_,l=void 0){let u="",f=1;for(;f<=a;){let d,h,p=!1;try{d=yield i()}catch(A){l&&(d=l(A)),p=!0,u=A.message}if(d&&(h=s(d),!xdt(h)))return d;if(h&&(p=_dt(h),u=`Cache service responded with ${h}`),D(`${n} - Attempt ${f} of ${a} failed with error: ${u}`),!p){D(`${n} - Error is not retryable`);break}yield Ndt(c),f++}throw Error(`${n} failed: ${u}`)})}o(ICe,"retry");function eI(t,e){return uT(this,arguments,void 0,function*(r,n,i=k_,s=P_){return yield ICe(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof Jc)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(eI,"retryTypedResponse");function Ay(t,e){return uT(this,arguments,void 0,function*(r,n,i=k_,s=P_){return yield ICe(r,n,a=>a.message.statusCode,i,s)})}o(Ay,"retryHttpClientResponse");var oa=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Rdt(t,e){return oa(this,void 0,void 0,function*(){yield vCe.promisify(BCe.pipeline)(t.message,e)})}o(Rdt,"pipeResponseToStream");var dT=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,D(`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),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);O(`Received ${e} of ${this.contentLength} (${r}%), ${i} 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 hT(t,e){return oa(this,void 0,void 0,function*(){let r=Il.createWriteStream(e),n=new Vu("actions/cache"),i=yield Ay("downloadCache",()=>oa(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(NG,()=>{i.message.destroy(),D(`Aborting download, socket timed out after ${NG} ms`)}),yield Rdt(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Wc(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else D("Unable to validate download, no Content-Length header")})}o(hT,"downloadCacheHttpClient");function xCe(t,e,r){return oa(this,void 0,void 0,function*(){var n;let i=yield Il.promises.open(e,"w"),s=new Vu("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Ay("downloadCacheMetadata",()=>oa(this,void 0,void 0,function*(){return yield s.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=[],f=4*1024*1024;for(let C=0;Coa(this,void 0,void 0,function*(){return yield Tdt(s,t,C,w)}),"promiseGetter")})}u.reverse();let d=0,h=0,p=new dT(l);p.startDisplayTimer();let A=p.onProgress(),g=[],E,y=o(()=>oa(this,void 0,void 0,function*(){let C=yield Promise.race(Object.values(g));yield i.write(C.buffer,0,C.count,C.offset),d--,delete g[C.offset],h+=C.count,A({loadedBytes:h})}),"waitAndWrite");for(;E=u.pop();)g[E.offset]=E.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;d>0;)yield y()}finally{s.dispose(),yield i.close()}})}o(xCe,"downloadCacheHttpClientConcurrent");function Tdt(t,e,r,n){return oa(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield NCe(3e4,Ddt(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(Tdt,"downloadSegmentRetry");function Ddt(t,e,r,n){return oa(this,void 0,void 0,function*(){let i=yield Ay("downloadCachePart",()=>oa(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(Ddt,"downloadSegment");function _Ce(t,e,r){return oa(this,void 0,void 0,function*(){var n;let i=new py(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)D("Unable to determine content length, downloading file with http-client..."),yield hT(t,e);else{let c=Math.min(134217728,SCe.constants.MAX_LENGTH),l=new dT(a),u=Il.openSync(e,"w");try{l.startDisplayTimer();let f=new AbortController,d=f.signal;for(;!l.isDone();){let h=l.segmentOffset+l.segmentSize,p=Math.min(c,a-h);l.nextSegment(p);let A=yield NCe(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(h,p,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(A==="timeout")throw f.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(A)&&Il.writeFileSync(u,A)}}finally{l.stopDisplayTimer(),Il.closeSync(u)}}})}o(_Ce,"downloadCacheStorageSDK");var NCe=o((t,e)=>oa(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout");function az(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),D(`Use Azure SDK: ${e.useAzureSdk}`),D(`Upload concurrency: ${e.uploadConcurrency}`),D(`Upload chunk size: ${e.uploadChunkSize}`),e}o(az,"getUploadOptions");function RCe(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),D(`Use Azure SDK: ${e.useAzureSdk}`),D(`Download concurrency: ${e.downloadConcurrency}`),D(`Request timeout (ms): ${e.timeoutInMs}`),D(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),D(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),D(`Lookup only: ${e.lookupOnly}`),e}o(RCe,"getDownloadOptions");function cz(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(cz,"isGhes");function tI(){return cz()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(tI,"getCacheServiceVersion");var TCe=["none","read","write","write-only"];function lz(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(lz,"getCacheMode");function DCe(t){return TCe.includes(t)?t==="read"||t==="write":!0}o(DCe,"isCacheReadable");function QCe(t){return TCe.includes(t)?t==="write"||t==="write-only":!0}o(QCe,"isCacheWritable");function pT(){let t=tI();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(pT,"getCacheServiceURL");var LCe=N(OCe(),1);function mT(){return`@actions/cache-${LCe.version}`}o(mT,"getUserAgentString");var Ds=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function rI(t){let e=pT();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return D(`Resource Url: ${r}`),r}o(rI,"getCacheApiUrl");function Pdt(t,e){return`${t};api-version=${e}`}o(Pdt,"createAcceptHeader");function Odt(){return{headers:{Accept:Pdt("application/json","6.0-preview.1")}}}o(Odt,"getRequestOptions");function uz(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new qg(t);return new Vu(mT(),[e],Odt())}o(uz,"createHttpClient");function UCe(t,e,r){return Ds(this,void 0,void 0,function*(){var n;let i=uz(),s=Ug(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,c=yield eI("getCacheEntry",()=>Ds(this,void 0,void 0,function*(){return i.getJson(rI(a))}));if(c.statusCode===204)return Ap()&&(yield Ldt(t[0],i,s)),null;if(!fT(c.statusCode)){let f=(n=c.error)===null||n===void 0?void 0:n.message;throw f?.includes(O_)?new Error(f):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,u=l?.archiveLocation;if(!u)throw new Error("Cache not found.");return Gc(u),D("Cache Result:"),D(JSON.stringify(l)),l})}o(UCe,"getCacheEntry");function Ldt(t,e,r){return Ds(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield eI("listCache",()=>Ds(this,void 0,void 0,function*(){return e.getJson(rI(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){D(`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 s?.artifactCaches||[])D(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(Ldt,"printCachesListForDiagnostics");function fz(t,e,r){return Ds(this,void 0,void 0,function*(){let n=new MCe.URL(t),i=RCe(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield _Ce(t,e,i):i.concurrentBlobDownloads?yield xCe(t,e,i):yield hT(t,e):yield hT(t,e)})}o(fz,"downloadCache");function qCe(t,e,r){return Ds(this,void 0,void 0,function*(){let n=uz(),i=Ug(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield eI("reserveCache",()=>Ds(this,void 0,void 0,function*(){return n.postJson(rI("caches"),s)}))})}o(qCe,"reserveCache");function FCe(t,e){return`bytes ${t}-${e}/*`}o(FCe,"getContentRange");function Fdt(t,e,r,n,i){return Ds(this,void 0,void 0,function*(){D(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${FCe(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":FCe(n,i)},a=yield Ay(`uploadChunk (start: ${n}, end: ${i})`,()=>Ds(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!fT(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(Fdt,"uploadChunk");function Mdt(t,e,r,n){return Ds(this,void 0,void 0,function*(){let i=Wc(r),s=rI(`caches/${e.toString()}`),a=gy.openSync(r,"r"),c=az(n),l=QG("uploadConcurrency",c.uploadConcurrency),u=QG("uploadChunkSize",c.uploadChunkSize),f=[...new Array(l).keys()];D("Awaiting all uploads");let d=0;try{yield Promise.all(f.map(()=>Ds(this,void 0,void 0,function*(){for(;dgy.createReadStream(r,{fd:a,start:p,end:A,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,A)}})))}finally{gy.closeSync(a)}})}o(Mdt,"uploadFile");function Udt(t,e,r){return Ds(this,void 0,void 0,function*(){let n={size:r};return yield eI("commitCache",()=>Ds(this,void 0,void 0,function*(){return t.postJson(rI(`caches/${e.toString()}`),n)}))})}o(Udt,"commitCache");function dz(t,e,r,n){return Ds(this,void 0,void 0,function*(){if(az(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield wCe(r,e,n)}else{let s=uz();D("Upload cache"),yield Mdt(s,t,e,n),D("Commiting cache");let a=Wc(e);O(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield Udt(s,t,a);if(!fT(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);O("Cache saved successfully")}})}o(dz,"saveCache");var Pbe=N(_be(),1),on=N(sn(),1),Eo=N(sn(),1),Xp=N(sn(),1),Zp=N(sn(),1),em=N(sn(),1);var o6=N(sn(),1),a6=N(sn(),1),Dbe=N(sn(),1),Qbe=N(sn(),1),kbe=N(sn(),1);var n6=N(sn(),1),i6=N(sn(),1),Nbe=N(sn(),1),Rbe=N(sn(),1),Tbe=N(sn(),1);var s6=class extends Tbe.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,Rbe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nbe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.poseD,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Qbe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Dbe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos_l,"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,Zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Xp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos_l,"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,Zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Xp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos_l,"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,Zp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Xp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posA6.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=g6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>y6.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=E6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>C6.fromJson(i,{ignoreUnknownFields:!0}))}};function Obe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(Gc(r),Gc(encodeURIComponent(r)))}catch(e){D(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(Obe,"maskSigUrl");function Lbe(t){if(typeof t!="object"||t===null){D("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&Obe(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&Obe(t.signed_download_url)}o(Lbe,"maskSecretUrls");var rD=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},b6=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=cme();this.baseUrl=pT(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Vu(e,[new qg(s)])}request(e,r,n,i){return rD(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;D(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>rD(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return rD(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&ut(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Zw(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&D(`Raw Body: ${i}`),c instanceof $p||c instanceof Zw)throw c;if(my.isNetworkErrorCode(c?.code))throw new my(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);O(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. 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?[Pr.BadGateway,Pr.GatewayTimeout,Pr.InternalServerError,Pr.ServiceUnavailable].includes(e):!1}sleep(e){return rD(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),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function w6(t){let e=new b6(mT(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new tD(e)}o(w6,"internalCacheTwirpClient");var nD=require("fs"),Co=N(require("path"),1);var sf=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Od=process.platform==="win32";function Ypt(){return sf(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield ame(),e=nme;if(t)return{path:t,type:ao.GNU};if((0,nD.existsSync)(e))return{path:e,type:ao.BSD};break}case"darwin":{let t=yield li("gtar",!1);return t?{path:t,type:ao.GNU}:{path:yield li("tar",!0),type:ao.BSD}}default:break}return{path:yield li("tar",!0),type:ao.GNU}})}o(Ypt,"getTarPath");function Kpt(t,e,r){return sf(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=Ed(i),u="cache.tar",f=Fbe(),d=n.type===ao.BSD&&i!==Yi.Gzip&&Od;switch(s){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"-P","-C",f.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"--files-from",TG);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"-P","-C",f.replace(new RegExp(`\\${Co.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),"-P");break}if(n.type===ao.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(Kpt,"getTarArgs");function I6(t,e){return sf(this,arguments,void 0,function*(r,n,i=""){let s,a=yield Ypt(),c=yield Kpt(a,r,n,i),l=n!=="create"?yield Xpt(a,r,i):yield Zpt(a,r),u=a.type===ao.BSD&&r!==Yi.Gzip&&Od;return u&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],u?s:[s.join(" ")]})}o(I6,"getCommands");function Fbe(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(Fbe,"getWorkingDirectory");function Xpt(t,e,r){return sf(this,void 0,void 0,function*(){let n=t.type===ao.BSD&&e!==Yi.Gzip&&Od;switch(e){case Yi.Zstd:return n?["zstd -d --long=30 --force -o",K0,r.replace(new RegExp(`\\${Co.sep}`,"g"),"/")]:["--use-compress-program",Od?'"zstd -d --long=30"':"unzstd --long=30"];case Yi.ZstdWithoutLong:return n?["zstd -d --force -o",K0,r.replace(new RegExp(`\\${Co.sep}`,"g"),"/")]:["--use-compress-program",Od?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(Xpt,"getDecompressionProgram");function Zpt(t,e){return sf(this,void 0,void 0,function*(){let r=Ed(e),n=t.type===ao.BSD&&e!==Yi.Gzip&&Od;switch(e){case Yi.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),K0]:["--use-compress-program",Od?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Yi.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Co.sep}`,"g"),"/"),K0]:["--use-compress-program",Od?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(Zpt,"getCompressionProgram");function S6(t,e){return sf(this,void 0,void 0,function*(){for(let r of t)try{yield so(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(S6,"execCommands");function gI(t,e){return sf(this,void 0,void 0,function*(){let r=yield I6(e,"list",t);yield S6(r)})}o(gI,"listTar");function B6(t,e){return sf(this,void 0,void 0,function*(){let r=Fbe();yield Mu(r);let n=yield I6(e,"extract",t);yield S6(n)})}o(B6,"extractTar");function v6(t,e,r){return sf(this,void 0,void 0,function*(){(0,nD.writeFileSync)(Co.join(t,TG),e.join(` +`));let n=yield I6(r,"create");yield S6(n,t)})}o(v6,"createTar");var Qy=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},dc=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},tm=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},x6="cache write denied:",iD=class t extends tm{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},Mbe=O_,sD=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},oD=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Ube(t){if(!t||t.length===0)throw new dc("Path Validation Error: At least one directory or file path is required")}o(Ube,"checkPaths");function _6(t){if(t.length>512)throw new dc(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new dc(`Key Validation Error: ${t} cannot contain commas.`)}o(_6,"checkKey");function N6(){return tI()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(N6,"isFeatureAvailable");function qbe(t,e,r,n){return Qy(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=tI();D(`Cache service version: ${u}`),Ube(i);let f=lz();if(!DCe(f)){O(`Cache restore skipped: the effective cache-mode '${f}' does not permit reads.`),D(`Skipped restore for paths [${i.join(", ")}] with primary key '${s}'.`);return}return u==="v2"?yield tmt(i,s,a,c,l):yield emt(i,s,a,c,l)})}o(qbe,"restoreCache");function emt(t,e,r,n){return Qy(this,arguments,void 0,function*(i,s,a,c,l=!1){var u;a=a||[];let f=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(f)),f.length>10)throw new dc("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of f)_6(p);let d=yield ew(),h="";try{let p;try{p=yield UCe(f,i,{compressionMethod:d,enableCrossOsArchive:l})}catch(g){let E=(u=g?.message)!==null&&u!==void 0?u:"";throw E.includes(Mbe)?new sD(E):g}if(!p?.archiveLocation)return;if(c?.lookupOnly)return O("Lookup only - skipping download"),p.cacheKey;h=yI.join(yield X0(),Ed(d)),D(`Archive Path: ${h}`),yield fz(p.archiveLocation,h,c),Ap()&&(yield gI(h,d));let A=Wc(h);return O(`Cache Size: ~${Math.round(A/(1024*1024))} MB (${A} B)`),yield B6(h,d),O("Cache restored successfully"),p.cacheKey}catch(p){let A=p;if(A.name===dc.name)throw p;A instanceof Jc&&typeof A.statusCode=="number"&&A.statusCode>=500?Ng(`Failed to restore: ${p.message}`):ut(`Failed to restore: ${p.message}`)}finally{try{yield Z0(h)}catch(p){D(`Failed to delete archive: ${p}`)}}})}o(emt,"restoreCacheV1");function tmt(t,e,r,n){return Qy(this,arguments,void 0,function*(i,s,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let f=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(f)),f.length>10)throw new dc("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of f)_6(h);let d="";try{let h=w6(),p=yield ew(),A={key:s,restoreKeys:a,version:Ug(i,p,l)},g;try{g=yield h.GetCacheEntryDownloadURL(A)}catch(C){let w=(u=C?.message)!==null&&u!==void 0?u:"";throw w.includes(Mbe)?new sD(w):C}if(!g.ok){D(`Cache not found for version ${A.version} of keys: ${f.join(", ")}`);return}if(A.key!==g.matchedKey?O(`Cache hit for restore-key: ${g.matchedKey}`):O(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return O("Lookup only - skipping download"),g.matchedKey;d=yI.join(yield X0(),Ed(p)),D(`Archive path: ${d}`),D(`Starting download of archive to: ${d}`),yield fz(g.signedDownloadUrl,d,c);let y=Wc(d);return O(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),Ap()&&(yield gI(d,p)),yield B6(d,p),O("Cache restored successfully"),g.matchedKey}catch(h){let p=h;if(p.name===dc.name)throw h;p instanceof Jc&&typeof p.statusCode=="number"&&p.statusCode>=500?Ng(`Failed to restore: ${h.message}`):ut(`Failed to restore: ${h.message}`)}finally{try{d&&(yield Z0(d))}catch(h){D(`Failed to delete archive: ${h}`)}}})}o(tmt,"restoreCacheV2");function R6(t,e,r){return Qy(this,arguments,void 0,function*(n,i,s,a=!1){let c=tI();D(`Cache service version: ${c}`),Ube(n),_6(i);let l=lz();return QCe(l)?c==="v2"?yield nmt(n,i,s,a):yield rmt(n,i,s,a):(O(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),D(`Skipped save for paths [${n.join(", ")}] with key '${i}'.`),-1)})}o(R6,"saveCache");function rmt(t,e,r){return Qy(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,u,f,d,h;let p=yield ew(),A=-1,g=yield DG(n);if(D("Cache Paths:"),D(`${JSON.stringify(g)}`),g.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 E=yield X0(),y=yI.join(E,Ed(p));D(`Archive Path: ${y}`);try{yield v6(E,g,p),Ap()&&(yield gI(y,p));let C=10*1024*1024*1024,w=Wc(y);if(D(`File Size: ${w}`),w>C&&!cz())throw new Error(`Cache size of ~${Math.round(w/(1024*1024))} MB (${w} B) is over the 10GB limit, not saving cache.`);D("Reserving Cache");let S=yield qCe(i,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:w});if(!((c=S?.result)===null||c===void 0)&&c.cacheId)A=(l=S?.result)===null||l===void 0?void 0:l.cacheId;else{if(S?.statusCode===400)throw new Error((f=(u=S?.error)===null||u===void 0?void 0:u.message)!==null&&f!==void 0?f:`Cache size of ~${Math.round(w/(1024*1024))} MB (${w} B) is over the data cap limit, not saving cache.`);{let Q=(d=S?.error)===null||d===void 0?void 0:d.message;throw Q?.startsWith(x6)?new iD(`Unable to reserve cache with key ${i}. More details: ${Q}`):new tm(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(h=S?.error)===null||h===void 0?void 0:h.message}`)}}D(`Saving Cache (ID: ${A})`),yield dz(A,y,"",s)}catch(C){let w=C;if(w.name===dc.name)throw C;w.name===tm.name?O(`Failed to save: ${w.message}`):w instanceof Jc&&typeof w.statusCode=="number"&&w.statusCode>=500?Ng(`Failed to save: ${w.message}`):ut(`Failed to save: ${w.message}`)}finally{try{yield Z0(y)}catch(C){D(`Failed to delete archive: ${C}`)}}return A})}o(rmt,"saveCacheV1");function nmt(t,e,r){return Qy(this,arguments,void 0,function*(n,i,s,a=!1){var c;s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield ew(),u=w6(),f=-1,d=yield DG(n);if(D("Cache Paths:"),D(`${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 h=yield X0(),p=yI.join(h,Ed(l));D(`Archive Path: ${p}`);try{yield v6(h,d,l),Ap()&&(yield gI(p,l));let A=Wc(p);D(`File Size: ${A}`),s.archiveSizeBytes=A,D("Reserving Cache");let g=Ug(n,l,a),E={key:i,version:g},y;try{let S=yield u.CreateCacheEntry(E);if(!S.ok)throw S.message&&!S.message.startsWith(x6)&&ut(`Cache reservation failed: ${S.message}`),new Error(S.message||"Response was not ok");y=S.signedUploadUrl}catch(S){D(`Failed to reserve cache: ${S}`);let Q=(c=S?.message)!==null&&c!==void 0?c:"";throw Q.startsWith(x6)?new iD(`Unable to reserve cache with key ${i}. More details: ${Q}`):new tm(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}D(`Attempting to upload cache located at: ${p}`),yield dz(f,p,y,s);let C={key:i,version:g,sizeBytes:`${A}`},w=yield u.FinalizeCacheEntryUpload(C);if(D(`FinalizeCacheEntryUploadResponse: ${w.ok}`),!w.ok)throw w.message?new oD(w.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);f=parseInt(w.entryId)}catch(A){let g=A;if(g.name===dc.name)throw A;g.name===tm.name?O(`Failed to save: ${g.message}`):g.name===oD.name?ut(g.message):g instanceof Jc&&typeof g.statusCode=="number"&&g.statusCode>=500?Ng(`Failed to save: ${g.message}`):ut(`Failed to save: ${g.message}`)}finally{try{yield Z0(p)}catch(A){D(`Failed to delete archive: ${A}`)}}return f})}o(nmt,"saveCacheV2");var Gbe=N(require("util"),1);var Kn=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=Gbe.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=D6.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=D6.default.join(this.cacheDir,this.opts.cacheFile),EI.default.existsSync(this.cacheDir)||EI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){D(`Cache.save ${e}`);let n=this.copyToCache(e),i=await this.cacheToHostedToolCache();if(i&&D(`Cache.save cached to hosted tool cache ${i}`),!this.ghaNoCache&&N6())if(r)try{D(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await R6([this.cacheDir],this.ghaCacheKey)}catch(s){ut(`Failed to save cache: ${s}`)}else D(`Cache.save sending ${this.ghaCacheKey} to post state`),Xa(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Rde(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return O(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&N6()){if(D("GitHub Actions cache feature available"),await qbe([this.cacheDir],this.ghaCacheKey)){if(O(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!EI.default.existsSync(this.cachePath))return ut(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&O(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?O("GitHub Actions cache disabled"):O("GitHub Actions cache feature not available")}catch(e){ut(`Failed to restore cache: ${e}`)}return""}static async post(){let e=vue(t.POST_CACHE_KEY);if(!e)return O("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{O(`Caching ${r.key} to GitHub Actions cache`),await R6([r.dir],r.key)}catch(n){ut(`Failed to save cache: ${n}`)}return r}copyToCache(e){return O(`Copying ${e} to ${this.cachePath}`),EI.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await Nde(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){O(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${T6.default.platform()}-${T6.default.arch()}${e?"v"+e:""}`}};var Hbe=!!process.env.STATE_isPost;Hbe||Xa("isPost","true");async function Vbe(t,e){if(Hbe)e&&await e(),await kr("Post cache",async()=>{await Kn.post()});else try{await t()}catch(r){e_(r.message)}}o(Vbe,"run");var Aa=N(require("fs"),1),Ls=N(require("path"),1),ove=require("util");var ave=N(hc(),1);var ED=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 n=r[0].toLowerCase();if(n=n.slice(0,n.lastIndexOf("://")),!(n in t.supportedProtos))throw new Error(`Invalid protocol: ${n}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let n;return(e.username||e.password)&&(n={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:n,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,n]=e.slice(1).split(":");return{ref:r,subdir:n}}static parseRef(e){let r={},n;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,n=t.fromURL(new URL("https://"+e));else if(n=t.parseURL(e),["http","git"].includes(n.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(n.scheme)&&!n.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=n.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),n.fragment&&(r.commit=n.fragment.ref,r.subDir=n.fragment.subdir);let i=r.remote.split("/");return r.shortName=i[i.length-1].replace(".git",""),r}};var tj=N(require("fs"),1),iBe=N(require("os"),1),qI=N(require("path"),1),sBe=require("util"),oBe=N(qwe(),1);var i9=N(require("fs"),1),oIe=N(require("os"),1),aIe=N(require("path"),1),cIe=N(sIe(),1);var gt=class t{static{o(this,"Context")}static _tmpDir=i9.default.mkdtempSync(aIe.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||oIe.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return i9.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return cIe.tmpNameSync(e)}};var Ne=class{static{o(this,"Exec")}static async exec(e,r,n){return D(`Exec.exec: ${e} ${r?.join(" ")}`),so(e,r,n)}static async getExecOutput(e,r,n){return D(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),xg(e,r,n)}};var ej=N(require("crypto"),1),rBe=N(require("fs"),1),UI=N(require("path"),1),nBe=N(KSe(),1);var dt=class t extends Error{static{o(this,"CsvError")}constructor(e,r,n,...i){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let s of i)for(let a in s){let c=s[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var MI=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var s1=o(function(t){let e=[];for(let r=0,n=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.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}},Z9=X9;var XSe=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((n,i)=>{let s=Buffer.from(String.fromCharCode(i),t.encoding);return i!==63&&s.length===1&&s[0]===63||n.push(s),n},[]),r=new Uint8Array(256);for(let n of e)r[n[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 Z9(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new Z9(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var ZSe=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var Wy=o(function(t){let e={};for(let n in t)e[ZSe(n)]=t[n];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 dt("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 dt("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 dt("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(n){let i=Date.parse(n);return isNaN(i)?n:new Date(i)};else if(typeof e.cast_date!="function")throw new dt("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=s1(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new dt("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 dt("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 dt("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 dt("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 dt("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(!MI(e.delimiter_auto))throw new dt("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(!MI(e.delimiter_auto.preferred))throw new dt("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=(n,i)=>(n.total-n.std)*(i.preferred[n.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new dt("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 dt("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(n){if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new dt("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 n}),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 dt("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 dt("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 dt("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 dt("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 dt("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(n,i){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new dt("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new dt("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],e);return typeof n=="string"&&(n=Buffer.from(n,e.encoding)),n}),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 eBe=o(function(t,e){e||({delimiter_auto:e}=Wy({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(i=>{let s=[],a=o1({delimiter:[]}),c=o(f=>s.push(f),"push"),l=o(()=>{},"close"),u=a.parse(i,!0,c,l);if(u!==void 0)throw u;return s})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([i],s)=>{for(let a=0,c=i.length;a{i.char_code=s,i.std=xbt(i.lines),i.total=i.lines.reduce((a,c)=>a+c,0),i.preferred=!!e.preferred[s],i.score=e.score(i,e)});let n=r.reduce((i,s)=>i.score>s.score?i:s,{});return String.fromCharCode(n.char_code)},"delimiter_discover"),xbt=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((n,i)=>n+i)/e;return Math.sqrt(t.map(n=>Math.pow(n-r,2)).reduce((n,i)=>n+i)/e)},"std");var tBe=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),_bt=13,Nbt=10,Jy={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},o1=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=Wy(t);return{info:e,original_options:t,options:r,state:XSe(r),__needMoreData:o(function(n,i,s){if(s)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:f,recordDelimiterMaxLength:d}=this.state,h=i-n-1,p=Math.max(f,d===0?Buffer.from(`\r +`,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return hu.size)this.options.delimiter=[Buffer.from(eBe(z,this.options.delimiter_auto))],this.state.previousBuf=z,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=z;return}}let{previousBuf:ee}=this.state,te;if(ee===void 0)if(n===void 0){a();return}else te=n;else ee!==void 0&&n===void 0?te=ee:te=Buffer.concat([ee,n]);if(j===!1)if(c===!1)this.state.bomSkipped=!0;else if(te.length<3){if(i===!1){this.state.previousBuf=te;return}}else{for(let z in Jy)if(Jy[z].compare(te,0,Jy[z].length)===0){let Ie=Jy[z].length;this.state.bufBytesStart+=Ie,te=te.slice(Ie);let Be=Wy({...this.original_options,encoding:z});for(let st in Be)this.options[st]=Be[st];({comment:S,escape:Q,quote:F}=this.options);break}this.state.bomSkipped=!0}let ce=te.length,J;for(J=0;Jw){this.state.stop=!0,a();return}this.state.quoting===!1&&x.length===0&&this.__autoDiscoverRecordDelimiter(te,J)&&(x=this.options.record_delimiter);let z=te[J];if(A===!0&&H.append(z),(z===_bt||z===Nbt)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(Q!==null&&this.state.quoting===!0&&this.__isEscape(te,J,z)&&J+Q.lengthJy[pn].equals(this.state.field.toString())?pn:!1).filter(Boolean)[0],hr=this.__error(new dt("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(st.column)} at line ${st.lines}, value is ${JSON.stringify(this.state.field.toString(f))}`,bt?`(${bt} bom)`:void 0],this.options,st,{field:this.state.field}));if(hr!==void 0)return hr}}else{this.state.quoting=!0,J+=F.length-1;continue}if(this.state.quoting===!1){let st=this.__isRecordDelimiter(z,te,J);if(st!==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(),J+=st-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,J+=st-1;continue}this.info.bytes=this.state.bufBytesStart+J;let pn=this.__onField();if(pn!==void 0)return pn;this.info.bytes=this.state.bufBytesStart+J+st;let ai=this.__onRecord(s);if(ai!==void 0)return ai;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,J+=st-1;continue}if(this.state.commenting)continue;if(S!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(S,te,J,z)!==0){this.state.commenting=!0;continue}let bt=this.__isDelimiter(te,J,z);if(bt!==0){this.info.bytes=this.state.bufBytesStart+J;let hr=this.__onField();if(hr!==void 0)return hr;J+=bt-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new dt("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${p}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Ie=h===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(te,J),Be=E===!1||this.state.wasQuoting===!1;if(Ie===!0&&Be===!0)this.state.field.append(z);else{if(E===!0&&!this.__isCharTrimable(te,J))return this.__error(new dt("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()));Ie===!1&&(J+=this.__isCharTrimable(te,J)-1);continue}}if(i===!0)if(this.state.quoting===!0){let z=this.__error(new dt("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(z!==void 0)return z}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+J;let z=this.__onField();if(z!==void 0)return z;let Ie=this.__onRecord(s);if(Ie!==void 0)return Ie}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=J,this.state.previousBuf=te.slice(J);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(n){let{columns:i,group_columns_by_name:s,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:f,relax_column_count_more:d,raw:h,skip_records_with_empty_values:p}=this.options,{enabled:A,record:g}=this.state;if(A===!1)return this.__resetRecord();let E=g.length;if(i===!0){if(p===!0&&tBe(g)){this.__resetRecord();return}return this.__firstLineToColumns(g)}if(i===!1&&this.info.records===0&&(this.state.expectedRecordLength=E),E!==this.state.expectedRecordLength){let y=i===!1?new dt("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g}):new dt("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${i.length},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g});if(u===!0||f===!0&&Ethis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let C=this.__error(y);if(C)return C}}if(p===!0&&tBe(g)){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:y}=this.options;if(i!==!1){let C={};for(let w=0,S=g.length;w=0},"__isFloat"),__isQuote:o(function(n,i){let{quote:s}=this.options;if(s===null)return!1;let a=s.length;for(let c=0;cthis.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var Io=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=_D(e),i=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),s=o(()=>{},"close"),a=n.parse(t,!0,i,s);if(a!==void 0)throw a;return r},"parse");var re=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(li(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let i=Io(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let s of i)s.length==1?r?.ignoreComma?n.push(s[0]):n.push(...s[0].split(",")):r?.ignoreComma?n.push(s.join(",")):n.push(...s);return n.filter(s=>s).map(s=>r?.trimWhitespace===!1?s:s.trim())}static getInputNumber(e){let r=li(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;nsetTimeout(r,e*1e3))}static hash(e){return Vj.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,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(2))+" "+n[i]}static generateRandomString(e=10){return Vj.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return dwe.default.compile(e,r)(n)}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 n=Aw.default.resolve(e);return Aw.default.resolve(r).startsWith(n.endsWith(Aw.default.sep)?n:`${n}${Aw.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),i=Math.floor(r%3600/60),s=r%60,a=[];return n&&a.push(`${n}h`),i&&a.push(`${i}m`),(s||a.length===0)&&a.push(`${s}s`),a.join("")}};var on=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||mw.default.join(fwe.default.homedir(),".docker")}static configFile(){let e=mw.default.join(t.configDir,"config.json");if(zj.default.existsSync(e))return JSON.parse(zj.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ci("docker",!0).then(e=>(R(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(R(`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 _e.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return _e.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,hwe.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i)return i}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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),i=e.lastIndexOf(":");if(n>=0)r=n;else if(i>=0)r=i;else return{repository:e,tag:"latest"};let s=e.slice(r+1);return s.indexOf("/")===-1?{repository:e.slice(0,r),tag:s}:{repository:e,tag:"latest"}}static async pull(e,r){let n=t.parseRepoTag(e),i=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),s=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new Yn({htcName:i,htcVersion:s,baseCacheDir:mw.default.join(t.configDir,".cache","images",i),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(O(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&ut(`Failed to load image from cache: ${t.getErrorMessage(u.stderr)}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(u){if(l=!1,c)ut(`Failed to pull image, using one from cache: ${u.message}`);else throw u}if(r&&l){let u=mw.default.join(gt.tmpDir(),`${re.hash(e)}.tar`);await t.getExecOutput(["save","-o",u,e],{ignoreReturnCode:!0}).then(async d=>{if(d.stderr.length>0&&d.exitCode!=0)ut(`Failed to save image: ${t.getErrorMessage(d.stderr)}`);else{let f=await a.save(u);O(`Image cached to ${f}`)}})}}static async pullWithRetry(e){await(0,pwe.default)(async n=>{let i=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(i.stderr.length>0&&i.exitCode!=0){let s=t.getErrorMessage(i.stderr);if(!t.isPullTransientError(s)){n(new Error(s));return}throw new Error(s)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,i)=>{R(`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 fSe=N(require("crypto"),1);var TD=require("fs"),Awe=require("os");var Dy=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,TD.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,TD.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${Awe.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=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"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 Jj=N(Cwe(),1),bwe=N(Xd(),1);var xyt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Iwe(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(Iwe,"getAuthString");function wwe(t){return new Jj.HttpClient().getAgent(t)}o(wwe,"getProxyAgent");function vyt(t){return new Jj.HttpClient().getAgentDispatcher(t)}o(vyt,"getProxyAgentDispatcher");function Swe(t){let e=vyt(t);return o((n,i)=>xyt(this,void 0,void 0,function*(){return(0,bwe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(Swe,"getProxyFetch");function Bwe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(Bwe,"getApiBaseUrl");function Yj(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let i=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(i)?t:`${t?`${t} `:""}${i}`}return t}o(Yj,"getUserAgentWithOrchestrationId");function Tf(){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(Tf,"getUserAgent");function LD(t,e,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(e)?e.reverse().reduce((i,s)=>LD.bind(null,t,s,i,n),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((i,s)=>s.hook.bind(null,i,n),r)():r(n))}o(LD,"register");function xwe(t,e,r,n){let i=n;t.registry[r]||(t.registry[r]=[]),e==="before"&&(n=o((s,a)=>Promise.resolve().then(i.bind(null,a)).then(s.bind(null,a)),"hook")),e==="after"&&(n=o((s,a)=>{let c;return Promise.resolve().then(s.bind(null,a)).then(l=>(c=l,i(c,a))).then(()=>c)},"hook")),e==="error"&&(n=o((s,a)=>Promise.resolve().then(s.bind(null,a)).catch(c=>i(c,a)),"hook")),t.registry[r].push({hook:n,orig:i})}o(xwe,"addHook");function vwe(t,e,r){if(!t.registry[e])return;let n=t.registry[e].map(i=>i.orig).indexOf(r);n!==-1&&t.registry[e].splice(n,1)}o(vwe,"removeHook");var Nwe=Function.bind,_we=Nwe.bind(Nwe);function Twe(t,e,r){let n=_we(vwe,null).apply(null,r?[e,r]:[e]);t.api={remove:n},t.remove=n,["before","error","after","wrap"].forEach(i=>{let s=r?[e,i,r]:[e,i];t[i]=t.api[i]=_we(xwe,null).apply(null,s)})}o(Twe,"bindApi");function _yt(){let t=Symbol("Singular"),e={registry:{}},r=LD.bind(null,e,t);return Twe(r,e,t),r}o(_yt,"Singular");function Tyt(){let t={registry:{}},e=LD.bind(null,t);return Twe(e,t),e}o(Tyt,"Collection");var Rwe={Singular:_yt,Collection:Tyt};var Ryt="0.0.0-development",Dyt=`octokit-endpoint.js/${Ryt} ${Tf()}`,Qyt={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":Dyt},mediaType:{format:""}};function kyt(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(kyt,"lowercaseKeys");function Pyt(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(Pyt,"isPlainObject");function kwe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{Pyt(e[n])?n in t?r[n]=kwe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}o(kwe,"mergeDeep");function Dwe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(Dwe,"removeUndefinedProperties");function Xj(t,e,r){if(typeof e=="string"){let[i,s]=e.split(" ");r=Object.assign(s?{method:i,url:s}:{url:i},r)}else r=Object.assign({},e);r.headers=kyt(r.headers),Dwe(r),Dwe(r.headers);let n=kwe(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(n.mediaType.previews=t.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}o(Xj,"merge");function Oyt(t,e){let r=/\?/.test(t)?"&":"?",n=Object.keys(e);return n.length===0?t:t+r+n.map(i=>i==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(e[i])}`).join("&")}o(Oyt,"addQueryParameters");var Lyt=/\{[^{}}]+\}/g;function Fyt(t){return t.replace(/(?:^\W+)|(?:(?r.concat(n),[]):[]}o(Myt,"extractUrlVariableNames");function Qwe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}o(Qwe,"omit");function Pwe(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(Pwe,"encodeReserved");function ky(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(ky,"encodeUnreserved");function yw(t,e,r){return e=t==="+"||t==="#"?Pwe(e):ky(e),r?ky(r)+"="+e:e}o(yw,"encodeValue");function Qy(t){return t!=null}o(Qy,"isDefined");function Kj(t){return t===";"||t==="&"||t==="?"}o(Kj,"isKeyOperator");function Uyt(t,e,r,n){var i=t[r],s=[];if(Qy(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="bigint"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),s.push(yw(e,i,Kj(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(Qy).forEach(function(a){s.push(yw(e,a,Kj(e)?r:""))}):Object.keys(i).forEach(function(a){Qy(i[a])&&s.push(yw(e,i[a],a))});else{let a=[];Array.isArray(i)?i.filter(Qy).forEach(function(c){a.push(yw(e,c))}):Object.keys(i).forEach(function(c){Qy(i[c])&&(a.push(ky(c)),a.push(yw(e,i[c].toString())))}),Kj(e)?s.push(ky(r)+"="+a.join(",")):a.length!==0&&s.push(a.join(","))}else e===";"?Qy(i)&&s.push(ky(r)):i===""&&(e==="&"||e==="?")?s.push(ky(r)+"="):i===""&&s.push("");return s}o(Uyt,"getValues");function qyt(t){return{expand:Gyt.bind(null,t)}}o(qyt,"parseUrl");function Gyt(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,s){if(i){let c="",l=[];if(r.indexOf(i.charAt(0))!==-1&&(c=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(u){var d=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(Uyt(e,c,d[1],d[2]||d[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return Pwe(s)}),t==="/"?t:t.replace(/\/$/,"")}o(Gyt,"expand");function Owe(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=Qwe(t,["method","baseUrl","url","headers","request","mediaType"]),a=Myt(r);r=qyt(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(d=>a.includes(d)).concat("baseUrl"),l=Qwe(s,c);if(!/application\/octet-stream/i.test(n.accept)&&(t.mediaType.format&&(n.accept=n.accept.split(/,/).map(d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let d=n.accept.match(/(?{let h=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${f}-preview${h}`}).join(",")}return["GET","HEAD"].includes(e)?r=Oyt(r,l):"data"in l?i=l.data:Object.keys(l).length&&(i=l),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof i>"u"&&(i=""),Object.assign({method:e,url:r,headers:n},typeof i<"u"?{body:i}:null,t.request?{request:t.request}:null)}o(Owe,"parse");function Hyt(t,e,r){return Owe(Xj(t,e,r))}o(Hyt,"endpointWithDefaults");function Lwe(t,e){let r=Xj(t,e),n=Hyt.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:Lwe.bind(null,r),merge:Xj.bind(null,r),parse:Owe})}o(Lwe,"withDefaults");var Fwe=Lwe(null,Qyt);var Kwe=N(Gwe(),1);var Vyt=/^-?\d+$/,zwe=/^-?\d+n+$/,Zj=JSON.stringify,Hwe=JSON.parse,zyt=/^-?\d+n$/,$yt=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,jyt=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,$we=o((t,e,r)=>"rawJSON"in JSON?Zj(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?Zj(t,(a,c)=>typeof c=="string"&&!!c.match(zwe)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace($yt,"$1$2$3").replace(jyt,"$1$2$3"):Zj(t,e,r),"JSONStringify"),Wyt=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),Jyt=o((t,e,r,n)=>typeof e=="string"&&e.match(zyt)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(zwe)?e.slice(0,-1):typeof n!="function"?e:n(t,e,r),"convertMarkedBigIntsReviver"),Yyt=o((t,e)=>JSON.parse(t,(r,n,i)=>{let s=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return Hwe(t,e);if(Wyt())return Yyt(t,e);let r=t.replace(Kyt,(n,i,s,a)=>{let c=n[0]==='"';if(c&&!!n.match(Xyt))return n.substring(0,n.length-1)+'n"';let u=s||a,d=i&&(i.lengthJyt(n,i,s,e))},"JSONParse");var rd=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,n){super(e,{cause:n.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in n&&(this.response=n.response);let i=Object.assign({},n.request);n.request.headers.authorization&&(i.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/(?"","noop");async function Ywe(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,n=t.request?.parseSuccessResponseBody!==!1,i=tEt(t.body)||Array.isArray(t.body)?$we(t.body):t.body,s=Object.fromEntries(Object.entries(t.headers).map(([f,h])=>[f,String(h)])),a;try{a=await e(t.url,{method:t.method,body:i,redirect:t.request?.redirect,headers:s,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(f){let h="Unknown Error";if(f instanceof Error){if(f.name==="AbortError")throw f.status=500,f;h=f.message,f.name==="TypeError"&&"cause"in f&&(f.cause instanceof Error?h=f.cause.message:typeof f.cause=="string"&&(h=f.cause))}let p=new rd(h,500,{request:t});throw p.cause=f,p}let c=a.status,l=a.url,u={};for(let[f,h]of a.headers)u[f]=h;let d={url:l,status:c,headers:u,data:""};if("deprecation"in u){let f=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),h=f&&f.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${h?`. See ${h}`:""}`)}if(c===204||c===205)return d;if(t.method==="HEAD"){if(c<400)return d;throw new rd(a.statusText,c,{response:d,request:t})}if(c===304)throw d.data=await e8(a),new rd("Not modified",c,{response:d,request:t});if(c>=400)throw d.data=await e8(a),new rd(nEt(d.data),c,{response:d,request:t});return d.data=n?await e8(a):a.body,d}o(Ywe,"fetchWrapper");async function e8(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(Jwe);let r=(0,Kwe.safeParse)(e);if(rEt(r)){let n="";try{return n=await t.text(),Wwe(n)}catch{return n}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(Jwe):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(e8,"getResponseData");function rEt(t){return t.type==="application/json"||t.type==="application/scim+json"}o(rEt,"isJSONResponse");function nEt(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(nEt,"toErrorMessage");function t8(t,e){let r=t.defaults(e);return Object.assign(o(function(i,s){let a=r.merge(i,s);if(!a.request||!a.request.hook)return Ywe(r.parse(a));let c=o((l,u)=>Ywe(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:t8.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:t8.bind(null,r)})}o(t8,"withDefaults");var Cw=t8(Fwe,eEt);var iEt="0.0.0-development";function sEt(t){return`Request failed due to following response errors: +`,s),Buffer.from("\r",s)];e:for(let c=0;cthis.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var So=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=o1(e),i=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),s=o(()=>{},"close"),a=n.parse(t,!0,i,s);if(a!==void 0)throw a;return r},"parse");var ne=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(ui(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let i=So(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let s of i)s.length==1?r?.ignoreComma?n.push(s[0]):n.push(...s[0].split(",")):r?.ignoreComma?n.push(s.join(",")):n.push(...s);return n.filter(s=>s).map(s=>r?.trimWhitespace===!1?s:s.trim())}static getInputNumber(e){let r=ui(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;nsetTimeout(r,e*1e3))}static hash(e){return ej.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,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(2))+" "+n[i]}static generateRandomString(e=10){return ej.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return nBe.default.compile(e,r)(n)}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 n=UI.default.resolve(e);return UI.default.resolve(r).startsWith(n.endsWith(UI.default.sep)?n:`${n}${UI.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),i=Math.floor(r%3600/60),s=r%60,a=[];return n&&a.push(`${n}h`),i&&a.push(`${i}m`),(s||a.length===0)&&a.push(`${s}s`),a.join("")}};var an=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||qI.default.join(iBe.default.homedir(),".docker")}static configFile(){let e=qI.default.join(t.configDir,"config.json");if(tj.default.existsSync(e))return JSON.parse(tj.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await li("docker",!0).then(e=>(D(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(D(`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 Ne.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return Ne.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,sBe.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i)return i}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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),i=e.lastIndexOf(":");if(n>=0)r=n;else if(i>=0)r=i;else return{repository:e,tag:"latest"};let s=e.slice(r+1);return s.indexOf("/")===-1?{repository:e.slice(0,r),tag:s}:{repository:e,tag:"latest"}}static async pull(e,r){let n=t.parseRepoTag(e),i=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),s=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new Kn({htcName:i,htcVersion:s,baseCacheDir:qI.default.join(t.configDir,".cache","images",i),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(O(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&ut(`Failed to load image from cache: ${t.getErrorMessage(u.stderr)}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(u){if(l=!1,c)ut(`Failed to pull image, using one from cache: ${u.message}`);else throw u}if(r&&l){let u=qI.default.join(gt.tmpDir(),`${ne.hash(e)}.tar`);await t.getExecOutput(["save","-o",u,e],{ignoreReturnCode:!0}).then(async f=>{if(f.stderr.length>0&&f.exitCode!=0)ut(`Failed to save image: ${t.getErrorMessage(f.stderr)}`);else{let d=await a.save(u);O(`Image cached to ${d}`)}})}}static async pullWithRetry(e){await(0,oBe.default)(async n=>{let i=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(i.stderr.length>0&&i.exitCode!=0){let s=t.getErrorMessage(i.stderr);if(!t.isPullTransientError(s)){n(new Error(s));return}throw new Error(s)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,i)=>{D(`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 ive=N(require("crypto"),1);var a1=require("fs"),aBe=require("os");var Yy=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,a1.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,a1.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${aBe.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=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"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 sj=N(dBe(),1),hBe=N(ld(),1);var Gbt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function pBe(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(pBe,"getAuthString");function mBe(t){return new sj.HttpClient().getAgent(t)}o(mBe,"getProxyAgent");function Hbt(t){return new sj.HttpClient().getAgentDispatcher(t)}o(Hbt,"getProxyAgentDispatcher");function ABe(t){let e=Hbt(t);return o((n,i)=>Gbt(this,void 0,void 0,function*(){return(0,hBe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(ABe,"getProxyFetch");function gBe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(gBe,"getApiBaseUrl");function oj(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let i=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(i)?t:`${t?`${t} `:""}${i}`}return t}o(oj,"getUserAgentWithOrchestrationId");function Ud(){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(Ud,"getUserAgent");function p1(t,e,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(e)?e.reverse().reduce((i,s)=>p1.bind(null,t,s,i,n),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((i,s)=>s.hook.bind(null,i,n),r)():r(n))}o(p1,"register");function yBe(t,e,r,n){let i=n;t.registry[r]||(t.registry[r]=[]),e==="before"&&(n=o((s,a)=>Promise.resolve().then(i.bind(null,a)).then(s.bind(null,a)),"hook")),e==="after"&&(n=o((s,a)=>{let c;return Promise.resolve().then(s.bind(null,a)).then(l=>(c=l,i(c,a))).then(()=>c)},"hook")),e==="error"&&(n=o((s,a)=>Promise.resolve().then(s.bind(null,a)).catch(c=>i(c,a)),"hook")),t.registry[r].push({hook:n,orig:i})}o(yBe,"addHook");function EBe(t,e,r){if(!t.registry[e])return;let n=t.registry[e].map(i=>i.orig).indexOf(r);n!==-1&&t.registry[e].splice(n,1)}o(EBe,"removeHook");var CBe=Function.bind,bBe=CBe.bind(CBe);function wBe(t,e,r){let n=bBe(EBe,null).apply(null,r?[e,r]:[e]);t.api={remove:n},t.remove=n,["before","error","after","wrap"].forEach(i=>{let s=r?[e,i,r]:[e,i];t[i]=t.api[i]=bBe(yBe,null).apply(null,s)})}o(wBe,"bindApi");function zbt(){let t=Symbol("Singular"),e={registry:{}},r=p1.bind(null,e,t);return wBe(r,e,t),r}o(zbt,"Singular");function jbt(){let t={registry:{}},e=p1.bind(null,t);return wBe(e,t),e}o(jbt,"Collection");var IBe={Singular:zbt,Collection:jbt};var $bt="0.0.0-development",Wbt=`octokit-endpoint.js/${$bt} ${Ud()}`,Jbt={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":Wbt},mediaType:{format:""}};function Ybt(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(Ybt,"lowercaseKeys");function Kbt(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(Kbt,"isPlainObject");function vBe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{Kbt(e[n])?n in t?r[n]=vBe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}o(vBe,"mergeDeep");function SBe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(SBe,"removeUndefinedProperties");function cj(t,e,r){if(typeof e=="string"){let[i,s]=e.split(" ");r=Object.assign(s?{method:i,url:s}:{url:i},r)}else r=Object.assign({},e);r.headers=Ybt(r.headers),SBe(r),SBe(r.headers);let n=vBe(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(n.mediaType.previews=t.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}o(cj,"merge");function Xbt(t,e){let r=/\?/.test(t)?"&":"?",n=Object.keys(e);return n.length===0?t:t+r+n.map(i=>i==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(e[i])}`).join("&")}o(Xbt,"addQueryParameters");var Zbt=/\{[^{}}]+\}/g;function e0t(t){return t.replace(/(?:^\W+)|(?:(?r.concat(n),[]):[]}o(t0t,"extractUrlVariableNames");function BBe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}o(BBe,"omit");function xBe(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(xBe,"encodeReserved");function Xy(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(Xy,"encodeUnreserved");function HI(t,e,r){return e=t==="+"||t==="#"?xBe(e):Xy(e),r?Xy(r)+"="+e:e}o(HI,"encodeValue");function Ky(t){return t!=null}o(Ky,"isDefined");function aj(t){return t===";"||t==="&"||t==="?"}o(aj,"isKeyOperator");function r0t(t,e,r,n){var i=t[r],s=[];if(Ky(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="bigint"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),s.push(HI(e,i,aj(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(Ky).forEach(function(a){s.push(HI(e,a,aj(e)?r:""))}):Object.keys(i).forEach(function(a){Ky(i[a])&&s.push(HI(e,i[a],a))});else{let a=[];Array.isArray(i)?i.filter(Ky).forEach(function(c){a.push(HI(e,c))}):Object.keys(i).forEach(function(c){Ky(i[c])&&(a.push(Xy(c)),a.push(HI(e,i[c].toString())))}),aj(e)?s.push(Xy(r)+"="+a.join(",")):a.length!==0&&s.push(a.join(","))}else e===";"?Ky(i)&&s.push(Xy(r)):i===""&&(e==="&"||e==="?")?s.push(Xy(r)+"="):i===""&&s.push("");return s}o(r0t,"getValues");function n0t(t){return{expand:i0t.bind(null,t)}}o(n0t,"parseUrl");function i0t(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,s){if(i){let c="",l=[];if(r.indexOf(i.charAt(0))!==-1&&(c=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(u){var f=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(r0t(e,c,f[1],f[2]||f[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return xBe(s)}),t==="/"?t:t.replace(/\/$/,"")}o(i0t,"expand");function _Be(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=BBe(t,["method","baseUrl","url","headers","request","mediaType"]),a=t0t(r);r=n0t(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(f=>a.includes(f)).concat("baseUrl"),l=BBe(s,c);if(!/application\/octet-stream/i.test(n.accept)&&(t.mediaType.format&&(n.accept=n.accept.split(/,/).map(f=>f.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let f=n.accept.match(/(?{let h=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${h}`}).join(",")}return["GET","HEAD"].includes(e)?r=Xbt(r,l):"data"in l?i=l.data:Object.keys(l).length&&(i=l),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof i>"u"&&(i=""),Object.assign({method:e,url:r,headers:n},typeof i<"u"?{body:i}:null,t.request?{request:t.request}:null)}o(_Be,"parse");function s0t(t,e,r){return _Be(cj(t,e,r))}o(s0t,"endpointWithDefaults");function NBe(t,e){let r=cj(t,e),n=s0t.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:NBe.bind(null,r),merge:cj.bind(null,r),parse:_Be})}o(NBe,"withDefaults");var RBe=NBe(null,Jbt);var HBe=N(kBe(),1);var o0t=/^-?\d+$/,LBe=/^-?\d+n+$/,lj=JSON.stringify,PBe=JSON.parse,a0t=/^-?\d+n$/,c0t=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,l0t=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,FBe=o((t,e,r)=>"rawJSON"in JSON?lj(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?lj(t,(a,c)=>typeof c=="string"&&!!c.match(LBe)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace(c0t,"$1$2$3").replace(l0t,"$1$2$3"):lj(t,e,r),"JSONStringify"),u0t=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),f0t=o((t,e,r,n)=>typeof e=="string"&&e.match(a0t)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(LBe)?e.slice(0,-1):typeof n!="function"?e:n(t,e,r),"convertMarkedBigIntsReviver"),d0t=o((t,e)=>JSON.parse(t,(r,n,i)=>{let s=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return PBe(t,e);if(u0t())return d0t(t,e);let r=t.replace(h0t,(n,i,s,a)=>{let c=n[0]==='"';if(c&&!!n.match(p0t))return n.substring(0,n.length-1)+'n"';let u=s||a,f=i&&(i.lengthf0t(n,i,s,e))},"JSONParse");var ff=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,n){super(e,{cause:n.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in n&&(this.response=n.response);let i=Object.assign({},n.request);n.request.headers.authorization&&(i.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/(?"","noop");async function GBe(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,n=t.request?.parseSuccessResponseBody!==!1,i=g0t(t.body)||Array.isArray(t.body)?FBe(t.body):t.body,s=Object.fromEntries(Object.entries(t.headers).map(([d,h])=>[d,String(h)])),a;try{a=await e(t.url,{method:t.method,body:i,redirect:t.request?.redirect,headers:s,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(d){let h="Unknown Error";if(d instanceof Error){if(d.name==="AbortError")throw d.status=500,d;h=d.message,d.name==="TypeError"&&"cause"in d&&(d.cause instanceof Error?h=d.cause.message:typeof d.cause=="string"&&(h=d.cause))}let p=new ff(h,500,{request:t});throw p.cause=d,p}let c=a.status,l=a.url,u={};for(let[d,h]of a.headers)u[d]=h;let f={url:l,status:c,headers:u,data:""};if("deprecation"in u){let d=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),h=d&&d.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${h?`. See ${h}`:""}`)}if(c===204||c===205)return f;if(t.method==="HEAD"){if(c<400)return f;throw new ff(a.statusText,c,{response:f,request:t})}if(c===304)throw f.data=await uj(a),new ff("Not modified",c,{response:f,request:t});if(c>=400)throw f.data=await uj(a),new ff(E0t(f.data),c,{response:f,request:t});return f.data=n?await uj(a):a.body,f}o(GBe,"fetchWrapper");async function uj(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(qBe);let r=(0,HBe.safeParse)(e);if(y0t(r)){let n="";try{return n=await t.text(),UBe(n)}catch{return n}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(qBe):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(uj,"getResponseData");function y0t(t){return t.type==="application/json"||t.type==="application/scim+json"}o(y0t,"isJSONResponse");function E0t(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(E0t,"toErrorMessage");function fj(t,e){let r=t.defaults(e);return Object.assign(o(function(i,s){let a=r.merge(i,s);if(!a.request||!a.request.hook)return GBe(r.parse(a));let c=o((l,u)=>GBe(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:fj.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:fj.bind(null,r)})}o(fj,"withDefaults");var zI=fj(RBe,A0t);var C0t="0.0.0-development";function b0t(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` -`)}o(sEt,"_buildMessageForResponseErrors");var oEt=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(sEt(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},aEt=["method","baseUrl","url","headers","request","query","mediaType","operationName"],cEt=["query","method","url"],Xwe=/\/api\/v3\/?$/;function lEt(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(cEt.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(n).reduce((a,c)=>aEt.includes(c)?(a[c]=n[c],a):(a.variables||(a.variables={}),a.variables[c]=n[c],a),{}),s=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return Xwe.test(s)&&(i.url=s.replace(Xwe,"/api/graphql")),t(i).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new oEt(i,c,a.data)}return a.data.data})}o(lEt,"graphql");function r8(t,e){let r=t.defaults(e);return Object.assign(o((i,s)=>lEt(r,i,s),"newApi"),{defaults:r8.bind(null,r),endpoint:r.endpoint})}o(r8,"withDefaults");var dwr=r8(Cw,{headers:{"user-agent":`octokit-graphql.js/${iEt} ${Tf()}`},method:"POST",url:"/graphql"});function Zwe(t){return r8(t,{method:"POST",url:"/graphql"})}o(Zwe,"withCustomRequest");var n8="(?:[a-zA-Z0-9_-]+)",eSe="\\.",tSe=new RegExp(`^${n8}${eSe}${n8}${eSe}${n8}$`),uEt=tSe.test.bind(tSe);async function dEt(t){let e=uEt(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),n=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}o(dEt,"auth");function fEt(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(fEt,"withAuthorizationPrefix");async function hEt(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=fEt(t),e(i)}o(hEt,"hook");var rSe=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(dEt.bind(null,e),{hook:hEt.bind(null,e)})},"createTokenAuth2");var i8="7.0.6";var nSe=o(()=>{},"noop"),pEt=console.warn.bind(console),AEt=console.error.bind(console);function mEt(t={}){return typeof t.debug!="function"&&(t.debug=nSe),typeof t.info!="function"&&(t.info=nSe),typeof t.warn!="function"&&(t.warn=pEt),typeof t.error!="function"&&(t.error=AEt),t}o(mEt,"createLogger");var iSe=`octokit-core.js/${i8} ${Tf()}`,Py=class{static{o(this,"Octokit")}static VERSION=i8;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...n){let i=n[0]||{};if(typeof e=="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.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(i=>!r.includes(i)))}}constructor(e={}){let r=new Rwe.Collection,n={baseUrl:Cw.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${iSe}`:iSe,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=Cw.defaults(n),this.graphql=Zwe(this.request).defaults(n),this.log=mEt(e.log),this.hook=r,e.authStrategy){let{authStrategy:s,...a}=e,c=s(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 s=rSe(e.auth);r.wrap("request",s.hook),this.auth=s}let i=this.constructor;for(let s=0;s({async next(){if(!c)return{done:!0};try{let l=await i({method:s,url:c,headers:a}),u=IEt(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let d=new URL(u.url),f=d.searchParams,h=parseInt(f.get("page")||"1",10),p=parseInt(f.get("per_page")||"250",10);h*p{if(i.done)return e;let s=!1;function a(){s=!0}return o(a,"done"),e=e.concat(n?n(i.value,a):i.value.data),s?e:aSe(t,e,r,n)})}o(aSe,"gather");var Lwr=Object.assign(oSe,{iterator:a8});function Iw(t){return{paginate:Object.assign(oSe.bind(null,t),{iterator:a8.bind(null,t)})}}o(Iw,"paginateRest");Iw.VERSION=bEt;var Hwr=new Dy,c8=Bwe(),wEt={baseUrl:c8,request:{agent:wwe(c8),fetch:Swe(c8)}},cSe=Py.plugin(bw,Iw).defaults(wEt);function lSe(t,e){let r=Object.assign({},e||{}),n=Iwe(t,r);n&&(r.auth=n);let i=Yj(r.userAgent);return i&&(r.userAgent=i),r}o(lSe,"getOctokitOptions");var ns=new Dy;function qD(t,e,...r){let n=cSe.plugin(...r);return new n(lSe(t,e))}o(qD,"getOctokit");var Sw=N(require("http"),1),h8=N(require("https"),1);function u8(t){let e=t.protocol==="https:";if(SEt(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 GD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new GD(`http://${r}`)}else return}o(u8,"getProxyUrl");function SEt(t){if(!t.hostname)return!1;let e=t.hostname;if(BEt(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(SEt,"checkBypass");function BEt(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(BEt,"isLoopbackAddress");var GD=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 Rf=N(um(),1),uSe=N(Xd(),1);var cn=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},ks;(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"})(ks||(ks={}));var is;(function(t){t.Accept="accept",t.ContentType="content-type"})(is||(is={}));var nd;(function(t){t.ApplicationJson="application/json"})(nd||(nd={}));var vEt=[ks.MovedPermanently,ks.ResourceMoved,ks.SeeOther,ks.TemporaryRedirect,ks.PermanentRedirect],NEt=[ks.BadGateway,ks.ServiceUnavailable,ks.GatewayTimeout],_Et=["OPTIONS","GET","DELETE","HEAD"],TEt=10,REt=5,d8=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},f8=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return cn(this,void 0,void 0,function*(){return new Promise(e=>cn(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return cn(this,void 0,void 0,function*(){return new Promise(e=>cn(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var HD=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return cn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return cn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return cn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return cn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return cn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return cn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return cn(this,arguments,void 0,function*(r,n={}){n[is.Accept]=this._getExistingOrDefaultHeader(n,is.Accept,nd.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,nd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,nd.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,nd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,nd.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return cn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,nd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,nd.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return cn(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&_Et.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===ks.Unauthorized){let f;for(let h of this.handlers)if(h.canHandleAuthentication(u)){f=h;break}return f?f.handleAuthentication(this,a,n):u}let d=this._maxRedirects;for(;u.message.statusCode&&vEt.includes(u.message.statusCode)&&this._allowRedirects&&d>0;){let f=u.message.headers.location;if(!f)break;let h=new URL(f);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),d--}if(!u.message.statusCode||!NEt.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new f8(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=u8(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?h8:Sw;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ww(this.requestOptions.headers),ww(e||{})):ww(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=ww(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=ww(this.requestOptions.headers)[is.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[is.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=u8(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Sw.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?Rf.httpsOverHttps:Rf.httpsOverHttp:l=u?Rf.httpOverHttps:Rf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new h8.Agent(c):new Sw.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new uSe.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return cn(this,void 0,void 0,function*(){e=Math.min(TEt,e);let r=REt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return cn(this,void 0,void 0,function*(){return new Promise((n,i)=>cn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===ks.NotFound&&n(a);function c(d,f){if(typeof f=="string"){let h=new Date(f);if(!isNaN(h.valueOf()))return h}return f}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(s>299){let d;l&&l.message?d=l.message:u&&u.length>0?d=u:d=`Failed request: (${s})`;let f=new d8(d,s);f.result=a.result,i(f)}else n(a)}))})}},ww=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var hSe=require("stream/consumers");var Xp=class extends Error{static{o(this,"InvalidTokenError")}};Xp.prototype.name="InvalidTokenError";function DEt(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}o(DEt,"b64DecodeUnicode");function QEt(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 DEt(e)}catch{return atob(e)}}o(QEt,"base64UrlDecode");function VD(t,e){if(typeof t!="string")throw new Xp("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,n=t.split(".")[r];if(typeof n!="string")throw new Xp(`Invalid token specified: missing part #${r+1}`);let i;try{i=QEt(n)}catch(s){throw new Xp(`Invalid token specified: invalid base64 for part #${r+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new Xp(`Invalid token specified: invalid json for part #${r+1} (${s.message})`)}}o(VD,"jwtDecode");var zD=[1e3,3e3],kEt=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),Xe=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=qD(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...ns.repo}).then(e=>e.data)}async releases(e,r){let n;try{n=await this.releasesRaw(e,r)}catch(i){if(!this.githubToken)throw i;n=await this.releasesRaw(e,r,this.githubToken)}return n}async releasesRaw(e,r,n){let i=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,s=n?{Authorization:`token ${n}`}:void 0,a;for(let c=0;c<=zD.length;c++)try{let u=await new HD("docker-actions-toolkit").get(i,s),d=await(0,hSe.text)(u.message),f=u.message.statusCode||500;if(f>=400){let h=new Error(`Failed to get ${e} releases from ${i} with status code ${f}: ${d}`);throw h.statusCode=f,h}return JSON.parse(d)}catch(l){if(a=l instanceof Error?l:new Error(`${l}`),!t.isRetryableReleaseError(a)||c===zD.length)throw a;O(`${a.message}. Retrying (${c+1}/${zD.length})...`),await new Promise(u=>setTimeout(u,zD[c]))}throw a||new Error(`Failed to get ${e} releases from ${i}`)}static isRetryableReleaseError(e){let r=e.statusCode;if(r)return r===408||r===429||r>=500;let n=e.code,i=e.message.toLowerCase();return n&&kEt.has(n)||i.includes("socket hang up")||i.includes("read econnreset")}static get context(){return ns}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(),n=r==="GITHUB.COM",i=r.endsWith(".GHE.COM"),s=r.endsWith(".LOCALHOST");return!n&&!i&&!s}static get repository(){return`${ns.repo.owner}/${ns.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:ns.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?VD(e):void 0}static printUntrusted(e){let r=fSe.randomUUID();O(`::stop-commands::${r}`);try{O(e)}finally{O(`::${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 n;switch(r.Permission){case 1:n="read";break;case 2:n="write";break;case 3:n="read/write";break;default:n=`unimplemented (${r.Permission})`}O(`${r.Scope}: ${n}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var yt=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||Ps.default.join(on.configDir,"buildx")}static get refsDir(){return Ps.default.join(t.configDir,"refs")}static get refsGroupDir(){return Ps.default.join(t.refsDir,"__group__")}static get certsDir(){return Ps.default.join(t.configDir,"certs")}async isStandalone(){let e=this._standalone??!await on.isAvailable();return R(`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 _e.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(R(`Buildx.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(R(`Buildx.isAvailable error: ${n}`),!1));return R(`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 _e.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 _e.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,pSe.stripVTControlCharacters)(e).split(/[\r\n]/),n="";for(let i=r.length-1;i>=0;i--){let s=r[i].trim();if(s.startsWith("ERROR:"))return s.slice(6).trim()||"unknown error";n||=s}return n||"unknown error"}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return R("Buildx.versionSatisfies false: undefined version"),!1;let i=ASe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return R(`Buildx.versionSatisfies ${n} statisfies ${e}: ${i}`),i}static resolveCertsDriverOpts(e,r,n){let i;try{i=new URL(r)}catch{return[]}if(i.protocol!="tcp:")return[];let s=[];if(Object.keys(n).length==0)return s;let a=i.hostname;if(i.port.length>0&&(a+=`-${i.port}`),n.cacert!==void 0){let c=Ps.default.join(t.certsDir,`cacert_${a}.pem`);ha.default.writeFileSync(c,n.cacert),s.push(`cacert=${c}`)}if(n.cert!==void 0){let c=Ps.default.join(t.certsDir,`cert_${a}.pem`);ha.default.writeFileSync(c,n.cert),s.push(`cert=${c}`)}if(n.key!==void 0){let c=Ps.default.join(t.certsDir,`key_${a}.pem`);ha.default.writeFileSync(c,n.key),s.push(`key=${c}`)}return e!="remote"?[]:s}static localState(e,r){let[n,i,s]=e.split("/");if(!n||!i||!s)throw new Error(`Invalid build reference: ${e}`);let a=Ps.default.join(r||t.refsDir,n,i,s);if(!ha.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(ha.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"),[n,i,s]=r(e.LocalPath);return s&&(e.LocalPath=n,e.DockerfilePath.indexOf(i)===0&&(e.DockerfilePath=e.DockerfilePath.substring(i.length))),e.LocalPath=e.LocalPath.endsWith("/-")?"-":e.LocalPath,e.DockerfilePath=e.DockerfilePath.endsWith("/-")?"-":e.DockerfilePath,e}static refs(e,r={}){let{dir:n,builderName:i,nodeName:s,since:a}=e,c=Ps.default.resolve(n);if(e.builderName&&(c=Ps.default.join(c,e.builderName)),e.nodeName&&(c=Ps.default.join(c,e.nodeName)),!ha.default.existsSync(c))return r;let l=ha.default.readdirSync(c);for(let u of l){let d=Ps.default.join(c,u),f=ha.default.statSync(d);if(f.isDirectory()){let h={...e};if(i)s||(h.nodeName=u);else{if(u==="__group__")continue;h.builderName=u}t.refs(h,r)}else{if(a&&f.mtimeatob(m)).join(" "),h=atob(l.short).replace(/\s\(line \d+\)$/,"");l.url&&(h+=` -More info: ${l.url}`);let p=l.range&&l.range.length>0?l.range[0]?.start.line:void 0,g=!1;for(let m of a)if(m.remote||m.path.endsWith(u)&&m.content===d){c.push({title:f,message:h,file:m.path,startLine:p}),g=!0;break}g||R(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${f}`)}return c}};var p8=N(require("fs"),1),A8=N(require("path"),1);var $D=class t{static{o(this,"History")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async getCommand(e){return await this.buildx.getCommand(["history",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getExportCommand(e){return await this.getCommand(["export",...e])}async inspect(e){let r=["--format","json"];e.builder&&r.push("--builder",e.builder),e.ref&&r.push(e.ref);let n=await this.getInspectCommand(r);return await _e.getExecOutput(n.command,n.args,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return JSON.parse(i.stdout)})}async export(e){if(!await this.buildx.versionSatisfies(">=0.23.0"))throw new Error("Buildx >= 0.23.0 is required to export a build record");let r="",n="",i=[];for(let f of e.refs){let h=f.split("/");if(h.length!=3)throw new Error(`Invalid build ref: ${f}`);i.push(h[2]),r||(r=h[0]),n||(n=h[1])}if(i.length===0)throw new Error("No build refs provided");let s=A8.default.join(gt.tmpDir(),"export");O(`exporting build record to ${s}`),p8.default.mkdirSync(s,{recursive:!0}),await this.buildx.versionSatisfies("<0.24.0")&&await re.sleep(3);let a={};if(!e.noSummaries)for(let f of i)await this.inspect({ref:f,builder:r}).then(h=>{let p="";h.Error&&h.Status!=="canceled"&&(h.Error.Message?p=h.Error.Message:h.Error.Name&&h.Error.Logs&&(p=`=> ${h.Error.Name} -${h.Error.Logs}`)),a[f]={name:h.Name,status:h.Status,duration:re.formatDuration(h.Duration),numCachedSteps:h.NumCachedSteps,numTotalSteps:h.NumTotalSteps,numCompletedSteps:h.NumCompletedSteps,defaultPlatform:h.Platform?.[0],error:p}});let c=A8.default.join(s,`${t.exportFilename(i)}.dockerbuild`),l=["--builder",r,"--output",c,...i];await this.buildx.versionSatisfies(">=0.24.0")&&l.push("--finalize");let u=await this.getExportCommand(l);await _e.getExecOutput(u.command,u.args);let d=p8.default.statSync(c);return{dockerbuildFilename:c,dockerbuildSize:d.size,builderName:r,nodeName:n,refs:i,summaries:a}}static exportFilename(e){let r=`${Xe.context.repo.owner}~${Xe.context.repo.repo}~${e[0].substring(0,6).toUpperCase()}`;return e.length>1&&(r+=`+${e.length-1}`),r}};var oOe=N(require("fs"),1),KY=N(require("path"),1);var gSe=N(require("os"),1);function Bw(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Bw,"toCommandValue");function m8(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(m8,"toCommandProperties");function xw(t,e,r){let n=new g8(t,e,r);process.stdout.write(n.toString()+gSe.EOL)}o(xw,"issueCommand");var mSe="::",g8=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=mSe+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${OEt(i)}`)}}return e+=`${mSe}${PEt(this.message)}`,e}};function PEt(t){return Bw(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(PEt,"escapeData");function OEt(t){return Bw(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(OEt,"escapeProperty");var bSe=N(require("os"),1);var ESe=require("os"),vw=require("fs");var y8=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:LEt,appendFile:FEt,writeFile:MEt}=vw.promises,ySe="GITHUB_STEP_SUMMARY";var E8=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return y8(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[ySe];if(!e)throw new Error(`Unable to find environment variable for $${ySe}. Check if your runtime environment supports job summaries.`);try{yield LEt(e,vw.constants.R_OK|vw.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return y8(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?MEt:FEt)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return y8(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(ESe.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:d}=a,f=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),d&&{rowspan:d});return this.wrap(f,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},_Sr=new E8;var C8=N(require("os"),1);var kSr=C8.default.platform(),PSr=C8.default.arch();var CSe;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(CSe||(CSe={}));function jD(t){xw("add-mask",{},t)}o(jD,"setSecret");function Ze(t){xw("debug",{},t)}o(Ze,"debug");function Nw(t,e={}){xw("error",m8(e),t instanceof Error?t.toString():t)}o(Nw,"error");function mi(t,e={}){xw("warning",m8(e),t instanceof Error?t.toString():t)}o(mi,"warning");function ct(t){process.stdout.write(t+bSe.EOL)}o(ct,"info");var ISe=N(require("os"),1);function Zp(){return 8*1024*1024}o(Zp,"getUploadChunkSize");function WD(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(WD,"getRuntimeToken");function wSe(){let t=process.env.ACTIONS_RESULTS_URL;if(!t)throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable");return new URL(t).origin}o(wSe,"getResultsServiceUrl");function Oy(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(Oy,"isGhes");function SSe(){let t=process.env.GITHUB_WORKSPACE;if(!t)throw new Error("Unable to get the GITHUB_WORKSPACE env variable");return t}o(SSe,"getGitHubWorkspaceDir");function BSe(){let t=ISe.default.cpus().length,e=32;if(t>4){let n=16*t;e=n>300?300:n}let r=process.env.ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY;if(r){let n=parseInt(r);if(isNaN(n)||n<1)throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable");return nDate.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(e.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let i="Z";if(e.nanos>0){let s=(e.nanos+1e9).toString().substring(1);s.substring(3)==="000000"?i="."+s.substring(0,3)+"Z":s.substring(6)==="000"?i="."+s.substring(0,6)+"Z":i="."+s+"Z"}return new Date(n).toISOString().replace(".000Z",i)}internalJsonRead(e,r,n){if(typeof e!="string")throw new Error("Unable to parse Timestamp from JSON "+(0,aBe.typeofJsonValue)(e)+".");let i=e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!i)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let s=Date.parse(i[1]+"-"+i[2]+"-"+i[3]+"T"+i[4]+":"+i[5]+":"+i[6]+(i[8]?i[8]:"Z"));if(Number.isNaN(s))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(sDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");return n||(n=this.create()),n.seconds=zy.PbLong.from(s/1e3).toString(),n.nanos=0,i[7]&&(n.nanos=parseInt("1"+i[7]+"0".repeat(9-i[7].length))-1e9),n}create(e){let r={seconds:"0",nanos:0};return globalThis.Object.defineProperty(r,oBe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,sBe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posSo,"T")},{no:5,name:"version",kind:"scalar",T:5},{no:6,name:"mime_type",kind:"message",T:o(()=>bn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};return globalThis.Object.defineProperty(r,ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ga.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posbn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};return globalThis.Object.defineProperty(r,ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ga.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posbn,"T")},{no:4,name:"id_filter",kind:"message",T:o(()=>$y,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:""};return globalThis.Object.defineProperty(r,ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ga.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posS6,"T")}])}create(e){let r={artifacts:[]};return globalThis.Object.defineProperty(r,ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ga.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posSo,"T")},{no:7,name:"digest",kind:"message",T:o(()=>bn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};return globalThis.Object.defineProperty(r,ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ga.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posL6.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeArtifact(e){let r=F6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",r).then(i=>M6.fromJson(i,{ignoreUnknownFields:!0}))}ListArtifacts(e){let r=U6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",r).then(i=>q6.fromJson(i,{ignoreUnknownFields:!0}))}GetSignedArtifactURL(e){let r=G6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",r).then(i=>H6.fromJson(i,{ignoreUnknownFields:!0}))}DeleteArtifact(e){let r=V6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",r).then(i=>z6.fromJson(i,{ignoreUnknownFields:!0}))}};function EBe(t){if(!t)return;let e=Wbt();e&&e"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],[` -`," Line feed \\n"]]),CBe=new Map([...$6,["\\"," Backslash \\"],["/"," Forward slash /"]]);function bBe(t){if(!t)throw new Error("Provided artifact name input during validation is empty");for(let[e,r]of CBe)if(t.includes(e))throw new Error(`The artifact name is not valid: ${t}. Contains the following character: ${r} +`)}o(b0t,"_buildMessageForResponseErrors");var w0t=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(b0t(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},I0t=["method","baseUrl","url","headers","request","query","mediaType","operationName"],S0t=["query","method","url"],VBe=/\/api\/v3\/?$/;function B0t(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(S0t.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(n).reduce((a,c)=>I0t.includes(c)?(a[c]=n[c],a):(a.variables||(a.variables={}),a.variables[c]=n[c],a),{}),s=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return VBe.test(s)&&(i.url=s.replace(VBe,"/api/graphql")),t(i).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new w0t(i,c,a.data)}return a.data.data})}o(B0t,"graphql");function dj(t,e){let r=t.defaults(e);return Object.assign(o((i,s)=>B0t(r,i,s),"newApi"),{defaults:dj.bind(null,r),endpoint:r.endpoint})}o(dj,"withDefaults");var o_r=dj(zI,{headers:{"user-agent":`octokit-graphql.js/${C0t} ${Ud()}`},method:"POST",url:"/graphql"});function zBe(t){return dj(t,{method:"POST",url:"/graphql"})}o(zBe,"withCustomRequest");var hj="(?:[a-zA-Z0-9_-]+)",jBe="\\.",$Be=new RegExp(`^${hj}${jBe}${hj}${jBe}${hj}$`),v0t=$Be.test.bind($Be);async function x0t(t){let e=v0t(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),n=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}o(x0t,"auth");function _0t(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(_0t,"withAuthorizationPrefix");async function N0t(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=_0t(t),e(i)}o(N0t,"hook");var WBe=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(x0t.bind(null,e),{hook:N0t.bind(null,e)})},"createTokenAuth2");var pj="7.0.6";var JBe=o(()=>{},"noop"),R0t=console.warn.bind(console),T0t=console.error.bind(console);function D0t(t={}){return typeof t.debug!="function"&&(t.debug=JBe),typeof t.info!="function"&&(t.info=JBe),typeof t.warn!="function"&&(t.warn=R0t),typeof t.error!="function"&&(t.error=T0t),t}o(D0t,"createLogger");var YBe=`octokit-core.js/${pj} ${Ud()}`,Zy=class{static{o(this,"Octokit")}static VERSION=pj;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...n){let i=n[0]||{};if(typeof e=="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.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(i=>!r.includes(i)))}}constructor(e={}){let r=new IBe.Collection,n={baseUrl:zI.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${YBe}`:YBe,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=zI.defaults(n),this.graphql=zBe(this.request).defaults(n),this.log=D0t(e.log),this.hook=r,e.authStrategy){let{authStrategy:s,...a}=e,c=s(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 s=WBe(e.auth);r.wrap("request",s.hook),this.auth=s}let i=this.constructor;for(let s=0;s({async next(){if(!c)return{done:!0};try{let l=await i({method:s,url:c,headers:a}),u=F0t(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let f=new URL(u.url),d=f.searchParams,h=parseInt(d.get("page")||"1",10),p=parseInt(d.get("per_page")||"250",10);h*p{if(i.done)return e;let s=!1;function a(){s=!0}return o(a,"done"),e=e.concat(n?n(i.value,a):i.value.data),s?e:ZBe(t,e,r,n)})}o(ZBe,"gather");var D_r=Object.assign(XBe,{iterator:gj});function $I(t){return{paginate:Object.assign(XBe.bind(null,t),{iterator:gj.bind(null,t)})}}o($I,"paginateRest");$I.VERSION=L0t;var F_r=new Yy,yj=gBe(),M0t={baseUrl:yj,request:{agent:mBe(yj),fetch:ABe(yj)}},eve=Zy.plugin(jI,$I).defaults(M0t);function tve(t,e){let r=Object.assign({},e||{}),n=pBe(t,r);n&&(r.auth=n);let i=oj(r.userAgent);return i&&(r.userAgent=i),r}o(tve,"getOctokitOptions");var ss=new Yy;function y1(t,e,...r){let n=eve.plugin(...r);return new n(tve(t,e))}o(y1,"getOctokit");var JI=N(require("http"),1),Ij=N(require("https"),1);function Cj(t){let e=t.protocol==="https:";if(U0t(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 E1(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new E1(`http://${r}`)}else return}o(Cj,"getProxyUrl");function U0t(t){if(!t.hostname)return!1;let e=t.hostname;if(q0t(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(U0t,"checkBypass");function q0t(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(q0t,"isLoopbackAddress");var E1=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 qd=N(_A(),1),rve=N(ld(),1);var ln=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Os;(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"})(Os||(Os={}));var os;(function(t){t.Accept="accept",t.ContentType="content-type"})(os||(os={}));var df;(function(t){t.ApplicationJson="application/json"})(df||(df={}));var H0t=[Os.MovedPermanently,Os.ResourceMoved,Os.SeeOther,Os.TemporaryRedirect,Os.PermanentRedirect],V0t=[Os.BadGateway,Os.ServiceUnavailable,Os.GatewayTimeout],z0t=["OPTIONS","GET","DELETE","HEAD"],j0t=10,$0t=5,bj=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},wj=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ln(this,void 0,void 0,function*(){return new Promise(e=>ln(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ln(this,void 0,void 0,function*(){return new Promise(e=>ln(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var C1=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return ln(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ln(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ln(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return ln(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return ln(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return ln(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return ln(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return ln(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return ln(this,arguments,void 0,function*(r,n={}){n[os.Accept]=this._getExistingOrDefaultHeader(n,os.Accept,df.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return ln(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[os.Accept]=this._getExistingOrDefaultHeader(s,os.Accept,df.ApplicationJson),s[os.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,df.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ln(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[os.Accept]=this._getExistingOrDefaultHeader(s,os.Accept,df.ApplicationJson),s[os.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,df.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ln(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[os.Accept]=this._getExistingOrDefaultHeader(s,os.Accept,df.ApplicationJson),s[os.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,df.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return ln(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&z0t.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Os.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,a,n):u}let f=this._maxRedirects;for(;u.message.statusCode&&H0t.includes(u.message.statusCode)&&this._allowRedirects&&f>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.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(),h.hostname!==s.hostname)for(let p in i)p.toLowerCase()==="authorization"&&delete i[p];a=this._prepareRequest(e,h,i),u=yield this.requestRaw(a,n),f--}if(!u.message.statusCode||!V0t.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new wj(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=Cj(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?Ij:JI;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},WI(this.requestOptions.headers),WI(e||{})):WI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=WI(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=WI(this.requestOptions.headers)[os.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[os.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=Cj(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||JI.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?qd.httpsOverHttps:qd.httpsOverHttp:l=u?qd.httpOverHttps:qd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new Ij.Agent(c):new JI.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new rve.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=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return ln(this,void 0,void 0,function*(){e=Math.min(j0t,e);let r=$0t*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return ln(this,void 0,void 0,function*(){return new Promise((n,i)=>ln(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Os.NotFound&&n(a);function c(f,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}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(s>299){let f;l&&l.message?f=l.message:u&&u.length>0?f=u:f=`Failed request: (${s})`;let d=new bj(f,s);d.result=a.result,i(d)}else n(a)}))})}},WI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var sve=require("stream/consumers");var fm=class extends Error{static{o(this,"InvalidTokenError")}};fm.prototype.name="InvalidTokenError";function W0t(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}o(W0t,"b64DecodeUnicode");function J0t(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 W0t(e)}catch{return atob(e)}}o(J0t,"base64UrlDecode");function b1(t,e){if(typeof t!="string")throw new fm("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,n=t.split(".")[r];if(typeof n!="string")throw new fm(`Invalid token specified: missing part #${r+1}`);let i;try{i=J0t(n)}catch(s){throw new fm(`Invalid token specified: invalid base64 for part #${r+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new fm(`Invalid token specified: invalid json for part #${r+1} (${s.message})`)}}o(b1,"jwtDecode");var w1=[1e3,3e3],Y0t=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),Xe=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=y1(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...ss.repo}).then(e=>e.data)}async releases(e,r){let n;try{n=await this.releasesRaw(e,r)}catch(i){if(!this.githubToken)throw i;n=await this.releasesRaw(e,r,this.githubToken)}return n}async releasesRaw(e,r,n){let i=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,s=n?{Authorization:`token ${n}`}:void 0,a;for(let c=0;c<=w1.length;c++)try{let u=await new C1("docker-actions-toolkit").get(i,s),f=await(0,sve.text)(u.message),d=u.message.statusCode||500;if(d>=400){let h=new Error(`Failed to get ${e} releases from ${i} with status code ${d}: ${f}`);throw h.statusCode=d,h}return JSON.parse(f)}catch(l){if(a=l instanceof Error?l:new Error(`${l}`),!t.isRetryableReleaseError(a)||c===w1.length)throw a;O(`${a.message}. Retrying (${c+1}/${w1.length})...`),await new Promise(u=>setTimeout(u,w1[c]))}throw a||new Error(`Failed to get ${e} releases from ${i}`)}static isRetryableReleaseError(e){let r=e.statusCode;if(r)return r===408||r===429||r>=500;let n=e.code,i=e.message.toLowerCase();return n&&Y0t.has(n)||i.includes("socket hang up")||i.includes("read econnreset")}static get context(){return ss}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(),n=r==="GITHUB.COM",i=r.endsWith(".GHE.COM"),s=r.endsWith(".LOCALHOST");return!n&&!i&&!s}static get repository(){return`${ss.repo.owner}/${ss.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:ss.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?b1(e):void 0}static printUntrusted(e){let r=ive.randomUUID();O(`::stop-commands::${r}`);try{O(e)}finally{O(`::${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 n;switch(r.Permission){case 1:n="read";break;case 2:n="write";break;case 3:n="read/write";break;default:n=`unimplemented (${r.Permission})`}O(`${r.Scope}: ${n}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var yt=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||Ls.default.join(an.configDir,"buildx")}static get refsDir(){return Ls.default.join(t.configDir,"refs")}static get refsGroupDir(){return Ls.default.join(t.refsDir,"__group__")}static get certsDir(){return Ls.default.join(t.configDir,"certs")}async isStandalone(){let e=this._standalone??!await an.isAvailable();return D(`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 Ne.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(D(`Buildx.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(D(`Buildx.isAvailable error: ${n}`),!1));return D(`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 Ne.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 Ne.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,ove.stripVTControlCharacters)(e).split(/[\r\n]/),n="";for(let i=r.length-1;i>=0;i--){let s=r[i].trim();if(s.startsWith("ERROR:"))return s.slice(6).trim()||"unknown error";n||=s}return n||"unknown error"}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Buildx.versionSatisfies false: undefined version"),!1;let i=ave.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Buildx.versionSatisfies ${n} statisfies ${e}: ${i}`),i}static resolveCertsDriverOpts(e,r,n){let i;try{i=new URL(r)}catch{return[]}if(i.protocol!="tcp:")return[];let s=[];if(Object.keys(n).length==0)return s;let a=i.hostname;if(i.port.length>0&&(a+=`-${i.port}`),n.cacert!==void 0){let c=Ls.default.join(t.certsDir,`cacert_${a}.pem`);Aa.default.writeFileSync(c,n.cacert),s.push(`cacert=${c}`)}if(n.cert!==void 0){let c=Ls.default.join(t.certsDir,`cert_${a}.pem`);Aa.default.writeFileSync(c,n.cert),s.push(`cert=${c}`)}if(n.key!==void 0){let c=Ls.default.join(t.certsDir,`key_${a}.pem`);Aa.default.writeFileSync(c,n.key),s.push(`key=${c}`)}return e!="remote"?[]:s}static localState(e,r){let[n,i,s]=e.split("/");if(!n||!i||!s)throw new Error(`Invalid build reference: ${e}`);let a=Ls.default.join(r||t.refsDir,n,i,s);if(!Aa.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(Aa.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"),[n,i,s]=r(e.LocalPath);return s&&(e.LocalPath=n,e.DockerfilePath.indexOf(i)===0&&(e.DockerfilePath=e.DockerfilePath.substring(i.length))),e.LocalPath=e.LocalPath.endsWith("/-")?"-":e.LocalPath,e.DockerfilePath=e.DockerfilePath.endsWith("/-")?"-":e.DockerfilePath,e}static refs(e,r={}){let{dir:n,builderName:i,nodeName:s,since:a}=e,c=Ls.default.resolve(n);if(e.builderName&&(c=Ls.default.join(c,e.builderName)),e.nodeName&&(c=Ls.default.join(c,e.nodeName)),!Aa.default.existsSync(c))return r;let l=Aa.default.readdirSync(c);for(let u of l){let f=Ls.default.join(c,u),d=Aa.default.statSync(f);if(d.isDirectory()){let h={...e};if(i)s||(h.nodeName=u);else{if(u==="__group__")continue;h.builderName=u}t.refs(h,r)}else{if(a&&d.mtimeatob(g)).join(" "),h=atob(l.short).replace(/\s\(line \d+\)$/,"");l.url&&(h+=` +More info: ${l.url}`);let p=l.range&&l.range.length>0?l.range[0]?.start.line:void 0,A=!1;for(let g of a)if(g.remote||g.path.endsWith(u)&&g.content===f){c.push({title:d,message:h,file:g.path,startLine:p}),A=!0;break}A||D(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${d}`)}return c}};var Sj=N(require("fs"),1),Bj=N(require("path"),1);var I1=class t{static{o(this,"History")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async getCommand(e){return await this.buildx.getCommand(["history",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getExportCommand(e){return await this.getCommand(["export",...e])}async inspect(e){let r=["--format","json"];e.builder&&r.push("--builder",e.builder),e.ref&&r.push(e.ref);let n=await this.getInspectCommand(r);return await Ne.getExecOutput(n.command,n.args,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return JSON.parse(i.stdout)})}async export(e){if(!await this.buildx.versionSatisfies(">=0.23.0"))throw new Error("Buildx >= 0.23.0 is required to export a build record");let r="",n="",i=[];for(let d of e.refs){let h=d.split("/");if(h.length!=3)throw new Error(`Invalid build ref: ${d}`);i.push(h[2]),r||(r=h[0]),n||(n=h[1])}if(i.length===0)throw new Error("No build refs provided");let s=Bj.default.join(gt.tmpDir(),"export");O(`exporting build record to ${s}`),Sj.default.mkdirSync(s,{recursive:!0}),await this.buildx.versionSatisfies("<0.24.0")&&await ne.sleep(3);let a={};if(!e.noSummaries)for(let d of i)await this.inspect({ref:d,builder:r}).then(h=>{let p="";h.Error&&h.Status!=="canceled"&&(h.Error.Message?p=h.Error.Message:h.Error.Name&&h.Error.Logs&&(p=`=> ${h.Error.Name} +${h.Error.Logs}`)),a[d]={name:h.Name,status:h.Status,duration:ne.formatDuration(h.Duration),numCachedSteps:h.NumCachedSteps,numTotalSteps:h.NumTotalSteps,numCompletedSteps:h.NumCompletedSteps,defaultPlatform:h.Platform?.[0],error:p}});let c=Bj.default.join(s,`${t.exportFilename(i)}.dockerbuild`),l=["--builder",r,"--output",c,...i];await this.buildx.versionSatisfies(">=0.24.0")&&l.push("--finalize");let u=await this.getExportCommand(l);await Ne.getExecOutput(u.command,u.args);let f=Sj.default.statSync(c);return{dockerbuildFilename:c,dockerbuildSize:f.size,builderName:r,nodeName:n,refs:i,summaries:a}}static exportFilename(e){let r=`${Xe.context.repo.owner}~${Xe.context.repo.repo}~${e[0].substring(0,6).toUpperCase()}`;return e.length>1&&(r+=`+${e.length-1}`),r}};var XLe=N(require("fs"),1),aK=N(require("path"),1);var lve=N(require("os"),1);function YI(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(YI,"toCommandValue");function vj(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(vj,"toCommandProperties");function KI(t,e,r){let n=new xj(t,e,r);process.stdout.write(n.toString()+lve.EOL)}o(KI,"issueCommand");var cve="::",xj=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=cve+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${X0t(i)}`)}}return e+=`${cve}${K0t(this.message)}`,e}};function K0t(t){return YI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(K0t,"escapeData");function X0t(t){return YI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(X0t,"escapeProperty");var hve=N(require("os"),1);var fve=require("os"),XI=require("fs");var _j=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},{access:Z0t,appendFile:ewt,writeFile:twt}=XI.promises,uve="GITHUB_STEP_SUMMARY";var Nj=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return _j(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[uve];if(!e)throw new Error(`Unable to find environment variable for $${uve}. Check if your runtime environment supports job summaries.`);try{yield Z0t(e,XI.constants.R_OK|XI.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,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return _j(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?twt:ewt)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return _j(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(fve.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:f}=a,d=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),f&&{rowspan:f});return this.wrap(d,l,h)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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 n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},SNr=new Nj;var Rj=N(require("os"),1);var NNr=Rj.default.platform(),RNr=Rj.default.arch();var dve;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(dve||(dve={}));function S1(t){KI("add-mask",{},t)}o(S1,"setSecret");function Ze(t){KI("debug",{},t)}o(Ze,"debug");function ZI(t,e={}){KI("error",vj(e),t instanceof Error?t.toString():t)}o(ZI,"error");function gi(t,e={}){KI("warning",vj(e),t instanceof Error?t.toString():t)}o(gi,"warning");function ct(t){process.stdout.write(t+hve.EOL)}o(ct,"info");var pve=N(require("os"),1);function dm(){return 8*1024*1024}o(dm,"getUploadChunkSize");function B1(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(B1,"getRuntimeToken");function mve(){let t=process.env.ACTIONS_RESULTS_URL;if(!t)throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable");return new URL(t).origin}o(mve,"getResultsServiceUrl");function eE(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(eE,"isGhes");function Ave(){let t=process.env.GITHUB_WORKSPACE;if(!t)throw new Error("Unable to get the GITHUB_WORKSPACE env variable");return t}o(Ave,"getGitHubWorkspaceDir");function gve(){let t=pve.default.cpus().length,e=32;if(t>4){let n=16*t;e=n>300?300:n}let r=process.env.ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY;if(r){let n=parseInt(r);if(isNaN(n)||n<1)throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable");return nDate.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(e.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let i="Z";if(e.nanos>0){let s=(e.nanos+1e9).toString().substring(1);s.substring(3)==="000000"?i="."+s.substring(0,3)+"Z":s.substring(6)==="000"?i="."+s.substring(0,6)+"Z":i="."+s+"Z"}return new Date(n).toISOString().replace(".000Z",i)}internalJsonRead(e,r,n){if(typeof e!="string")throw new Error("Unable to parse Timestamp from JSON "+(0,Zve.typeofJsonValue)(e)+".");let i=e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!i)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let s=Date.parse(i[1]+"-"+i[2]+"-"+i[3]+"T"+i[4]+":"+i[5]+":"+i[6]+(i[8]?i[8]:"Z"));if(Number.isNaN(s))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(sDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");return n||(n=this.create()),n.seconds=lE.PbLong.from(s/1e3).toString(),n.nanos=0,i[7]&&(n.nanos=parseInt("1"+i[7]+"0".repeat(9-i[7].length))-1e9),n}create(e){let r={seconds:"0",nanos:0};return globalThis.Object.defineProperty(r,Xve.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Kve.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posvo,"T")},{no:5,name:"version",kind:"scalar",T:5},{no:6,name:"mime_type",kind:"message",T:o(()=>wn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};return globalThis.Object.defineProperty(r,ba.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ca.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.poswn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};return globalThis.Object.defineProperty(r,ba.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ca.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.poswn,"T")},{no:4,name:"id_filter",kind:"message",T:o(()=>uE,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:""};return globalThis.Object.defineProperty(r,ba.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ca.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posk$,"T")}])}create(e){let r={artifacts:[]};return globalThis.Object.defineProperty(r,ba.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ca.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posvo,"T")},{no:7,name:"digest",kind:"message",T:o(()=>wn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};return globalThis.Object.defineProperty(r,ba.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ca.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos$$.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeArtifact(e){let r=W$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",r).then(i=>J$.fromJson(i,{ignoreUnknownFields:!0}))}ListArtifacts(e){let r=Y$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",r).then(i=>K$.fromJson(i,{ignoreUnknownFields:!0}))}GetSignedArtifactURL(e){let r=X$.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",r).then(i=>Z$.fromJson(i,{ignoreUnknownFields:!0}))}DeleteArtifact(e){let r=eW.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",r).then(i=>tW.fromJson(i,{ignoreUnknownFields:!0}))}};function fxe(t){if(!t)return;let e=uSt();e&&e"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],[` +`," Line feed \\n"]]),dxe=new Map([...rW,["\\"," Backslash \\"],["/"," Forward slash /"]]);function hxe(t){if(!t)throw new Error("Provided artifact name input during validation is empty");for(let[e,r]of dxe)if(t.includes(e))throw new Error(`The artifact name is not valid: ${t}. Contains the following character: ${r} -Invalid characters include: ${Array.from(CBe.values()).toString()} +Invalid characters include: ${Array.from(dxe.values()).toString()} -These characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`);ct("Artifact name is valid!")}o(bBe,"validateArtifactName");function j6(t){if(!t)throw new Error("Provided file path input during validation is empty");for(let[e,r]of $6)if(t.includes(e))throw new Error(`The path for one of the files in artifact is not valid: ${t}. Contains the following character: ${r} +These characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`);ct("Artifact name is valid!")}o(hxe,"validateArtifactName");function nW(t){if(!t)throw new Error("Provided file path input during validation is empty");for(let[e,r]of rW)if(t.includes(e))throw new Error(`The path for one of the files in artifact is not valid: ${t}. Contains the following character: ${r} -Invalid characters include: ${Array.from($6.values()).toString()} +Invalid characters include: ${Array.from(rW.values()).toString()} The following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems. - `)}o(j6,"validateFilePath");var BBe=N(SBe(),1);function Pl(){return`@actions/artifact-${BBe.version}`}o(Pl,"getUserAgentString");var eE=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}},fc=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}},od=class extends Error{static{o(this,"ArtifactNotFoundError")}constructor(e="Artifact not found"){super(e),this.name="ArtifactNotFoundError"}},Pf=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}},ad=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"}};ad.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var iA=class extends Error{static{o(this,"UsageError")}constructor(){super(`Artifact storage quota has been hit. Unable to upload any new artifacts. -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"}};iA.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var kQ=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function Ol(){let t=WD(),e=VD(t);if(!e.scp)throw kQ;let r=e.scp.split(" ");if(r.length===0)throw kQ;for(let n of r){let i=n.split(":");if(i?.[0]!=="Actions.Results")continue;if(i.length!==3)throw kQ;let s={workflowRunBackendId:i[1],workflowJobRunBackendId:i[2]};return Ze(`Workflow Run Backend ID: ${s.workflowRunBackendId}`),Ze(`Workflow Job Run Backend ID: ${s.workflowJobRunBackendId}`),s}throw kQ}o(Ol,"getBackendIdsFromToken");function xBe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(jD(r),jD(encodeURIComponent(r)))}catch(e){Ze(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(xBe,"maskSigUrl");function vBe(t){if(typeof t!="object"||t===null){Ze("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&xBe(t.signed_upload_url),"signed_url"in t&&typeof t.signed_url=="string"&&xBe(t.signed_url)}o(vBe,"maskSecretUrls");var PQ=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},W6=class{static{o(this,"ArtifactHttpClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=WD();this.baseUrl=wSe(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Uo(e,[new ef(s)])}request(e,r,n,i){return PQ(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;Ze(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>PQ(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return PQ(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Hn.BadGateway,Hn.GatewayTimeout,Hn.InternalServerError,Hn.ServiceUnavailable,Hn.TooManyRequests].includes(e):!1}sleep(e){return PQ(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),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function Ll(t){let e=new W6(Pl(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new QQ(e)}o(Ll,"internalArtifactTwirpClient");var rE=N(require("fs"),1);var tE=require("path");function NBe(t){if(!rE.existsSync(t))throw new Error(`The provided rootDirectory ${t} does not exist`);if(!rE.statSync(t).isDirectory())throw new Error(`The provided rootDirectory ${t} is not a valid directory`);ct("Root directory input is valid!")}o(NBe,"validateRootDirectory");function _Be(t,e){let r=[];e=(0,tE.normalize)(e),e=(0,tE.resolve)(e);for(let n of t){let i=rE.lstatSync(n,{throwIfNoEntry:!1});if(!i)throw new Error(`File ${n} does not exist`);if(i.isDirectory()){let s=n.replace(e,"");j6(s),r.push({sourcePath:null,destinationPath:s,stats:i})}else{if(n=(0,tE.normalize)(n),n=(0,tE.resolve)(n),!n.startsWith(e))throw new Error(`The rootDirectory: ${e} is not a parent directory of the file: ${n}`);let s=n.replace(e,"");j6(s),r.push({sourcePath:n,destinationPath:s,stats:i})}}return r}o(_Be,"getUploadZipSpecification");var RBe=N(require("crypto"),1),DBe=N(require("stream"),1);var TBe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function QBe(t,e,r){return TBe(this,void 0,void 0,function*(){let n=0,i=Date.now(),s=new AbortController,a=o(E=>TBe(this,void 0,void 0,function*(){return new Promise((y,C)=>{let I=setInterval(()=>{Date.now()-i>E&&C(new Error("Upload progress stalled."))},E);s.signal.addEventListener("abort",()=>{clearInterval(I),y()})})}),"chunkTimer"),c=BSe(),l=Zp(),d=new ic(t).getBlockBlobClient();Ze(`Uploading artifact to blob storage with maxConcurrency: ${c}, bufferSize: ${l}, contentType: ${r}`);let h={blobHTTPHeaders:{blobContentType:r},onProgress:o(E=>{ct(`Uploaded bytes ${E.loadedBytes}`),n=E.loadedBytes,i=Date.now()},"uploadCallback"),abortSignal:s.signal},p,g=new DBe.PassThrough,m=RBe.createHash("sha256");e.pipe(g),e.pipe(m).setEncoding("hex"),ct("Beginning upload of artifact content to blob storage");try{yield Promise.race([d.uploadStream(g,l,c,h),a(xSe())])}catch(E){throw ad.isNetworkErrorCode(E?.code)?new ad(E?.code):E}finally{s.abort()}return ct("Finished uploading artifact content to blob storage!"),m.end(),p=m.read(),ct(`SHA256 digest of uploaded artifact is ${p}`),n===0&&mi("No data was uploaded to blob storage. Reported upload byte count is 0."),{uploadSize:n,sha256Hash:p}})}o(QBe,"uploadToBlobStorage");var Lke=require("fs/promises"),Fke=N(Qke(),1);var kke=N(require("stream"),1),Vk=N(require("fs"),1),Pke=require("fs/promises");var fOt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},aB=class extends kke.Transform{static{o(this,"WaterMarkedUploadStream")}constructor(e){super({highWaterMark:e})}_transform(e,r,n){n(null,e)}};function Oke(t){return fOt(this,void 0,void 0,function*(){Ze(`Creating raw file upload stream for: ${t}`);let e=Zp(),r=new aB(e),n=t;(yield Vk.promises.lstat(t)).isSymbolicLink()&&(n=yield(0,Pke.realpath)(t));let s=Vk.createReadStream(n,{highWaterMark:e});return s.on("error",a=>{Nw("An error has occurred while reading the file for upload"),Nw(String(a)),r.destroy(new Error("An error has occurred during file read for the artifact"))}),s.pipe(r),r})}o(Oke,"createRawFileUploadStream");var hOt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},pOt=6;function Mke(t){return hOt(this,arguments,void 0,function*(e,r=pOt){Ze(`Creating Artifact archive with compressionLevel: ${r}`);let n=Fke.default.create("zip",{highWaterMark:Zp(),zlib:{level:r}});n.on("error",AOt),n.on("warning",mOt),n.on("finish",gOt),n.on("end",yOt);for(let a of e)if(a.sourcePath!==null){let c=a.sourcePath;a.stats.isSymbolicLink()&&(c=yield(0,Lke.realpath)(a.sourcePath)),n.file(c,{name:a.destinationPath})}else n.append("",{name:a.destinationPath});let i=Zp(),s=new aB(i);return Ze(`Zip write high watermark value ${s.writableHighWaterMark}`),Ze(`Zip read high watermark value ${s.readableHighWaterMark}`),n.pipe(s),n.finalize(),s})}o(Mke,"createZipUploadStream");var AOt=o(t=>{throw Nw("An error has occurred while creating the zip file for upload"),ct(t),new Error("An error has occurred during zip creation for the artifact")},"zipErrorCallback"),mOt=o(t=>{t.code==="ENOENT"?(mi("ENOENT warning during artifact zip creation. No such file or directory"),ct(t)):(mi(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),ct(t))},"zipWarningCallback"),gOt=o(()=>{Ze("Zip stream for upload has finished.")},"zipFinishCallback"),yOt=o(()=>{Ze("Zip stream for upload has ended.")},"zipEndCallback");var Uke=N(require("path"),1);var EOt={".txt":"text/plain",".html":"text/html",".htm":"text/html",".css":"text/css",".csv":"text/csv",".xml":"text/xml",".md":"text/markdown",".js":"application/javascript",".mjs":"application/javascript",".json":"application/json",".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".svg":"image/svg+xml",".webp":"image/webp",".ico":"image/x-icon",".bmp":"image/bmp",".tiff":"image/tiff",".tif":"image/tiff",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".flac":"audio/flac",".mp4":"video/mp4",".webm":"video/webm",".avi":"video/x-msvideo",".mov":"video/quicktime",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".zip":"application/zip",".tar":"application/x-tar",".gz":"application/gzip",".rar":"application/vnd.rar",".7z":"application/x-7z-compressed",".wasm":"application/wasm",".yaml":"application/x-yaml",".yml":"application/x-yaml",".woff":"font/woff",".woff2":"font/woff2",".ttf":"font/ttf",".otf":"font/otf",".eot":"application/vnd.ms-fontobject"};function qke(t){let e=Uke.extname(t).toLowerCase();return EOt[e]||"application/octet-stream"}o(qke,"getMimeType");var COt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Vke(t,e,r,n){return COt(this,void 0,void 0,function*(){let i=`${t}.zip`;if(n?.skipArchive){if(e.length===0)throw new eE([]);if(e.length>1)throw new Error("skipArchive option is only supported when uploading a single file");if(!Gke.existsSync(e[0]))throw new eE(e);i=Hke.basename(e[0]),t=i}bBe(t),NBe(r);let s=[];if(!n?.skipArchive&&(s=_Be(e,r),s.length===0))throw new eE(s.flatMap(y=>y.sourcePath?[y.sourcePath]:[]));let a=qke(i),c=Ol(),l=Ll(),u={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,mimeType:bn.create({value:a}),version:7},d=EBe(n?.retentionDays);d&&(u.expiresAt=d);let f=yield l.CreateArtifact(u);if(!f.ok)throw new fc("CreateArtifact: response from backend was not ok");let h;n?.skipArchive?h=yield Oke(e[0]):h=yield Mke(s,n?.compressionLevel),ct(`Uploading artifact: ${i}`);let p=yield QBe(f.signedUploadUrl,h,a),g={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,size:p.uploadSize?p.uploadSize.toString():"0"};p.sha256Hash&&(g.hash=bn.create({value:`sha256:${p.sha256Hash}`})),ct("Finalizing artifact upload");let m=yield l.FinalizeArtifact(g);if(!m.ok)throw new fc("FinalizeArtifact: response from backend was not ok");let E=BigInt(m.artifactId);return ct(`Artifact ${t} successfully finalized. Artifact ID ${E}`),{size:p.uploadSize,digest:p.sha256Hash,id:Number(E)}})}o(Vke,"uploadArtifact");var WY=N(require("fs/promises"),1),FPe=N(require("fs"),1),MPe=N(require("crypto"),1),UPe=N(require("stream"),1),Zk=N(require("path"),1);var zk=require("fs"),zke=require("os");var YE=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,zk.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,zk.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${zke.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=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"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 GY=N(Yke(),1),Kke=N(Xd(),1);var QOt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Xke(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(Xke,"getAuthString");function Zke(t){return new GY.HttpClient().getAgent(t)}o(Zke,"getProxyAgent");function kOt(t){return new GY.HttpClient().getAgentDispatcher(t)}o(kOt,"getProxyAgentDispatcher");function ePe(t){let e=kOt(t);return o((n,i)=>QOt(this,void 0,void 0,function*(){return(0,Kke.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(ePe,"getProxyFetch");function tPe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(tPe,"getApiBaseUrl");var o1r=new YE,HY=tPe(),DA={baseUrl:HY,request:{agent:Zke(HY),fetch:ePe(HY)}},rPe=Py.plugin(bw,Iw).defaults(DA);function nPe(t,e){let r=Object.assign({},e||{}),n=Xke(t,r);return n&&(r.auth=n),r}o(nPe,"getOctokitOptions");var u1r=new YE;function rh(t,e,...r){let n=rPe.plugin(...r);return new n(nPe(t,e))}o(rh,"getOctokit");var qPe=N(LPe(),1);var ZE=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},GPe=o(t=>{let e=new URL(t);return e.search="",e.toString()},"scrubQueryParameters");function lLt(t){return ZE(this,void 0,void 0,function*(){try{return yield WY.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}o(lLt,"exists");function HPe(t,e,r){return ZE(this,void 0,void 0,function*(){let n=0;for(;n<5;)try{return yield uLt(t,e,{skipDecompress:r})}catch(i){n++,Ze(`Failed to download artifact after ${n} retries due to ${i.message}. Retrying in 5 seconds...`),yield new Promise(s=>setTimeout(s,5e3))}throw new Error(`Artifact download failed after ${n} retries.`)})}o(HPe,"streamExtract");function uLt(t,e){return ZE(this,arguments,void 0,function*(r,n,i={}){let{timeout:s=30*1e3,skipDecompress:a=!1}=i,l=yield new Uo(Pl()).get(r);if(l.message.statusCode!==200)throw new Error(`Unexpected HTTP response from blob storage: ${l.message.statusCode} ${l.message.statusMessage}`);let u=l.message.headers["content-type"]||"",d=u.split(";",1)[0].trim().toLowerCase(),h=new URL(r).pathname.toLowerCase().endsWith(".zip"),p=d==="application/zip"||d==="application/x-zip-compressed"||d==="application/zip-compressed"||h,g=l.message.headers["content-disposition"]||"",m="artifact",E=g.match(/filename\*\s*=\s*UTF-8''([^;\r\n]*)/i),y=g.match(/(?{let v=setTimeout(o(()=>{let J=new Error(`Blob storage chunk did not respond in ${s}ms`);l.message.destroy(J),Q(J)},"timerFn"),s),$=o(J=>{Ze(`response.message: Artifact download failed: ${J.message}`),clearTimeout(v),Q(J)},"onError"),D=MPe.createHash("sha256").setEncoding("hex"),H=new UPe.PassThrough().on("data",()=>{v.refresh()}).on("error",$);l.message.pipe(H),H.pipe(D);let V=o(()=>{clearTimeout(v),D&&(D.end(),I=D.read(),ct(`SHA256 digest of downloaded artifact is ${I}`)),B({sha256Digest:`sha256:${I}`})},"onClose");if(p&&!a)H.pipe(qPe.default.Extract({path:n})).on("close",V).on("error",$);else{let J=Zk.join(n,m),ee=FPe.createWriteStream(J);ct(`Downloading raw file (non-zip) to: ${J}`),H.pipe(ee).on("close",V).on("error",$)}})})}o(uLt,"streamExtractExternal");function VPe(t,e,r,n,i){return ZE(this,void 0,void 0,function*(){let s=yield $Pe(i?.path),a=rh(n),c=!1;ct(`Downloading artifact '${t}' from '${e}/${r}'`);let{headers:l,status:u}=yield a.rest.actions.downloadArtifact({owner:e,repo:r,artifact_id:t,archive_format:"zip",request:{redirect:"manual"}});if(u!==302)throw new Error(`Unable to download artifact. Unexpected status: ${u}`);let{location:d}=l;if(!d)throw new Error("Unable to redirect to artifact download url");ct(`Redirecting to blob download url: ${GPe(d)}`);try{ct(`Starting download of artifact to: ${s}`);let f=yield HPe(d,s,i?.skipDecompress);ct("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==f.sha256Digest&&(c=!0,Ze(`Computed digest: ${f.sha256Digest}`),Ze(`Expected digest: ${i.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:s,digestMismatch:c}})}o(VPe,"downloadArtifactPublic");function zPe(t,e){return ZE(this,void 0,void 0,function*(){let r=yield $Pe(e?.path),n=Ll(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:a}=Ol(),c={workflowRunBackendId:s,workflowJobRunBackendId:a,idFilter:$y.create({value:t.toString()})},{artifacts:l}=yield n.ListArtifacts(c);if(l.length===0)throw new od(`No artifacts found for ID: ${t} -Are you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`);l.length>1&&mi("Multiple artifacts found, defaulting to first.");let u={workflowRunBackendId:l[0].workflowRunBackendId,workflowJobRunBackendId:l[0].workflowJobRunBackendId,name:l[0].name},{signedUrl:d}=yield n.GetSignedArtifactURL(u);ct(`Redirecting to blob download url: ${GPe(d)}`);try{ct(`Starting download of artifact to: ${r}`);let f=yield HPe(d,r,e?.skipDecompress);ct("Artifact download completed successfully."),e?.expectedHash&&e?.expectedHash!==f.sha256Digest&&(i=!0,Ze(`Computed digest: ${f.sha256Digest}`),Ze(`Expected digest: ${e.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:r,digestMismatch:i}})}o(zPe,"downloadArtifactInternal");function $Pe(){return ZE(this,arguments,void 0,function*(t=SSe()){return(yield lLt(t))?Ze(`Artifact destination folder already exists: ${t}`):(Ze(`Artifact destination folder does not exist, creating: ${t}`),yield WY.default.mkdir(t,{recursive:!0})),t})}o($Pe,"resolveOrCreateDirectory");var dLt=5,fLt=[400,401,403,404,422];function eC(t,e=dLt,r=fLt){var n;if(e<=0)return[{enabled:!1},t.request];let i={enabled:!0};r.length>0&&(i.doNotRetry=r);let s=Object.assign(Object.assign({},t.request),{retries:e});return Ze(`GitHub client configured with: (retries: ${s.retries}, retry-exempt-status-code: ${(n=i.doNotRetry)!==null&&n!==void 0?n:"octokit default: [400, 401, 403, 404, 422]"})`),[i,s]}o(eC,"getRetryOptions");var jPe="6.0.0";function PA(t){t.hook.wrap("request",(e,r)=>{t.log.debug("request",r);let n=Date.now(),i=t.request.endpoint.parse(r),s=i.url.replace(r.baseUrl,"");return e(r).then(a=>{let c=a.headers["x-github-request-id"];return t.log.info(`${i.method} ${s} - ${a.status} with id ${c} in ${Date.now()-n}ms`),a}).catch(a=>{let c=a.response?.headers["x-github-request-id"]||"UNKNOWN";throw t.log.error(`${i.method} ${s} - ${a.status} with id ${c} in ${Date.now()-n}ms`),a})})}o(PA,"requestLog");PA.VERSION=jPe;var YPe=N(WPe(),1);var hLt="0.0.0-development";function pLt(t){return t.request!==void 0}o(pLt,"isRequestError");async function JPe(t,e,r,n){if(!pLt(r)||!r?.request.request)throw r;if(r.status>=400&&!t.doNotRetry.includes(r.status)){let i=n.request.retries!=null?n.request.retries:t.retries,s=Math.pow((n.request.retryCount||0)+1,2);throw e.retry.retryRequest(r,i,s)}throw r}o(JPe,"errorRequest");async function ALt(t,e,r,n){let i=new YPe.default;return i.on("failed",function(s,a){let c=~~s.request.request?.retries,l=~~s.request.request?.retryAfter;if(n.request.retryCount=a.retryCount+1,c>a.retryCount)return l*t.retryAfterBaseValue}),i.schedule(mLt.bind(null,t,e,r),n)}o(ALt,"wrapRequest");async function mLt(t,e,r,n){let i=await r(n);if(i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)){let s=new rd(i.data.errors[0].message,500,{request:n,response:i});return JPe(t,e,s,n)}return i}o(mLt,"requestWithGraphqlErrorHandling");function OA(t,e){let r=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},e.retry),n={retry:{retryRequest:o((i,s,a)=>(i.request.request=Object.assign({},i.request.request,{retries:s,retryAfter:a}),i),"retryRequest")}};return r.enabled&&(t.hook.error("request",JPe.bind(null,r,n)),t.hook.wrap("request",ALt.bind(null,r,n))),n}o(OA,"retry");OA.VERSION=hLt;var KPe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function eP(t,e,r,n,i){return KPe(this,void 0,void 0,function*(){var s;let[a,c]=eC(DA),l={log:void 0,userAgent:Pl(),previews:void 0,retry:a,request:c},d=yield rh(i,l,OA,PA).request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:r,repo:n,run_id:e,name:t});if(d.status!==200)throw new fc(`Invalid response from GitHub API: ${d.status} (${(s=d?.headers)===null||s===void 0?void 0:s["x-github-request-id"]})`);if(d.data.artifacts.length===0)throw new od(`Artifact not found for name: ${t} + `)}o(nW,"validateFilePath");var gxe=N(Axe(),1);function ql(){return`@actions/artifact-${gxe.version}`}o(ql,"getUserAgentString");var yE=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}},gc=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}},mf=class extends Error{static{o(this,"ArtifactNotFoundError")}constructor(e="Artifact not found"){super(e),this.name="ArtifactNotFoundError"}},zd=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}},Af=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"}};Af.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var gm=class extends Error{static{o(this,"UsageError")}constructor(){super(`Artifact storage quota has been hit. Unable to upload any new artifacts. +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"}};gm.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var fQ=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function Gl(){let t=B1(),e=b1(t);if(!e.scp)throw fQ;let r=e.scp.split(" ");if(r.length===0)throw fQ;for(let n of r){let i=n.split(":");if(i?.[0]!=="Actions.Results")continue;if(i.length!==3)throw fQ;let s={workflowRunBackendId:i[1],workflowJobRunBackendId:i[2]};return Ze(`Workflow Run Backend ID: ${s.workflowRunBackendId}`),Ze(`Workflow Job Run Backend ID: ${s.workflowJobRunBackendId}`),s}throw fQ}o(Gl,"getBackendIdsFromToken");function yxe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(S1(r),S1(encodeURIComponent(r)))}catch(e){Ze(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(yxe,"maskSigUrl");function Exe(t){if(typeof t!="object"||t===null){Ze("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&yxe(t.signed_upload_url),"signed_url"in t&&typeof t.signed_url=="string"&&yxe(t.signed_url)}o(Exe,"maskSecretUrls");var dQ=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},iW=class{static{o(this,"ArtifactHttpClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=B1();this.baseUrl=mve(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Ho(e,[new fd(s)])}request(e,r,n,i){return dQ(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;Ze(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>dQ(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return dQ(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Vn.BadGateway,Vn.GatewayTimeout,Vn.InternalServerError,Vn.ServiceUnavailable,Vn.TooManyRequests].includes(e):!1}sleep(e){return dQ(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),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function Hl(t){let e=new iW(ql(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new uQ(e)}o(Hl,"internalArtifactTwirpClient");var CE=N(require("fs"),1);var EE=require("path");function Cxe(t){if(!CE.existsSync(t))throw new Error(`The provided rootDirectory ${t} does not exist`);if(!CE.statSync(t).isDirectory())throw new Error(`The provided rootDirectory ${t} is not a valid directory`);ct("Root directory input is valid!")}o(Cxe,"validateRootDirectory");function bxe(t,e){let r=[];e=(0,EE.normalize)(e),e=(0,EE.resolve)(e);for(let n of t){let i=CE.lstatSync(n,{throwIfNoEntry:!1});if(!i)throw new Error(`File ${n} does not exist`);if(i.isDirectory()){let s=n.replace(e,"");nW(s),r.push({sourcePath:null,destinationPath:s,stats:i})}else{if(n=(0,EE.normalize)(n),n=(0,EE.resolve)(n),!n.startsWith(e))throw new Error(`The rootDirectory: ${e} is not a parent directory of the file: ${n}`);let s=n.replace(e,"");nW(s),r.push({sourcePath:n,destinationPath:s,stats:i})}}return r}o(bxe,"getUploadZipSpecification");var Ixe=N(require("crypto"),1),Sxe=N(require("stream"),1);var wxe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function Bxe(t,e,r){return wxe(this,void 0,void 0,function*(){let n=0,i=Date.now(),s=new AbortController,a=o(E=>wxe(this,void 0,void 0,function*(){return new Promise((y,C)=>{let w=setInterval(()=>{Date.now()-i>E&&C(new Error("Upload progress stalled."))},E);s.signal.addEventListener("abort",()=>{clearInterval(w),y()})})}),"chunkTimer"),c=gve(),l=dm(),f=new lc(t).getBlockBlobClient();Ze(`Uploading artifact to blob storage with maxConcurrency: ${c}, bufferSize: ${l}, contentType: ${r}`);let h={blobHTTPHeaders:{blobContentType:r},onProgress:o(E=>{ct(`Uploaded bytes ${E.loadedBytes}`),n=E.loadedBytes,i=Date.now()},"uploadCallback"),abortSignal:s.signal},p,A=new Sxe.PassThrough,g=Ixe.createHash("sha256");e.pipe(A),e.pipe(g).setEncoding("hex"),ct("Beginning upload of artifact content to blob storage");try{yield Promise.race([f.uploadStream(A,l,c,h),a(yve())])}catch(E){throw Af.isNetworkErrorCode(E?.code)?new Af(E?.code):E}finally{s.abort()}return ct("Finished uploading artifact content to blob storage!"),g.end(),p=g.read(),ct(`SHA256 digest of uploaded artifact is ${p}`),n===0&&gi("No data was uploaded to blob storage. Reported upload byte count is 0."),{uploadSize:n,sha256Hash:p}})}o(Bxe,"uploadToBlobStorage");var NOe=require("fs/promises"),ROe=N(BOe(),1);var vOe=N(require("stream"),1),bP=N(require("fs"),1),xOe=require("fs/promises");var _Mt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},DB=class extends vOe.Transform{static{o(this,"WaterMarkedUploadStream")}constructor(e){super({highWaterMark:e})}_transform(e,r,n){n(null,e)}};function _Oe(t){return _Mt(this,void 0,void 0,function*(){Ze(`Creating raw file upload stream for: ${t}`);let e=dm(),r=new DB(e),n=t;(yield bP.promises.lstat(t)).isSymbolicLink()&&(n=yield(0,xOe.realpath)(t));let s=bP.createReadStream(n,{highWaterMark:e});return s.on("error",a=>{ZI("An error has occurred while reading the file for upload"),ZI(String(a)),r.destroy(new Error("An error has occurred during file read for the artifact"))}),s.pipe(r),r})}o(_Oe,"createRawFileUploadStream");var NMt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},RMt=6;function TOe(t){return NMt(this,arguments,void 0,function*(e,r=RMt){Ze(`Creating Artifact archive with compressionLevel: ${r}`);let n=ROe.default.create("zip",{highWaterMark:dm(),zlib:{level:r}});n.on("error",TMt),n.on("warning",DMt),n.on("finish",QMt),n.on("end",kMt);for(let a of e)if(a.sourcePath!==null){let c=a.sourcePath;a.stats.isSymbolicLink()&&(c=yield(0,NOe.realpath)(a.sourcePath)),n.file(c,{name:a.destinationPath})}else n.append("",{name:a.destinationPath});let i=dm(),s=new DB(i);return Ze(`Zip write high watermark value ${s.writableHighWaterMark}`),Ze(`Zip read high watermark value ${s.readableHighWaterMark}`),n.pipe(s),n.finalize(),s})}o(TOe,"createZipUploadStream");var TMt=o(t=>{throw ZI("An error has occurred while creating the zip file for upload"),ct(t),new Error("An error has occurred during zip creation for the artifact")},"zipErrorCallback"),DMt=o(t=>{t.code==="ENOENT"?(gi("ENOENT warning during artifact zip creation. No such file or directory"),ct(t)):(gi(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),ct(t))},"zipWarningCallback"),QMt=o(()=>{Ze("Zip stream for upload has finished.")},"zipFinishCallback"),kMt=o(()=>{Ze("Zip stream for upload has ended.")},"zipEndCallback");var DOe=N(require("path"),1);var PMt={".txt":"text/plain",".html":"text/html",".htm":"text/html",".css":"text/css",".csv":"text/csv",".xml":"text/xml",".md":"text/markdown",".js":"application/javascript",".mjs":"application/javascript",".json":"application/json",".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".svg":"image/svg+xml",".webp":"image/webp",".ico":"image/x-icon",".bmp":"image/bmp",".tiff":"image/tiff",".tif":"image/tiff",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".flac":"audio/flac",".mp4":"video/mp4",".webm":"video/webm",".avi":"video/x-msvideo",".mov":"video/quicktime",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".zip":"application/zip",".tar":"application/x-tar",".gz":"application/gzip",".rar":"application/vnd.rar",".7z":"application/x-7z-compressed",".wasm":"application/wasm",".yaml":"application/x-yaml",".yml":"application/x-yaml",".woff":"font/woff",".woff2":"font/woff2",".ttf":"font/ttf",".otf":"font/otf",".eot":"application/vnd.ms-fontobject"};function QOe(t){let e=DOe.extname(t).toLowerCase();return PMt[e]||"application/octet-stream"}o(QOe,"getMimeType");var OMt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function OOe(t,e,r,n){return OMt(this,void 0,void 0,function*(){let i=`${t}.zip`;if(n?.skipArchive){if(e.length===0)throw new yE([]);if(e.length>1)throw new Error("skipArchive option is only supported when uploading a single file");if(!kOe.existsSync(e[0]))throw new yE(e);i=POe.basename(e[0]),t=i}hxe(t),Cxe(r);let s=[];if(!n?.skipArchive&&(s=bxe(e,r),s.length===0))throw new yE(s.flatMap(y=>y.sourcePath?[y.sourcePath]:[]));let a=QOe(i),c=Gl(),l=Hl(),u={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,mimeType:wn.create({value:a}),version:7},f=fxe(n?.retentionDays);f&&(u.expiresAt=f);let d=yield l.CreateArtifact(u);if(!d.ok)throw new gc("CreateArtifact: response from backend was not ok");let h;n?.skipArchive?h=yield _Oe(e[0]):h=yield TOe(s,n?.compressionLevel),ct(`Uploading artifact: ${i}`);let p=yield Bxe(d.signedUploadUrl,h,a),A={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,size:p.uploadSize?p.uploadSize.toString():"0"};p.sha256Hash&&(A.hash=wn.create({value:`sha256:${p.sha256Hash}`})),ct("Finalizing artifact upload");let g=yield l.FinalizeArtifact(A);if(!g.ok)throw new gc("FinalizeArtifact: response from backend was not ok");let E=BigInt(g.artifactId);return ct(`Artifact ${t} successfully finalized. Artifact ID ${E}`),{size:p.uploadSize,digest:p.sha256Hash,id:Number(E)}})}o(OOe,"uploadArtifact");var iK=N(require("fs/promises"),1),RLe=N(require("fs"),1),TLe=N(require("crypto"),1),DLe=N(require("stream"),1),RP=N(require("path"),1);var wP=require("fs"),LOe=require("os");var pC=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,wP.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,wP.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${LOe.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=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"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 X7=N(GOe(),1),HOe=N(ld(),1);var JMt=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function VOe(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(VOe,"getAuthString");function zOe(t){return new X7.HttpClient().getAgent(t)}o(zOe,"getProxyAgent");function YMt(t){return new X7.HttpClient().getAgentDispatcher(t)}o(YMt,"getProxyAgentDispatcher");function jOe(t){let e=YMt(t);return o((n,i)=>JMt(this,void 0,void 0,function*(){return(0,HOe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(jOe,"getProxyFetch");function $Oe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o($Oe,"getApiBaseUrl");var tMr=new pC,Z7=$Oe(),zm={baseUrl:Z7,request:{agent:zOe(Z7),fetch:jOe(Z7)}},WOe=Zy.plugin(jI,$I).defaults(zm);function JOe(t,e){let r=Object.assign({},e||{}),n=VOe(t,r);return n&&(r.auth=n),r}o(JOe,"getOctokitOptions");var sMr=new pC;function dh(t,e,...r){let n=WOe.plugin(...r);return new n(JOe(t,e))}o(dh,"getOctokit");var QLe=N(NLe(),1);var gC=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},kLe=o(t=>{let e=new URL(t);return e.search="",e.toString()},"scrubQueryParameters");function BUt(t){return gC(this,void 0,void 0,function*(){try{return yield iK.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}o(BUt,"exists");function PLe(t,e,r){return gC(this,void 0,void 0,function*(){let n=0;for(;n<5;)try{return yield vUt(t,e,{skipDecompress:r})}catch(i){n++,Ze(`Failed to download artifact after ${n} retries due to ${i.message}. Retrying in 5 seconds...`),yield new Promise(s=>setTimeout(s,5e3))}throw new Error(`Artifact download failed after ${n} retries.`)})}o(PLe,"streamExtract");function vUt(t,e){return gC(this,arguments,void 0,function*(r,n,i={}){let{timeout:s=30*1e3,skipDecompress:a=!1}=i,l=yield new Ho(ql()).get(r);if(l.message.statusCode!==200)throw new Error(`Unexpected HTTP response from blob storage: ${l.message.statusCode} ${l.message.statusMessage}`);let u=l.message.headers["content-type"]||"",f=u.split(";",1)[0].trim().toLowerCase(),h=new URL(r).pathname.toLowerCase().endsWith(".zip"),p=f==="application/zip"||f==="application/x-zip-compressed"||f==="application/zip-compressed"||h,A=l.message.headers["content-disposition"]||"",g="artifact",E=A.match(/filename\*\s*=\s*UTF-8''([^;\r\n]*)/i),y=A.match(/(?{let x=setTimeout(o(()=>{let W=new Error(`Blob storage chunk did not respond in ${s}ms`);l.message.destroy(W),Q(W)},"timerFn"),s),j=o(W=>{Ze(`response.message: Artifact download failed: ${W.message}`),clearTimeout(x),Q(W)},"onError"),T=TLe.createHash("sha256").setEncoding("hex"),q=new DLe.PassThrough().on("data",()=>{x.refresh()}).on("error",j);l.message.pipe(q),q.pipe(T);let H=o(()=>{clearTimeout(x),T&&(T.end(),w=T.read(),ct(`SHA256 digest of downloaded artifact is ${w}`)),S({sha256Digest:`sha256:${w}`})},"onClose");if(p&&!a)q.pipe(QLe.default.Extract({path:n})).on("close",H).on("error",j);else{let W=RP.join(n,g),ee=RLe.createWriteStream(W);ct(`Downloading raw file (non-zip) to: ${W}`),q.pipe(ee).on("close",H).on("error",j)}})})}o(vUt,"streamExtractExternal");function OLe(t,e,r,n,i){return gC(this,void 0,void 0,function*(){let s=yield FLe(i?.path),a=dh(n),c=!1;ct(`Downloading artifact '${t}' from '${e}/${r}'`);let{headers:l,status:u}=yield a.rest.actions.downloadArtifact({owner:e,repo:r,artifact_id:t,archive_format:"zip",request:{redirect:"manual"}});if(u!==302)throw new Error(`Unable to download artifact. Unexpected status: ${u}`);let{location:f}=l;if(!f)throw new Error("Unable to redirect to artifact download url");ct(`Redirecting to blob download url: ${kLe(f)}`);try{ct(`Starting download of artifact to: ${s}`);let d=yield PLe(f,s,i?.skipDecompress);ct("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==d.sha256Digest&&(c=!0,Ze(`Computed digest: ${d.sha256Digest}`),Ze(`Expected digest: ${i.expectedHash}`))}catch(d){throw new Error(`Unable to download and extract artifact: ${d.message}`)}return{downloadPath:s,digestMismatch:c}})}o(OLe,"downloadArtifactPublic");function LLe(t,e){return gC(this,void 0,void 0,function*(){let r=yield FLe(e?.path),n=Hl(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:a}=Gl(),c={workflowRunBackendId:s,workflowJobRunBackendId:a,idFilter:uE.create({value:t.toString()})},{artifacts:l}=yield n.ListArtifacts(c);if(l.length===0)throw new mf(`No artifacts found for ID: ${t} +Are you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`);l.length>1&&gi("Multiple artifacts found, defaulting to first.");let u={workflowRunBackendId:l[0].workflowRunBackendId,workflowJobRunBackendId:l[0].workflowJobRunBackendId,name:l[0].name},{signedUrl:f}=yield n.GetSignedArtifactURL(u);ct(`Redirecting to blob download url: ${kLe(f)}`);try{ct(`Starting download of artifact to: ${r}`);let d=yield PLe(f,r,e?.skipDecompress);ct("Artifact download completed successfully."),e?.expectedHash&&e?.expectedHash!==d.sha256Digest&&(i=!0,Ze(`Computed digest: ${d.sha256Digest}`),Ze(`Expected digest: ${e.expectedHash}`))}catch(d){throw new Error(`Unable to download and extract artifact: ${d.message}`)}return{downloadPath:r,digestMismatch:i}})}o(LLe,"downloadArtifactInternal");function FLe(){return gC(this,arguments,void 0,function*(t=Ave()){return(yield BUt(t))?Ze(`Artifact destination folder already exists: ${t}`):(Ze(`Artifact destination folder does not exist, creating: ${t}`),yield iK.default.mkdir(t,{recursive:!0})),t})}o(FLe,"resolveOrCreateDirectory");var xUt=5,_Ut=[400,401,403,404,422];function yC(t,e=xUt,r=_Ut){var n;if(e<=0)return[{enabled:!1},t.request];let i={enabled:!0};r.length>0&&(i.doNotRetry=r);let s=Object.assign(Object.assign({},t.request),{retries:e});return Ze(`GitHub client configured with: (retries: ${s.retries}, retry-exempt-status-code: ${(n=i.doNotRetry)!==null&&n!==void 0?n:"octokit default: [400, 401, 403, 404, 422]"})`),[i,s]}o(yC,"getRetryOptions");var MLe="6.0.0";function Wm(t){t.hook.wrap("request",(e,r)=>{t.log.debug("request",r);let n=Date.now(),i=t.request.endpoint.parse(r),s=i.url.replace(r.baseUrl,"");return e(r).then(a=>{let c=a.headers["x-github-request-id"];return t.log.info(`${i.method} ${s} - ${a.status} with id ${c} in ${Date.now()-n}ms`),a}).catch(a=>{let c=a.response?.headers["x-github-request-id"]||"UNKNOWN";throw t.log.error(`${i.method} ${s} - ${a.status} with id ${c} in ${Date.now()-n}ms`),a})})}o(Wm,"requestLog");Wm.VERSION=MLe;var GLe=N(ULe(),1);var NUt="0.0.0-development";function RUt(t){return t.request!==void 0}o(RUt,"isRequestError");async function qLe(t,e,r,n){if(!RUt(r)||!r?.request.request)throw r;if(r.status>=400&&!t.doNotRetry.includes(r.status)){let i=n.request.retries!=null?n.request.retries:t.retries,s=Math.pow((n.request.retryCount||0)+1,2);throw e.retry.retryRequest(r,i,s)}throw r}o(qLe,"errorRequest");async function TUt(t,e,r,n){let i=new GLe.default;return i.on("failed",function(s,a){let c=~~s.request.request?.retries,l=~~s.request.request?.retryAfter;if(n.request.retryCount=a.retryCount+1,c>a.retryCount)return l*t.retryAfterBaseValue}),i.schedule(DUt.bind(null,t,e,r),n)}o(TUt,"wrapRequest");async function DUt(t,e,r,n){let i=await r(n);if(i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)){let s=new ff(i.data.errors[0].message,500,{request:n,response:i});return qLe(t,e,s,n)}return i}o(DUt,"requestWithGraphqlErrorHandling");function Jm(t,e){let r=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},e.retry),n={retry:{retryRequest:o((i,s,a)=>(i.request.request=Object.assign({},i.request.request,{retries:s,retryAfter:a}),i),"retryRequest")}};return r.enabled&&(t.hook.error("request",qLe.bind(null,r,n)),t.hook.wrap("request",TUt.bind(null,r,n))),n}o(Jm,"retry");Jm.VERSION=NUt;var HLe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function TP(t,e,r,n,i){return HLe(this,void 0,void 0,function*(){var s;let[a,c]=yC(zm),l={log:void 0,userAgent:ql(),previews:void 0,retry:a,request:c},f=yield dh(i,l,Jm,Wm).request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:r,repo:n,run_id:e,name:t});if(f.status!==200)throw new gc(`Invalid response from GitHub API: ${f.status} (${(s=f?.headers)===null||s===void 0?void 0:s["x-github-request-id"]})`);if(f.data.artifacts.length===0)throw new mf(`Artifact not found for name: ${t} Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. - For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);let f=d.data.artifacts[0];return d.data.artifacts.length>1&&(f=d.data.artifacts.sort((h,p)=>p.id-h.id)[0],Ze(`More than one artifact found for a single name, returning newest (id: ${f.id})`)),{artifact:{name:f.name,id:f.id,size:f.size_in_bytes,createdAt:f.created_at?new Date(f.created_at):void 0,digest:f.digest}}})}o(eP,"getArtifactPublic");function XPe(t){return KPe(this,void 0,void 0,function*(){var e;let r=Ll(),{workflowRunBackendId:n,workflowJobRunBackendId:i}=Ol(),s={workflowRunBackendId:n,workflowJobRunBackendId:i,nameFilter:bn.create({value:t})},a=yield r.ListArtifacts(s);if(a.artifacts.length===0)throw new od(`Artifact not found for name: ${t} + For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);let d=f.data.artifacts[0];return f.data.artifacts.length>1&&(d=f.data.artifacts.sort((h,p)=>p.id-h.id)[0],Ze(`More than one artifact found for a single name, returning newest (id: ${d.id})`)),{artifact:{name:d.name,id:d.id,size:d.size_in_bytes,createdAt:d.created_at?new Date(d.created_at):void 0,digest:d.digest}}})}o(TP,"getArtifactPublic");function VLe(t){return HLe(this,void 0,void 0,function*(){var e;let r=Hl(),{workflowRunBackendId:n,workflowJobRunBackendId:i}=Gl(),s={workflowRunBackendId:n,workflowJobRunBackendId:i,nameFilter:wn.create({value:t})},a=yield r.ListArtifacts(s);if(a.artifacts.length===0)throw new mf(`Artifact not found for name: ${t} Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. - For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);let c=a.artifacts[0];return a.artifacts.length>1&&(c=a.artifacts.sort((l,u)=>Number(u.databaseId)-Number(l.databaseId))[0],Ze(`More than one artifact found for a single name, returning newest (id: ${c.databaseId})`)),{artifact:{name:c.name,id:Number(c.databaseId),size:Number(c.size),createdAt:c.createdAt?So.toDate(c.createdAt):void 0,digest:(e=c.digest)===null||e===void 0?void 0:e.value}}})}o(XPe,"getArtifactInternal");var ZPe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function eOe(t,e,r,n,i){return ZPe(this,void 0,void 0,function*(){var s;let[a,c]=eC(DA),l={log:void 0,userAgent:Pl(),previews:void 0,retry:a,request:c},u=rh(i,l,OA,PA),d=yield eP(t,e,r,n,i),f=yield u.rest.actions.deleteArtifact({owner:r,repo:n,artifact_id:d.artifact.id});if(f.status!==204)throw new fc(`Invalid response from GitHub API: ${f.status} (${(s=f?.headers)===null||s===void 0?void 0:s["x-github-request-id"]})`);return{id:d.artifact.id}})}o(eOe,"deleteArtifactPublic");function tOe(t){return ZPe(this,void 0,void 0,function*(){let e=Ll(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=Ol(),i={workflowRunBackendId:r,workflowJobRunBackendId:n,nameFilter:bn.create({value:t})},s=yield e.ListArtifacts(i);if(s.artifacts.length===0)throw new od(`Artifact not found for name: ${t}`);let a=s.artifacts[0];s.artifacts.length>1&&(a=s.artifacts.sort((u,d)=>Number(d.databaseId)-Number(u.databaseId))[0],Ze(`More than one artifact found for a single name, returning newest (id: ${a.databaseId})`));let c={workflowRunBackendId:a.workflowRunBackendId,workflowJobRunBackendId:a.workflowJobRunBackendId,name:a.name},l=yield e.DeleteArtifact(c);return ct(`Artifact '${t}' (ID: ${l.artifactId}) deleted`),{id:Number(l.artifactId)}})}o(tOe,"deleteArtifactInternal");var rOe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},tP=vSe(),rP=100,gLt=Math.ceil(tP/rP);function nOe(t,e,r,n){return rOe(this,arguments,void 0,function*(i,s,a,c,l=!1){ct(`Fetching artifact list for workflow run ${i} in repository ${s}/${a}`);let u=[],[d,f]=eC(DA),h={log:void 0,userAgent:Pl(),previews:void 0,retry:d,request:f},p=rh(c,h,OA,PA),g=1,{data:m}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:rP,page:g}),E=Math.ceil(m.total_count/rP),y=m.total_count;y>tP&&(mi(`Workflow run ${i} has ${y} artifacts, exceeding the limit of ${tP}. Results will be incomplete as only the first ${tP} artifacts will be returned`),E=gLt);for(let C of m.artifacts)u.push({name:C.name,id:C.id,size:C.size_in_bytes,createdAt:C.created_at?new Date(C.created_at):void 0,digest:C.digest});for(g++,g;g<=E;g++){Ze(`Fetching page ${g} of artifact list`);let{data:C}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:rP,page:g});for(let I of C.artifacts)u.push({name:I.name,id:I.id,size:I.size_in_bytes,createdAt:I.created_at?new Date(I.created_at):void 0,digest:I.digest})}return l&&(u=sOe(u)),ct(`Found ${u.length} artifact(s)`),{artifacts:u}})}o(nOe,"listArtifactsPublic");function iOe(){return rOe(this,arguments,void 0,function*(t=!1){let e=Ll(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=Ol(),i={workflowRunBackendId:r,workflowJobRunBackendId:n},a=(yield e.ListArtifacts(i)).artifacts.map(c=>{var l;return{name:c.name,id:Number(c.databaseId),size:Number(c.size),createdAt:c.createdAt?So.toDate(c.createdAt):void 0,digest:(l=c.digest)===null||l===void 0?void 0:l.value}});return t&&(a=sOe(a)),ct(`Found ${a.length} artifact(s)`),{artifacts:a}})}o(iOe,"listArtifactsInternal");function sOe(t){t.sort((n,i)=>i.id-n.id);let e=[],r=new Set;for(let n of t)r.has(n.name)||(e.push(n),r.add(n.name));return e}o(sOe,"filterLatest");var hB=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(d){try{u(n.next(d))}catch(f){a(f)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(f){a(f)}}o(l,"rejected");function u(d){d.done?s(d.value):i(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},yLt=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i1&&(c=a.artifacts.sort((l,u)=>Number(u.databaseId)-Number(l.databaseId))[0],Ze(`More than one artifact found for a single name, returning newest (id: ${c.databaseId})`)),{artifact:{name:c.name,id:Number(c.databaseId),size:Number(c.size),createdAt:c.createdAt?vo.toDate(c.createdAt):void 0,digest:(e=c.digest)===null||e===void 0?void 0:e.value}}})}o(VLe,"getArtifactInternal");var zLe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function jLe(t,e,r,n,i){return zLe(this,void 0,void 0,function*(){var s;let[a,c]=yC(zm),l={log:void 0,userAgent:ql(),previews:void 0,retry:a,request:c},u=dh(i,l,Jm,Wm),f=yield TP(t,e,r,n,i),d=yield u.rest.actions.deleteArtifact({owner:r,repo:n,artifact_id:f.artifact.id});if(d.status!==204)throw new gc(`Invalid response from GitHub API: ${d.status} (${(s=d?.headers)===null||s===void 0?void 0:s["x-github-request-id"]})`);return{id:f.artifact.id}})}o(jLe,"deleteArtifactPublic");function $Le(t){return zLe(this,void 0,void 0,function*(){let e=Hl(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=Gl(),i={workflowRunBackendId:r,workflowJobRunBackendId:n,nameFilter:wn.create({value:t})},s=yield e.ListArtifacts(i);if(s.artifacts.length===0)throw new mf(`Artifact not found for name: ${t}`);let a=s.artifacts[0];s.artifacts.length>1&&(a=s.artifacts.sort((u,f)=>Number(f.databaseId)-Number(u.databaseId))[0],Ze(`More than one artifact found for a single name, returning newest (id: ${a.databaseId})`));let c={workflowRunBackendId:a.workflowRunBackendId,workflowJobRunBackendId:a.workflowJobRunBackendId,name:a.name},l=yield e.DeleteArtifact(c);return ct(`Artifact '${t}' (ID: ${l.artifactId}) deleted`),{id:Number(l.artifactId)}})}o($Le,"deleteArtifactInternal");var WLe=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},DP=Eve(),QP=100,QUt=Math.ceil(DP/QP);function JLe(t,e,r,n){return WLe(this,arguments,void 0,function*(i,s,a,c,l=!1){ct(`Fetching artifact list for workflow run ${i} in repository ${s}/${a}`);let u=[],[f,d]=yC(zm),h={log:void 0,userAgent:ql(),previews:void 0,retry:f,request:d},p=dh(c,h,Jm,Wm),A=1,{data:g}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:QP,page:A}),E=Math.ceil(g.total_count/QP),y=g.total_count;y>DP&&(gi(`Workflow run ${i} has ${y} artifacts, exceeding the limit of ${DP}. Results will be incomplete as only the first ${DP} artifacts will be returned`),E=QUt);for(let C of g.artifacts)u.push({name:C.name,id:C.id,size:C.size_in_bytes,createdAt:C.created_at?new Date(C.created_at):void 0,digest:C.digest});for(A++,A;A<=E;A++){Ze(`Fetching page ${A} of artifact list`);let{data:C}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:QP,page:A});for(let w of C.artifacts)u.push({name:w.name,id:w.id,size:w.size_in_bytes,createdAt:w.created_at?new Date(w.created_at):void 0,digest:w.digest})}return l&&(u=KLe(u)),ct(`Found ${u.length} artifact(s)`),{artifacts:u}})}o(JLe,"listArtifactsPublic");function YLe(){return WLe(this,arguments,void 0,function*(t=!1){let e=Hl(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=Gl(),i={workflowRunBackendId:r,workflowJobRunBackendId:n},a=(yield e.ListArtifacts(i)).artifacts.map(c=>{var l;return{name:c.name,id:Number(c.databaseId),size:Number(c.size),createdAt:c.createdAt?vo.toDate(c.createdAt):void 0,digest:(l=c.digest)===null||l===void 0?void 0:l.value}});return t&&(a=KLe(a)),ct(`Found ${a.length} artifact(s)`),{artifacts:a}})}o(YLe,"listArtifactsInternal");function KLe(t){t.sort((n,i)=>i.id-n.id);let e=[],r=new Set;for(let n of t)r.has(n.name)||(e.push(n),r.add(n.name));return e}o(KLe,"filterLatest");var FB=function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(f){try{u(n.next(f))}catch(d){a(d)}}o(c,"fulfilled");function l(f){try{u(n.throw(f))}catch(d){a(d)}}o(l,"rejected");function u(f){f.done?s(f.value):i(f.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},kUt=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);iString(r)),representTagName:e.representTagName??(()=>t)}}o(Oi,"defineScalarTag");function lK(t,e){let r=e.finalize===void 0;return{tagName:t,nodeKind:"sequence",implicit:!1,matchByTagPrefix:e.matchByTagPrefix??!1,create:e.create,addItem:e.addItem,finalize:e.finalize??(n=>n),carrierIsResult:r,identify:e.identify,represent:e.represent??(n=>n),representTagName:e.representTagName??(()=>t)}}o(lK,"defineSequenceTag");function aP(t,e){let r=e.finalize===void 0;return{tagName:t,nodeKind:"mapping",implicit:!1,matchByTagPrefix:e.matchByTagPrefix??!1,create:e.create,addPair:e.addPair,has:e.has,keys:e.keys,get:e.get,finalize:e.finalize??(n=>n),carrierIsResult:r,identify:e.identify,represent:e.represent??(n=>n),representTagName:e.representTagName??(()=>t)}}o(aP,"defineMappingTag");var ELt=Oi("tag:yaml.org,2002:str",{resolve:o(t=>t,"resolve"),identify:o(t=>typeof t=="string","identify")}),CLt=["","~","null","Null","NULL"],bLt=Oi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>CLt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),ILt=Oi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["n"],resolve:o((t,e)=>t==="null"||e&&t===""?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),wLt=["","~","null","Null","NULL"],SLt=Oi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>wLt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),BLt=["true","True","TRUE"],xLt=["false","False","FALSE"],vLt=Oi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","T","f","F"],resolve:o(t=>BLt.indexOf(t)!==-1?!0:xLt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),NLt=["true"],_Lt=["false"],TLt=Oi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","f"],resolve:o(t=>NLt.indexOf(t)!==-1?!0:_Lt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),RLt=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"],DLt=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"],QLt=Oi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:o(t=>RLt.indexOf(t)!==-1?!0:DLt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),kLt=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"),PLt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function OLt(t){let e=t,r=1;return(e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b")?r*parseInt(e.slice(2),2):e.startsWith("0o")?r*parseInt(e.slice(2),8):e.startsWith("0x")?r*parseInt(e.slice(2),16):r*parseInt(e,10)}o(OLt,"parseYamlInteger$2");function LLt(t,e){if(e){if(!PLt.test(t))return Pt}else if(!kLt.test(t))return Pt;let r=OLt(t);return Number.isFinite(r)?r:Pt}o(LLt,"resolveYamlInteger$2");var mOe=Oi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:LLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),FLt=new RegExp("^-?(?:0|[1-9][0-9]*)$"),MLt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function ULt(t){let e=t,r=1;return(e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b")?r*parseInt(e.slice(2),2):e.startsWith("0o")?r*parseInt(e.slice(2),8):e.startsWith("0x")?r*parseInt(e.slice(2),16):r*parseInt(e,10)}o(ULt,"parseYamlInteger$1");function qLt(t,e){if(e){if(!MLt.test(t))return Pt}else if(!FLt.test(t))return Pt;let r=ULt(t);return Number.isFinite(r)?r:Pt}o(qLt,"resolveYamlInteger$1");var GLt=Oi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:qLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),HLt=new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");function VLt(t){let e=t.replace(/_/g,""),r=1;if((e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b"))return r*parseInt(e.slice(2),2);if(e.startsWith("0x"))return r*parseInt(e.slice(2),16);if(e.includes(":")){let n=0;for(let i of e.split(":"))n=n*60+Number(i);return r*n}return e!=="0"&&e[0]==="0"?r*parseInt(e,8):r*parseInt(e,10)}o(VLt,"parseYamlInteger");function zLt(t){if(!HLt.test(t))return Pt;let e=VLt(t);return Number.isFinite(e)?e:Pt}o(zLt,"resolveYamlInteger");var tK=Oi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:zLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),$Lt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),jLt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function WLt(t){if(!$Lt.test(t))return Pt;let e=t.toLowerCase(),r=e[0]==="-"?-1:1;if("+-".includes(e[0])&&(e=e.slice(1)),e===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(e===".nan")return NaN;let n=r*parseFloat(e);return Number.isFinite(n)||jLt.test(t)?n:Pt}o(WLt,"resolveYamlFloat$2");function JLt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(JLt,"representYamlFloat$2");var gOe=Oi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:WLt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:JLt}),YLt=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"),KLt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function XLt(t,e){if(e){if(!KLt.test(t))return Pt;let n=t.toLowerCase(),i=n[0]==="-"?-1:1;if("+-".includes(n[0])&&(n=n.slice(1)),n===".inf")return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(n===".nan")return NaN;let s=i*parseFloat(n);return Number.isFinite(s)?s:Pt}if(!YLt.test(t))return Pt;let r=Number(t);return Number.isFinite(r)?r:Pt}o(XLt,"resolveYamlFloat$1");function ZLt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(ZLt,"representYamlFloat$1");var eFt=Oi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:XLt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:ZLt}),tFt=new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),rFt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function nFt(t){if(!tFt.test(t))return Pt;let e=t.toLowerCase().replace(/_/g,""),r=e[0]==="-"?-1:1;if("+-".includes(e[0])&&(e=e.slice(1)),e===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(e===".nan")return NaN;let n=0;if(e.includes(":")){for(let i of e.split(":"))n=n*60+Number(i);n*=r}else n=r*parseFloat(e);return Number.isFinite(n)||rFt.test(t)?n:Pt}o(nFt,"resolveYamlFloat");function iFt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(iFt,"representYamlFloat");var rK=Oi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:nFt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:iFt}),sFt=Oi("tag:yaml.org,2002:merge",{implicit:!0,implicitFirstChars:["<"],resolve:o((t,e)=>t==="<<"||e&&t===""?"<<":Pt,"resolve"),identify:o(()=>!1,"identify")}),oFt=/^[A-Za-z0-9+/]*={0,2}$/;function aFt(t){let e=t.replace(/\s/g,"");if(e.length%4!==0||!oFt.test(e))return Pt;let r=atob(e),n=new Uint8Array(r.length);for(let i=0;iObject.prototype.toString.call(t)==="[object Uint8Array]","identify"),represent:cFt}),uFt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),dFt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function cOe(t,e,r,n=0,i=0,s=0,a=0){let c=new Date(Date.UTC(t,e,r,n,i,s,a));return c.setUTCFullYear(t,e,r),c}o(cOe,"makeUtcDate");function fFt(t){let e=uFt.exec(t);if(e===null&&(e=dFt.exec(t)),e===null)return Pt;let r=+e[1],n=+e[2]-1,i=+e[3];if(!e[4]){let d=cOe(r,n,i);return d.getUTCFullYear()!==r||d.getUTCMonth()!==n||d.getUTCDate()!==i?Pt:d}let s=+e[4],a=+e[5],c=+e[6],l=0;if(s>23||a>59||c>59)return Pt;if(e[7]){let d=e[7].slice(0,3);for(;d.length<3;)d+="0";l=+d}let u=cOe(r,n,i,s,a,c,l);if(u.getUTCFullYear()!==r||u.getUTCMonth()!==n||u.getUTCDate()!==i)return Pt;if(e[9]){let d=+e[10],f=+(e[11]||0);if(d>23||f>59)return Pt;let h=(d*60+f)*6e4;u.setTime(u.getTime()-(e[9]==="-"?-h:h))}return u}o(fFt,"resolveYamlTimestamp");var hFt=Oi("tag:yaml.org,2002:timestamp",{implicit:!0,implicitFirstChars:[..."0123456789"],resolve:fFt,identify:o(t=>t instanceof Date,"identify"),represent:o(t=>t.toISOString(),"represent")}),pFt=lK("tag:yaml.org,2002:seq",{create:o(()=>[],"create"),addItem:o((t,e)=>{t.push(e)},"addItem"),identify:Array.isArray});function cP(t){if(t===null||typeof t!="object"||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}o(cP,"isPlainObject");function AFt(t,e){let r={};for(let n of e)t[n]!==void 0&&(r[n]=t[n]);return r}o(AFt,"pick");var mFt=lK("tag:yaml.org,2002:omap",{create:o(()=>({list:[],seen:new Set}),"create"),addItem:o((t,e)=>{let r;if(e instanceof Map){if(e.size!==1)return"cannot resolve an ordered map item";r=e.keys().next().value}else if(cP(e)){let n=Object.keys(e);if(n.length!==1)return"cannot resolve an ordered map item";r=n[0]}else return"cannot resolve an ordered map item";return t.seen.has(r)?"duplicate key in ordered map":(t.seen.add(r),t.list.push(e),"")},"addItem"),finalize:o(t=>t.list,"finalize"),identify:o(()=>!1,"identify")}),gFt=lK("tag:yaml.org,2002:pairs",{create:o(()=>[],"create"),addItem:o((t,e)=>{if(e instanceof Map)return e.size!==1?"cannot resolve a pairs item":(t.push(e.entries().next().value),"");if(Object.prototype.toString.call(e)!=="[object Object]")return"cannot resolve a pairs item";let r=e,n=Object.keys(r);return n.length!==1?"cannot resolve a pairs item":(t.push([n[0],r[n[0]]]),"")},"addItem"),identify:o(()=>!1,"identify")}),yFt=aP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:cP,represent:o(t=>{let e=new Map;for(let r of Object.keys(t))e.set(r,t[r]);return e},"represent"),addPair:o((t,e,r)=>{if(e!==null&&typeof e=="object")return"object-based map does not support complex keys";let n=String(e);return n==="__proto__"?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,""},"addPair"),has:o((t,e)=>e!==null&&typeof e=="object"?!1:Object.prototype.hasOwnProperty.call(t,String(e)),"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>{let r=String(e);return Object.prototype.hasOwnProperty.call(t,r)?t[r]:null},"get")}),EFt=aP("tag:yaml.org,2002:set",{create:o(()=>new Set,"create"),identify:o(t=>t instanceof Set,"identify"),represent:o(t=>{let e=new Map;for(let r of t)e.set(r,null);return e},"represent"),addPair:o((t,e,r)=>r!==null?"cannot resolve a set item":(t.add(e),""),"addPair"),has:o((t,e)=>t.has(e),"has"),keys:o(t=>t.keys(),"keys"),get:o(()=>null,"get")});function CFt(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}o(CFt,"createTagDefinitionMap");function bFt(){return{scalar:[],sequence:[],mapping:[]}}o(bFt,"createTagDefinitionListMap");function IFt(t){let e=[];for(let r of t){let n=e.length;for(let i=0;id.implicitFirstChars===null),c=new Set;for(let d of n)if(d.implicitFirstChars!==null)for(let f of d.implicitFirstChars)c.add(f);let l=new Map;for(let d of c)l.set(d,n.filter(f=>f.implicitFirstChars===null||f.implicitFirstChars.indexOf(d)!==-1));let u=i.scalar["tag:yaml.org,2002:str"];if(!u)throw new Error("schema does not define the default scalar tag (tag:yaml.org,2002:str)");this.tags=r,this.implicitScalarTags=n,this.implicitScalarByFirstChar=l,this.implicitScalarAnyFirstChar=a,this.defaultScalarTag=u,this.defaultSequenceTag=i.sequence["tag:yaml.org,2002:seq"],this.defaultMappingTag=i.mapping["tag:yaml.org,2002:map"],this.exact=i,this.prefix=s}lookupScalarTag(e){let r=this.exact.scalar[e];if(r)return r;for(let n of this.prefix.scalar)if(e.startsWith(n.tagName))return n}lookupSequenceTag(e){let r=this.exact.sequence[e];if(r)return r;for(let n of this.prefix.sequence)if(e.startsWith(n.tagName))return n}lookupMappingTag(e){let r=this.exact.mapping[e];if(r)return r;for(let n of this.prefix.mapping)if(e.startsWith(n.tagName))return n}resolveImplicitScalarTag(e){let r=this.implicitScalarByFirstChar.get(e.charAt(0))??this.implicitScalarAnyFirstChar;for(let i of r){let s=i.resolve(e,!1,i.tagName);if(s!==Pt)return{value:s,tag:i}}let n=this.defaultScalarTag;return{value:n.resolve(e,!1,n.tagName),tag:n}}withTags(...e){let r=[];for(let n of e)r=r.concat(n);return new yOe([...this.tags,...r])}},uK=new lP([ELt,pFt,yFt]),fPr=new lP([...uK.tags,ILt,TLt,GLt,eFt]),wFt=new lP([...uK.tags,bLt,vLt,mOe,gOe]),SFt=new lP([...uK.tags,SLt,QLt,tK,rK,hFt,sFt,lFt,mFt,gFt,EFt]),BFt=SFt.withTags({...tK,resolve:o((t,e,r)=>{let n=tK.resolve(t,e,r);return n===Pt?mOe.resolve(t,e,r):n},"resolve")},{...rK,resolve:o((t,e,r)=>{let n=rK.resolve(t,e,r);return n===Pt?gOe.resolve(t,e,r):n},"resolve")}),hPr=aP("tag:yaml.org,2002:map",{create:o(()=>new Map,"create"),addPair:o((t,e,r)=>(t.set(e,r),""),"addPair"),has:o((t,e)=>t.has(e),"has"),keys:o(t=>t.keys(),"keys"),get:o((t,e)=>t.get(e),"get"),identify:o(t=>t instanceof Map||cP(t),"identify"),represent:o(t=>{if(t instanceof Map)return t;let e=new Map,r=t;for(let n of Object.keys(r))e.set(n,r[n]);return e},"represent")});function lOe(t){if(Array.isArray(t)){let e=Array.prototype.slice.call(t);for(let r=0;r({}),"create"),identify:cP,represent:o(t=>{let e=new Map;for(let r of Object.keys(t))e.set(r,t[r]);return e},"represent"),addPair:o((t,e,r)=>{let n=lOe(e);return n===null?"nested arrays are not supported inside keys":(n==="__proto__"?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,"")},"addPair"),has:o((t,e)=>{let r=lOe(e);return r!==null&&Object.prototype.hasOwnProperty.call(t,r)},"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>{let r=String(e);return Object.prototype.hasOwnProperty.call(t,r)?t[r]:null},"get")}),xFt={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function XY(t,e,r,n,i){let s="",a="",c=Math.floor(i/2)-1;return n-e>c&&(s=" ... ",e=n-c+s.length),r-n>c&&(a=" ...",r=n+c-a.length),{str:s+t.slice(e,r).replace(/\t/g,"\u2192")+a,pos:n-e+s.length}}o(XY,"getLine");function ZY(t,e){return" ".repeat(Math.max(e-t.length,0))+t}o(ZY,"padStart");function vFt(t,e){if(!t.buffer)return null;let r={...xFt,...e},n=/\r?\n|\r|\0/g,i=[0],s=[],a,c=-1;for(;a=n.exec(t.buffer);)s.push(a.index),i.push(a.index+a[0].length),t.position<=a.index&&c<0&&(c=i.length-2);c<0&&(c=i.length-1);let l="",u=Math.min(t.line+r.linesAfter,s.length).toString().length,d=r.maxLength-(r.indent+u+3);for(let h=1;h<=r.linesBefore&&!(c-h<0);h++){let p=XY(t.buffer,i[c-h],s[c-h],t.position-(i[c]-i[c-h]),d);l=`${" ".repeat(r.indent)}${ZY((t.line-h+1).toString(),u)} | ${p.str} -${l}`}let f=XY(t.buffer,i[c],s[c],t.position,d);l+=`${" ".repeat(r.indent)}${ZY((t.line+1).toString(),u)} | ${f.str} -`,l+=`${"-".repeat(r.indent+u+3+f.pos)}^ -`;for(let h=1;h<=r.linesAfter&&!(c+h>=s.length);h++){let p=XY(t.buffer,i[c+h],s[c+h],t.position-(i[c]-i[c+h]),d);l+=`${" ".repeat(r.indent)}${ZY((t.line+h+1).toString(),u)} | ${p.str} -`}return l.replace(/\n$/,"")}o(vFt,"makeSnippet");function uOe(t,e){let r="";return t.mark?(t.mark.name&&(r+=`in "${t.mark.name}" `),r+=`(${t.mark.line+1}:${t.mark.column+1})`,!e&&t.mark.snippet&&(r+=` +If the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`),n}})}};var KUr=new EC;var kP=class{static{o(this,"GitHubArtifact")}static async upload(e){if(Xe.isGHES)throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.");let r=aK.default.basename(e.filename),n=new EC;O(`Uploading ${r} as an artifact`);let i=aK.default.dirname(e.filename),s=await n.uploadArtifact(r,[e.filename],i,{retentionDays:e.retentionDays,skipArchive:!0});if(!s.id)throw new gc("Cannot upload artifact");let a=s.size??XLe.default.statSync(e.filename).size,c=`${Xe.workflowRunURL()}/artifacts/${s.id}`;return O(`Artifact download URL: ${c}`),{id:s.id,filename:r,digest:s.digest||"",size:a,url:c}}};var BK=N(ZLe(),1);var Pt=Symbol("NOT_RESOLVED");function Li(t,e){return{tagName:t,nodeKind:"scalar",implicit:e.implicit??!1,matchByTagPrefix:e.matchByTagPrefix??!1,implicitFirstChars:e.implicitFirstChars??null,resolve:e.resolve,identify:e.identify,represent:e.represent??(r=>String(r)),representTagName:e.representTagName??(()=>t)}}o(Li,"defineScalarTag");function EK(t,e){let r=e.finalize===void 0;return{tagName:t,nodeKind:"sequence",implicit:!1,matchByTagPrefix:e.matchByTagPrefix??!1,create:e.create,addItem:e.addItem,finalize:e.finalize??(n=>n),carrierIsResult:r,identify:e.identify,represent:e.represent??(n=>n),representTagName:e.representTagName??(()=>t)}}o(EK,"defineSequenceTag");function FP(t,e){let r=e.finalize===void 0;return{tagName:t,nodeKind:"mapping",implicit:!1,matchByTagPrefix:e.matchByTagPrefix??!1,create:e.create,addPair:e.addPair,has:e.has,keys:e.keys,get:e.get,finalize:e.finalize??(n=>n),carrierIsResult:r,identify:e.identify,represent:e.represent??(n=>n),representTagName:e.representTagName??(()=>t)}}o(FP,"defineMappingTag");var PUt=Li("tag:yaml.org,2002:str",{resolve:o(t=>t,"resolve"),identify:o(t=>typeof t=="string","identify")}),OUt=["","~","null","Null","NULL"],LUt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>OUt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),FUt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["n"],resolve:o((t,e)=>t==="null"||e&&t===""?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),MUt=["","~","null","Null","NULL"],UUt=Li("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>MUt.indexOf(t)!==-1?null:Pt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),qUt=["true","True","TRUE"],GUt=["false","False","FALSE"],HUt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","T","f","F"],resolve:o(t=>qUt.indexOf(t)!==-1?!0:GUt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),VUt=["true"],zUt=["false"],jUt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","f"],resolve:o(t=>VUt.indexOf(t)!==-1?!0:zUt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),$Ut=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"],WUt=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"],JUt=Li("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:o(t=>$Ut.indexOf(t)!==-1?!0:WUt.indexOf(t)!==-1?!1:Pt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),YUt=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"),KUt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function XUt(t){let e=t,r=1;return(e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b")?r*parseInt(e.slice(2),2):e.startsWith("0o")?r*parseInt(e.slice(2),8):e.startsWith("0x")?r*parseInt(e.slice(2),16):r*parseInt(e,10)}o(XUt,"parseYamlInteger$2");function ZUt(t,e){if(e){if(!KUt.test(t))return Pt}else if(!YUt.test(t))return Pt;let r=XUt(t);return Number.isFinite(r)?r:Pt}o(ZUt,"resolveYamlInteger$2");var cFe=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:ZUt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),eqt=new RegExp("^-?(?:0|[1-9][0-9]*)$"),tqt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function rqt(t){let e=t,r=1;return(e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b")?r*parseInt(e.slice(2),2):e.startsWith("0o")?r*parseInt(e.slice(2),8):e.startsWith("0x")?r*parseInt(e.slice(2),16):r*parseInt(e,10)}o(rqt,"parseYamlInteger$1");function nqt(t,e){if(e){if(!tqt.test(t))return Pt}else if(!eqt.test(t))return Pt;let r=rqt(t);return Number.isFinite(r)?r:Pt}o(nqt,"resolveYamlInteger$1");var iqt=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:nqt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),sqt=new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");function oqt(t){let e=t.replace(/_/g,""),r=1;if((e[0]==="-"||e[0]==="+")&&(e[0]==="-"&&(r=-1),e=e.slice(1)),e.startsWith("0b"))return r*parseInt(e.slice(2),2);if(e.startsWith("0x"))return r*parseInt(e.slice(2),16);if(e.includes(":")){let n=0;for(let i of e.split(":"))n=n*60+Number(i);return r*n}return e!=="0"&&e[0]==="0"?r*parseInt(e,8):r*parseInt(e,10)}o(oqt,"parseYamlInteger");function aqt(t){if(!sqt.test(t))return Pt;let e=oqt(t);return Number.isFinite(e)?e:Pt}o(aqt,"resolveYamlInteger");var fK=Li("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:aqt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),cqt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),lqt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function uqt(t){if(!cqt.test(t))return Pt;let e=t.toLowerCase(),r=e[0]==="-"?-1:1;if("+-".includes(e[0])&&(e=e.slice(1)),e===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(e===".nan")return NaN;let n=r*parseFloat(e);return Number.isFinite(n)||lqt.test(t)?n:Pt}o(uqt,"resolveYamlFloat$2");function fqt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(fqt,"representYamlFloat$2");var lFe=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:uqt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:fqt}),dqt=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"),hqt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function pqt(t,e){if(e){if(!hqt.test(t))return Pt;let n=t.toLowerCase(),i=n[0]==="-"?-1:1;if("+-".includes(n[0])&&(n=n.slice(1)),n===".inf")return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(n===".nan")return NaN;let s=i*parseFloat(n);return Number.isFinite(s)?s:Pt}if(!dqt.test(t))return Pt;let r=Number(t);return Number.isFinite(r)?r:Pt}o(pqt,"resolveYamlFloat$1");function mqt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(mqt,"representYamlFloat$1");var Aqt=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:pqt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:mqt}),gqt=new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),yqt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Eqt(t){if(!gqt.test(t))return Pt;let e=t.toLowerCase().replace(/_/g,""),r=e[0]==="-"?-1:1;if("+-".includes(e[0])&&(e=e.slice(1)),e===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(e===".nan")return NaN;let n=0;if(e.includes(":")){for(let i of e.split(":"))n=n*60+Number(i);n*=r}else n=r*parseFloat(e);return Number.isFinite(n)||yqt.test(t)?n:Pt}o(Eqt,"resolveYamlFloat");function Cqt(t){if(isNaN(t))return".nan";if(t===Number.POSITIVE_INFINITY)return".inf";if(t===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(t,-0))return"-0.0";let e=t.toString(10);return/^[-+]?[0-9]+e/.test(e)?e.replace("e",".e"):e}o(Cqt,"representYamlFloat");var dK=Li("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:Eqt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:Cqt}),bqt=Li("tag:yaml.org,2002:merge",{implicit:!0,implicitFirstChars:["<"],resolve:o((t,e)=>t==="<<"||e&&t===""?"<<":Pt,"resolve"),identify:o(()=>!1,"identify")}),wqt=/^[A-Za-z0-9+/]*={0,2}$/;function Iqt(t){let e=t.replace(/\s/g,"");if(e.length%4!==0||!wqt.test(e))return Pt;let r=atob(e),n=new Uint8Array(r.length);for(let i=0;iObject.prototype.toString.call(t)==="[object Uint8Array]","identify"),represent:Sqt}),vqt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),xqt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function eFe(t,e,r,n=0,i=0,s=0,a=0){let c=new Date(Date.UTC(t,e,r,n,i,s,a));return c.setUTCFullYear(t,e,r),c}o(eFe,"makeUtcDate");function _qt(t){let e=vqt.exec(t);if(e===null&&(e=xqt.exec(t)),e===null)return Pt;let r=+e[1],n=+e[2]-1,i=+e[3];if(!e[4]){let f=eFe(r,n,i);return f.getUTCFullYear()!==r||f.getUTCMonth()!==n||f.getUTCDate()!==i?Pt:f}let s=+e[4],a=+e[5],c=+e[6],l=0;if(s>23||a>59||c>59)return Pt;if(e[7]){let f=e[7].slice(0,3);for(;f.length<3;)f+="0";l=+f}let u=eFe(r,n,i,s,a,c,l);if(u.getUTCFullYear()!==r||u.getUTCMonth()!==n||u.getUTCDate()!==i)return Pt;if(e[9]){let f=+e[10],d=+(e[11]||0);if(f>23||d>59)return Pt;let h=(f*60+d)*6e4;u.setTime(u.getTime()-(e[9]==="-"?-h:h))}return u}o(_qt,"resolveYamlTimestamp");var Nqt=Li("tag:yaml.org,2002:timestamp",{implicit:!0,implicitFirstChars:[..."0123456789"],resolve:_qt,identify:o(t=>t instanceof Date,"identify"),represent:o(t=>t.toISOString(),"represent")}),Rqt=EK("tag:yaml.org,2002:seq",{create:o(()=>[],"create"),addItem:o((t,e)=>{t.push(e)},"addItem"),identify:Array.isArray});function MP(t){if(t===null||typeof t!="object"||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}o(MP,"isPlainObject");function Tqt(t,e){let r={};for(let n of e)t[n]!==void 0&&(r[n]=t[n]);return r}o(Tqt,"pick");var Dqt=EK("tag:yaml.org,2002:omap",{create:o(()=>({list:[],seen:new Set}),"create"),addItem:o((t,e)=>{let r;if(e instanceof Map){if(e.size!==1)return"cannot resolve an ordered map item";r=e.keys().next().value}else if(MP(e)){let n=Object.keys(e);if(n.length!==1)return"cannot resolve an ordered map item";r=n[0]}else return"cannot resolve an ordered map item";return t.seen.has(r)?"duplicate key in ordered map":(t.seen.add(r),t.list.push(e),"")},"addItem"),finalize:o(t=>t.list,"finalize"),identify:o(()=>!1,"identify")}),Qqt=EK("tag:yaml.org,2002:pairs",{create:o(()=>[],"create"),addItem:o((t,e)=>{if(e instanceof Map)return e.size!==1?"cannot resolve a pairs item":(t.push(e.entries().next().value),"");if(Object.prototype.toString.call(e)!=="[object Object]")return"cannot resolve a pairs item";let r=e,n=Object.keys(r);return n.length!==1?"cannot resolve a pairs item":(t.push([n[0],r[n[0]]]),"")},"addItem"),identify:o(()=>!1,"identify")}),kqt=FP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:MP,represent:o(t=>{let e=new Map;for(let r of Object.keys(t))e.set(r,t[r]);return e},"represent"),addPair:o((t,e,r)=>{if(e!==null&&typeof e=="object")return"object-based map does not support complex keys";let n=String(e);return n==="__proto__"?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,""},"addPair"),has:o((t,e)=>e!==null&&typeof e=="object"?!1:Object.prototype.hasOwnProperty.call(t,String(e)),"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>{let r=String(e);return Object.prototype.hasOwnProperty.call(t,r)?t[r]:null},"get")}),Pqt=FP("tag:yaml.org,2002:set",{create:o(()=>new Set,"create"),identify:o(t=>t instanceof Set,"identify"),represent:o(t=>{let e=new Map;for(let r of t)e.set(r,null);return e},"represent"),addPair:o((t,e,r)=>r!==null?"cannot resolve a set item":(t.add(e),""),"addPair"),has:o((t,e)=>t.has(e),"has"),keys:o(t=>t.keys(),"keys"),get:o(()=>null,"get")});function Oqt(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}o(Oqt,"createTagDefinitionMap");function Lqt(){return{scalar:[],sequence:[],mapping:[]}}o(Lqt,"createTagDefinitionListMap");function Fqt(t){let e=[];for(let r of t){let n=e.length;for(let i=0;if.implicitFirstChars===null),c=new Set;for(let f of n)if(f.implicitFirstChars!==null)for(let d of f.implicitFirstChars)c.add(d);let l=new Map;for(let f of c)l.set(f,n.filter(d=>d.implicitFirstChars===null||d.implicitFirstChars.indexOf(f)!==-1));let u=i.scalar["tag:yaml.org,2002:str"];if(!u)throw new Error("schema does not define the default scalar tag (tag:yaml.org,2002:str)");this.tags=r,this.implicitScalarTags=n,this.implicitScalarByFirstChar=l,this.implicitScalarAnyFirstChar=a,this.defaultScalarTag=u,this.defaultSequenceTag=i.sequence["tag:yaml.org,2002:seq"],this.defaultMappingTag=i.mapping["tag:yaml.org,2002:map"],this.exact=i,this.prefix=s}lookupScalarTag(e){let r=this.exact.scalar[e];if(r)return r;for(let n of this.prefix.scalar)if(e.startsWith(n.tagName))return n}lookupSequenceTag(e){let r=this.exact.sequence[e];if(r)return r;for(let n of this.prefix.sequence)if(e.startsWith(n.tagName))return n}lookupMappingTag(e){let r=this.exact.mapping[e];if(r)return r;for(let n of this.prefix.mapping)if(e.startsWith(n.tagName))return n}resolveImplicitScalarTag(e){let r=this.implicitScalarByFirstChar.get(e.charAt(0))??this.implicitScalarAnyFirstChar;for(let i of r){let s=i.resolve(e,!1,i.tagName);if(s!==Pt)return{value:s,tag:i}}let n=this.defaultScalarTag;return{value:n.resolve(e,!1,n.tagName),tag:n}}withTags(...e){let r=[];for(let n of e)r=r.concat(n);return new uFe([...this.tags,...r])}},CK=new UP([PUt,Rqt,kqt]),aqr=new UP([...CK.tags,FUt,jUt,iqt,Aqt]),Mqt=new UP([...CK.tags,LUt,HUt,cFe,lFe]),Uqt=new UP([...CK.tags,UUt,JUt,fK,dK,Nqt,bqt,Bqt,Dqt,Qqt,Pqt]),qqt=Uqt.withTags({...fK,resolve:o((t,e,r)=>{let n=fK.resolve(t,e,r);return n===Pt?cFe.resolve(t,e,r):n},"resolve")},{...dK,resolve:o((t,e,r)=>{let n=dK.resolve(t,e,r);return n===Pt?lFe.resolve(t,e,r):n},"resolve")}),cqr=FP("tag:yaml.org,2002:map",{create:o(()=>new Map,"create"),addPair:o((t,e,r)=>(t.set(e,r),""),"addPair"),has:o((t,e)=>t.has(e),"has"),keys:o(t=>t.keys(),"keys"),get:o((t,e)=>t.get(e),"get"),identify:o(t=>t instanceof Map||MP(t),"identify"),represent:o(t=>{if(t instanceof Map)return t;let e=new Map,r=t;for(let n of Object.keys(r))e.set(n,r[n]);return e},"represent")});function tFe(t){if(Array.isArray(t)){let e=Array.prototype.slice.call(t);for(let r=0;r({}),"create"),identify:MP,represent:o(t=>{let e=new Map;for(let r of Object.keys(t))e.set(r,t[r]);return e},"represent"),addPair:o((t,e,r)=>{let n=tFe(e);return n===null?"nested arrays are not supported inside keys":(n==="__proto__"?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,"")},"addPair"),has:o((t,e)=>{let r=tFe(e);return r!==null&&Object.prototype.hasOwnProperty.call(t,r)},"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>{let r=String(e);return Object.prototype.hasOwnProperty.call(t,r)?t[r]:null},"get")}),Gqt={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function cK(t,e,r,n,i){let s="",a="",c=Math.floor(i/2)-1;return n-e>c&&(s=" ... ",e=n-c+s.length),r-n>c&&(a=" ...",r=n+c-a.length),{str:s+t.slice(e,r).replace(/\t/g,"\u2192")+a,pos:n-e+s.length}}o(cK,"getLine");function lK(t,e){return" ".repeat(Math.max(e-t.length,0))+t}o(lK,"padStart");function Hqt(t,e){if(!t.buffer)return null;let r={...Gqt,...e},n=/\r?\n|\r|\0/g,i=[0],s=[],a,c=-1;for(;a=n.exec(t.buffer);)s.push(a.index),i.push(a.index+a[0].length),t.position<=a.index&&c<0&&(c=i.length-2);c<0&&(c=i.length-1);let l="",u=Math.min(t.line+r.linesAfter,s.length).toString().length,f=r.maxLength-(r.indent+u+3);for(let h=1;h<=r.linesBefore&&!(c-h<0);h++){let p=cK(t.buffer,i[c-h],s[c-h],t.position-(i[c]-i[c-h]),f);l=`${" ".repeat(r.indent)}${lK((t.line-h+1).toString(),u)} | ${p.str} +${l}`}let d=cK(t.buffer,i[c],s[c],t.position,f);l+=`${" ".repeat(r.indent)}${lK((t.line+1).toString(),u)} | ${d.str} +`,l+=`${"-".repeat(r.indent+u+3+d.pos)}^ +`;for(let h=1;h<=r.linesAfter&&!(c+h>=s.length);h++){let p=cK(t.buffer,i[c+h],s[c+h],t.position-(i[c]-i[c+h]),f);l+=`${" ".repeat(r.indent)}${lK((t.line+h+1).toString(),u)} | ${p.str} +`}return l.replace(/\n$/,"")}o(Hqt,"makeSnippet");function rFe(t,e){let r="";return t.mark?(t.mark.name&&(r+=`in "${t.mark.name}" `),r+=`(${t.mark.line+1}:${t.mark.column+1})`,!e&&t.mark.snippet&&(r+=` -${t.mark.snippet}`),`${t.reason} ${r}`):t.reason}o(uOe,"formatError");var NFt=class EOe extends Error{static{o(this,"YAMLException")}reason;mark;constructor(e,r){super(),this.name="YAMLException",this.reason=e,this.mark=r,this.message=uOe(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${uOe(this,e)}`}static throwAt(e,r,n,i=""){let s=0,a=0;for(let l=0;l`}o(COe,"tagNameShort");var RFt={filename:"",schema:wFt,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};var nK=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,bOe=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,mPr=new RegExp(`^(?:${nK})*$`),gPr=new RegExp(`^(?:${bOe})+$`),yPr=new RegExp(`^(?:!(?:${nK})*|${bOe}(?:${nK})*)$`),DFt={filename:"",maxDepth:100};var EPr={...DFt,...RFt};var LA=Symbol("INVALID");function QFt(t){let e=new Set([t.defaultScalarTag,t.defaultSequenceTag,t.defaultMappingTag].filter(s=>s!==void 0)),r=t.implicitScalarTags,n=t.tags.filter(s=>!(s.nodeKind==="scalar"&&s.implicit)&&!e.has(s)),i=t.tags.filter(s=>e.has(s));return[...r.map(s=>({tag:s,implicitTag:!0})),...n.map(s=>({tag:s,implicitTag:!1})),...i.map(s=>({tag:s,implicitTag:!0}))]}o(QFt,"buildRepresentTypes");function kFt(t,e){for(let r=0,n=t.representTypes.length;ri&&u[0]!==" "&&/ [^ \t]/.test(u)&&(a=!0),l===-1)break;s=l+1}a?t.style=it.FOLDED_BLOCK:r&&(t.style=it.LITERAL_BLOCK)}o(qFt,"tryLongOrMultilineAsBlock");function GFt(t){t.style===it.PLAIN&&!uP(t.allowedStylesMask,it.PLAIN)&&(t.style=wOe(t))}o(GFt,"quoteInvalidPlain");function HFt(t){uP(t.allowedStylesMask,t.style)||(t.style=it.DOUBLE_QUOTED)}o(HFt,"fallbackToDoubleQuoted");function AB(t,e){return t|1<'\"%@`]",jFt="[,\\[\\]{}]",iK=dP,sK=`(?:(?!${jFt})${dP})`,WFt=`(?:(?:(?!${xOe})${dP})|[?:-](?=${iK}))`,JFt=`(?:(?:(?!${xOe})${dP})|[?:-](?=${sK}))`,vOe=`(?:(?:(?![:#])${iK})|:(?=${iK}))#*`,NOe=`(?:(?:(?![:#])${sK})|:(?=${sK}))#*`,_Oe=`(?:${fK}*${vOe})*`,TOe=`(?:${fK}*${NOe})*`,ROe=`${WFt}#*${_Oe}`,DOe=`${JFt}#*${TOe}`,YFt=ROe,KFt=DOe,XFt=`\\n+${vOe}${_Oe}`,ZFt=`\\n+${NOe}${TOe}`,eMt=`${ROe}(?:${XFt})*`,tMt=`${DOe}(?:${ZFt})*`,rMt=new RegExp(`^(?:${eMt})$`,"u"),nMt=new RegExp(`^(?:${tMt})$`,"u"),iMt=new RegExp(`^(?:${YFt})$`,"u"),sMt=new RegExp(`^(?:${KFt})$`,"u"),oMt=new RegExp(`^(?:${BOe})*$`,"u"),aMt=new RegExp(`^(?:${BOe}|\\n)*$`,"u"),cMt=new RegExp(`^(?:${SOe}|\\n)*$`,"u"),lMt=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/,hK=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;function uMt(t){let e=t.node.value;if(e!==""){if(!(t.isKey?t.flowOnly?sMt:iMt:t.flowOnly?nMt:rMt).test(e)||t.shiftOfFirstLine===0&&lMt.test(e))return!1;if(t.shiftOfContent===0){let n=e.indexOf(` -`);if(n!==-1){let i=e.slice(n+1);if(hK.test(i))return!1}}}let r=t.presenterOptions.schema.resolveImplicitScalarTag(e).tag.tagName;return!(!t.node.tagged&&r!==t.node.tag||!t.node.tagged&&e==="="&&r===t.presenterOptions.schema.defaultScalarTag.tagName)}o(uMt,"canUsePlain");function dMt(t){let e=t.node.value;if(!(t.isKey?oMt:aMt).test(e)||/[ \t]\n|\n[ \t]/.test(e))return!1;if(!t.isKey&&t.shiftOfContent===0){let r=e.indexOf(` -`);if(r!==-1&&hK.test(e.slice(r+1)))return!1}return!0}o(dMt,"canUseSingleQuoted");function fMt(t){if(t.flowOnly||!cMt.test(t.node.value))return!1;let e=t.shiftOfContent-t.shiftOfParent;return!(e<1||e>9&&/^\n* /.test(t.node.value)||t.shiftOfContent===0&&hK.test(t.node.value))}o(fMt,"canUseBlock");function hMt(t){let e=AB(0,it.DOUBLE_QUOTED);uMt(t)&&(e=AB(e,it.PLAIN)),dMt(t)&&(e=AB(e,it.SINGLE_QUOTED)),fMt(t)&&(e=AB(AB(e,it.LITERAL_BLOCK),it.FOLDED_BLOCK)),t.allowedStylesMask=e}o(hMt,"detectAllowedStyles");function pMt(t){switch(t.style){case it.PLAIN:return AMt(t);case it.SINGLE_QUOTED:return mMt(t);case it.LITERAL_BLOCK:return gMt(t);case it.FOLDED_BLOCK:return yMt(t);case it.DOUBLE_QUOTED:return EMt(t)}}o(pMt,"renderScalar");function AMt(t){return QOe(t.node.value,t.shiftOfContent)}o(AMt,"renderPlain");function mMt(t){return`'${QOe(t.node.value,t.shiftOfContent).replace(/'/g,"''")}'`}o(mMt,"renderSingleQuoted");function gMt(t){let e=t.node.value;return"|"+POe(e,t.shiftOfParent,t.shiftOfContent)+OOe(kOe(e,t.shiftOfContent))}o(gMt,"renderLiteralBlock");function yMt(t){let e=t.node.value,r=t.presenterOptions.lineWidth,n=1/0;return r!==-1&&(n=Math.max(Math.min(r,40),r-t.shiftOfContent)),">"+POe(e,t.shiftOfParent,t.shiftOfContent)+OOe(kOe(bMt(e,n),t.shiftOfContent))}o(yMt,"renderFoldedBlock");function EMt(t){return`"${SMt(t.node.value)}"`}o(EMt,"renderDoubleQuoted");function QOe(t,e){let r=t.indexOf(` +${t.mark.snippet}`),`${t.reason} ${r}`):t.reason}o(rFe,"formatError");var Vqt=class fFe extends Error{static{o(this,"YAMLException")}reason;mark;constructor(e,r){super(),this.name="YAMLException",this.reason=e,this.mark=r,this.message=rFe(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${rFe(this,e)}`}static throwAt(e,r,n,i=""){let s=0,a=0;for(let l=0;l`}o(dFe,"tagNameShort");var $qt={filename:"",schema:Mqt,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};var hK=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,hFe=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,fqr=new RegExp(`^(?:${hK})*$`),dqr=new RegExp(`^(?:${hFe})+$`),hqr=new RegExp(`^(?:!(?:${hK})*|${hFe}(?:${hK})*)$`),Wqt={filename:"",maxDepth:100};var pqr={...Wqt,...$qt};var Ym=Symbol("INVALID");function Jqt(t){let e=new Set([t.defaultScalarTag,t.defaultSequenceTag,t.defaultMappingTag].filter(s=>s!==void 0)),r=t.implicitScalarTags,n=t.tags.filter(s=>!(s.nodeKind==="scalar"&&s.implicit)&&!e.has(s)),i=t.tags.filter(s=>e.has(s));return[...r.map(s=>({tag:s,implicitTag:!0})),...n.map(s=>({tag:s,implicitTag:!1})),...i.map(s=>({tag:s,implicitTag:!0}))]}o(Jqt,"buildRepresentTypes");function Yqt(t,e){for(let r=0,n=t.representTypes.length;ri&&u[0]!==" "&&/ [^ \t]/.test(u)&&(a=!0),l===-1)break;s=l+1}a?t.style=it.FOLDED_BLOCK:r&&(t.style=it.LITERAL_BLOCK)}o(n3t,"tryLongOrMultilineAsBlock");function i3t(t){t.style===it.PLAIN&&!qP(t.allowedStylesMask,it.PLAIN)&&(t.style=mFe(t))}o(i3t,"quoteInvalidPlain");function s3t(t){qP(t.allowedStylesMask,t.style)||(t.style=it.DOUBLE_QUOTED)}o(s3t,"fallbackToDoubleQuoted");function UB(t,e){return t|1<'\"%@`]",l3t="[,\\[\\]{}]",pK=GP,mK=`(?:(?!${l3t})${GP})`,u3t=`(?:(?:(?!${yFe})${GP})|[?:-](?=${pK}))`,f3t=`(?:(?:(?!${yFe})${GP})|[?:-](?=${mK}))`,EFe=`(?:(?:(?![:#])${pK})|:(?=${pK}))#*`,CFe=`(?:(?:(?![:#])${mK})|:(?=${mK}))#*`,bFe=`(?:${wK}*${EFe})*`,wFe=`(?:${wK}*${CFe})*`,IFe=`${u3t}#*${bFe}`,SFe=`${f3t}#*${wFe}`,d3t=IFe,h3t=SFe,p3t=`\\n+${EFe}${bFe}`,m3t=`\\n+${CFe}${wFe}`,A3t=`${IFe}(?:${p3t})*`,g3t=`${SFe}(?:${m3t})*`,y3t=new RegExp(`^(?:${A3t})$`,"u"),E3t=new RegExp(`^(?:${g3t})$`,"u"),C3t=new RegExp(`^(?:${d3t})$`,"u"),b3t=new RegExp(`^(?:${h3t})$`,"u"),w3t=new RegExp(`^(?:${gFe})*$`,"u"),I3t=new RegExp(`^(?:${gFe}|\\n)*$`,"u"),S3t=new RegExp(`^(?:${AFe}|\\n)*$`,"u"),B3t=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/,IK=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;function v3t(t){let e=t.node.value;if(e!==""){if(!(t.isKey?t.flowOnly?b3t:C3t:t.flowOnly?E3t:y3t).test(e)||t.shiftOfFirstLine===0&&B3t.test(e))return!1;if(t.shiftOfContent===0){let n=e.indexOf(` +`);if(n!==-1){let i=e.slice(n+1);if(IK.test(i))return!1}}}let r=t.presenterOptions.schema.resolveImplicitScalarTag(e).tag.tagName;return!(!t.node.tagged&&r!==t.node.tag||!t.node.tagged&&e==="="&&r===t.presenterOptions.schema.defaultScalarTag.tagName)}o(v3t,"canUsePlain");function x3t(t){let e=t.node.value;if(!(t.isKey?w3t:I3t).test(e)||/[ \t]\n|\n[ \t]/.test(e))return!1;if(!t.isKey&&t.shiftOfContent===0){let r=e.indexOf(` +`);if(r!==-1&&IK.test(e.slice(r+1)))return!1}return!0}o(x3t,"canUseSingleQuoted");function _3t(t){if(t.flowOnly||!S3t.test(t.node.value))return!1;let e=t.shiftOfContent-t.shiftOfParent;return!(e<1||e>9&&/^\n* /.test(t.node.value)||t.shiftOfContent===0&&IK.test(t.node.value))}o(_3t,"canUseBlock");function N3t(t){let e=UB(0,it.DOUBLE_QUOTED);v3t(t)&&(e=UB(e,it.PLAIN)),x3t(t)&&(e=UB(e,it.SINGLE_QUOTED)),_3t(t)&&(e=UB(UB(e,it.LITERAL_BLOCK),it.FOLDED_BLOCK)),t.allowedStylesMask=e}o(N3t,"detectAllowedStyles");function R3t(t){switch(t.style){case it.PLAIN:return T3t(t);case it.SINGLE_QUOTED:return D3t(t);case it.LITERAL_BLOCK:return Q3t(t);case it.FOLDED_BLOCK:return k3t(t);case it.DOUBLE_QUOTED:return P3t(t)}}o(R3t,"renderScalar");function T3t(t){return BFe(t.node.value,t.shiftOfContent)}o(T3t,"renderPlain");function D3t(t){return`'${BFe(t.node.value,t.shiftOfContent).replace(/'/g,"''")}'`}o(D3t,"renderSingleQuoted");function Q3t(t){let e=t.node.value;return"|"+xFe(e,t.shiftOfParent,t.shiftOfContent)+_Fe(vFe(e,t.shiftOfContent))}o(Q3t,"renderLiteralBlock");function k3t(t){let e=t.node.value,r=t.presenterOptions.lineWidth,n=1/0;return r!==-1&&(n=Math.max(Math.min(r,40),r-t.shiftOfContent)),">"+xFe(e,t.shiftOfParent,t.shiftOfContent)+_Fe(vFe(L3t(e,n),t.shiftOfContent))}o(k3t,"renderFoldedBlock");function P3t(t){return`"${U3t(t.node.value)}"`}o(P3t,"renderDoubleQuoted");function BFe(t,e){let r=t.indexOf(` `);if(r===-1)return t;let n=" ".repeat(e),i=t.slice(0,r),s=/(\n+)([^\n]*)/g;s.lastIndex=r;let a;for(;a=s.exec(t);){let c=a[1].length,l=a[2];i+=` -`.repeat(c+1)+n+l}return i}o(QOe,"encodeFlowBreaks");function kOe(t,e){let r=" ".repeat(e),n=0,i="",s=t.length;for(;ne&&(s=a>i?a:c,l+=` +`}o(xFe,"blockHeader");function _Fe(t){return t[t.length-1]===` +`?t.slice(0,-1):t}o(_Fe,"dropEndingNewline");function AK(t){return t===" "||t===" "}o(AK,"isMoreIndented");function oFe(t,e){if(t===""||AK(t[0]))return t;let r=/ [^ \t]/g,n,i=0,s,a=0,c=0,l="";for(;n=r.exec(t);)c=n.index,c-i>e&&(s=a>i?a:c,l+=` ${t.slice(i,s)}`,i=s+1),a=c;return l+=` `,t.length-i>e&&a>i?l+=`${t.slice(i,a)} -${t.slice(a+1)}`:l+=t.slice(i),l.slice(1)}o(pOe,"foldLine");function bMt(t,e){let r=/(\n+)([^\n]*)/g,n=t.indexOf(` -`);n===-1&&(n=t.length),r.lastIndex=n;let i=pOe(t.slice(0,n),e),s=t[0]===` -`||oK(t[0]),a,c;for(;c=r.exec(t);){let l=c[1],u=c[2];a=u!==""&&oK(u[0]),i+=l+(!s&&!a&&u!==""?` -`:"")+pOe(u,e),s=a}return i}o(bMt,"foldBlockScalar");var IMt=/["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;function wMt(t){switch(t){case"\0":return"\\0";case"\x07":return"\\a";case"\b":return"\\b";case" ":return"\\t";case` -`:return"\\n";case"\v":return"\\v";case"\f":return"\\f";case"\r":return"\\r";case"\x1B":return"\\e";case'"':return'\\"';case"\\":return"\\\\";case"\x85":return"\\N";case"\xA0":return"\\_";case"\u2028":return"\\L";case"\u2029":return"\\P"}let e=t.charCodeAt(0),r=e.toString(16).toUpperCase();return e<=255?`\\x${"0".repeat(2-r.length)}${r}`:`\\u${"0".repeat(4-r.length)}${r}`}o(wMt,"escapeCharacter");function SMt(t){return t.replace(IMt,wMt)}o(SMt,"escapeString");var oP=10,pK={indent:2,seqNoIndent:!1,seqInlineFirst:!0,lineWidth:80,flowBracketPadding:!1,flowSkipCommaSpace:!1,flowSkipColonSpace:!1,quoteFlowKeys:!1,quoteStyle:"single",forceQuotes:!1,scalarStyleRules:Object.keys(hOe).map(t=>Reflect.get(hOe,t)),tagBeforeAnchor:!1};function BMt(t){return t.tagged?t.tag:COe(t.tag)}o(BMt,"nodeTagShort");function xMt(t){let e={...pK,...t};return e.flowSkipColonSpace&&(e.quoteFlowKeys=!0),{...e,defaultScalarTagName:e.schema.defaultScalarTag.tagName,openEnded:!1}}o(xMt,"createPresenterState");function aK(t,e){return` -${" ".repeat(t.indent*e)}`}o(aK,"generateNextLine");function vMt(t,e,r,n,i,s){return{node:e,parent:r,level:n,isKey:i,flowOnly:s,shiftOfParent:n===0?-1:t.indent*(n-1),shiftOfContent:t.indent*Math.max(1,n),shiftOfFirstLine:n===0?0:t.indent*n,presenterOptions:t,allowedStylesMask:0,style:e.style}}o(vMt,"scalarLayout");function NMt(t,e,r){let n="";for(let s=0,a=r.items.length;s0&&(n+=`,${t.flowSkipCommaSpace?"":" "}`),n+=c}let i=t.flowBracketPadding&&r.items.length>0?" ":"";return`[${i}${n}${i}]`}o(NMt,"writeFlowSequence");function AOe(t,e,r,n){let i="";for(let s=0,a=r.items.length;s1024&&/^[\s\S]{1025}/u.test(h),m=d||p||g;m&&(h&&oP===h.charCodeAt(0)?c+="?":c+="? "),c+=h,m&&(c+=aK(t,e));let E=Id(t,e+1,u,r,{block:!0,compact:m,isblockseq:m&&!cK(t,u,e+1)}).text,y=l.kind==="scalar"&&f.noBody&&(l.tagged||l.anchor!==void 0),C=!m&&(l.kind==="alias"||y)?" ":"";E===""||oP===E.charCodeAt(0)?c+=`${C}:`:c+=`${C}: `,c+=E,i+=c}return i}o(TMt,"writeBlockMapping");function cK(t,e,r){return e.kind==="alias"?!0:e.tagged||e.anchor!==void 0||t.indent<2&&r>0}o(cK,"cannotBeCompact");function Id(t,e,r,n,i){if(r.kind==="alias")return t.openEnded=!1,{text:`*${r.anchor}`,noBody:!1};let{block:s=!1,iskey:a=!1,isblockseq:c=!1}=i,l=i.compact??!1,u=r.anchor!==void 0;cK(t,r,e)&&(l=!1);let d,f=r.tagged,h=s&&(r.kind==="mapping"||r.kind==="sequence")&&r.style===oh.BLOCK&&r.items.length!==0;if(r.kind==="mapping")h?d=TMt(t,e,r,l):d=_Mt(t,e,r);else if(r.kind==="sequence")h?t.seqNoIndent&&!c&&e>0?d=AOe(t,e-1,r,l):d=AOe(t,e,r,l):d=NMt(t,e,r);else{let m=vMt(t,r,n,e,a,!s);hMt(m);for(let E of t.scalarStyleRules)E(m);d=pMt(m),t.openEnded=(m.style===it.LITERAL_BLOCK||m.style===it.FOLDED_BLOCK)&&(r.value===` +${t.slice(a+1)}`:l+=t.slice(i),l.slice(1)}o(oFe,"foldLine");function L3t(t,e){let r=/(\n+)([^\n]*)/g,n=t.indexOf(` +`);n===-1&&(n=t.length),r.lastIndex=n;let i=oFe(t.slice(0,n),e),s=t[0]===` +`||AK(t[0]),a,c;for(;c=r.exec(t);){let l=c[1],u=c[2];a=u!==""&&AK(u[0]),i+=l+(!s&&!a&&u!==""?` +`:"")+oFe(u,e),s=a}return i}o(L3t,"foldBlockScalar");var F3t=/["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;function M3t(t){switch(t){case"\0":return"\\0";case"\x07":return"\\a";case"\b":return"\\b";case" ":return"\\t";case` +`:return"\\n";case"\v":return"\\v";case"\f":return"\\f";case"\r":return"\\r";case"\x1B":return"\\e";case'"':return'\\"';case"\\":return"\\\\";case"\x85":return"\\N";case"\xA0":return"\\_";case"\u2028":return"\\L";case"\u2029":return"\\P"}let e=t.charCodeAt(0),r=e.toString(16).toUpperCase();return e<=255?`\\x${"0".repeat(2-r.length)}${r}`:`\\u${"0".repeat(4-r.length)}${r}`}o(M3t,"escapeCharacter");function U3t(t){return t.replace(F3t,M3t)}o(U3t,"escapeString");var LP=10,SK={indent:2,seqNoIndent:!1,seqInlineFirst:!0,lineWidth:80,flowBracketPadding:!1,flowSkipCommaSpace:!1,flowSkipColonSpace:!1,quoteFlowKeys:!1,quoteStyle:"single",forceQuotes:!1,scalarStyleRules:Object.keys(sFe).map(t=>Reflect.get(sFe,t)),tagBeforeAnchor:!1};function q3t(t){return t.tagged?t.tag:dFe(t.tag)}o(q3t,"nodeTagShort");function G3t(t){let e={...SK,...t};return e.flowSkipColonSpace&&(e.quoteFlowKeys=!0),{...e,defaultScalarTagName:e.schema.defaultScalarTag.tagName,openEnded:!1}}o(G3t,"createPresenterState");function gK(t,e){return` +${" ".repeat(t.indent*e)}`}o(gK,"generateNextLine");function H3t(t,e,r,n,i,s){return{node:e,parent:r,level:n,isKey:i,flowOnly:s,shiftOfParent:n===0?-1:t.indent*(n-1),shiftOfContent:t.indent*Math.max(1,n),shiftOfFirstLine:n===0?0:t.indent*n,presenterOptions:t,allowedStylesMask:0,style:e.style}}o(H3t,"scalarLayout");function V3t(t,e,r){let n="";for(let s=0,a=r.items.length;s0&&(n+=`,${t.flowSkipCommaSpace?"":" "}`),n+=c}let i=t.flowBracketPadding&&r.items.length>0?" ":"";return`[${i}${n}${i}]`}o(V3t,"writeFlowSequence");function aFe(t,e,r,n){let i="";for(let s=0,a=r.items.length;s1024&&/^[\s\S]{1025}/u.test(h),g=f||p||A;g&&(h&&LP===h.charCodeAt(0)?c+="?":c+="? "),c+=h,g&&(c+=gK(t,e));let E=Tf(t,e+1,u,r,{block:!0,compact:g,isblockseq:g&&!yK(t,u,e+1)}).text,y=l.kind==="scalar"&&d.noBody&&(l.tagged||l.anchor!==void 0),C=!g&&(l.kind==="alias"||y)?" ":"";E===""||LP===E.charCodeAt(0)?c+=`${C}:`:c+=`${C}: `,c+=E,i+=c}return i}o(j3t,"writeBlockMapping");function yK(t,e,r){return e.kind==="alias"?!0:e.tagged||e.anchor!==void 0||t.indent<2&&r>0}o(yK,"cannotBeCompact");function Tf(t,e,r,n,i){if(r.kind==="alias")return t.openEnded=!1,{text:`*${r.anchor}`,noBody:!1};let{block:s=!1,iskey:a=!1,isblockseq:c=!1}=i,l=i.compact??!1,u=r.anchor!==void 0;yK(t,r,e)&&(l=!1);let f,d=r.tagged,h=s&&(r.kind==="mapping"||r.kind==="sequence")&&r.style===Ah.BLOCK&&r.items.length!==0;if(r.kind==="mapping")h?f=j3t(t,e,r,l):f=z3t(t,e,r);else if(r.kind==="sequence")h?t.seqNoIndent&&!c&&e>0?f=aFe(t,e-1,r,l):f=aFe(t,e,r,l):f=V3t(t,e,r);else{let g=H3t(t,r,n,e,a,!s);N3t(g);for(let E of t.scalarStyleRules)E(g);f=R3t(g),t.openEnded=(g.style===it.LITERAL_BLOCK||g.style===it.FOLDED_BLOCK)&&(r.value===` `||r.value.endsWith(` -`)),f=r.tagged||d===""&&m.flowOnly&&n?.kind==="sequence"&&!u||m.style!==it.PLAIN&&r.tag!==t.defaultScalarTagName}(r.kind==="mapping"||r.kind==="sequence")&&!h&&(t.openEnded=!1),h&&l&&e>0&&t.indent>2&&(d=`${" ".repeat(t.indent-2)}${d}`);let p=d==="",g=d;if(f||u){let m=[],E=f?BMt(r):null,y=u?`&${r.anchor}`:null;t.tagBeforeAnchor?(E!==null&&m.push(E),y!==null&&m.push(y)):(y!==null&&m.push(y),E!==null&&m.push(E));let C=d===""||d.charCodeAt(0)===oP?"":" ";g=`${m.join(" ")}${C}${d}`}return{text:g,noBody:p}}o(Id,"writeNode");function RMt(t){return(t.kind==="sequence"||t.kind==="mapping")&&t.style===oh.BLOCK&&t.items.length!==0&&!t.tagged&&t.anchor===void 0}o(RMt,"rootStartsOwnLine");function DMt(t){let e="";for(let r of t.directives){if(r.kind==="yaml"){e+=`%YAML ${r.version} +`)),d=r.tagged||f===""&&g.flowOnly&&n?.kind==="sequence"&&!u||g.style!==it.PLAIN&&r.tag!==t.defaultScalarTagName}(r.kind==="mapping"||r.kind==="sequence")&&!h&&(t.openEnded=!1),h&&l&&e>0&&t.indent>2&&(f=`${" ".repeat(t.indent-2)}${f}`);let p=f==="",A=f;if(d||u){let g=[],E=d?q3t(r):null,y=u?`&${r.anchor}`:null;t.tagBeforeAnchor?(E!==null&&g.push(E),y!==null&&g.push(y)):(y!==null&&g.push(y),E!==null&&g.push(E));let C=f===""||f.charCodeAt(0)===LP?"":" ";A=`${g.join(" ")}${C}${f}`}return{text:A,noBody:p}}o(Tf,"writeNode");function $3t(t){return(t.kind==="sequence"||t.kind==="mapping")&&t.style===Ah.BLOCK&&t.items.length!==0&&!t.tagged&&t.anchor===void 0}o($3t,"rootStartsOwnLine");function W3t(t){let e="";for(let r of t.directives){if(r.kind==="yaml"){e+=`%YAML ${r.version} `;continue}let{handle:n,prefix:i}=r;e+=`%TAG ${n} ${i} -`}return e}o(DMt,"writeDocumentDirectives");function QMt(t,e){let r=xMt(e),n="",i=!1;for(let s=0;s0&&!i;if(n+=c,a.contents===null)u&&(n+=`--- -`);else if(u){let d=Id(r,0,a.contents,null,{block:!0,compact:!0}).text,f=d===""?"":l||RMt(a.contents)?` -`:" ";n+=`---${f}${d} -`}else n+=Id(r,0,a.contents,null,{block:!0,compact:!0}).text+` +`}return e}o(W3t,"writeDocumentDirectives");function J3t(t,e){let r=G3t(e),n="",i=!1;for(let s=0;s0&&!i;if(n+=c,a.contents===null)u&&(n+=`--- +`);else if(u){let f=Tf(r,0,a.contents,null,{block:!0,compact:!0}).text,d=f===""?"":l||$3t(a.contents)?` +`:" ";n+=`---${d}${f} +`}else n+=Tf(r,0,a.contents,null,{block:!0,compact:!0}).text+` `;i=a.explicitEnd||r.openEnded,i&&(n+=`... -`)}return n}o(QMt,"present");var kMt={...pK,schema:BFt,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:o(()=>{},"transform")};function PMt(t,e){let r=String(t),n=String(e);return rn?1:0}o(PMt,"defaultCompareFn");function LOe(t,e={}){let r={...kMt,...e},n=PFt(t,r.schema,{noRefs:r.noRefs,skipInvalid:r.skipInvalid});if(r.flowLevel>=0&&fOe(n,(i,s)=>{if(!(s.depth{s.kind==="mapping"&&s.items.sort((a,c)=>i(a.key.kind==="scalar"?a.key.value:"",c.key.kind==="scalar"?c.key.value:""))})}return r.transform(n),QMt(n,{...AFt(r,Object.keys(pK)),schema:r.schema})}o(LOe,"dump");var CPr=rC.DOCUMENT,bPr=rC.SEQUENCE,IPr=rC.MAPPING,wPr=rC.SCALAR,SPr=rC.ALIAS,BPr=rC.POP,xPr=it.PLAIN,vPr=it.SINGLE_QUOTED,NPr=it.DOUBLE_QUOTED,_Pr=it.LITERAL_BLOCK,TPr=it.FOLDED_BLOCK,RPr=oh.BLOCK,DPr=oh.FLOW,QPr=dK.CLIP,kPr=dK.STRIP,PPr=dK.KEEP;var FOe=N(require("os"),1);var fP=class t{static{o(this,"GitHubSummary")}static async writeBuildSummary(e){let r=o(function(l,u,d=!1){return`${l}`+(d?FOe.default.EOL:"")},"addLink"),n=e.exportRes.refs.length,i=n>0?e.exportRes.refs?.[0]:void 0,s=i?e.exportRes.summaries?.[i]:void 0,a=e.driver==="cloud"&&e.endpoint?e.endpoint?.replace(/^cloud:\/\//,"").split("/")[0]:void 0,c=KU.addHeading("Docker Build summary",2);if(a&&n===1&&i&&s){let l=t.formatDBCBuildURL(a,i,s.defaultPlatform);c.addRaw("

").addRaw("For a detailed look at the build, you can check the results at:").addRaw("

").addRaw("

").addRaw(`:whale: ${r(`${l}`,l)}`).addRaw("

")}if(e.uploadRes){let l=`./${Xe.runId}/${e.uploadRes.url.split("/").slice(-2).join("/")}`;a&&n===1?c.addRaw("

").addRaw("You can also download the following build record archive and import it into Docker Desktop's Builds view. ").addBreak().addRaw("Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

"):c.addRaw("

").addRaw("For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. ").addBreak().addRaw("Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

"),c.addRaw("

").addRaw(`:arrow_down: ${r(`${re.stringToUnicodeEntities(e.uploadRes.filename)}`,l)} (${re.formatFileSize(e.uploadRes.size)} - includes ${n} build record${n>1?"s":""})`).addRaw("

")}else e.exportRes.summaries&&c.addRaw("

").addRaw("The following table provides a brief summary of your build.").addBreak().addRaw("For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

");if(c.addRaw("

").addRaw("Find this useful? ").addRaw(r("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("

"),e.exportRes.summaries){c.addRaw("

");let l=[[{header:!0,data:"ID"},{header:!0,data:"Name"},{header:!0,data:"Status"},{header:!0,data:"Cached"},{header:!0,data:"Duration"},...a&&n>1?[{header:!0,data:"Build result URL"}]:[]]],u;for(let d in e.exportRes.summaries)if(Object.prototype.hasOwnProperty.call(e.exportRes.summaries,d)){let f=e.exportRes.summaries[d];l.push([{data:`${d.substring(0,6).toUpperCase()}`},{data:`${re.stringToUnicodeEntities(f.name)}`},{data:`${f.status==="completed"?":white_check_mark:":f.status==="canceled"?":no_entry_sign:":":x:"} ${f.status}`},{data:`${f.numCachedSteps>0?Math.round(f.numCachedSteps/f.numTotalSteps*100):0}%`},{data:f.duration},...a&&n>1?[{data:r(":whale: Open",t.formatDBCBuildURL(a,d,f.defaultPlatform))}]:[]]),f.error&&(u=f.error)}c.addTable([...l]),c.addRaw("

"),u&&(c.addRaw("
"),re.countLines(u)>10?c.addRaw("
Error").addCodeBlock(AK.default.encode(u),"text").addRaw("
"):c.addRaw("Error").addBreak().addRaw("

").addCodeBlock(AK.default.encode(u),"text").addRaw("

"),c.addRaw("
"))}e.inputs&&c.addRaw("
Build inputs").addCodeBlock(LOe(e.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw("
"),e.bakeDefinition&&c.addRaw("
Bake definition").addCodeBlock(JSON.stringify(e.bakeDefinition,null,2),"json").addRaw("
"),O("Writing summary"),await c.addSeparator().write()}static formatDBCBuildURL(e,r,n){return`https://app.docker.com/build/accounts/${e}/builds/${(n??"linux/amd64").replace("/","-")}/${r}`}};var FA=N(require("fs"),1),mK=N(require("path"),1);var jt=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new yt,this.iidFilename=`build-iidfile-${re.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${re.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),n=e?.attrs||{},i=Object.entries(n).filter(([p])=>!r.has(p)),s=re.parseBoolOrDefault(n["fetch-by-commit"]),a=e?.ref||n.ref||ns.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&re.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;let c=`${Xe.serverURL}/${ns.repo.owner}/${ns.repo.repo}.git`,l=e?.checksum||n.checksum,u=e?.subdir||n.subdir,d=e?.format;if(!d){if(d="fragment",i.length>0)d="query";else if(re.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(d="query")}catch{}}let f=ns.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(f=typeof ns.payload.pull_request?.head?.sha=="string"?ns.payload.pull_request.head.sha:a);let h=l||f;if(d==="query"){let p=[`ref=${s||l?a:h}`],g=s?h:l;g&&p.push(`checksum=${g}`),u&&u!=="."&&p.push(`subdir=${u}`);for(let[m,E]of i)p.push(`${m}=${E}`);return`${c}?${p.join("&")}`}return`${c}#${h}${u&&u!=="."?`:${u}`:""}`}getImageIDFilePath(){return mK.default.join(gt.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(FA.default.existsSync(e))return FA.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return mK.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!FA.default.existsSync(e))return;let r=FA.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,n]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${n}`}static resolveSecretFile(e){let[r,n]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${n}`}static resolveSecretEnv(e){let[r,n]=t.parseSecretKvp(e);return`id=${r},env=${n}`}static resolveSecret(e,r){let[n,i]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!FA.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[n,i]}let s=gt.tmpName({tmpdir:gt.tmpDir()});return FA.default.writeFileSync(s,i),[n,s]}static getProvenanceInput(e){let r=li(e);if(!r)return r;try{return rp(e)?`builder-id=${Xe.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Xe.workflowRunURL(!0)}`;let r=Io(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of r)if(n.toString().split(/(?<=^[^=]+?)=/).map(s=>s.trim())[0]=="builder-id")return e;return`${e},builder-id=${Xe.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let n="registry",i="",s="",a=Io(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of a){let l=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());l[0]==="type"?n=l[1]:l[0]==="repository"?i=l[1]:l[0]==="ghtoken"&&(s=l[1])}return n==="gha"&&(i||(e=`${e},repository=${Xe.repository}`),!s&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let n=Io(r.join(` -`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of n){if(i.length==1&&!i[0].startsWith("type="))return e=="local";for(let[s,a]of i.map(c=>c.split("=").map(l=>l.trim())))if(s=="type"&&a==e)return!0}return!1}static hasAttestationType(e,r){let n=Io(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of n)for(let[s,a]of i.map(c=>c.split("=").map(l=>l.trim())))if(s=="type"&&a==e)return!0;return!1}static resolveAttestationAttrs(e){let r=Io(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),n=[];for(let i of r)for(let s of i)try{let a=re.parseBool(s);n.push(`disabled=${!a}`)}catch{n.push(s)}return n.join(",")}static hasGitAuthTokenSecret(e,r){for(let n of e){if(r&&n.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(n.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let n=e.indexOf("="),i=e.substring(0,n),s=e.substring(n+1);if(i.length==0||s.length==0)throw new Error(`${e} is not a valid secret`);return r&&Oc(s),[i,s]}};var gK=N(require("fs"),1),MOe=N(require("path"),1);var hP=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new yt,this.metadataFilename=`bake-metadata-${re.generateRandomString()}.json`}getMetadataFilePath(){return MOe.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!gK.default.existsSync(e))return;let r=gK.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let n in e)"buildx.build.ref"in e[n]&&r.push(e[n]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let n=["bake"],i,s=[],a=[...e.files||[],e.source];if(a){for(let l of a.map(u=>u?u.trim():""))if(l.length!=0){if(!re.isValidRef(l)){s.push(l);continue}if(i)throw new Error("Only one remote bake definition can be defined");i=l}}i&&n.push(i);for(let l of s)n.push("--file",l);if(e.overrides)for(let l of e.overrides)n.push("--set",l);if(e.vars)for(let l of e.vars)n.push("--var",l);if(e.allow)for(let l of e.allow)n.push("--allow",l);e.call&&n.push("--call",e.call),e.load&&n.push("--load"),e.noCache&&n.push("--no-cache"),e.provenance&&n.push("--provenance",e.provenance),e.push&&n.push("--push"),e.sbom&&n.push("--sbom",e.sbom);let c=await this.buildx.getCommand([...n,"--print",...e.targets||[]]);return await _e.getExecOutput(c.command,c.args,r).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(`cannot parse bake definitions: ${yt.getErrorMessage(l.stderr)}`);return t.parseDefinition(l.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let n in r.target){let i=r.target[n];i.attest&&Array.isArray(i.attest)&&(i.attest=i.attest.map(s=>t.parseAttestEntry(s))),i["cache-from"]&&Array.isArray(i["cache-from"])&&(i["cache-from"]=i["cache-from"].map(s=>t.parseCacheEntry(s))),i["cache-to"]&&Array.isArray(i["cache-to"])&&(i["cache-to"]=i["cache-to"].map(s=>t.parseCacheEntry(s))),i.output&&Array.isArray(i.output)&&(i.output=i.output.map(s=>t.parseExportEntry(s))),i.secret&&Array.isArray(i.secret)&&(i.secret=i.secret.map(s=>t.parseSecretEntry(s))),i.ssh&&Array.isArray(i.ssh)&&(i.ssh=i.ssh.map(s=>t.parseSSHEntry(s)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},n=Io(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(s){case"type":r.type=a;break;case"disabled":r.disabled=re.parseBool(a);break;default:r[s]=a}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},n=Io(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&!n[0].includes("="))return r.type="registry",r.ref=n[0],r;for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());s==="type"?r.type=a:r[s]=a}return r}static parseExportEntry(e){if(typeof e!="string")return e;let r={type:""},n=Io(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&n[0]===e&&!e.startsWith("type="))return e!=="-"?(r.type="local",r.dest=e,r):(r.type="tar",r.dest=e,r);for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());s==="type"?r.type=a:r[s]=a}return r}static parseSecretEntry(e){if(typeof e!="string")return e;let r={},n=Io(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0],i="";for(let s of n){let[a,c]=s.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());switch(a){case"type":i=c;break;case"id":r.id=c;break;case"source":case"src":r.src=c;break;case"env":r.env=c;break}}return i==="env"&&!r.env&&(r.env=r.src,r.src=void 0),r}static parseSSHEntry(e){if(typeof e!="string")return e;let r={},[n,i]=e.split("=",2);return r.id=n,i&&(r.paths=i.split(",")),r}static hasLocalExporter(e){return t.hasExporterType("local",t.exporters(e))}static hasTarExporter(e){return t.hasExporterType("tar",t.exporters(e))}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",t.exporters(e))}static hasExporterType(e,r){for(let n of r)if(n.type==e)return!0;return!1}static exporters(e){let r=new Array;for(let n in e.target){let i=e.target[n];if(i.output)for(let s of i.output)r.push(t.parseExportEntry(s))}return r}static hasGitAuthTokenSecret(e){for(let r in e.target){let n=e.target[r];if(n.secret){for(let i of n.secret)if(t.parseSecretEntry(i).id==="GIT_AUTH_TOKEN")return!0}}return!1}static hasProvenanceAttestation(e){return t.hasAttestationType("provenance",t.attestations(e))}static hasSBOMAttestation(e){return t.hasAttestationType("sbom",t.attestations(e))}static hasAttestationType(e,r){for(let n of r)if(n.type==e)return!0;return!1}static attestations(e){let r=new Array;for(let n in e.target){let i=e.target[n];if(i.attest)for(let s of i.attest)r.push(t.parseAttestEntry(s))}return r}};var _d=N(require("fs"),1),lu=N(require("os"),1),wh=N(require("path"),1);var LC=N(cc(),1),zX=N(require("util"),1);var nC=class t{static{o(this,"Git")}static async context(e){let r={...ns};return r.ref=await t.ref(e),r.sha=await t.fullCommit(e),r}static async isInsideWorkTree(e){return await t.exec(["rev-parse","--is-inside-work-tree"],e).then(r=>r==="true").catch(()=>!1)}static async remoteSha(e,r,n){let i=e.match(/github.com\/([^/]+)\/([^/]+?)(?:\.git)?(\/|$)/);if(n&&i){Oc(n);let s=qD(n,{baseUrl:Xe.apiURL}),[a,c]=i.slice(1,3);try{return(await s.rest.repos.listCommits({owner:a,repo:c,sha:r,per_page:1})).data[0].sha}catch(l){throw new Error(`Cannot find remote ref for ${e}#${r}: ${l.message}`)}}return await t.exec(["ls-remote",e,r]).then(s=>{let[a]=s.split(/[\s\t]/);if(a.length==0)throw new Error(`Cannot find remote ref for ${e}#${r}`);return a})}static async remoteURL(e){return await t.exec(["remote","get-url","origin"],e).then(r=>r.length==0?t.exec(["remote","get-url","upstream"],e).then(n=>{if(n.length==0)throw new Error("Cannot find remote URL for origin or upstream");return n}):r)}static async ref(e){return await t.isHeadDetached(e)?await t.getDetachedRef(e):await t.exec(["symbolic-ref","HEAD"],e)}static async fullCommit(e){return await t.exec(["show","--format=%H","HEAD","--quiet","--"],e)}static async shortCommit(e){return await t.exec(["show","--format=%h","HEAD","--quiet","--"],e)}static async commitCount(e){return Number(await t.exec(["rev-list","--count","HEAD","--"],e))}static async tag(e){return await t.exec(["tag","--points-at","HEAD","--sort","-version:creatordate"],e).then(r=>r.length==0?t.exec(["describe","--tags","--abbrev=0"],e):r.split(` -`)[0])}static async isHeadDetached(e){return await t.exec(["branch","--show-current"],e).then(r=>r.length==0)}static async getDetachedRef(e){let r=await t.exec(["show","-s","--pretty=%D"],e);R(`detached HEAD ref: ${r}`);let n=r.replace(/^grafted, /,"").trim();if(n==="HEAD")return await t.inferRefFromHead(e);let i=n.match(/^HEAD, (.*)$/);if(!i||!i[1])throw new Error(`Cannot find detached HEAD ref in "${r}"`);let s=i[1].trim();if(s.startsWith("tag: "))return await t.findDetachedTagRef(s,r,e);if(s.match(/^pull\/\d+\/(head|merge)$/))return`refs/${s}`;let c=s.match(/^[^/]+\/[^/]+, (.+)$/);if(c)return`refs/heads/${c[1].trim()}`;let l=s.match(/^[^/]+\/(.+)$/);if(l)return`refs/heads/${l[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${r}"`)}static async exec(e=[],r){return await _e.getExecOutput("git",e,{cwd:r,ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.stdout.trim()})}static async inferRefFromHead(e){let r=await t.findContainingRef("refs/heads/",e);if(r)return r;let n=await t.findContainingRef("refs/remotes/",e);if(n){let a=n.match(/^refs\/remotes\/[^/]+\/(.+)$/);return a?`refs/heads/${a[1]}`:n}let i=await t.exec(["tag","--contains","HEAD"],e),[s]=i.split(` +`)}return n}o(J3t,"present");var Y3t={...SK,schema:qqt,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:o(()=>{},"transform")};function K3t(t,e){let r=String(t),n=String(e);return rn?1:0}o(K3t,"defaultCompareFn");function NFe(t,e={}){let r={...Y3t,...e},n=Kqt(t,r.schema,{noRefs:r.noRefs,skipInvalid:r.skipInvalid});if(r.flowLevel>=0&&iFe(n,(i,s)=>{if(!(s.depth{s.kind==="mapping"&&s.items.sort((a,c)=>i(a.key.kind==="scalar"?a.key.value:"",c.key.kind==="scalar"?c.key.value:""))})}return r.transform(n),J3t(n,{...Tqt(r,Object.keys(SK)),schema:r.schema})}o(NFe,"dump");var mqr=CC.DOCUMENT,Aqr=CC.SEQUENCE,gqr=CC.MAPPING,yqr=CC.SCALAR,Eqr=CC.ALIAS,Cqr=CC.POP,bqr=it.PLAIN,wqr=it.SINGLE_QUOTED,Iqr=it.DOUBLE_QUOTED,Sqr=it.LITERAL_BLOCK,Bqr=it.FOLDED_BLOCK,vqr=Ah.BLOCK,xqr=Ah.FLOW,_qr=bK.CLIP,Nqr=bK.STRIP,Rqr=bK.KEEP;var RFe=N(require("os"),1);var HP=class t{static{o(this,"GitHubSummary")}static async writeBuildSummary(e){let r=o(function(l,u,f=!1){return`${l}`+(f?RFe.default.EOL:"")},"addLink"),n=e.exportRes.refs.length,i=n>0?e.exportRes.refs?.[0]:void 0,s=i?e.exportRes.summaries?.[i]:void 0,a=e.driver==="cloud"&&e.endpoint?e.endpoint?.replace(/^cloud:\/\//,"").split("/")[0]:void 0,c=a3.addHeading("Docker Build summary",2);if(a&&n===1&&i&&s){let l=t.formatDBCBuildURL(a,i,s.defaultPlatform);c.addRaw("

").addRaw("For a detailed look at the build, you can check the results at:").addRaw("

").addRaw("

").addRaw(`:whale: ${r(`${l}`,l)}`).addRaw("

")}if(e.uploadRes){let l=`./${Xe.runId}/${e.uploadRes.url.split("/").slice(-2).join("/")}`;a&&n===1?c.addRaw("

").addRaw("You can also download the following build record archive and import it into Docker Desktop's Builds view. ").addBreak().addRaw("Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

"):c.addRaw("

").addRaw("For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. ").addBreak().addRaw("Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

"),c.addRaw("

").addRaw(`:arrow_down: ${r(`${ne.stringToUnicodeEntities(e.uploadRes.filename)}`,l)} (${ne.formatFileSize(e.uploadRes.size)} - includes ${n} build record${n>1?"s":""})`).addRaw("

")}else e.exportRes.summaries&&c.addRaw("

").addRaw("The following table provides a brief summary of your build.").addBreak().addRaw("For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. ").addRaw(r("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

");if(c.addRaw("

").addRaw("Find this useful? ").addRaw(r("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("

"),e.exportRes.summaries){c.addRaw("

");let l=[[{header:!0,data:"ID"},{header:!0,data:"Name"},{header:!0,data:"Status"},{header:!0,data:"Cached"},{header:!0,data:"Duration"},...a&&n>1?[{header:!0,data:"Build result URL"}]:[]]],u;for(let f in e.exportRes.summaries)if(Object.prototype.hasOwnProperty.call(e.exportRes.summaries,f)){let d=e.exportRes.summaries[f];l.push([{data:`${f.substring(0,6).toUpperCase()}`},{data:`${ne.stringToUnicodeEntities(d.name)}`},{data:`${d.status==="completed"?":white_check_mark:":d.status==="canceled"?":no_entry_sign:":":x:"} ${d.status}`},{data:`${d.numCachedSteps>0?Math.round(d.numCachedSteps/d.numTotalSteps*100):0}%`},{data:d.duration},...a&&n>1?[{data:r(":whale: Open",t.formatDBCBuildURL(a,f,d.defaultPlatform))}]:[]]),d.error&&(u=d.error)}c.addTable([...l]),c.addRaw("

"),u&&(c.addRaw("
"),ne.countLines(u)>10?c.addRaw("
Error").addCodeBlock(BK.default.encode(u),"text").addRaw("
"):c.addRaw("Error").addBreak().addRaw("

").addCodeBlock(BK.default.encode(u),"text").addRaw("

"),c.addRaw("
"))}e.inputs&&c.addRaw("
Build inputs").addCodeBlock(NFe(e.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw("
"),e.bakeDefinition&&c.addRaw("
Bake definition").addCodeBlock(JSON.stringify(e.bakeDefinition,null,2),"json").addRaw("
"),O("Writing summary"),await c.addSeparator().write()}static formatDBCBuildURL(e,r,n){return`https://app.docker.com/build/accounts/${e}/builds/${(n??"linux/amd64").replace("/","-")}/${r}`}};var Km=N(require("fs"),1),vK=N(require("path"),1);var $t=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new yt,this.iidFilename=`build-iidfile-${ne.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${ne.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),n=e?.attrs||{},i=Object.entries(n).filter(([p])=>!r.has(p)),s=ne.parseBoolOrDefault(n["fetch-by-commit"]),a=e?.ref||n.ref||ss.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&ne.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;let c=`${Xe.serverURL}/${ss.repo.owner}/${ss.repo.repo}.git`,l=e?.checksum||n.checksum,u=e?.subdir||n.subdir,f=e?.format;if(!f){if(f="fragment",i.length>0)f="query";else if(ne.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(f="query")}catch{}}let d=ss.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(d=typeof ss.payload.pull_request?.head?.sha=="string"?ss.payload.pull_request.head.sha:a);let h=l||d;if(f==="query"){let p=[`ref=${s||l?a:h}`],A=s?h:l;A&&p.push(`checksum=${A}`),u&&u!=="."&&p.push(`subdir=${u}`);for(let[g,E]of i)p.push(`${g}=${E}`);return`${c}?${p.join("&")}`}return`${c}#${h}${u&&u!=="."?`:${u}`:""}`}getImageIDFilePath(){return vK.default.join(gt.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(Km.default.existsSync(e))return Km.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return vK.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!Km.default.existsSync(e))return;let r=Km.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,n]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${n}`}static resolveSecretFile(e){let[r,n]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${n}`}static resolveSecretEnv(e){let[r,n]=t.parseSecretKvp(e);return`id=${r},env=${n}`}static resolveSecret(e,r){let[n,i]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!Km.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[n,i]}let s=gt.tmpName({tmpdir:gt.tmpDir()});return Km.default.writeFileSync(s,i),[n,s]}static getProvenanceInput(e){let r=ui(e);if(!r)return r;try{return mp(e)?`builder-id=${Xe.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Xe.workflowRunURL(!0)}`;let r=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of r)if(n.toString().split(/(?<=^[^=]+?)=/).map(s=>s.trim())[0]=="builder-id")return e;return`${e},builder-id=${Xe.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let n="registry",i="",s="",a=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of a){let l=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());l[0]==="type"?n=l[1]:l[0]==="repository"?i=l[1]:l[0]==="ghtoken"&&(s=l[1])}return n==="gha"&&(i||(e=`${e},repository=${Xe.repository}`),!s&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let n=So(r.join(` +`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of n){if(i.length==1&&!i[0].startsWith("type="))return e=="local";for(let[s,a]of i.map(c=>c.split("=").map(l=>l.trim())))if(s=="type"&&a==e)return!0}return!1}static hasAttestationType(e,r){let n=So(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of n)for(let[s,a]of i.map(c=>c.split("=").map(l=>l.trim())))if(s=="type"&&a==e)return!0;return!1}static resolveAttestationAttrs(e){let r=So(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),n=[];for(let i of r)for(let s of i)try{let a=ne.parseBool(s);n.push(`disabled=${!a}`)}catch{n.push(s)}return n.join(",")}static hasGitAuthTokenSecret(e,r){for(let n of e){if(r&&n.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(n.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let n=e.indexOf("="),i=e.substring(0,n),s=e.substring(n+1);if(i.length==0||s.length==0)throw new Error(`${e} is not a valid secret`);return r&&Gc(s),[i,s]}};var xK=N(require("fs"),1),TFe=N(require("path"),1);var VP=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new yt,this.metadataFilename=`bake-metadata-${ne.generateRandomString()}.json`}getMetadataFilePath(){return TFe.default.join(gt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!xK.default.existsSync(e))return;let r=xK.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let n in e)"buildx.build.ref"in e[n]&&r.push(e[n]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let n=["bake"],i,s=[],a=[...e.files||[],e.source];if(a){for(let l of a.map(u=>u?u.trim():""))if(l.length!=0){if(!ne.isValidRef(l)){s.push(l);continue}if(i)throw new Error("Only one remote bake definition can be defined");i=l}}i&&n.push(i);for(let l of s)n.push("--file",l);if(e.overrides)for(let l of e.overrides)n.push("--set",l);if(e.vars)for(let l of e.vars)n.push("--var",l);if(e.allow)for(let l of e.allow)n.push("--allow",l);e.call&&n.push("--call",e.call),e.load&&n.push("--load"),e.noCache&&n.push("--no-cache"),e.provenance&&n.push("--provenance",e.provenance),e.push&&n.push("--push"),e.sbom&&n.push("--sbom",e.sbom);let c=await this.buildx.getCommand([...n,"--print",...e.targets||[]]);return await Ne.getExecOutput(c.command,c.args,r).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(`cannot parse bake definitions: ${yt.getErrorMessage(l.stderr)}`);return t.parseDefinition(l.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let n in r.target){let i=r.target[n];i.attest&&Array.isArray(i.attest)&&(i.attest=i.attest.map(s=>t.parseAttestEntry(s))),i["cache-from"]&&Array.isArray(i["cache-from"])&&(i["cache-from"]=i["cache-from"].map(s=>t.parseCacheEntry(s))),i["cache-to"]&&Array.isArray(i["cache-to"])&&(i["cache-to"]=i["cache-to"].map(s=>t.parseCacheEntry(s))),i.output&&Array.isArray(i.output)&&(i.output=i.output.map(s=>t.parseExportEntry(s))),i.secret&&Array.isArray(i.secret)&&(i.secret=i.secret.map(s=>t.parseSecretEntry(s))),i.ssh&&Array.isArray(i.ssh)&&(i.ssh=i.ssh.map(s=>t.parseSSHEntry(s)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(s){case"type":r.type=a;break;case"disabled":r.disabled=ne.parseBool(a);break;default:r[s]=a}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&!n[0].includes("="))return r.type="registry",r.ref=n[0],r;for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());s==="type"?r.type=a:r[s]=a}return r}static parseExportEntry(e){if(typeof e!="string")return e;let r={type:""},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&n[0]===e&&!e.startsWith("type="))return e!=="-"?(r.type="local",r.dest=e,r):(r.type="tar",r.dest=e,r);for(let i of n){let[s,a]=i.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());s==="type"?r.type=a:r[s]=a}return r}static parseSecretEntry(e){if(typeof e!="string")return e;let r={},n=So(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0],i="";for(let s of n){let[a,c]=s.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());switch(a){case"type":i=c;break;case"id":r.id=c;break;case"source":case"src":r.src=c;break;case"env":r.env=c;break}}return i==="env"&&!r.env&&(r.env=r.src,r.src=void 0),r}static parseSSHEntry(e){if(typeof e!="string")return e;let r={},[n,i]=e.split("=",2);return r.id=n,i&&(r.paths=i.split(",")),r}static hasLocalExporter(e){return t.hasExporterType("local",t.exporters(e))}static hasTarExporter(e){return t.hasExporterType("tar",t.exporters(e))}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",t.exporters(e))}static hasExporterType(e,r){for(let n of r)if(n.type==e)return!0;return!1}static exporters(e){let r=new Array;for(let n in e.target){let i=e.target[n];if(i.output)for(let s of i.output)r.push(t.parseExportEntry(s))}return r}static hasGitAuthTokenSecret(e){for(let r in e.target){let n=e.target[r];if(n.secret){for(let i of n.secret)if(t.parseSecretEntry(i).id==="GIT_AUTH_TOKEN")return!0}}return!1}static hasProvenanceAttestation(e){return t.hasAttestationType("provenance",t.attestations(e))}static hasSBOMAttestation(e){return t.hasAttestationType("sbom",t.attestations(e))}static hasAttestationType(e,r){for(let n of r)if(n.type==e)return!0;return!1}static attestations(e){let r=new Array;for(let n in e.target){let i=e.target[n];if(i.attest)for(let s of i.attest)r.push(t.parseAttestEntry(s))}return r}};var Ff=N(require("fs"),1),mu=N(require("os"),1),Qh=N(require("path"),1);var tb=N(hc(),1),tee=N(require("util"),1);var bC=class t{static{o(this,"Git")}static async context(e){let r={...ss};return r.ref=await t.ref(e),r.sha=await t.fullCommit(e),r}static async isInsideWorkTree(e){return await t.exec(["rev-parse","--is-inside-work-tree"],e).then(r=>r==="true").catch(()=>!1)}static async remoteSha(e,r,n){let i=e.match(/github.com\/([^/]+)\/([^/]+?)(?:\.git)?(\/|$)/);if(n&&i){Gc(n);let s=y1(n,{baseUrl:Xe.apiURL}),[a,c]=i.slice(1,3);try{return(await s.rest.repos.listCommits({owner:a,repo:c,sha:r,per_page:1})).data[0].sha}catch(l){throw new Error(`Cannot find remote ref for ${e}#${r}: ${l.message}`)}}return await t.exec(["ls-remote",e,r]).then(s=>{let[a]=s.split(/[\s\t]/);if(a.length==0)throw new Error(`Cannot find remote ref for ${e}#${r}`);return a})}static async remoteURL(e){return await t.exec(["remote","get-url","origin"],e).then(r=>r.length==0?t.exec(["remote","get-url","upstream"],e).then(n=>{if(n.length==0)throw new Error("Cannot find remote URL for origin or upstream");return n}):r)}static async ref(e){return await t.isHeadDetached(e)?await t.getDetachedRef(e):await t.exec(["symbolic-ref","HEAD"],e)}static async fullCommit(e){return await t.exec(["show","--format=%H","HEAD","--quiet","--"],e)}static async shortCommit(e){return await t.exec(["show","--format=%h","HEAD","--quiet","--"],e)}static async commitCount(e){return Number(await t.exec(["rev-list","--count","HEAD","--"],e))}static async tag(e){return await t.exec(["tag","--points-at","HEAD","--sort","-version:creatordate"],e).then(r=>r.length==0?t.exec(["describe","--tags","--abbrev=0"],e):r.split(` +`)[0])}static async isHeadDetached(e){return await t.exec(["branch","--show-current"],e).then(r=>r.length==0)}static async getDetachedRef(e){let r=await t.exec(["show","-s","--pretty=%D"],e);D(`detached HEAD ref: ${r}`);let n=r.replace(/^grafted, /,"").trim();if(n==="HEAD")return await t.inferRefFromHead(e);let i=n.match(/^HEAD, (.*)$/);if(!i||!i[1])throw new Error(`Cannot find detached HEAD ref in "${r}"`);let s=i[1].trim();if(s.startsWith("tag: "))return await t.findDetachedTagRef(s,r,e);if(s.match(/^pull\/\d+\/(head|merge)$/))return`refs/${s}`;let c=s.match(/^[^/]+\/[^/]+, (.+)$/);if(c)return`refs/heads/${c[1].trim()}`;let l=s.match(/^[^/]+\/(.+)$/);if(l)return`refs/heads/${l[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${r}"`)}static async exec(e=[],r){return await Ne.getExecOutput("git",e,{cwd:r,ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.stdout.trim()})}static async inferRefFromHead(e){let r=await t.findContainingRef("refs/heads/",e);if(r)return r;let n=await t.findContainingRef("refs/remotes/",e);if(n){let a=n.match(/^refs\/remotes\/[^/]+\/(.+)$/);return a?`refs/heads/${a[1]}`:n}let i=await t.exec(["tag","--contains","HEAD"],e),[s]=i.split(` `).map(a=>a.trim()).filter(a=>a.length>0);return s?`refs/tags/${s}`:""}static async findDetachedTagRef(e,r,n){let s=(await t.exec(["for-each-ref","--format=%(refname)","--points-at","HEAD","refs/tags/"],n)).split(` `).map(a=>a.trim()).filter(a=>a.length>0).sort((a,c)=>c.length-a.length);for(let a of s){let c=`tag: ${a.slice(10)}`;if(e===c||e.startsWith(`${c}, `))return a}if(s.length===1)return s[0];throw new Error(`Cannot find detached tag ref in "${r}"`)}static async findContainingRef(e,r){let n=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e],r),[i]=n.split(` -`).map(s=>s.trim()).filter(s=>s.length>0);return i}static async commitDate(e,r){return new Date(await t.exec(["show","-s",'--format="%ci"',e],r))}};var tUe=require("crypto"),au=N(require("fs"),1),cu=N(require("path"),1);var PC=N(BK(),1),rUe=N(U7(),1),OC=N(YMe(),1);var XMe=require("util");var HX=N(BK(),1);var ZMe=N(cc(),1);var KMe="application/vnd.oci.empty.v1+json";var Vs=class{static{o(this,"Cosign")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await _e.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(R(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(R(`Cosign.isAvailable error: ${r}`),!1));return R(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await _e.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await _e.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}static getErrorMessage(e){let r=(0,XMe.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i)return i}return"unknown error"}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return R("Cosign.versionSatisfies false: undefined version"),!1;let i=ZMe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return R(`Cosign.versionSatisfies ${n} statisfies ${e}: ${i}`),i}static parseCommandOutput(e){let r,n,i,s;for(let a of e.split(/\r?\n/)){let c=a.trim();if(!c.startsWith("{")||!c.endsWith("}"))continue;let l;try{l=JSON.parse(c)}catch{continue}if(l&&Array.isArray(l.errors)&&l.errors.length>0&&(s=l.errors),!r&&l&&Array.isArray(l.manifests)&&l.manifests.length>0){let u=l.manifests[0];u?.artifactType===HX.BUNDLE_V03_MEDIA_TYPE&&typeof u.digest=="string"?r=u.digest:u?.artifactType===KMe&&typeof u.digest=="string"&&(n=u.digest)}if(!i&&l&&l.mediaType===HX.BUNDLE_V03_MEDIA_TYPE&&(i=l),i&&(r||n)){s=void 0;break}}return{bundle:i,signatureManifestDigest:r||n,errors:s}}};var VX=N(require("fs"),1);var $O=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let n=r.manifests.filter(a=>a.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return n;let i=e.platform,s=new Map;for(let a of r.manifests)a.digest&&s.set(a.digest,a);return n.filter(a=>{let c=a.annotations?.["vnd.docker.reference.digest"];if(!c)return!1;let l=s.get(c);return l?l.platform?.os===i.os&&l.platform?.architecture===i.architecture&&(l.platform?.variant??"")===(i.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],n=gt.tmpName({tmpdir:gt.tmpDir(),template:"imagetools-metadata-XXXXXX"}),i=[],s=[];for(let c of e.sources){if(c.startsWith("cwd://")){let l=c.substring(6);l.length>0&&i.push(l);continue}s.push(c)}if(e.tags)for(let c of e.tags)r.push("--tag",c);if(e.platforms)for(let c of e.platforms)r.push("--platform",c);if(e.annotations)for(let c of e.annotations)r.push("--annotation",c);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",n);for(let c of i)r.push("--file",c);for(let c of s)r.push(c);let a=await this.getCreateCommand(r);if(e.skipExec){O(`[command]${a.command} ${a.args.join(" ")}`),O("Skipped create command");return}return await _e.getExecOutput(a.command,a.args,{ignoreReturnCode:!0,silent:e.silent}).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(c.stderr.trim());if(!e.dryRun){if(!VX.default.existsSync(n))return;let l=VX.default.readFileSync(n,{encoding:"utf-8"}).trim();if(l===""||l==="null")return;let u=JSON.parse(l),d=u["containerimage.descriptor"];return d?{digest:u["containerimage.digest"]||d.digest,descriptor:d,imageNames:u["image.name"]?u["image.name"].split(",").map(f=>f.trim()):[]}:void 0}})}async inspect(e,r,n){let i=await this.getInspectCommand([e.name,"--format",r]);if(!e.retryOnManifestUnknown)return await this.execInspect(i.command,i.args,n);let s=e.retryLimit??15,a;for(let c=0;csetTimeout(u,Math.pow(2,c)*100))}throw a??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,n){return await _e.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return n(JSON.parse(i.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown)/i.test(e)||/:\s*not found$/i.test(e)}};var kC="https://search.sigstore.dev";var eUe="slsaprovenance1",Ih=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new Vs,this.imageTools=e?.imageTools||new $O}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},i=await this.cosignSigningConfigArgs(n);for(let s of e.imageNames){let a=await this.imageTools.attestationDigests({name:`${s}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let c of a){let l=`${s}@${c}`;await kr(`Signing attestation manifest ${l}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1",...await this.bundleFormatArgs(),...i];O(`[command]${this.cosign.binPath} ${[...u,l].join(" ")}`);let d=await _e.getExecOutput(this.cosign.binPath,["--verbose",...u,l],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),f=Vs.parseCommandOutput(d.stderr.trim());if(d.exitCode!=0)if(f.errors&&f.errors.length>0){let p=f.errors.map(g=>`- [${g.code}] ${g.message} : ${g.detail}`).join(` +`).map(s=>s.trim()).filter(s=>s.length>0);return i}static async commitDate(e,r){return new Date(await t.exec(["show","-s",'--format="%ci"',e],r))}};var $qe=require("crypto"),hu=N(require("fs"),1),pu=N(require("path"),1);var ZC=N(PK(),1),Wqe=N(YX(),1),eb=N(Gqe(),1);var Vqe=require("util");var ZZ=N(PK(),1);var zqe=N(hc(),1);var Hqe="application/vnd.oci.empty.v1+json";var js=class{static{o(this,"Cosign")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await Ne.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(D(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(D(`Cosign.isAvailable error: ${r}`),!1));return D(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ne.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await Ne.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}static getErrorMessage(e){let r=(0,Vqe.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i)return i}return"unknown error"}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Cosign.versionSatisfies false: undefined version"),!1;let i=zqe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Cosign.versionSatisfies ${n} statisfies ${e}: ${i}`),i}static parseCommandOutput(e){let r,n,i,s;for(let a of e.split(/\r?\n/)){let c=a.trim();if(!c.startsWith("{")||!c.endsWith("}"))continue;let l;try{l=JSON.parse(c)}catch{continue}if(l&&Array.isArray(l.errors)&&l.errors.length>0&&(s=l.errors),!r&&l&&Array.isArray(l.manifests)&&l.manifests.length>0){let u=l.manifests[0];u?.artifactType===ZZ.BUNDLE_V03_MEDIA_TYPE&&typeof u.digest=="string"?r=u.digest:u?.artifactType===Hqe&&typeof u.digest=="string"&&(n=u.digest)}if(!i&&l&&l.mediaType===ZZ.BUNDLE_V03_MEDIA_TYPE&&(i=l),i&&(r||n)){s=void 0;break}}return{bundle:i,signatureManifestDigest:r||n,errors:s}}};var eee=N(require("fs"),1);var IL=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let n=r.manifests.filter(a=>a.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return n;let i=e.platform,s=new Map;for(let a of r.manifests)a.digest&&s.set(a.digest,a);return n.filter(a=>{let c=a.annotations?.["vnd.docker.reference.digest"];if(!c)return!1;let l=s.get(c);return l?l.platform?.os===i.os&&l.platform?.architecture===i.architecture&&(l.platform?.variant??"")===(i.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],n=gt.tmpName({tmpdir:gt.tmpDir(),template:"imagetools-metadata-XXXXXX"}),i=[],s=[];for(let c of e.sources){if(c.startsWith("cwd://")){let l=c.substring(6);l.length>0&&i.push(l);continue}s.push(c)}if(e.tags)for(let c of e.tags)r.push("--tag",c);if(e.platforms)for(let c of e.platforms)r.push("--platform",c);if(e.annotations)for(let c of e.annotations)r.push("--annotation",c);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",n);for(let c of i)r.push("--file",c);for(let c of s)r.push(c);let a=await this.getCreateCommand(r);if(e.skipExec){O(`[command]${a.command} ${a.args.join(" ")}`),O("Skipped create command");return}return await Ne.getExecOutput(a.command,a.args,{ignoreReturnCode:!0,silent:e.silent}).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(c.stderr.trim());if(!e.dryRun){if(!eee.default.existsSync(n))return;let l=eee.default.readFileSync(n,{encoding:"utf-8"}).trim();if(l===""||l==="null")return;let u=JSON.parse(l),f=u["containerimage.descriptor"];return f?{digest:u["containerimage.digest"]||f.digest,descriptor:f,imageNames:u["image.name"]?u["image.name"].split(",").map(d=>d.trim()):[]}:void 0}})}async inspect(e,r,n){let i=await this.getInspectCommand([e.name,"--format",r]);if(!e.retryOnManifestUnknown)return await this.execInspect(i.command,i.args,n);let s=e.retryLimit??15,a;for(let c=0;csetTimeout(u,Math.pow(2,c)*100))}throw a??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,n){return await Ne.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return n(JSON.parse(i.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown)/i.test(e)||/:\s*not found$/i.test(e)}};var XC="https://search.sigstore.dev";var jqe="slsaprovenance1",Dh=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new js,this.imageTools=e?.imageTools||new IL}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},i=await this.cosignSigningConfigArgs(n);for(let s of e.imageNames){let a=await this.imageTools.attestationDigests({name:`${s}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let c of a){let l=`${s}@${c}`;await kr(`Signing attestation manifest ${l}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1",...await this.bundleFormatArgs(),...i];O(`[command]${this.cosign.binPath} ${[...u,l].join(" ")}`);let f=await Ne.getExecOutput(this.cosign.binPath,["--verbose",...u,l],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),d=js.parseCommandOutput(f.stderr.trim());if(f.exitCode!=0)if(d.errors&&d.errors.length>0){let p=d.errors.map(A=>`- [${A.code}] ${A.message} : ${A.detail}`).join(` `);throw new Error(`Cosign sign command failed with errors: -${p}`)}else throw new Error(`Cosign sign command failed with: ${Vs.getErrorMessage(d.stderr)}`);let h=t.parseBundle((0,PC.bundleFromJSON)(f.bundle));h.tlogID&&await this.logTransparencyUpload(h.tlogID,n),O(`Signature manifest pushed: https://oci.dag.dev/?referrers=${l}`),r[l]={...h,imageName:s}})}}}catch(n){throw new Error(`Signing BuildKit attestation manifests failed: ${n.message}`)}return r}async verifySignedManifests(e,r){let n={};for(let[i,s]of Object.entries(e))await kr(`Verifying signature of ${i}`,async()=>{let a=await this.verifyImageAttestation(i,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!s.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});O(`Signature manifest verified: https://oci.dag.dev/?image=${s.imageName}@${a.signatureManifestDigest}`),n[i]=a});return n}async verifyImageAttestations(e,r){let n={},i=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(i.length===0)throw new Error(`No attestation manifests found for ${e}`);let s=e.split(":",1)[0];for(let a of i){let c=`${s}@${a}`,l=await this.verifyImageAttestation(c,r);O(`Signature manifest verified: https://oci.dag.dev/?image=${s}@${l.signatureManifestDigest}`),n[c]=l}return n}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let n=["verify","--experimental-oci11",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&n.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){O(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);let a=await _e.getExecOutput(this.cosign.binPath,["--verbose",...n,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(a.exitCode!==0)throw new Error(`Cosign verify command failed with: ${Vs.getErrorMessage(a.stderr)}`);let c=Vs.parseCommandOutput(a.stderr.trim());return{cosignArgs:n,signatureManifestDigest:c.signatureManifestDigest}}let i=r.retryLimit??15,s;O(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);for(let a=0;a0){let u=l.errors.map(d=>`- [${d.code}] ${d.message} : ${d.detail}`).join(` +${p}`)}else throw new Error(`Cosign sign command failed with: ${js.getErrorMessage(f.stderr)}`);let h=t.parseBundle((0,ZC.bundleFromJSON)(d.bundle));h.tlogID&&await this.logTransparencyUpload(h.tlogID,n),O(`Signature manifest pushed: https://oci.dag.dev/?referrers=${l}`),r[l]={...h,imageName:s}})}}}catch(n){throw new Error(`Signing BuildKit attestation manifests failed: ${n.message}`)}return r}async verifySignedManifests(e,r){let n={};for(let[i,s]of Object.entries(e))await kr(`Verifying signature of ${i}`,async()=>{let a=await this.verifyImageAttestation(i,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!s.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});O(`Signature manifest verified: https://oci.dag.dev/?image=${s.imageName}@${a.signatureManifestDigest}`),n[i]=a});return n}async verifyImageAttestations(e,r){let n={},i=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(i.length===0)throw new Error(`No attestation manifests found for ${e}`);let s=e.split(":",1)[0];for(let a of i){let c=`${s}@${a}`,l=await this.verifyImageAttestation(c,r);O(`Signature manifest verified: https://oci.dag.dev/?image=${s}@${l.signatureManifestDigest}`),n[c]=l}return n}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let n=["verify","--experimental-oci11",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&n.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){O(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);let a=await Ne.getExecOutput(this.cosign.binPath,["--verbose",...n,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(a.exitCode!==0)throw new Error(`Cosign verify command failed with: ${js.getErrorMessage(a.stderr)}`);let c=js.parseCommandOutput(a.stderr.trim());return{cosignArgs:n,signatureManifestDigest:c.signatureManifestDigest}}let i=r.retryLimit??15,s;O(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);for(let a=0;a0){let u=l.errors.map(f=>`- [${f.code}] ${f.message} : ${f.detail}`).join(` `);if(s=new Error(`Cosign verify command failed with errors: -${u}`),l.errors.some(d=>d.code==="MANIFEST_UNKNOWN"))O(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${a+1}/${i}... -${u}`),await new Promise(d=>setTimeout(d,Math.pow(2,a)*100));else throw s}else throw new Error(`Cosign verify command failed with: ${Vs.getErrorMessage(c.stderr)}`)}throw s}async signProvenanceBlobs(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign provenance blobs");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},i=await this.cosignSigningConfigArgs(n),s=t.getProvenanceBlobs(e);for(let a of Object.keys(s))await kr(`Signing ${a}`,async()=>{let c=s[a],l=cu.default.join(cu.default.dirname(a),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(c);if(u.length===0){ut(`No subjects found in provenance ${a}, skip signing.`);return}let d=cu.default.join(cu.default.dirname(a),u[0].name),f=["attest-blob","--yes","--oidc-provider","github-actions",...await this.bundleFormatArgs(),"--statement",a,"--type",eUe,"--bundle",l,...i];O(`[command]${this.cosign.binPath} ${[...f,d].join(" ")}`);let h=await _e.getExecOutput(this.cosign.binPath,["--verbose",...f,d],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),p=Vs.parseCommandOutput(h.stderr.trim());if(h.exitCode!=0)if(p.errors&&p.errors.length>0){let m=p.errors.map(E=>`- [${E.code}] ${E.message} : ${E.detail}`).join(` +${u}`),l.errors.some(f=>f.code==="MANIFEST_UNKNOWN"))O(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${a+1}/${i}... +${u}`),await new Promise(f=>setTimeout(f,Math.pow(2,a)*100));else throw s}else throw new Error(`Cosign verify command failed with: ${js.getErrorMessage(c.stderr)}`)}throw s}async signProvenanceBlobs(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign provenance blobs");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},i=await this.cosignSigningConfigArgs(n),s=t.getProvenanceBlobs(e);for(let a of Object.keys(s))await kr(`Signing ${a}`,async()=>{let c=s[a],l=pu.default.join(pu.default.dirname(a),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(c);if(u.length===0){ut(`No subjects found in provenance ${a}, skip signing.`);return}let f=pu.default.join(pu.default.dirname(a),u[0].name),d=["attest-blob","--yes","--oidc-provider","github-actions",...await this.bundleFormatArgs(),"--statement",a,"--type",jqe,"--bundle",l,...i];O(`[command]${this.cosign.binPath} ${[...d,f].join(" ")}`);let h=await Ne.getExecOutput(this.cosign.binPath,["--verbose",...d,f],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),p=js.parseCommandOutput(h.stderr.trim());if(h.exitCode!=0)if(p.errors&&p.errors.length>0){let g=p.errors.map(E=>`- [${E.code}] ${E.message} : ${E.detail}`).join(` `);throw new Error(`Cosign attest-blob command failed with errors: -${m}`)}else throw new Error(`Cosign attest-blob command failed with: ${Vs.getErrorMessage(h.stderr)}`);let g=t.parseBundle((0,PC.bundleFromJSON)(JSON.parse(au.default.readFileSync(l,{encoding:"utf-8"}))));O("Provenance blob signed for:");for(let m of u){let[E,y]=Object.entries(m.digest)[0]||[];O(` - ${m.name} (${E}:${y})`)}g.tlogID&&await this.logTransparencyUpload(g.tlogID,n),O(`Sigstore bundle written to: ${l}`),r[a]={...g,bundlePath:l,subjects:u}})}catch(n){throw new Error(`Signing BuildKit provenance blobs failed: ${n.message}`)}return r}async verifySignedArtifacts(e,r){let n={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[i,s]of Object.entries(e)){let a=cu.default.dirname(i);await kr(`Verifying signature bundle ${s.bundlePath}`,async()=>{for(let c of s.subjects){let l=cu.default.join(a,c.name);O(`Verifying signed artifact ${l}`);let u=["verify-blob-attestation",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??eUe];(r.noTransparencyLog||!s.tlogID)&&u.push("--use-signed-timestamps","--insecure-ignore-tlog");let d=await _e.getExecOutput(this.cosign.binPath,[...u,"--bundle",s.bundlePath,l],{ignoreReturnCode:!0});if(d.stderr.length>0&&d.exitCode!=0)throw new Error(d.stderr);n[l]={bundlePath:s.bundlePath,cosignArgs:u}}})}return n}async verifyArtifact(e,r,n){O("Verifying keyless verification bundle signature");let i=JSON.parse(au.default.readFileSync(r,"utf-8")),s=(0,PC.bundleFromJSON)(i);O("Fetching Sigstore TUF trusted root metadata");let a=await rUe.getTrustedRoot({retry:{retries:5}}),c=(0,OC.toTrustMaterial)(a);try{O("Verifying artifact signature");let l=(0,OC.toSignedEntity)(s,au.default.readFileSync(e)),u=t.parseCertificate(s),d=s.verificationMaterial.tlogEntries,f=d.length>0?d[0].logIndex:void 0,p=new OC.Verifier(c).verify(l,{subjectAlternativeName:n?.subjectAlternativeName,extensions:n?.issuer?{issuer:n.issuer}:void 0});return R(`Sigstore.verifyArtifact signer: ${JSON.stringify(p)}`),{payload:i,certificate:u.toString(),tlogID:f}}catch(l){throw new Error(`Failed to verify artifact signature: ${l}`)}}static noTransparencyLog(e){return e??Xe.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],n=t.noTransparencyLog(e.noTransparencyLog);if(O(`Upload to transparency log: ${n?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")){let i=await this.useRekorV2(e);await kr("Creating Sigstore protobuf signing config",async()=>{let s=gt.tmpName({template:"signing-config-XXXXXX.json",tmpdir:gt.tmpDir()}),a=["signing-config","create",i?"--with-default-rekor-v2=true":"--with-default-services=true",`--out=${s}`];n&&a.push("--no-default-rekor=true"),await _e.exec(this.cosign.binPath,a,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),O(JSON.stringify(JSON.parse(au.default.readFileSync(s,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${s}`)})}else r.push("--use-signing-config"),n&&r.push("--tlog-upload=false");return r}async logTransparencyUpload(e,r){if(await this.useRekorV2(r)){O(`Attestation signature uploaded to Rekor v2 transparency log with index ${e}`);return}O(`Attestation signature uploaded to Rekor transparency log: ${kC}?logIndex=${e}`)}async useRekorV2(e){return e.rekorV2===!0&&!t.noTransparencyLog(e.noTransparencyLog)&&await this.cosign.versionSatisfies(">=3.1.1")}static getProvenanceBlobs(e){let r=cu.default.join(e.localExportDir,"provenance.json");if(au.default.existsSync(r))return{[r]:au.default.readFileSync(r)};let n=au.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=n.filter(s=>s.isDirectory());if(i.length>0&&i.length===n.length&&i.every(s=>au.default.existsSync(cu.default.join(e.localExportDir,s.name,"provenance.json")))){let s={};for(let a of i){let c=cu.default.join(e.localExportDir,a.name,"provenance.json");s[c]=au.default.readFileSync(c)}return s}throw new Error(`No valid provenance.json found in ${e.localExportDir}`)}static getProvenanceSubjects(e){return JSON.parse(e.toString()).subject.map(n=>({name:n.name,digest:n.digest}))}static parseBundle(e){let r=t.parseCertificate(e),n=e.verificationMaterial.tlogEntries,i=n.length>0?n[0].logIndex:void 0;return{payload:(0,PC.bundleToJSON)(e),certificate:r.toString(),tlogID:i}}static parseCertificate(e){let r;switch(e.verificationMaterial.content.$case){case"x509CertificateChain":r=e.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes;break;case"certificate":r=e.verificationMaterial.content.certificate.rawBytes;break;default:throw new Error("Bundle must contain an x509 certificate")}return new tUe.X509Certificate(r)}async bundleFormatArgs(){return await this.cosign.versionSatisfies(">=3.1.1")?[]:["--new-bundle-format"]}};var jO=class t{static{o(this,"Install")}standalone;githubToken;sigstore;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.sigstore=e?.sigstore||new Ih}async download(e){let r=await t.getDownloadVersion(e.version);R(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);R(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);R(`Install.download vspec: ${i}`);let s=LC.clean(i)||"";if(!LC.valid(s))throw new Error(`Invalid Buildx version "${i}".`);let a=new Yn({htcName:r.key!="official"?`buildx-dl-bin-${r.key}`:"buildx-dl-bin",htcVersion:i,baseCacheDir:wh.default.join(yt.configDir,".bin"),cacheFile:lu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:e.ghaNoCache}),c=await a.find();if(!e.disableHtc&&c)return O(`Buildx binary found in ${c}`),c;let l=zX.format(r.downloadURL,i,this.filename(i));O(`Downloading ${l}`);let u=await Vo(l,void 0,this.githubToken);R(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&LC.satisfies(i,">=0.31.0-0",{includePrerelease:!0})&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return O(`Cached to ${d}`),d}async build(e,r){let n=await this.vspec(e);R(`Install.build vspec: ${n}`);let i=new Yn({htcName:"buildx-build-bin",htcVersion:n,baseCacheDir:wh.default.join(yt.configDir,".bin"),cacheFile:lu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:r}),s=await i.find();if(s)return O(`Buildx binary found in ${s}`),s;let a=wh.default.join(gt.tmpDir(),"buildx-build-cache"),c=await this.buildCommand(e,a),l=await _e.getExecOutput(c.command,c.args,{ignoreReturnCode:!0}).then(d=>{if(d.stderr.length>0&&d.exitCode!=0)throw new Error(`build failed with: ${yt.getErrorMessage(d.stderr)}`);return`${a}/buildx`}),u=await i.save(l);return O(`Cached to ${u}`),u}async installStandalone(e,r){O("Standalone mode"),r=r||gt.tmpDir();let n=wh.default.join(r,"buildx-bin-standalone");_d.default.existsSync(n)||_d.default.mkdirSync(n,{recursive:!0});let i=lu.default.platform()=="win32"?"buildx.exe":"buildx",s=wh.default.join(n,i);return _d.default.copyFileSync(e,s),O("Fixing perms"),_d.default.chmodSync(s,"0755"),Fc(n),O("Added Buildx to PATH"),O(`Binary path: ${s}`),s}async installPlugin(e,r){O("Docker plugin mode"),r=r||on.configDir;let n=wh.default.join(r,"cli-plugins");_d.default.existsSync(n)||_d.default.mkdirSync(n,{recursive:!0});let i=lu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",s=wh.default.join(n,i);return _d.default.copyFileSync(e,s),O("Fixing perms"),_d.default.chmodSync(s,"0755"),O(`Plugin path: ${s}`),s}async buildCommand(e,r){let n=await new yt({standalone:!0}).isAvailable(),i=await new yt({standalone:!1}).isAvailable(),s=!1;if(await this.isStandalone()&&n)R("Install.buildCommand: Buildx standalone found, build with it"),s=!0;else if(!await this.isStandalone()&&i)R("Install.buildCommand: Buildx plugin found, build with it"),s=!1;else if(n)R("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),s=!0;else if(i)R("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),s=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--target","binaries","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push(e),await new yt({standalone:s}).getCommand(a)}async isStandalone(){let e=this.standalone??!await on.isAvailable();return R(`Install.isStandalone: ${e}`),e}async verifySignature(e,r){let n=`${r.replace(/\.exe$/,"")}.sigstore.json`;O(`Downloading keyless verification bundle at ${n}`);let i;try{i=await Vo(n,void 0,this.githubToken),R(`Install.verifySignature bundlePath: ${i}`)}catch(a){if(a.message&&a.message.statusCode===ks.NotFound){O(`No signature bundle found at ${n}, skipping verification`);return}throw a}let s=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:/^https:\/\/github\.com\/docker\/(github-builder-experimental|github-builder)\/\.github\/workflows\/bake\.yml.*$/,issuer:"https://token.actions.githubusercontent.com"});O(`Buildx binary signature verified! ${s.tlogID?`${kC}?logIndex=${s.tlogID}`:""}`)}filename(e){let r;switch(lu.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let s=process.config.variables.arm_version;r=s?"arm-v"+s:"arm";break}default:{r=lu.default.arch();break}}let n=lu.default.platform()=="win32"?"windows":lu.default.platform(),i=lu.default.platform()=="win32"?".exe":"";return zX.format("buildx-v%s.%s-%s%s",e,n,r,i)}async vspec(e){if(!re.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return O(`Use ${u} version spec cache key for ${e}`),u}let[r,n]=e.split("#");n.length==0&&(n="master");let i;n.match(/^[0-9a-fA-F]{40}$/)?i=n:i=await nC.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[s,a]=r.substring(19).split("/"),c=`${s}/${re.trimSuffix(a,".git")}/${i}`,l=re.hash(c);return O(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){let[r,n]=e.split(":");switch(n||(n=r,r="official"),r==="lab"&&(r="cloud"),r){case"official":return{key:r,version:n,downloadURL:"https://github.com/docker/buildx/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-releases.json"}};case"cloud":return{key:r,version:n,downloadURL:"https://github.com/docker/buildx-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-lab-releases.json"}};default:throw new Error(`Cannot find buildx version for ${e}`)}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Buildx",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Buildx release ${e.version} in releases JSON`);return i[e.version]}};var FC=class t{static{o(this,"Builder")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async exists(e){let r=await this.buildx.getCommand(["inspect",e]),n=await _e.getExecOutput(r.command,r.args,{ignoreReturnCode:!0,silent:!0}).then(i=>i.stderr.length>0&&i.exitCode!=0?(R(`Builder.exists cmd err: ${i.stderr.trim()}`),!1):i.exitCode==0).catch(i=>(R(`Builder.exists error: ${i}`),!1));return R(`Builder.exists: ${n}`),n}async inspect(e){let r=Object.assign({},process.env,{DEBUG:"1"}),n=["inspect"];e&&n.push(e);let i=await this.buildx.getCommand(n);return await _e.getExecOutput(i.command,i.args,{ignoreReturnCode:!0,silent:!0,env:r}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return t.parseInspect(s.stdout)})}static parseInspect(e){let r={nodes:[]},n,i={},s,a,c;for(let l of e.trim().split(` -`)){let[u,...d]=l.split(":"),f=u.toLowerCase(),h=d.map(p=>p.trim()).join(":");if(u.length!=0)switch(!0){case f=="name":n=void 0,r.name==null?r.name=h:(s&&i.gcPolicy&&(i.gcPolicy.push(s),s=void 0),i.name&&r.nodes.push(i),i={name:h});break;case f=="driver":n=void 0,r.driver=h;break;case f=="last activity":n=void 0,r.lastActivity=new Date(h);break;case f=="endpoint":n=void 0,i.endpoint=h;break;case f=="driver options":n=void 0,i["driver-opts"]=(h.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(p=>p.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case f=="status":n=void 0,i.status=h;break;case f=="buildkit daemon flags":case f=="flags":n=void 0,i["buildkitd-flags"]=h;break;case f=="buildkit version":case f=="buildkit":n=void 0,i.buildkit=h;break;case f=="platforms":{if(n=void 0,!h)break;let p=[];if(h.includes("*"))for(let g of h.split(", "))g.includes("*")&&p.push(g.replace(/\*/g,""));else p=h.split(", ");i.platforms=p.join(",");break}case f=="features":n="features",i.features={};break;case f=="labels":n="label",i.labels={};break;case f=="devices":n="devices",i.devices=i.devices||[];break;case f.startsWith("gc policy rule#"):n="gcpolicy",i.gcPolicy&&s&&(i.gcPolicy.push(s),s=void 0);break;case f.startsWith("file#"):n="file",c=u.split("#")[1],i.files=i.files||{},i.files[c]="";break;default:switch(n&&n!=="devices"&&i.devices&&a&&(i.devices.push(a),a=void 0),n||""){case"features":{i.features=i.features||{},i.features[u.trim()]=!!h;break}case"label":{i.labels=i.labels||{},i.labels[u.trim()]=h;break}case"devices":{switch(f.trim()){case"name":{i.devices&&a&&i.devices.push(a),a={},a.name=h;break}case"on-demand":{a&&h&&(a.onDemand=h=="true");break}case"automatically allowed":{a&&h&&(a.autoAllow=h=="true");break}case"annotations":{a&&(a.annotations=a.annotations||{});break}default:a&&a.annotations&&(a.annotations[u.trim()]=h)}break}case"gcpolicy":{switch(i.gcPolicy=i.gcPolicy||[],s=s||{},f.trim()){case"all":{s.all=h=="true";break}case"filters":{h&&(s.filter=h.split(","));break}case"keep duration":{s.keepDuration=h;break}case"keep bytes":{s.keepBytes=h;break}case"reserved space":{s.reservedSpace=h;break}case"max used space":{s.maxUsedSpace=h;break}case"min free space":{s.minFreeSpace=h;break}}break}case"file":{c&&i.files&&(i.files[c].length>0&&(i.files[c]+=` -`),i.files[c]+=l.replace(/^\s>\s?/,""));break}}}}return a&&i.devices&&i.devices.push(a),s&&i.gcPolicy&&i.gcPolicy.push(s),i.name&&r.nodes.push(i),r}};var nUe=N(cc(),1);var WO=N(require("fs"),1);var JO=class{static{o(this,"Config")}resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!WO.default.existsSync(e))throw new Error(`config file ${e} not found`);e=WO.default.readFileSync(e,{encoding:"utf-8"})}let n=gt.tmpName({tmpdir:gt.tmpDir()});return WO.default.writeFileSync(n,e),n}};var YO=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new JO,this.buildx=e?.buildx||new yt}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){ut(r)}return e.buildkit}async getVersionWithinImage(e){return R(`BuildKit.getVersionWithinImage nodeName: ${e}`),on.getExecOutput(["inspect","--format","{{.Config.Image}}",`${yt.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return R(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),on.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.exitCode==0&&n.stdout.length>0)return`${r.stdout.trim()} => ${n.stdout.trim()}`;if(n.stderr.length>0)throw new Error(r.stderr.trim());return n.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,n){n||(n=await new FC({buildx:this.buildx}).inspect(e));for(let i of n.nodes){let s=i.buildkit;if(R(`BuildKit.versionSatisfies ${s}: ${r}`),!s)try{s=await this.getVersionWithinImage(i.name||"")}catch{return R(`BuildKit.versionSatisfies ${i.name}: can't get version`),!1}if(R(`BuildKit.versionSatisfies ${i.name}: version ${s}`),n.driver=="docker"&&!s.endsWith("-moby")||!nUe.satisfies(s.replace(/-moby$/,""),r))return!1}return!0}};var KO=class t{static{o(this,"Compose")}_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await on.isAvailable();return R(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await _e.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(R(`Compose.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(R(`Compose.isAvailable error: ${n}`),!1));return R(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await _e.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 _e.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 compose version");return r[1]}};var Td=N(require("fs"),1),uu=N(require("os"),1),MC=N(require("path"),1);var ZO=N(cc(),1),$X=N(require("util"),1);var XO=class t{static{o(this,"Install")}standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);R(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);R(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);R(`Install.download vspec: ${s}`);let a=ZO.clean(s)||"";if(!ZO.valid(a))throw new Error(`Invalid Compose version "${s}".`);let c=new Yn({htcName:n.key!="official"?`compose-dl-bin-${n.key}`:"compose-dl-bin",htcVersion:s,baseCacheDir:MC.default.join(uu.default.homedir(),".bin","docker-compose"),cacheFile:uu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),l=await c.find();if(l)return O(`Compose binary found in ${l}`),l;let u=$X.format(n.downloadURL,s,this.filename());O(`Downloading ${u}`);let d=await Vo(u,void 0,this.githubToken);R(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return O(`Cached to ${f}`),f}async installStandalone(e,r){O("Standalone mode"),r=r||gt.tmpDir();let n=MC.default.join(r,"compose-bin-standalone");Td.default.existsSync(n)||Td.default.mkdirSync(n,{recursive:!0});let i=uu.default.platform()=="win32"?"compose.exe":"compose",s=MC.default.join(n,i);return Td.default.copyFileSync(e,s),O("Fixing perms"),Td.default.chmodSync(s,"0755"),Fc(n),O("Added Compose to PATH"),O(`Binary path: ${s}`),s}async installPlugin(e,r){O("Docker plugin mode"),r=r||on.configDir;let n=MC.default.join(r,"cli-plugins");Td.default.existsSync(n)||Td.default.mkdirSync(n,{recursive:!0});let i=uu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",s=MC.default.join(n,i);return Td.default.copyFileSync(e,s),O("Fixing perms"),Td.default.chmodSync(s,"0755"),O(`Plugin path: ${s}`),s}async isStandalone(){let e=this.standalone??!await on.isAvailable();return R(`Install.isStandalone: ${e}`),e}filename(){let e;switch(uu.default.arch()){case"x64":{e="x86_64";break}case"ppc64":{e="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;e=i?"armv"+i:"arm";break}case"arm64":{e="aarch64";break}default:{e=uu.default.arch();break}}let r=uu.default.platform()=="win32"?"windows":uu.default.platform(),n=uu.default.platform()=="win32"?".exe":"";return $X.format("docker-compose-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){let[r,n]=e.split(":");switch(n||(n=r,r="official"),r){case"official":return{key:r,version:n,downloadURL:"https://github.com/docker/compose/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/compose-releases.json"}};case"cloud":return{key:r,version:n,downloadURL:"https://github.com/docker/compose-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/compose-lab-releases.json"}};default:throw new Error(`Cannot find compose version for ${e}`)}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Compose",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Compose release ${e.version} in releases JSON`);return i[e.version]}};var GB=N(require("fs"),1),wc=N(require("os"),1),UC=N(require("path"),1);var qC=N(cc(),1),jX=N(require("util"),1);var iUe=` +${g}`)}else throw new Error(`Cosign attest-blob command failed with: ${js.getErrorMessage(h.stderr)}`);let A=t.parseBundle((0,ZC.bundleFromJSON)(JSON.parse(hu.default.readFileSync(l,{encoding:"utf-8"}))));O("Provenance blob signed for:");for(let g of u){let[E,y]=Object.entries(g.digest)[0]||[];O(` - ${g.name} (${E}:${y})`)}A.tlogID&&await this.logTransparencyUpload(A.tlogID,n),O(`Sigstore bundle written to: ${l}`),r[a]={...A,bundlePath:l,subjects:u}})}catch(n){throw new Error(`Signing BuildKit provenance blobs failed: ${n.message}`)}return r}async verifySignedArtifacts(e,r){let n={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[i,s]of Object.entries(e)){let a=pu.default.dirname(i);await kr(`Verifying signature bundle ${s.bundlePath}`,async()=>{for(let c of s.subjects){let l=pu.default.join(a,c.name);O(`Verifying signed artifact ${l}`);let u=["verify-blob-attestation",...await this.bundleFormatArgs(),"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??jqe];(r.noTransparencyLog||!s.tlogID)&&u.push("--use-signed-timestamps","--insecure-ignore-tlog");let f=await Ne.getExecOutput(this.cosign.binPath,[...u,"--bundle",s.bundlePath,l],{ignoreReturnCode:!0});if(f.stderr.length>0&&f.exitCode!=0)throw new Error(f.stderr);n[l]={bundlePath:s.bundlePath,cosignArgs:u}}})}return n}async verifyArtifact(e,r,n){O("Verifying keyless verification bundle signature");let i=JSON.parse(hu.default.readFileSync(r,"utf-8")),s=(0,ZC.bundleFromJSON)(i);O("Fetching Sigstore TUF trusted root metadata");let a=await Wqe.getTrustedRoot({retry:{retries:5}}),c=(0,eb.toTrustMaterial)(a);try{O("Verifying artifact signature");let l=(0,eb.toSignedEntity)(s,hu.default.readFileSync(e)),u=t.parseCertificate(s),f=s.verificationMaterial.tlogEntries,d=f.length>0?f[0].logIndex:void 0,p=new eb.Verifier(c).verify(l,{subjectAlternativeName:n?.subjectAlternativeName,extensions:n?.issuer?{issuer:n.issuer}:void 0});return D(`Sigstore.verifyArtifact signer: ${JSON.stringify(p)}`),{payload:i,certificate:u.toString(),tlogID:d}}catch(l){throw new Error(`Failed to verify artifact signature: ${l}`)}}static noTransparencyLog(e){return e??Xe.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],n=t.noTransparencyLog(e.noTransparencyLog);if(O(`Upload to transparency log: ${n?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")){let i=await this.useRekorV2(e);await kr("Creating Sigstore protobuf signing config",async()=>{let s=gt.tmpName({template:"signing-config-XXXXXX.json",tmpdir:gt.tmpDir()}),a=["signing-config","create",i?"--with-default-rekor-v2=true":"--with-default-services=true",`--out=${s}`];n&&a.push("--no-default-rekor=true"),await Ne.exec(this.cosign.binPath,a,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),O(JSON.stringify(JSON.parse(hu.default.readFileSync(s,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${s}`)})}else r.push("--use-signing-config"),n&&r.push("--tlog-upload=false");return r}async logTransparencyUpload(e,r){if(await this.useRekorV2(r)){O(`Attestation signature uploaded to Rekor v2 transparency log with index ${e}`);return}O(`Attestation signature uploaded to Rekor transparency log: ${XC}?logIndex=${e}`)}async useRekorV2(e){return e.rekorV2===!0&&!t.noTransparencyLog(e.noTransparencyLog)&&await this.cosign.versionSatisfies(">=3.1.1")}static getProvenanceBlobs(e){let r=pu.default.join(e.localExportDir,"provenance.json");if(hu.default.existsSync(r))return{[r]:hu.default.readFileSync(r)};let n=hu.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=n.filter(s=>s.isDirectory());if(i.length>0&&i.length===n.length&&i.every(s=>hu.default.existsSync(pu.default.join(e.localExportDir,s.name,"provenance.json")))){let s={};for(let a of i){let c=pu.default.join(e.localExportDir,a.name,"provenance.json");s[c]=hu.default.readFileSync(c)}return s}throw new Error(`No valid provenance.json found in ${e.localExportDir}`)}static getProvenanceSubjects(e){return JSON.parse(e.toString()).subject.map(n=>({name:n.name,digest:n.digest}))}static parseBundle(e){let r=t.parseCertificate(e),n=e.verificationMaterial.tlogEntries,i=n.length>0?n[0].logIndex:void 0;return{payload:(0,ZC.bundleToJSON)(e),certificate:r.toString(),tlogID:i}}static parseCertificate(e){let r;switch(e.verificationMaterial.content.$case){case"x509CertificateChain":r=e.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes;break;case"certificate":r=e.verificationMaterial.content.certificate.rawBytes;break;default:throw new Error("Bundle must contain an x509 certificate")}return new $qe.X509Certificate(r)}async bundleFormatArgs(){return await this.cosign.versionSatisfies(">=3.1.1")?[]:["--new-bundle-format"]}};var SL=class t{static{o(this,"Install")}standalone;githubToken;sigstore;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.sigstore=e?.sigstore||new Dh}async download(e){let r=await t.getDownloadVersion(e.version);D(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);D(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);D(`Install.download vspec: ${i}`);let s=tb.clean(i)||"";if(!tb.valid(s))throw new Error(`Invalid Buildx version "${i}".`);let a=new Kn({htcName:r.key!="official"?`buildx-dl-bin-${r.key}`:"buildx-dl-bin",htcVersion:i,baseCacheDir:Qh.default.join(yt.configDir,".bin"),cacheFile:mu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:e.ghaNoCache}),c=await a.find();if(!e.disableHtc&&c)return O(`Buildx binary found in ${c}`),c;let l=tee.format(r.downloadURL,i,this.filename(i));O(`Downloading ${l}`);let u=await $o(l,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&tb.satisfies(i,">=0.31.0-0",{includePrerelease:!0})&&await this.verifySignature(u,l);let f=await a.save(u,e.skipState);return O(`Cached to ${f}`),f}async build(e,r){let n=await this.vspec(e);D(`Install.build vspec: ${n}`);let i=new Kn({htcName:"buildx-build-bin",htcVersion:n,baseCacheDir:Qh.default.join(yt.configDir,".bin"),cacheFile:mu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:r}),s=await i.find();if(s)return O(`Buildx binary found in ${s}`),s;let a=Qh.default.join(gt.tmpDir(),"buildx-build-cache"),c=await this.buildCommand(e,a),l=await Ne.getExecOutput(c.command,c.args,{ignoreReturnCode:!0}).then(f=>{if(f.stderr.length>0&&f.exitCode!=0)throw new Error(`build failed with: ${yt.getErrorMessage(f.stderr)}`);return`${a}/buildx`}),u=await i.save(l);return O(`Cached to ${u}`),u}async installStandalone(e,r){O("Standalone mode"),r=r||gt.tmpDir();let n=Qh.default.join(r,"buildx-bin-standalone");Ff.default.existsSync(n)||Ff.default.mkdirSync(n,{recursive:!0});let i=mu.default.platform()=="win32"?"buildx.exe":"buildx",s=Qh.default.join(n,i);return Ff.default.copyFileSync(e,s),O("Fixing perms"),Ff.default.chmodSync(s,"0755"),Vc(n),O("Added Buildx to PATH"),O(`Binary path: ${s}`),s}async installPlugin(e,r){O("Docker plugin mode"),r=r||an.configDir;let n=Qh.default.join(r,"cli-plugins");Ff.default.existsSync(n)||Ff.default.mkdirSync(n,{recursive:!0});let i=mu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",s=Qh.default.join(n,i);return Ff.default.copyFileSync(e,s),O("Fixing perms"),Ff.default.chmodSync(s,"0755"),O(`Plugin path: ${s}`),s}async buildCommand(e,r){let n=await new yt({standalone:!0}).isAvailable(),i=await new yt({standalone:!1}).isAvailable(),s=!1;if(await this.isStandalone()&&n)D("Install.buildCommand: Buildx standalone found, build with it"),s=!0;else if(!await this.isStandalone()&&i)D("Install.buildCommand: Buildx plugin found, build with it"),s=!1;else if(n)D("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),s=!0;else if(i)D("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),s=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--target","binaries","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push(e),await new yt({standalone:s}).getCommand(a)}async isStandalone(){let e=this.standalone??!await an.isAvailable();return D(`Install.isStandalone: ${e}`),e}async verifySignature(e,r){let n=`${r.replace(/\.exe$/,"")}.sigstore.json`;O(`Downloading keyless verification bundle at ${n}`);let i;try{i=await $o(n,void 0,this.githubToken),D(`Install.verifySignature bundlePath: ${i}`)}catch(a){if(a.message&&a.message.statusCode===Os.NotFound){O(`No signature bundle found at ${n}, skipping verification`);return}throw a}let s=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:/^https:\/\/github\.com\/docker\/(github-builder-experimental|github-builder)\/\.github\/workflows\/bake\.yml.*$/,issuer:"https://token.actions.githubusercontent.com"});O(`Buildx binary signature verified! ${s.tlogID?`${XC}?logIndex=${s.tlogID}`:""}`)}filename(e){let r;switch(mu.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let s=process.config.variables.arm_version;r=s?"arm-v"+s:"arm";break}default:{r=mu.default.arch();break}}let n=mu.default.platform()=="win32"?"windows":mu.default.platform(),i=mu.default.platform()=="win32"?".exe":"";return tee.format("buildx-v%s.%s-%s%s",e,n,r,i)}async vspec(e){if(!ne.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return O(`Use ${u} version spec cache key for ${e}`),u}let[r,n]=e.split("#");n.length==0&&(n="master");let i;n.match(/^[0-9a-fA-F]{40}$/)?i=n:i=await bC.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[s,a]=r.substring(19).split("/"),c=`${s}/${ne.trimSuffix(a,".git")}/${i}`,l=ne.hash(c);return O(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){let[r,n]=e.split(":");switch(n||(n=r,r="official"),r==="lab"&&(r="cloud"),r){case"official":return{key:r,version:n,downloadURL:"https://github.com/docker/buildx/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-releases.json"}};case"cloud":return{key:r,version:n,downloadURL:"https://github.com/docker/buildx-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-lab-releases.json"}};default:throw new Error(`Cannot find buildx version for ${e}`)}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Buildx",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Buildx release ${e.version} in releases JSON`);return i[e.version]}};var rb=class t{static{o(this,"Builder")}buildx;constructor(e){this.buildx=e?.buildx||new yt}async exists(e){let r=await this.buildx.getCommand(["inspect",e]),n=await Ne.getExecOutput(r.command,r.args,{ignoreReturnCode:!0,silent:!0}).then(i=>i.stderr.length>0&&i.exitCode!=0?(D(`Builder.exists cmd err: ${i.stderr.trim()}`),!1):i.exitCode==0).catch(i=>(D(`Builder.exists error: ${i}`),!1));return D(`Builder.exists: ${n}`),n}async inspect(e){let r=Object.assign({},process.env,{DEBUG:"1"}),n=["inspect"];e&&n.push(e);let i=await this.buildx.getCommand(n);return await Ne.getExecOutput(i.command,i.args,{ignoreReturnCode:!0,silent:!0,env:r}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return t.parseInspect(s.stdout)})}static parseInspect(e){let r={nodes:[]},n,i={},s,a,c;for(let l of e.trim().split(` +`)){let[u,...f]=l.split(":"),d=u.toLowerCase(),h=f.map(p=>p.trim()).join(":");if(u.length!=0)switch(!0){case d=="name":n=void 0,r.name==null?r.name=h:(s&&i.gcPolicy&&(i.gcPolicy.push(s),s=void 0),i.name&&r.nodes.push(i),i={name:h});break;case d=="driver":n=void 0,r.driver=h;break;case d=="last activity":n=void 0,r.lastActivity=new Date(h);break;case d=="endpoint":n=void 0,i.endpoint=h;break;case d=="driver options":n=void 0,i["driver-opts"]=(h.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(p=>p.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case d=="status":n=void 0,i.status=h;break;case d=="buildkit daemon flags":case d=="flags":n=void 0,i["buildkitd-flags"]=h;break;case d=="buildkit version":case d=="buildkit":n=void 0,i.buildkit=h;break;case d=="platforms":{if(n=void 0,!h)break;let p=[];if(h.includes("*"))for(let A of h.split(", "))A.includes("*")&&p.push(A.replace(/\*/g,""));else p=h.split(", ");i.platforms=p.join(",");break}case d=="features":n="features",i.features={};break;case d=="labels":n="label",i.labels={};break;case d=="devices":n="devices",i.devices=i.devices||[];break;case d.startsWith("gc policy rule#"):n="gcpolicy",i.gcPolicy&&s&&(i.gcPolicy.push(s),s=void 0);break;case d.startsWith("file#"):n="file",c=u.split("#")[1],i.files=i.files||{},i.files[c]="";break;default:switch(n&&n!=="devices"&&i.devices&&a&&(i.devices.push(a),a=void 0),n||""){case"features":{i.features=i.features||{},i.features[u.trim()]=!!h;break}case"label":{i.labels=i.labels||{},i.labels[u.trim()]=h;break}case"devices":{switch(d.trim()){case"name":{i.devices&&a&&i.devices.push(a),a={},a.name=h;break}case"on-demand":{a&&h&&(a.onDemand=h=="true");break}case"automatically allowed":{a&&h&&(a.autoAllow=h=="true");break}case"annotations":{a&&(a.annotations=a.annotations||{});break}default:a&&a.annotations&&(a.annotations[u.trim()]=h)}break}case"gcpolicy":{switch(i.gcPolicy=i.gcPolicy||[],s=s||{},d.trim()){case"all":{s.all=h=="true";break}case"filters":{h&&(s.filter=h.split(","));break}case"keep duration":{s.keepDuration=h;break}case"keep bytes":{s.keepBytes=h;break}case"reserved space":{s.reservedSpace=h;break}case"max used space":{s.maxUsedSpace=h;break}case"min free space":{s.minFreeSpace=h;break}}break}case"file":{c&&i.files&&(i.files[c].length>0&&(i.files[c]+=` +`),i.files[c]+=l.replace(/^\s>\s?/,""));break}}}}return a&&i.devices&&i.devices.push(a),s&&i.gcPolicy&&i.gcPolicy.push(s),i.name&&r.nodes.push(i),r}};var Jqe=N(hc(),1);var BL=N(require("fs"),1);var vL=class{static{o(this,"Config")}resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!BL.default.existsSync(e))throw new Error(`config file ${e} not found`);e=BL.default.readFileSync(e,{encoding:"utf-8"})}let n=gt.tmpName({tmpdir:gt.tmpDir()});return BL.default.writeFileSync(n,e),n}};var xL=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new vL,this.buildx=e?.buildx||new yt}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){ut(r)}return e.buildkit}async getVersionWithinImage(e){return D(`BuildKit.getVersionWithinImage nodeName: ${e}`),an.getExecOutput(["inspect","--format","{{.Config.Image}}",`${yt.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return D(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),an.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.exitCode==0&&n.stdout.length>0)return`${r.stdout.trim()} => ${n.stdout.trim()}`;if(n.stderr.length>0)throw new Error(r.stderr.trim());return n.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,n){n||(n=await new rb({buildx:this.buildx}).inspect(e));for(let i of n.nodes){let s=i.buildkit;if(D(`BuildKit.versionSatisfies ${s}: ${r}`),!s)try{s=await this.getVersionWithinImage(i.name||"")}catch{return D(`BuildKit.versionSatisfies ${i.name}: can't get version`),!1}if(D(`BuildKit.versionSatisfies ${i.name}: version ${s}`),n.driver=="docker"&&!s.endsWith("-moby")||!Jqe.satisfies(s.replace(/-moby$/,""),r))return!1}return!0}};var _L=class t{static{o(this,"Compose")}_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await an.isAvailable();return D(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await Ne.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(D(`Compose.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(D(`Compose.isAvailable error: ${n}`),!1));return D(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await Ne.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 Ne.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 compose version");return r[1]}};var Mf=N(require("fs"),1),Au=N(require("os"),1),nb=N(require("path"),1);var RL=N(hc(),1),ree=N(require("util"),1);var NL=class t{static{o(this,"Install")}standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);D(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);D(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);D(`Install.download vspec: ${s}`);let a=RL.clean(s)||"";if(!RL.valid(a))throw new Error(`Invalid Compose version "${s}".`);let c=new Kn({htcName:n.key!="official"?`compose-dl-bin-${n.key}`:"compose-dl-bin",htcVersion:s,baseCacheDir:nb.default.join(Au.default.homedir(),".bin","docker-compose"),cacheFile:Au.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),l=await c.find();if(l)return O(`Compose binary found in ${l}`),l;let u=ree.format(n.downloadURL,s,this.filename());O(`Downloading ${u}`);let f=await $o(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${f}`);let d=await c.save(f);return O(`Cached to ${d}`),d}async installStandalone(e,r){O("Standalone mode"),r=r||gt.tmpDir();let n=nb.default.join(r,"compose-bin-standalone");Mf.default.existsSync(n)||Mf.default.mkdirSync(n,{recursive:!0});let i=Au.default.platform()=="win32"?"compose.exe":"compose",s=nb.default.join(n,i);return Mf.default.copyFileSync(e,s),O("Fixing perms"),Mf.default.chmodSync(s,"0755"),Vc(n),O("Added Compose to PATH"),O(`Binary path: ${s}`),s}async installPlugin(e,r){O("Docker plugin mode"),r=r||an.configDir;let n=nb.default.join(r,"cli-plugins");Mf.default.existsSync(n)||Mf.default.mkdirSync(n,{recursive:!0});let i=Au.default.platform()=="win32"?"docker-compose.exe":"docker-compose",s=nb.default.join(n,i);return Mf.default.copyFileSync(e,s),O("Fixing perms"),Mf.default.chmodSync(s,"0755"),O(`Plugin path: ${s}`),s}async isStandalone(){let e=this.standalone??!await an.isAvailable();return D(`Install.isStandalone: ${e}`),e}filename(){let e;switch(Au.default.arch()){case"x64":{e="x86_64";break}case"ppc64":{e="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;e=i?"armv"+i:"arm";break}case"arm64":{e="aarch64";break}default:{e=Au.default.arch();break}}let r=Au.default.platform()=="win32"?"windows":Au.default.platform(),n=Au.default.platform()=="win32"?".exe":"";return ree.format("docker-compose-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){let[r,n]=e.split(":");switch(n||(n=r,r="official"),r){case"official":return{key:r,version:n,downloadURL:"https://github.com/docker/compose/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/compose-releases.json"}};case"cloud":return{key:r,version:n,downloadURL:"https://github.com/docker/compose-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/compose-lab-releases.json"}};default:throw new Error(`Cannot find compose version for ${e}`)}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Compose",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Compose release ${e.version} in releases JSON`);return i[e.version]}};var hv=N(require("fs"),1),_c=N(require("os"),1),ib=N(require("path"),1);var sb=N(hc(),1),nee=N(require("util"),1);var Yqe=` # syntax=docker/dockerfile:1 ARG GO_VERSION="1.24" @@ -291,8 +313,8 @@ EOT FROM scratch COPY --from=builder /out / -`;var eL=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new yt,this.sigstore=e?.sigstore||new Ih}async download(e){let r=await t.getDownloadVersion(e.version);R(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);R(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);R(`Install.download vspec: ${i}`);let s=qC.clean(i)||"";if(!qC.valid(s))throw new Error(`Invalid Cosign version "${i}".`);let a=new Yn({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:UC.default.join(wc.default.homedir(),".bin"),cacheFile:wc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return O(`Cosign binary found in ${c}`),c;let l=jX.format(r.downloadURL,i,this.filename());O(`Downloading ${l}`);let u=await Vo(l,void 0,this.githubToken);R(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&qC.satisfies(i,">=3.0.1")&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return O(`Cached to ${d}`),d}async build(e,r,n){let i=await this.vspec(e);R(`Install.build vspec: ${i}`);let s=new Yn({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:UC.default.join(wc.default.homedir(),".bin"),cacheFile:wc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await s.find();if(a)return O(`Cosign binary found in ${a}`),a;let c=UC.default.join(gt.tmpDir(),"cosign-build-cache"),l=await this.buildCommand(e,c),u=await _e.getExecOutput(l.command,l.args,{ignoreReturnCode:!0,input:Buffer.from(iUe)}).then(f=>{if(f.stderr.length>0&&f.exitCode!=0)throw new Error(`build failed with: ${yt.getErrorMessage(f.stderr)}`);return`${c}/cosign`}),d=await s.save(u,n);return O(`Cached to ${d}`),d}async install(e,r){r=r||gt.tmpDir();let n=UC.default.join(r,"cosign-bin");GB.default.existsSync(n)||GB.default.mkdirSync(n,{recursive:!0});let i=wc.default.platform()=="win32"?"cosign.exe":"cosign",s=UC.default.join(n,i);return GB.default.copyFileSync(e,s),O("Fixing perms"),GB.default.chmodSync(s,"0755"),Fc(n),O("Added Cosign to PATH"),O(`Binary path: ${s}`),s}async buildCommand(e,r){let n=await new yt({standalone:!0}).isAvailable(),i=await new yt({standalone:!1}).isAvailable(),s=!1;if(await this.buildx.isStandalone()&&n)R("Install.buildCommand: Buildx standalone found, build with it"),s=!0;else if(!await this.buildx.isStandalone()&&i)R("Install.buildCommand: Buildx plugin found, build with it"),s=!1;else if(n)R("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),s=!0;else if(i)R("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),s=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push("-f-",e),await new yt({standalone:s}).getCommand(a)}async verifySignature(e,r){let n=`${r}.sigstore.json`;O(`Downloading keyless verification bundle at ${n}`);let i=await Vo(n,void 0,this.githubToken);R(`Install.verifySignature bundlePath: ${i}`);let s=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});O(`Cosign binary signature verified! ${s.tlogID?`${kC}?logIndex=${s.tlogID}`:""}`)}filename(){let e;switch(wc.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=wc.default.arch();break}}let r=wc.default.platform()=="win32"?"windows":wc.default.platform(),n=wc.default.platform()=="win32"?".exe":"";return jX.format("cosign-%s-%s%s",r,e,n)}async vspec(e){if(!re.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return O(`Use ${u} version spec cache key for ${e}`),u}let[r,n]=e.split("#");n.length==0&&(n="master");let i;n.match(/^[0-9a-fA-F]{40}$/)?i=n:i=await nC.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[s,a]=r.substring(19).split("/"),c=`${s}/${re.trimSuffix(a,".git")}/${i}`,l=re.hash(c);return O(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Cosign",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Cosign release ${e.version} in releases JSON`);return i[e.version]}};var sUe=N(cc(),1);var tL=class{static{o(this,"Regctl")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await _e.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return r.stdout})}async manifestGet(e){return await _e.getExecOutput(this.binPath,["manifest","get",e.image,`--platform=${e.platform??"local"}`,"--format={{json .}}"],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return JSON.parse(r.stdout.trim())})}async isAvailable(){let e=await _e.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(R(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(R(`Regctl.isAvailable error: ${r}`),!1));return R(`Regctl.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await _e.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await _e.exec(this.binPath,["version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return R("Regctl.versionSatisfies false: undefined version"),!1;let i=sUe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return R(`Regctl.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var HB=N(require("fs"),1),Rd=N(require("os"),1),rL=N(require("path"),1);var iL=N(cc(),1),WX=N(require("util"),1);var nL=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);R(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);R(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);R(`Install.download vspec: ${s}`);let a=iL.clean(s)||"";if(!iL.valid(a))throw new Error(`Invalid regclient version "${s}".`);let c=new Yn({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:rL.default.join(Rd.default.homedir(),".bin"),cacheFile:Rd.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return O(`regctl binary found in ${l}`),l;let u=WX.format(n.downloadURL,s,this.filename());O(`Downloading ${u}`);let d=await Vo(u,void 0,this.githubToken);R(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return O(`Cached to ${f}`),f}async install(e,r){r=r||gt.tmpDir();let n=rL.default.join(r,"regctl-bin");HB.default.existsSync(n)||HB.default.mkdirSync(n,{recursive:!0});let i=Rd.default.platform()=="win32"?"regctl.exe":"regctl",s=rL.default.join(n,i);return HB.default.copyFileSync(e,s),O("Fixing perms"),HB.default.chmodSync(s,"0755"),Fc(n),O("Added regctl to PATH"),O(`Binary path: ${s}`),s}filename(){let e;switch(Rd.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;e=i?"armv"+i:"arm";break}default:{e=Rd.default.arch();break}}let r=Rd.default.platform()=="win32"?"windows":Rd.default.platform(),n=Rd.default.platform()=="win32"?".exe":"";return WX.format("regctl-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("regclient",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return i[e.version]}};var oUe=N(cc(),1);var sL=class{static{o(this,"Undock")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"undock",this._version="",this._versionOnce=!1}async run(e){if(!e.source)throw new Error("source is required");if(!e.dist)throw new Error("dist is required");let r=[];e.logLevel&&r.push(`--log-level=${e.logLevel}`),e.logCaller&&r.push("--log-caller"),e.cacheDir&&r.push(`--cachedir=${e.cacheDir}`),e.platform&&r.push(`--platform=${e.platform}`),e.all&&r.push("--all"),e.include&&e.include.forEach(n=>{r.push(`--include=${n}`)}),e.insecure&&r.push("--insecure"),e.rmDist&&r.push("--rm-dist"),e.wrap&&r.push("--wrap"),r.push(e.source,e.dist),await _e.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await _e.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(R(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(R(`Undock.isAvailable error: ${r}`),!1));return R(`Undock.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await _e.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await _e.exec(this.binPath,["--version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return R("Undock.versionSatisfies false: undefined version"),!1;let i=oUe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return R(`Undock.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var VB=N(require("fs"),1),Sc=N(require("os"),1),zB=N(require("path"),1);var aL=N(cc(),1),JX=N(require("util"),1);var oL=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);R(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);R(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);R(`Install.download vspec: ${s}`);let a=aL.clean(s)||"";if(!aL.valid(a))throw new Error(`Invalid Undock version "${s}".`);let c=new Yn({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:zB.default.join(Sc.default.homedir(),".bin"),cacheFile:Sc.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return O(`Undock binary found in ${l}`),l;let u=JX.format(n.downloadURL,s,this.filename(s));O(`Downloading ${u}`);let d=await Vo(u,void 0,this.githubToken);R(`Install.download htcDownloadPath: ${d}`);let f;Sc.default.platform()=="win32"?f=await Oue(d):f=await Pue(d),O(`Extracted to ${f}`);let h=zB.default.join(f,Sc.default.platform()=="win32"?"undock.exe":"undock");R(`Install.download exePath: ${h}`);let p=await c.save(h);return O(`Cached to ${p}`),p}async install(e,r){r=r||gt.tmpDir();let n=zB.default.join(r,"undock-bin");VB.default.existsSync(n)||VB.default.mkdirSync(n,{recursive:!0});let i=Sc.default.platform()=="win32"?"undock.exe":"undock",s=zB.default.join(n,i);return VB.default.copyFileSync(e,s),O("Fixing perms"),VB.default.chmodSync(s,"0755"),Fc(n),O("Added Undock to PATH"),O(`Binary path: ${s}`),s}filename(e){let r;switch(Sc.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let s=process.config.variables.arm_version;r=s?"armv"+s:"arm";break}default:{r=Sc.default.arch();break}}let n=Sc.default.platform()=="win32"?"windows":Sc.default.platform(),i=Sc.default.platform()=="win32"?".zip":".tar.gz";return JX.format("undock_%s_%s_%s%s",e,n,r,i)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Undock",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Undock release ${e.version} in releases JSON`);return i[e.version]}};var cL=class{static{o(this,"Toolkit")}github;buildx;buildxBuild;buildxBake;buildxInstall;builder;buildkit;compose;composeInstall;cosign;cosignInstall;regctl;regctlInstall;sigstore;undock;undockInstall;constructor(e={}){this.github=new Xe({token:e.githubToken}),this.buildx=new yt,this.buildxBuild=new jt({buildx:this.buildx}),this.buildxBake=new hP({buildx:this.buildx}),this.buildxInstall=new jO,this.builder=new FC({buildx:this.buildx}),this.buildkit=new YO({buildx:this.buildx}),this.compose=new KO,this.composeInstall=new XO,this.cosign=new Vs,this.cosignInstall=new eL({buildx:this.buildx}),this.regctl=new tL,this.regctlInstall=new nL,this.sigstore=new Ih,this.undock=new sL,this.undockInstall=new oL}};var YX=N(qj(),1);var aUe;async function cUe(){return aUe??=new jt().gitContext(),await aUe}o(cUe,"getDefaultContext");async function lUe(){let t=await cUe();return{"add-hosts":re.getInputList("add-hosts"),allow:re.getInputList("allow"),annotations:re.getInputList("annotations",{ignoreComma:!0}),attests:re.getInputList("attests",{ignoreComma:!0}),"build-args":re.getInputList("build-args",{ignoreComma:!0}),"build-contexts":re.getInputList("build-contexts",{ignoreComma:!0}),builder:li("builder"),"cache-from":re.getInputList("cache-from",{ignoreComma:!0}),"cache-to":re.getInputList("cache-to",{ignoreComma:!0}),call:li("call"),"cgroup-parent":li("cgroup-parent"),context:YX.compile(li("context"))({defaultContext:t})||t,file:li("file"),labels:re.getInputList("labels",{ignoreComma:!0}),load:rp("load"),network:li("network"),"no-cache":rp("no-cache"),"no-cache-filters":re.getInputList("no-cache-filters"),outputs:re.getInputList("outputs",{ignoreComma:!0,quote:!1}),platforms:re.getInputList("platforms"),provenance:jt.getProvenanceInput("provenance"),pull:rp("pull"),push:rp("push"),sbom:li("sbom"),secrets:re.getInputList("secrets",{ignoreComma:!0,trimWhitespace:!1}),"secret-envs":re.getInputList("secret-envs"),"secret-files":re.getInputList("secret-files",{ignoreComma:!0}),"shm-size":li("shm-size"),ssh:re.getInputList("ssh"),tags:re.getInputList("tags"),target:li("target"),ulimit:re.getInputList("ulimit",{ignoreComma:!0}),"github-token":li("github-token")}}o(lUe,"getInputs");async function uUe(t,e){return[...await GVt(t,t.context,e),...await HVt(t,e),t.context]}o(uUe,"getArgs");async function GVt(t,e,r){let n=await cUe(),i=["build"];if(await re.asyncForEach(t["add-hosts"],async s=>{i.push("--add-host",s)}),await re.asyncForEach(t.allow,async s=>{i.push("--allow",s)}),await r.buildx.versionSatisfies(">=0.12.0")?await re.asyncForEach(t.annotations,async s=>{i.push("--annotation",s)}):t.annotations.length>0&&ut("Annotations are only supported by buildx >= 0.12.0; the input 'annotations' is ignored."),await re.asyncForEach(t["build-args"],async s=>{i.push("--build-arg",s)}),await r.buildx.versionSatisfies(">=0.8.0")?await re.asyncForEach(t["build-contexts"],async s=>{i.push("--build-context",YX.compile(s)({defaultContext:n}))}):t["build-contexts"].length>0&&ut("Build contexts are only supported by buildx >= 0.8.0; the input 'build-contexts' is ignored."),await re.asyncForEach(t["cache-from"],async s=>{i.push("--cache-from",s)}),await re.asyncForEach(t["cache-to"],async s=>{i.push("--cache-to",s)}),t.call){if(!await r.buildx.versionSatisfies(">=0.15.0"))throw new Error("Buildx >= 0.15.0 is required to use the call flag.");i.push("--call",t.call)}return t["cgroup-parent"]&&i.push("--cgroup-parent",t["cgroup-parent"]),await re.asyncForEach(t["secret-envs"],async s=>{try{i.push("--secret",jt.resolveSecretEnv(s))}catch(a){ut(a.message)}}),t.file&&i.push("--file",t.file),!jt.hasLocalExporter(t.outputs)&&!jt.hasTarExporter(t.outputs)&&(t.platforms.length==0||await r.buildx.versionSatisfies(">=0.4.2"))&&i.push("--iidfile",r.buildxBuild.getImageIDFilePath()),await re.asyncForEach(t.labels,async s=>{i.push("--label",s)}),await re.asyncForEach(t["no-cache-filters"],async s=>{i.push("--no-cache-filter",s)}),await re.asyncForEach(t.outputs,async s=>{i.push("--output",s)}),t.platforms.length>0&&i.push("--platform",t.platforms.join(",")),await r.buildx.versionSatisfies(">=0.10.0")?i.push(...await VVt(t,r)):ut("Attestations are only supported by buildx >= 0.10.0; the inputs 'attests', 'provenance' and 'sbom' are ignored."),await re.asyncForEach(t.secrets,async s=>{try{i.push("--secret",jt.resolveSecretString(s))}catch(a){ut(a.message)}}),await re.asyncForEach(t["secret-files"],async s=>{try{i.push("--secret",jt.resolveSecretFile(s))}catch(a){ut(a.message)}}),t["github-token"]&&!jt.hasGitAuthTokenSecret(t.secrets)&&e.startsWith(n)&&i.push("--secret",jt.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(Xe.serverURL).host.trimEnd()}=${t["github-token"]}`)),t["shm-size"]&&i.push("--shm-size",t["shm-size"]),await re.asyncForEach(t.ssh,async s=>{i.push("--ssh",s)}),await re.asyncForEach(t.tags,async s=>{i.push("--tag",s)}),t.target&&i.push("--target",t.target),await re.asyncForEach(t.ulimit,async s=>{i.push("--ulimit",s)}),i}o(GVt,"getBuildArgs");async function HVt(t,e){let r=[];return t.builder&&r.push("--builder",t.builder),t.load&&r.push("--load"),await e.buildx.versionSatisfies(">=0.6.0")&&r.push("--metadata-file",e.buildxBuild.getMetadataFilePath()),t.network&&r.push("--network",t.network),t["no-cache"]&&r.push("--no-cache"),t.pull&&r.push("--pull"),t.push&&r.push("--push"),r}o(HVt,"getCommonArgs");async function VVt(t,e){let r=[],n=!1;await re.asyncForEach(t.attests,async a=>{jt.hasAttestationType("provenance",a)&&(n=!0)});let i=!1,s=!1;return t.provenance?(r.push("--attest",jt.resolveAttestationAttrs(`type=provenance,${t.provenance}`)),i=!0):!n&&!zVt()&&await e.buildkit.versionSatisfies(t.builder,">=0.11.0")&&!jt.hasDockerExporter(t.outputs,t.load)&&(Xe.context.payload.repository?.private??!1?r.push("--attest",`type=provenance,${jt.resolveProvenanceAttrs("mode=min,inline-only=true")}`):r.push("--attest",`type=provenance,${jt.resolveProvenanceAttrs("mode=max")}`)),t.sbom&&(r.push("--attest",jt.resolveAttestationAttrs(`type=sbom,${t.sbom}`)),s=!0),await re.asyncForEach(t.attests,async a=>{!jt.hasAttestationType("provenance",a)&&!jt.hasAttestationType("sbom",a)?r.push("--attest",jt.resolveAttestationAttrs(a)):!i&&jt.hasAttestationType("provenance",a)?r.push("--attest",jt.resolveProvenanceAttrs(a)):!s&&jt.hasAttestationType("sbom",a)&&r.push("--attest",a)}),r}o(VVt,"getAttestArgs");function zVt(){return process.env.BUILDX_NO_DEFAULT_ATTESTATIONS?re.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS):!1}o(zVt,"noDefaultAttestations");var $B=process.env.STATE_tmpDir||"",dUe=process.env.STATE_builderDriver||"",fUe=process.env.STATE_builderEndpoint||"",hUe=process.env.STATE_summaryInputs?JSON.parse(process.env.STATE_summaryInputs):void 0,KX=process.env.STATE_buildRef||"",pUe=!!process.env.STATE_isSummarySupported;function AUe(t){ja("tmpDir",t)}o(AUe,"setTmpDir");function mUe(t){ja("builderDriver",t)}o(mUe,"setBuilderDriver");function gUe(t){ja("builderEndpoint",t)}o(gUe,"setBuilderEndpoint");function yUe(t){ja("buildRef",t)}o(yUe,"setBuildRef");function EUe(){ja("isSummarySupported","true")}o(EUe,"setSummarySupported");function CUe(t){let e={};for(let r of Object.keys(t)){if(r==="github-token")continue;let n=t[r];if(!(typeof n=="boolean"&&!n)){if(Array.isArray(n)){if(n.length===0)continue;if(r==="secrets"&&n.length>0){let i=[];for(let s of n)try{let[a,c]=jt.parseSecretKvp(s,!0);i.push(a)}catch{}i.length>0&&(e[r]=i);continue}}else if(!n)continue;e[r]=n}}ja("summaryInputs",JSON.stringify(e))}o(CUe,"setSummaryInputs");XEe(async()=>{let t=new Date,e=await lUe();CUe(e),R(`inputs: ${JSON.stringify(e)}`);let r=new cL;if(await kr("GitHub Actions runtime token ACs",async()=>{try{await Xe.printActionsRuntimeTokenACs()}catch(f){ut(f.message)}}),await kr("Docker info",async()=>{try{await on.printVersion(),await on.printInfo()}catch(f){O(f.message)}}),await kr("Proxy configuration",async()=>{let f,h=!1;try{f=await on.configFile()}catch(p){h=!0,ut(`Unable to parse config file ${IUe.join(on.configDir,"config.json")}: ${p}`)}if(f&&f.proxies)for(let p in f.proxies){let g="";Object.keys(f.proxies).length>1&&(g=" ",O(p));for(let m in f.proxies[p])O(`${g}${m}: ${f.proxies[p][m]}`)}else h||O("No proxy configuration found")}),!await r.buildx.isAvailable()){wN("Docker buildx is required. See https://github.com/docker/setup-buildx-action to set up buildx.");return}AUe(gt.tmpDir()),await kr("Buildx version",async()=>{await r.buildx.printVersion()});let n;await kr("Builder info",async()=>{n=await r.builder.inspect(e.builder),mUe(n.driver??""),gUe(n.nodes?.[0]?.endpoint??""),O(JSON.stringify(n,null,2))});let i=await uUe(e,r);R(`context.getArgs: ${JSON.stringify(i)}`);let s=await r.buildx.getCommand(i);R(`buildCmd.command: ${s.command}`),R(`buildCmd.args: ${JSON.stringify(s.args)}`);let a;await _e.getExecOutput(s.command,s.args,{ignoreReturnCode:!0,env:Object.assign({},process.env,{BUILDX_METADATA_WARNINGS:"true"})}).then(f=>{f.exitCode!=0&&(e.call&&e.call==="check"&&f.stdout.length>0?a=new Error(f.stdout.split(` -`)[0]?.trim()):a=new Error(`buildx failed with: ${yt.getErrorMessage(f.stderr)}`))});let c=r.buildxBuild.resolveImageID(),l=r.buildxBuild.resolveMetadata(),u=r.buildxBuild.resolveDigest(l);c&&await kr("ImageID",async()=>{O(c),IN("imageid",c)}),u&&await kr("Digest",async()=>{O(u),IN("digest",u)}),l&&await kr("Metadata",async()=>{let f=JSON.stringify(l,null,2);Xe.printUntrusted(f),IN("metadata",f)});let d;if(await kr("Reference",async()=>{d=await WVt(r,t,e.builder),d?(O(d),yUe(d)):O("No build reference found")}),JVt()){let f=r.buildxBuild.resolveWarnings(l);if(d&&f&&f.length>0){let h=await yt.convertWarningsToGitHubAnnotations(f,[d]);R(`annotations: ${JSON.stringify(h,null,2)}`),h&&h.length>0&&await kr(`Generating GitHub annotations (${h.length} build checks found)`,async()=>{for(let p of h)ut(p.message,p)})}}if(await kr("Check build summary support",async()=>{YVt()?e.call&&e.call!=="build"?O(`Build summary skipped for ${e.call} subrequest`):Xe.isGHES?O("Build summary is not yet supported on GHES"):await r.buildx.versionSatisfies(">=0.23.0")?d?(O("Build summary supported!"),EUe()):O("Build summary requires a build reference"):O("Build summary requires Buildx >= 0.23.0"):O("Build summary disabled")}),a)throw a},async()=>{pUe&&await kr("Generating build summary",async()=>{try{let t=KVt(),e;t&&(e=XVt());let n=await new $D().export({refs:KX?[KX]:[]});O(`Build record written to ${n.dockerbuildFilename} (${re.formatFileSize(n.dockerbuildSize)})`);let i;t&&(i=await nP.upload({filename:n.dockerbuildFilename,retentionDays:e})),await fP.writeBuildSummary({exportRes:n,uploadRes:i,inputs:hUe,driver:dUe,endpoint:fUe})}catch(t){ut(t.message)}}),$B.length>0&&await kr(`Removing temp folder ${$B}`,async()=>{try{bUe.rmSync($B,{recursive:!0})}catch{ut(`Failed to remove temp folder ${$B}`)}})});async function WVt(t,e,r){let n=t.buildxBuild.resolveRef();if(n)return n;r||(r=(await t.builder.inspect()).name);let i=yt.refs({dir:yt.refsDir,builderName:r,since:e});return Object.keys(i).length>0?Object.keys(i)[0]:""}o(WVt,"buildRef");function JVt(){return process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS?re.parseBool(process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS):!0}o(JVt,"buildChecksAnnotationsEnabled");function YVt(){return process.env.DOCKER_BUILD_SUMMARY?re.parseBool(process.env.DOCKER_BUILD_SUMMARY):!0}o(YVt,"buildSummaryEnabled");function KVt(){return process.env.DOCKER_BUILD_RECORD_UPLOAD?re.parseBool(process.env.DOCKER_BUILD_RECORD_UPLOAD):!0}o(KVt,"buildRecordUploadEnabled");function XVt(){let t=process.env.DOCKER_BUILD_RECORD_RETENTION_DAYS;if(t){let e=parseInt(t);if(isNaN(e))throw new Error(`Invalid build record retention days: ${t}`);return e}}o(XVt,"buildRecordRetentionDays"); +`;var TL=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new yt,this.sigstore=e?.sigstore||new Dh}async download(e){let r=await t.getDownloadVersion(e.version);D(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);D(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);D(`Install.download vspec: ${i}`);let s=sb.clean(i)||"";if(!sb.valid(s))throw new Error(`Invalid Cosign version "${i}".`);let a=new Kn({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:ib.default.join(_c.default.homedir(),".bin"),cacheFile:_c.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return O(`Cosign binary found in ${c}`),c;let l=nee.format(r.downloadURL,i,this.filename());O(`Downloading ${l}`);let u=await $o(l,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&sb.satisfies(i,">=3.0.1")&&await this.verifySignature(u,l);let f=await a.save(u,e.skipState);return O(`Cached to ${f}`),f}async build(e,r,n){let i=await this.vspec(e);D(`Install.build vspec: ${i}`);let s=new Kn({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:ib.default.join(_c.default.homedir(),".bin"),cacheFile:_c.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await s.find();if(a)return O(`Cosign binary found in ${a}`),a;let c=ib.default.join(gt.tmpDir(),"cosign-build-cache"),l=await this.buildCommand(e,c),u=await Ne.getExecOutput(l.command,l.args,{ignoreReturnCode:!0,input:Buffer.from(Yqe)}).then(d=>{if(d.stderr.length>0&&d.exitCode!=0)throw new Error(`build failed with: ${yt.getErrorMessage(d.stderr)}`);return`${c}/cosign`}),f=await s.save(u,n);return O(`Cached to ${f}`),f}async install(e,r){r=r||gt.tmpDir();let n=ib.default.join(r,"cosign-bin");hv.default.existsSync(n)||hv.default.mkdirSync(n,{recursive:!0});let i=_c.default.platform()=="win32"?"cosign.exe":"cosign",s=ib.default.join(n,i);return hv.default.copyFileSync(e,s),O("Fixing perms"),hv.default.chmodSync(s,"0755"),Vc(n),O("Added Cosign to PATH"),O(`Binary path: ${s}`),s}async buildCommand(e,r){let n=await new yt({standalone:!0}).isAvailable(),i=await new yt({standalone:!1}).isAvailable(),s=!1;if(await this.buildx.isStandalone()&&n)D("Install.buildCommand: Buildx standalone found, build with it"),s=!0;else if(!await this.buildx.isStandalone()&&i)D("Install.buildCommand: Buildx plugin found, build with it"),s=!1;else if(n)D("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),s=!0;else if(i)D("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),s=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push("-f-",e),await new yt({standalone:s}).getCommand(a)}async verifySignature(e,r){let n=`${r}.sigstore.json`;O(`Downloading keyless verification bundle at ${n}`);let i=await $o(n,void 0,this.githubToken);D(`Install.verifySignature bundlePath: ${i}`);let s=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});O(`Cosign binary signature verified! ${s.tlogID?`${XC}?logIndex=${s.tlogID}`:""}`)}filename(){let e;switch(_c.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=_c.default.arch();break}}let r=_c.default.platform()=="win32"?"windows":_c.default.platform(),n=_c.default.platform()=="win32"?".exe":"";return nee.format("cosign-%s-%s%s",r,e,n)}async vspec(e){if(!ne.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return O(`Use ${u} version spec cache key for ${e}`),u}let[r,n]=e.split("#");n.length==0&&(n="master");let i;n.match(/^[0-9a-fA-F]{40}$/)?i=n:i=await bC.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[s,a]=r.substring(19).split("/"),c=`${s}/${ne.trimSuffix(a,".git")}/${i}`,l=ne.hash(c);return O(`Use ${l} version spec cache key for ${c}`),l}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Cosign",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Cosign release ${e.version} in releases JSON`);return i[e.version]}};var Kqe=N(hc(),1);var DL=class{static{o(this,"Regctl")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await Ne.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return r.stdout})}async manifestGet(e){return await Ne.getExecOutput(this.binPath,["manifest","get",e.image,`--platform=${e.platform??"local"}`,"--format={{json .}}"],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return JSON.parse(r.stdout.trim())})}async isAvailable(){let e=await Ne.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(D(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(D(`Regctl.isAvailable error: ${r}`),!1));return D(`Regctl.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ne.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await Ne.exec(this.binPath,["version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Regctl.versionSatisfies false: undefined version"),!1;let i=Kqe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Regctl.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var pv=N(require("fs"),1),Uf=N(require("os"),1),QL=N(require("path"),1);var PL=N(hc(),1),iee=N(require("util"),1);var kL=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);D(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);D(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);D(`Install.download vspec: ${s}`);let a=PL.clean(s)||"";if(!PL.valid(a))throw new Error(`Invalid regclient version "${s}".`);let c=new Kn({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:QL.default.join(Uf.default.homedir(),".bin"),cacheFile:Uf.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return O(`regctl binary found in ${l}`),l;let u=iee.format(n.downloadURL,s,this.filename());O(`Downloading ${u}`);let f=await $o(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${f}`);let d=await c.save(f);return O(`Cached to ${d}`),d}async install(e,r){r=r||gt.tmpDir();let n=QL.default.join(r,"regctl-bin");pv.default.existsSync(n)||pv.default.mkdirSync(n,{recursive:!0});let i=Uf.default.platform()=="win32"?"regctl.exe":"regctl",s=QL.default.join(n,i);return pv.default.copyFileSync(e,s),O("Fixing perms"),pv.default.chmodSync(s,"0755"),Vc(n),O("Added regctl to PATH"),O(`Binary path: ${s}`),s}filename(){let e;switch(Uf.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;e=i?"armv"+i:"arm";break}default:{e=Uf.default.arch();break}}let r=Uf.default.platform()=="win32"?"windows":Uf.default.platform(),n=Uf.default.platform()=="win32"?".exe":"";return iee.format("regctl-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("regclient",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return i[e.version]}};var Xqe=N(hc(),1);var OL=class{static{o(this,"Undock")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"undock",this._version="",this._versionOnce=!1}async run(e){if(!e.source)throw new Error("source is required");if(!e.dist)throw new Error("dist is required");let r=[];e.logLevel&&r.push(`--log-level=${e.logLevel}`),e.logCaller&&r.push("--log-caller"),e.cacheDir&&r.push(`--cachedir=${e.cacheDir}`),e.platform&&r.push(`--platform=${e.platform}`),e.all&&r.push("--all"),e.include&&e.include.forEach(n=>{r.push(`--include=${n}`)}),e.insecure&&r.push("--insecure"),e.rmDist&&r.push("--rm-dist"),e.wrap&&r.push("--wrap"),r.push(e.source,e.dist),await Ne.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await Ne.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(D(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(D(`Undock.isAvailable error: ${r}`),!1));return D(`Undock.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ne.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await Ne.exec(this.binPath,["--version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Undock.versionSatisfies false: undefined version"),!1;let i=Xqe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Undock.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var mv=N(require("fs"),1),Nc=N(require("os"),1),Av=N(require("path"),1);var FL=N(hc(),1),see=N(require("util"),1);var LL=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);D(`Install.download version: ${n.version}`);let i=await t.getRelease(n,this.githubToken);D(`Install.download release tag name: ${i.tag_name}`);let s=await this.vspec(i.tag_name);D(`Install.download vspec: ${s}`);let a=FL.clean(s)||"";if(!FL.valid(a))throw new Error(`Invalid Undock version "${s}".`);let c=new Kn({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:Av.default.join(Nc.default.homedir(),".bin"),cacheFile:Nc.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return O(`Undock binary found in ${l}`),l;let u=see.format(n.downloadURL,s,this.filename(s));O(`Downloading ${u}`);let f=await $o(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${f}`);let d;Nc.default.platform()=="win32"?d=await _de(f):d=await xde(f),O(`Extracted to ${d}`);let h=Av.default.join(d,Nc.default.platform()=="win32"?"undock.exe":"undock");D(`Install.download exePath: ${h}`);let p=await c.save(h);return O(`Cached to ${p}`),p}async install(e,r){r=r||gt.tmpDir();let n=Av.default.join(r,"undock-bin");mv.default.existsSync(n)||mv.default.mkdirSync(n,{recursive:!0});let i=Nc.default.platform()=="win32"?"undock.exe":"undock",s=Av.default.join(n,i);return mv.default.copyFileSync(e,s),O("Fixing perms"),mv.default.chmodSync(s,"0755"),Vc(n),O("Added Undock to PATH"),O(`Binary path: ${s}`),s}filename(e){let r;switch(Nc.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let s=process.config.variables.arm_version;r=s?"armv"+s:"arm";break}default:{r=Nc.default.arch();break}}let n=Nc.default.platform()=="win32"?"windows":Nc.default.platform(),i=Nc.default.platform()=="win32"?".zip":".tar.gz";return see.format("undock_%s_%s_%s%s",e,n,r,i)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return O(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,r){let i=await new Xe({token:r}).releases("Undock",e.contentOpts);if(!i[e.version])throw new Error(`Cannot find Undock release ${e.version} in releases JSON`);return i[e.version]}};var ML=class{static{o(this,"Toolkit")}github;buildx;buildxBuild;buildxBake;buildxInstall;builder;buildkit;compose;composeInstall;cosign;cosignInstall;regctl;regctlInstall;sigstore;undock;undockInstall;constructor(e={}){this.github=new Xe({token:e.githubToken}),this.buildx=new yt,this.buildxBuild=new $t({buildx:this.buildx}),this.buildxBake=new VP({buildx:this.buildx}),this.buildxInstall=new SL,this.builder=new rb({buildx:this.buildx}),this.buildkit=new xL({buildx:this.buildx}),this.compose=new _L,this.composeInstall=new NL,this.cosign=new js,this.cosignInstall=new TL({buildx:this.buildx}),this.regctl=new DL,this.regctlInstall=new kL,this.sigstore=new Dh,this.undock=new OL,this.undockInstall=new LL}};var Gee=N(wGe(),1);var IGe;async function SGe(){return IGe??=new $t().gitContext(),await IGe}o(SGe,"getDefaultContext");async function BGe(){let t=await SGe();return{"add-hosts":ne.getInputList("add-hosts"),allow:ne.getInputList("allow"),annotations:ne.getInputList("annotations",{ignoreComma:!0}),attests:ne.getInputList("attests",{ignoreComma:!0}),"build-args":ne.getInputList("build-args",{ignoreComma:!0}),"build-contexts":ne.getInputList("build-contexts",{ignoreComma:!0}),builder:ui("builder"),"cache-from":ne.getInputList("cache-from",{ignoreComma:!0}),"cache-to":ne.getInputList("cache-to",{ignoreComma:!0}),call:ui("call"),"cgroup-parent":ui("cgroup-parent"),context:Gee.compile(ui("context"))({defaultContext:t})||t,file:ui("file"),labels:ne.getInputList("labels",{ignoreComma:!0}),load:mp("load"),network:ui("network"),"no-cache":mp("no-cache"),"no-cache-filters":ne.getInputList("no-cache-filters"),outputs:ne.getInputList("outputs",{ignoreComma:!0,quote:!1}),platforms:ne.getInputList("platforms"),provenance:$t.getProvenanceInput("provenance"),pull:mp("pull"),push:mp("push"),sbom:ui("sbom"),secrets:ne.getInputList("secrets",{ignoreComma:!0,trimWhitespace:!1}),"secret-envs":ne.getInputList("secret-envs"),"secret-files":ne.getInputList("secret-files",{ignoreComma:!0}),"shm-size":ui("shm-size"),ssh:ne.getInputList("ssh"),tags:ne.getInputList("tags"),target:ui("target"),ulimit:ne.getInputList("ulimit",{ignoreComma:!0}),"github-token":ui("github-token")}}o(BGe,"getInputs");async function vGe(t,e){return[...await Ljt(t,t.context,e),...await Fjt(t,e),t.context]}o(vGe,"getArgs");async function Ljt(t,e,r){let n=await SGe(),i=["build"];if(await ne.asyncForEach(t["add-hosts"],async s=>{i.push("--add-host",s)}),await ne.asyncForEach(t.allow,async s=>{i.push("--allow",s)}),await r.buildx.versionSatisfies(">=0.12.0")?await ne.asyncForEach(t.annotations,async s=>{i.push("--annotation",s)}):t.annotations.length>0&&ut("Annotations are only supported by buildx >= 0.12.0; the input 'annotations' is ignored."),await ne.asyncForEach(t["build-args"],async s=>{i.push("--build-arg",s)}),await r.buildx.versionSatisfies(">=0.8.0")?await ne.asyncForEach(t["build-contexts"],async s=>{i.push("--build-context",Gee.compile(s)({defaultContext:n}))}):t["build-contexts"].length>0&&ut("Build contexts are only supported by buildx >= 0.8.0; the input 'build-contexts' is ignored."),await ne.asyncForEach(t["cache-from"],async s=>{i.push("--cache-from",s)}),await ne.asyncForEach(t["cache-to"],async s=>{i.push("--cache-to",s)}),t.call){if(!await r.buildx.versionSatisfies(">=0.15.0"))throw new Error("Buildx >= 0.15.0 is required to use the call flag.");i.push("--call",t.call)}return t["cgroup-parent"]&&i.push("--cgroup-parent",t["cgroup-parent"]),await ne.asyncForEach(t["secret-envs"],async s=>{try{i.push("--secret",$t.resolveSecretEnv(s))}catch(a){ut(a.message)}}),t.file&&i.push("--file",t.file),!$t.hasLocalExporter(t.outputs)&&!$t.hasTarExporter(t.outputs)&&(t.platforms.length==0||await r.buildx.versionSatisfies(">=0.4.2"))&&i.push("--iidfile",r.buildxBuild.getImageIDFilePath()),await ne.asyncForEach(t.labels,async s=>{i.push("--label",s)}),await ne.asyncForEach(t["no-cache-filters"],async s=>{i.push("--no-cache-filter",s)}),await ne.asyncForEach(t.outputs,async s=>{i.push("--output",s)}),t.platforms.length>0&&i.push("--platform",t.platforms.join(",")),await r.buildx.versionSatisfies(">=0.10.0")?i.push(...await Mjt(t,r)):ut("Attestations are only supported by buildx >= 0.10.0; the inputs 'attests', 'provenance' and 'sbom' are ignored."),await ne.asyncForEach(t.secrets,async s=>{try{i.push("--secret",$t.resolveSecretString(s))}catch(a){ut(a.message)}}),await ne.asyncForEach(t["secret-files"],async s=>{try{i.push("--secret",$t.resolveSecretFile(s))}catch(a){ut(a.message)}}),t["github-token"]&&!$t.hasGitAuthTokenSecret(t.secrets)&&e.startsWith(n)&&i.push("--secret",$t.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(Xe.serverURL).host.trimEnd()}=${t["github-token"]}`)),t["shm-size"]&&i.push("--shm-size",t["shm-size"]),await ne.asyncForEach(t.ssh,async s=>{i.push("--ssh",s)}),await ne.asyncForEach(t.tags,async s=>{i.push("--tag",s)}),t.target&&i.push("--target",t.target),await ne.asyncForEach(t.ulimit,async s=>{i.push("--ulimit",s)}),i}o(Ljt,"getBuildArgs");async function Fjt(t,e){let r=[];return t.builder&&r.push("--builder",t.builder),t.load&&r.push("--load"),await e.buildx.versionSatisfies(">=0.6.0")&&r.push("--metadata-file",e.buildxBuild.getMetadataFilePath()),t.network&&r.push("--network",t.network),t["no-cache"]&&r.push("--no-cache"),t.pull&&r.push("--pull"),t.push&&r.push("--push"),r}o(Fjt,"getCommonArgs");async function Mjt(t,e){let r=[],n=!1;await ne.asyncForEach(t.attests,async a=>{$t.hasAttestationType("provenance",a)&&(n=!0)});let i=!1,s=!1;return t.provenance?(r.push("--attest",$t.resolveAttestationAttrs(`type=provenance,${t.provenance}`)),i=!0):!n&&!Ujt()&&await e.buildkit.versionSatisfies(t.builder,">=0.11.0")&&!$t.hasDockerExporter(t.outputs,t.load)&&(Xe.context.payload.repository?.private??!1?r.push("--attest",`type=provenance,${$t.resolveProvenanceAttrs("mode=min,inline-only=true")}`):r.push("--attest",`type=provenance,${$t.resolveProvenanceAttrs("mode=max")}`)),t.sbom&&(r.push("--attest",$t.resolveAttestationAttrs(`type=sbom,${t.sbom}`)),s=!0),await ne.asyncForEach(t.attests,async a=>{!$t.hasAttestationType("provenance",a)&&!$t.hasAttestationType("sbom",a)?r.push("--attest",$t.resolveAttestationAttrs(a)):!i&&$t.hasAttestationType("provenance",a)?r.push("--attest",$t.resolveProvenanceAttrs(a)):!s&&$t.hasAttestationType("sbom",a)&&r.push("--attest",a)}),r}o(Mjt,"getAttestArgs");function Ujt(){return process.env.BUILDX_NO_DEFAULT_ATTESTATIONS?ne.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS):!1}o(Ujt,"noDefaultAttestations");var Iv=process.env.STATE_tmpDir||"",xGe=process.env.STATE_builderDriver||"",_Ge=process.env.STATE_builderEndpoint||"",NGe=process.env.STATE_summaryInputs?JSON.parse(process.env.STATE_summaryInputs):void 0,Hee=process.env.STATE_buildRef||"",RGe=!!process.env.STATE_isSummarySupported;function TGe(t){Xa("tmpDir",t)}o(TGe,"setTmpDir");function DGe(t){Xa("builderDriver",t)}o(DGe,"setBuilderDriver");function QGe(t){Xa("builderEndpoint",t)}o(QGe,"setBuilderEndpoint");function kGe(t){Xa("buildRef",t)}o(kGe,"setBuildRef");function PGe(){Xa("isSummarySupported","true")}o(PGe,"setSummarySupported");function OGe(t){let e={};for(let r of Object.keys(t)){if(r==="github-token")continue;let n=t[r];if(!(typeof n=="boolean"&&!n)){if(Array.isArray(n)){if(n.length===0)continue;if(r==="secrets"&&n.length>0){let i=[];for(let s of n)try{let[a,c]=$t.parseSecretKvp(s,!0);i.push(a)}catch{}i.length>0&&(e[r]=i);continue}}else if(!n)continue;e[r]=n}}Xa("summaryInputs",JSON.stringify(e))}o(OGe,"setSummaryInputs");Vbe(async()=>{let t=new Date,e=await BGe();OGe(e),D(`inputs: ${JSON.stringify(e)}`);let r=new ML;if(await kr("GitHub Actions runtime token ACs",async()=>{try{await Xe.printActionsRuntimeTokenACs()}catch(d){ut(d.message)}}),await kr("Docker info",async()=>{try{await an.printVersion(),await an.printInfo()}catch(d){O(d.message)}}),await kr("Proxy configuration",async()=>{let d,h=!1;try{d=await an.configFile()}catch(p){h=!0,ut(`Unable to parse config file ${FGe.join(an.configDir,"config.json")}: ${p}`)}if(d&&d.proxies)for(let p in d.proxies){let A="";Object.keys(d.proxies).length>1&&(A=" ",O(p));for(let g in d.proxies[p])O(`${A}${g}: ${d.proxies[p][g]}`)}else h||O("No proxy configuration found")}),!await r.buildx.isAvailable()){e_("Docker buildx is required. See https://github.com/docker/setup-buildx-action to set up buildx.");return}TGe(gt.tmpDir()),await kr("Buildx version",async()=>{await r.buildx.printVersion()});let n;await kr("Builder info",async()=>{n=await r.builder.inspect(e.builder),DGe(n.driver??""),QGe(n.nodes?.[0]?.endpoint??""),O(JSON.stringify(n,null,2))});let i=await vGe(e,r);D(`context.getArgs: ${JSON.stringify(i)}`);let s=await r.buildx.getCommand(i);D(`buildCmd.command: ${s.command}`),D(`buildCmd.args: ${JSON.stringify(s.args)}`);let a;await Ne.getExecOutput(s.command,s.args,{ignoreReturnCode:!0,env:Object.assign({},process.env,{BUILDX_METADATA_WARNINGS:"true"})}).then(d=>{d.exitCode!=0&&(e.call&&e.call==="check"&&d.stdout.length>0?a=new Error(d.stdout.split(` +`)[0]?.trim()):a=new Error(`buildx failed with: ${yt.getErrorMessage(d.stderr)}`))});let c=r.buildxBuild.resolveImageID(),l=r.buildxBuild.resolveMetadata(),u=r.buildxBuild.resolveDigest(l);c&&await kr("ImageID",async()=>{O(c),Z2("imageid",c)}),u&&await kr("Digest",async()=>{O(u),Z2("digest",u)}),l&&await kr("Metadata",async()=>{let d=JSON.stringify(l,null,2);Xe.printUntrusted(d),Z2("metadata",d)});let f;if(await kr("Reference",async()=>{f=await Hjt(r,t,e.builder),f?(O(f),kGe(f)):O("No build reference found")}),Vjt()){let d=r.buildxBuild.resolveWarnings(l);if(f&&d&&d.length>0){let h=await yt.convertWarningsToGitHubAnnotations(d,[f]);D(`annotations: ${JSON.stringify(h,null,2)}`),h&&h.length>0&&await kr(`Generating GitHub annotations (${h.length} build checks found)`,async()=>{for(let p of h)ut(p.message,p)})}}if(await kr("Check build summary support",async()=>{zjt()?e.call&&e.call!=="build"?O(`Build summary skipped for ${e.call} subrequest`):Xe.isGHES?O("Build summary is not yet supported on GHES"):await r.buildx.versionSatisfies(">=0.23.0")?f?(O("Build summary supported!"),PGe()):O("Build summary requires a build reference"):O("Build summary requires Buildx >= 0.23.0"):O("Build summary disabled")}),a)throw a},async()=>{RGe&&await kr("Generating build summary",async()=>{try{let t=jjt(),e;t&&(e=$jt());let n=await new I1().export({refs:Hee?[Hee]:[]});O(`Build record written to ${n.dockerbuildFilename} (${ne.formatFileSize(n.dockerbuildSize)})`);let i;t&&(i=await kP.upload({filename:n.dockerbuildFilename,retentionDays:e})),await HP.writeBuildSummary({exportRes:n,uploadRes:i,inputs:NGe,driver:xGe,endpoint:_Ge})}catch(t){ut(t.message)}}),Iv.length>0&&await kr(`Removing temp folder ${Iv}`,async()=>{try{LGe.rmSync(Iv,{recursive:!0})}catch{ut(`Failed to remove temp folder ${Iv}`)}})});async function Hjt(t,e,r){let n=t.buildxBuild.resolveRef();if(n)return n;r||(r=(await t.builder.inspect()).name);let i=yt.refs({dir:yt.refsDir,builderName:r,since:e});return Object.keys(i).length>0?Object.keys(i)[0]:""}o(Hjt,"buildRef");function Vjt(){return process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS?ne.parseBool(process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS):!0}o(Vjt,"buildChecksAnnotationsEnabled");function zjt(){return process.env.DOCKER_BUILD_SUMMARY?ne.parseBool(process.env.DOCKER_BUILD_SUMMARY):!0}o(zjt,"buildSummaryEnabled");function jjt(){return process.env.DOCKER_BUILD_RECORD_UPLOAD?ne.parseBool(process.env.DOCKER_BUILD_RECORD_UPLOAD):!0}o(jjt,"buildRecordUploadEnabled");function $jt(){let t=process.env.DOCKER_BUILD_RECORD_RETENTION_DAYS;if(t){let e=parseInt(t);if(isNaN(e))throw new Error(`Invalid build record retention days: ${t}`);return e}}o($jt,"buildRecordRetentionDays"); /*! Bundled license information: undici/lib/web/fetch/body.js: diff --git a/dist/index.cjs.map b/dist/index.cjs.map index 0a46f01..5e9606a 100644 --- a/dist/index.cjs.map +++ b/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/concat-map/index.js", "../node_modules/balanced-match/index.js", "../node_modules/minimatch/node_modules/brace-expansion/index.js", "../node_modules/minimatch/minimatch.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/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/json-typings.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/base64.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/protobufjs-utf8.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-format-contract.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/goog-varint.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/pb-long.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-reader.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/assert.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-writer.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/json-format-contract.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/message-type-contract.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/lower-camel-case.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-info.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/oneof.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-type-check.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-long-convert.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-reader.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-writer.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-scalar-default.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-reader.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-writer.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-create.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-merge-partial.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-equals.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/message-type.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-contains-message-type.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/enum-object.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/index.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/reflection-info.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/service-type.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-error.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-options.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/deferred.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/unary-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-streaming-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/client-streaming-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/duplex-streaming-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/test-transport.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-interceptor.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-call-context.js", "../node_modules/@actions/cache/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/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/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@actions/http-client/src/proxy.ts", "../node_modules/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@actions/http-client/src/index.ts", "../node_modules/fast-content-type-parse/index.js", "../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/@actions/artifact/package.json", "../node_modules/@actions/artifact/lib/internal/shared/package-version.cjs", "../node_modules/readdir-glob/node_modules/minimatch/lib/path.js", "../node_modules/brace-expansion/index.js", "../node_modules/readdir-glob/node_modules/minimatch/minimatch.js", "../node_modules/readdir-glob/index.js", "../node_modules/async/dist/async.js", "../node_modules/graceful-fs/polyfills.js", "../node_modules/graceful-fs/legacy-streams.js", "../node_modules/graceful-fs/clone.js", "../node_modules/graceful-fs/graceful-fs.js", "../node_modules/is-stream/index.js", "../node_modules/process-nextick-args/index.js", "../node_modules/isarray/index.js", "../node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/stream.js", "../node_modules/safe-buffer/index.js", "../node_modules/core-util-is/lib/util.js", "../node_modules/inherits/inherits_browser.js", "../node_modules/inherits/inherits.js", "../node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/BufferList.js", "../node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/destroy.js", "../node_modules/util-deprecate/node.js", "../node_modules/lazystream/node_modules/readable-stream/lib/_stream_writable.js", "../node_modules/lazystream/node_modules/readable-stream/lib/_stream_duplex.js", "../node_modules/lazystream/node_modules/string_decoder/lib/string_decoder.js", "../node_modules/lazystream/node_modules/readable-stream/lib/_stream_readable.js", "../node_modules/lazystream/node_modules/readable-stream/lib/_stream_transform.js", "../node_modules/lazystream/node_modules/readable-stream/lib/_stream_passthrough.js", "../node_modules/lazystream/node_modules/readable-stream/readable.js", "../node_modules/lazystream/node_modules/readable-stream/passthrough.js", "../node_modules/lazystream/lib/lazystream.js", "../node_modules/normalize-path/index.js", "../node_modules/lodash/identity.js", "../node_modules/lodash/_apply.js", "../node_modules/lodash/_overRest.js", "../node_modules/lodash/constant.js", "../node_modules/lodash/_freeGlobal.js", "../node_modules/lodash/_root.js", "../node_modules/lodash/_Symbol.js", "../node_modules/lodash/_getRawTag.js", "../node_modules/lodash/_objectToString.js", "../node_modules/lodash/_baseGetTag.js", "../node_modules/lodash/isObject.js", "../node_modules/lodash/isFunction.js", "../node_modules/lodash/_coreJsData.js", "../node_modules/lodash/_isMasked.js", "../node_modules/lodash/_toSource.js", "../node_modules/lodash/_baseIsNative.js", "../node_modules/lodash/_getValue.js", "../node_modules/lodash/_getNative.js", "../node_modules/lodash/_defineProperty.js", "../node_modules/lodash/_baseSetToString.js", "../node_modules/lodash/_shortOut.js", "../node_modules/lodash/_setToString.js", "../node_modules/lodash/_baseRest.js", "../node_modules/lodash/eq.js", "../node_modules/lodash/isLength.js", "../node_modules/lodash/isArrayLike.js", "../node_modules/lodash/_isIndex.js", "../node_modules/lodash/_isIterateeCall.js", "../node_modules/lodash/_baseTimes.js", "../node_modules/lodash/isObjectLike.js", "../node_modules/lodash/_baseIsArguments.js", "../node_modules/lodash/isArguments.js", "../node_modules/lodash/isArray.js", "../node_modules/lodash/stubFalse.js", "../node_modules/lodash/isBuffer.js", "../node_modules/lodash/_baseIsTypedArray.js", "../node_modules/lodash/_baseUnary.js", "../node_modules/lodash/_nodeUtil.js", "../node_modules/lodash/isTypedArray.js", "../node_modules/lodash/_arrayLikeKeys.js", "../node_modules/lodash/_isPrototype.js", "../node_modules/lodash/_nativeKeysIn.js", "../node_modules/lodash/_baseKeysIn.js", "../node_modules/lodash/keysIn.js", "../node_modules/lodash/defaults.js", "../node_modules/readable-stream/lib/ours/primordials.js", "../node_modules/event-target-shim/src/event.mjs", "../node_modules/event-target-shim/src/event-target.mjs", "../node_modules/abort-controller/src/abort-signal.ts", "../node_modules/abort-controller/src/abort-controller.ts", "../node_modules/readable-stream/lib/ours/util.js", "../node_modules/readable-stream/lib/ours/errors.js", "../node_modules/readable-stream/lib/internal/validators.js", "../node_modules/process/index.js", "../node_modules/readable-stream/lib/internal/streams/utils.js", "../node_modules/readable-stream/lib/internal/streams/end-of-stream.js", "../node_modules/readable-stream/lib/internal/streams/destroy.js", "../node_modules/readable-stream/lib/internal/streams/legacy.js", "../node_modules/readable-stream/lib/internal/streams/add-abort-signal.js", "../node_modules/readable-stream/lib/internal/streams/buffer_list.js", "../node_modules/readable-stream/lib/internal/streams/state.js", "../node_modules/readable-stream/lib/internal/streams/from.js", "../node_modules/readable-stream/lib/internal/streams/readable.js", "../node_modules/readable-stream/lib/internal/streams/writable.js", "../node_modules/readable-stream/lib/internal/streams/duplexify.js", "../node_modules/readable-stream/lib/internal/streams/duplex.js", "../node_modules/readable-stream/lib/internal/streams/transform.js", "../node_modules/readable-stream/lib/internal/streams/passthrough.js", "../node_modules/readable-stream/lib/internal/streams/pipeline.js", "../node_modules/readable-stream/lib/internal/streams/compose.js", "../node_modules/readable-stream/lib/internal/streams/operators.js", "../node_modules/readable-stream/lib/stream/promises.js", "../node_modules/readable-stream/lib/stream.js", "../node_modules/readable-stream/lib/ours/index.js", "../node_modules/lodash/_arrayPush.js", "../node_modules/lodash/_isFlattenable.js", "../node_modules/lodash/_baseFlatten.js", "../node_modules/lodash/flatten.js", "../node_modules/lodash/_nativeCreate.js", "../node_modules/lodash/_hashClear.js", "../node_modules/lodash/_hashDelete.js", "../node_modules/lodash/_hashGet.js", "../node_modules/lodash/_hashHas.js", "../node_modules/lodash/_hashSet.js", "../node_modules/lodash/_Hash.js", "../node_modules/lodash/_listCacheClear.js", "../node_modules/lodash/_assocIndexOf.js", "../node_modules/lodash/_listCacheDelete.js", "../node_modules/lodash/_listCacheGet.js", "../node_modules/lodash/_listCacheHas.js", "../node_modules/lodash/_listCacheSet.js", "../node_modules/lodash/_ListCache.js", "../node_modules/lodash/_Map.js", "../node_modules/lodash/_mapCacheClear.js", "../node_modules/lodash/_isKeyable.js", "../node_modules/lodash/_getMapData.js", "../node_modules/lodash/_mapCacheDelete.js", "../node_modules/lodash/_mapCacheGet.js", "../node_modules/lodash/_mapCacheHas.js", "../node_modules/lodash/_mapCacheSet.js", "../node_modules/lodash/_MapCache.js", "../node_modules/lodash/_setCacheAdd.js", "../node_modules/lodash/_setCacheHas.js", "../node_modules/lodash/_SetCache.js", "../node_modules/lodash/_baseFindIndex.js", "../node_modules/lodash/_baseIsNaN.js", "../node_modules/lodash/_strictIndexOf.js", "../node_modules/lodash/_baseIndexOf.js", "../node_modules/lodash/_arrayIncludes.js", "../node_modules/lodash/_arrayIncludesWith.js", "../node_modules/lodash/_arrayMap.js", "../node_modules/lodash/_cacheHas.js", "../node_modules/lodash/_baseDifference.js", "../node_modules/lodash/isArrayLikeObject.js", "../node_modules/lodash/difference.js", "../node_modules/lodash/_Set.js", "../node_modules/lodash/noop.js", "../node_modules/lodash/_setToArray.js", "../node_modules/lodash/_createSet.js", "../node_modules/lodash/_baseUniq.js", "../node_modules/lodash/union.js", "../node_modules/lodash/_overArg.js", "../node_modules/lodash/_getPrototype.js", "../node_modules/lodash/isPlainObject.js", "../node_modules/archiver-utils/node_modules/minimatch/src/assert-valid-pattern.ts", "../node_modules/archiver-utils/node_modules/minimatch/src/brace-expressions.ts", "../node_modules/archiver-utils/node_modules/minimatch/src/unescape.ts", "../node_modules/archiver-utils/node_modules/minimatch/src/ast.ts", "../node_modules/archiver-utils/node_modules/minimatch/src/escape.ts", "../node_modules/archiver-utils/node_modules/minimatch/src/index.ts", "../node_modules/archiver-utils/node_modules/lru-cache/src/index.ts", "../node_modules/archiver-utils/node_modules/path-scurry/node_modules/minipass/src/index.ts", "../node_modules/archiver-utils/node_modules/path-scurry/src/index.ts", "../node_modules/archiver-utils/node_modules/glob/src/pattern.ts", "../node_modules/archiver-utils/node_modules/minipass/src/index.ts", "../node_modules/archiver-utils/node_modules/glob/src/ignore.ts", "../node_modules/archiver-utils/node_modules/glob/src/processor.ts", "../node_modules/archiver-utils/node_modules/glob/src/walker.ts", "../node_modules/archiver-utils/node_modules/glob/src/glob.ts", "../node_modules/archiver-utils/node_modules/glob/src/has-magic.ts", "../node_modules/archiver-utils/node_modules/glob/src/index.ts", "../node_modules/archiver-utils/file.js", "../node_modules/archiver-utils/index.js", "../node_modules/archiver/lib/error.js", "../node_modules/archiver/lib/core.js", "../node_modules/compress-commons/lib/archivers/archive-entry.js", "../node_modules/compress-commons/lib/archivers/zip/util.js", "../node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js", "../node_modules/compress-commons/lib/archivers/zip/unix-stat.js", "../node_modules/compress-commons/lib/archivers/zip/constants.js", "../node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js", "../node_modules/compress-commons/lib/util/index.js", "../node_modules/compress-commons/lib/archivers/archive-output-stream.js", "../node_modules/crc-32/crc32.js", "../node_modules/crc32-stream/lib/crc32-stream.js", "../node_modules/crc32-stream/lib/deflate-crc32-stream.js", "../node_modules/crc32-stream/lib/index.js", "../node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js", "../node_modules/compress-commons/lib/compress-commons.js", "../node_modules/zip-stream/index.js", "../node_modules/archiver/lib/plugins/zip.js", "../node_modules/queue-tick/queue-microtask.js", "../node_modules/queue-tick/process-next-tick.js", "../node_modules/fast-fifo/fixed-size.js", "../node_modules/fast-fifo/index.js", "../node_modules/streamx/index.js", "../node_modules/b4a/index.js", "../node_modules/tar-stream/headers.js", "../node_modules/tar-stream/extract.js", "../node_modules/tar-stream/constants.js", "../node_modules/tar-stream/pack.js", "../node_modules/tar-stream/index.js", "../node_modules/archiver/lib/plugins/tar.js", "../node_modules/buffer-crc32/dist/index.cjs", "../node_modules/archiver/lib/plugins/json.js", "../node_modules/archiver/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/traverse/index.js", "../node_modules/chainsaw/index.js", "../node_modules/buffers/index.js", "../node_modules/binary/lib/vars.js", "../node_modules/binary/index.js", "../node_modules/unzip-stream/lib/matcher-stream.js", "../node_modules/unzip-stream/lib/entry.js", "../node_modules/unzip-stream/lib/unzip-stream.js", "../node_modules/unzip-stream/lib/parser-stream.js", "../node_modules/mkdirp/index.js", "../node_modules/unzip-stream/lib/extract.js", "../node_modules/unzip-stream/unzip.js", "../node_modules/bottleneck/light.js", "../node_modules/he/he.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js", "../node_modules/@sigstore/protobuf-specs/dist/index.js", "../node_modules/@docker/actions-toolkit/node_modules/@sigstore/bundle/dist/bundle.js", "../node_modules/@docker/actions-toolkit/node_modules/@sigstore/bundle/dist/build.js", "../node_modules/@docker/actions-toolkit/node_modules/@sigstore/bundle/dist/error.js", "../node_modules/@docker/actions-toolkit/node_modules/@sigstore/bundle/dist/validate.js", "../node_modules/@docker/actions-toolkit/node_modules/@sigstore/bundle/dist/serialized.js", "../node_modules/@docker/actions-toolkit/node_modules/@sigstore/bundle/dist/index.js", "../node_modules/@sigstore/tuf/dist/appdata.js", "../node_modules/@tufjs/models/dist/error.js", "../node_modules/@tufjs/models/dist/utils/guard.js", "../node_modules/@tufjs/canonical-json/lib/index.js", "../node_modules/@tufjs/models/dist/utils/verify.js", "../node_modules/@tufjs/models/dist/utils/index.js", "../node_modules/@tufjs/models/dist/base.js", "../node_modules/@tufjs/models/dist/file.js", "../node_modules/@tufjs/models/dist/utils/oid.js", "../node_modules/@tufjs/models/dist/utils/key.js", "../node_modules/@tufjs/models/dist/key.js", "../node_modules/@tufjs/models/node_modules/balanced-match/src/index.ts", "../node_modules/@tufjs/models/node_modules/brace-expansion/src/index.ts", "../node_modules/@tufjs/models/node_modules/minimatch/src/assert-valid-pattern.ts", "../node_modules/@tufjs/models/node_modules/minimatch/src/brace-expressions.ts", "../node_modules/@tufjs/models/node_modules/minimatch/src/unescape.ts", "../node_modules/@tufjs/models/node_modules/minimatch/src/ast.ts", "../node_modules/@tufjs/models/node_modules/minimatch/src/escape.ts", "../node_modules/@tufjs/models/node_modules/minimatch/src/index.ts", "../node_modules/@tufjs/models/dist/role.js", "../node_modules/@tufjs/models/dist/root.js", "../node_modules/@tufjs/models/dist/signature.js", "../node_modules/@tufjs/models/dist/snapshot.js", "../node_modules/@tufjs/models/dist/delegations.js", "../node_modules/@tufjs/models/dist/targets.js", "../node_modules/@tufjs/models/dist/timestamp.js", "../node_modules/@tufjs/models/dist/metadata.js", "../node_modules/@tufjs/models/dist/index.js", "../node_modules/tuf-js/node_modules/ms/index.js", "../node_modules/tuf-js/node_modules/debug/src/common.js", "../node_modules/tuf-js/node_modules/debug/src/browser.js", "../node_modules/tuf-js/node_modules/debug/src/node.js", "../node_modules/tuf-js/node_modules/debug/src/index.js", "../node_modules/tuf-js/dist/error.js", "../node_modules/tuf-js/dist/utils/tmpfile.js", "../node_modules/tuf-js/node_modules/@gar/promise-retry/lib/retry.js", "../node_modules/tuf-js/node_modules/@gar/promise-retry/lib/index.js", "../node_modules/tuf-js/dist/fetcher.js", "../node_modules/tuf-js/package.json", "../node_modules/tuf-js/dist/config.js", "../node_modules/tuf-js/dist/store.js", "../node_modules/tuf-js/dist/utils/url.js", "../node_modules/tuf-js/dist/updater.js", "../node_modules/tuf-js/dist/index.js", "../node_modules/@sigstore/tuf/package.json", "../node_modules/@sigstore/tuf/dist/error.js", "../node_modules/@sigstore/tuf/dist/target.js", "../node_modules/@sigstore/tuf/seeds.json", "../node_modules/@sigstore/tuf/dist/client.js", "../node_modules/@sigstore/tuf/dist/index.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/stream.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/asn1/error.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/asn1/length.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/asn1/parse.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/asn1/tag.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/asn1/obj.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/asn1/index.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/crypto.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/dsse.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/encoding.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/json.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/pem.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/oid.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/rfc3161/error.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/rfc3161/timestamp.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/rfc3161/index.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/x509/sct.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/x509/ext.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/x509/cert.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/x509/index.js", "../node_modules/@sigstore/verify/node_modules/@sigstore/core/dist/index.js", "../node_modules/@sigstore/verify/dist/bundle/dsse.js", "../node_modules/@sigstore/verify/dist/bundle/message.js", "../node_modules/@sigstore/verify/dist/bundle/index.js", "../node_modules/@sigstore/verify/dist/error.js", "../node_modules/@sigstore/verify/dist/trust/filter.js", "../node_modules/@sigstore/verify/dist/trust/index.js", "../node_modules/@sigstore/verify/dist/key/certificate.js", "../node_modules/@sigstore/verify/dist/key/sct.js", "../node_modules/@sigstore/verify/dist/key/index.js", "../node_modules/@sigstore/verify/dist/policy.js", "../node_modules/@sigstore/verify/dist/timestamp/tsa.js", "../node_modules/@sigstore/verify/dist/timestamp/index.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js", "../node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js", "../node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js", "../node_modules/@sigstore/verify/dist/tlog/dsse.js", "../node_modules/@sigstore/verify/dist/tlog/hashedrekord.js", "../node_modules/@sigstore/verify/dist/tlog/intoto.js", "../node_modules/@sigstore/verify/dist/tlog/checkpoint.js", "../node_modules/@sigstore/verify/dist/tlog/merkle.js", "../node_modules/@sigstore/verify/dist/tlog/set.js", "../node_modules/@sigstore/verify/dist/tlog/index.js", "../node_modules/@sigstore/verify/dist/verifier.js", "../node_modules/@sigstore/verify/dist/index.js", "../src/main.ts", "../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/http-client/src/proxy.ts", "../node_modules/@actions/http-client/src/auth.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/core.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/src/tool-cache.ts", "../node_modules/@actions/tool-cache/src/manifest.ts", "../node_modules/@actions/tool-cache/src/retry-helper.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/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/@docker/actions-toolkit/node_modules/@actions/github/src/context.ts", "../node_modules/@docker/actions-toolkit/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/@docker/actions-toolkit/node_modules/@actions/github/src/utils.ts", "../node_modules/@docker/actions-toolkit/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", "../node_modules/@docker/actions-toolkit/src/buildx/history.ts", "../node_modules/@docker/actions-toolkit/src/github/artifact.ts", "../node_modules/@actions/artifact/node_modules/@actions/core/src/command.ts", "../node_modules/@actions/artifact/node_modules/@actions/core/src/utils.ts", "../node_modules/@actions/artifact/node_modules/@actions/core/src/core.ts", "../node_modules/@actions/artifact/node_modules/@actions/core/src/summary.ts", "../node_modules/@actions/artifact/node_modules/@actions/core/src/platform.ts", "../node_modules/@actions/artifact/src/internal/shared/config.ts", "../node_modules/@actions/artifact/src/internal/upload/upload-artifact.ts", "../node_modules/@actions/artifact/src/generated/google/protobuf/timestamp.ts", "../node_modules/@actions/artifact/src/generated/google/protobuf/wrappers.ts", "../node_modules/@actions/artifact/src/generated/results/api/v1/artifact.ts", "../node_modules/@actions/artifact/src/generated/results/api/v1/artifact.twirp-client.ts", "../node_modules/@actions/artifact/src/internal/upload/retention.ts", "../node_modules/@actions/artifact/src/internal/upload/path-and-artifact-name-validation.ts", "../node_modules/@actions/artifact/src/internal/shared/user-agent.ts", "../node_modules/@actions/artifact/src/internal/shared/errors.ts", "../node_modules/@actions/artifact/src/internal/shared/util.ts", "../node_modules/@actions/artifact/src/internal/shared/artifact-twirp-client.ts", "../node_modules/@actions/artifact/src/internal/upload/upload-zip-specification.ts", "../node_modules/@actions/artifact/src/internal/upload/blob-upload.ts", "../node_modules/@actions/artifact/src/internal/upload/zip.ts", "../node_modules/@actions/artifact/src/internal/upload/stream.ts", "../node_modules/@actions/artifact/src/internal/upload/types.ts", "../node_modules/@actions/artifact/src/internal/download/download-artifact.ts", "../node_modules/@actions/github/src/context.ts", "../node_modules/@actions/github/src/internal/utils.ts", "../node_modules/@actions/github/src/utils.ts", "../node_modules/@actions/github/src/github.ts", "../node_modules/@actions/artifact/src/internal/find/retry-options.ts", "../node_modules/@octokit/plugin-request-log/dist-src/version.js", "../node_modules/@octokit/plugin-request-log/dist-src/index.js", "../node_modules/@octokit/plugin-retry/dist-bundle/index.js", "../node_modules/@actions/artifact/src/internal/find/get-artifact.ts", "../node_modules/@actions/artifact/src/internal/delete/delete-artifact.ts", "../node_modules/@actions/artifact/src/internal/find/list-artifacts.ts", "../node_modules/@actions/artifact/src/internal/client.ts", "../node_modules/@actions/artifact/src/artifact.ts", "../node_modules/@docker/actions-toolkit/src/github/summary.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/str.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/null_core.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/null_json.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/null_yaml11.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/bool_core.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/bool_json.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/bool_yaml11.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/int_core.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/int_json.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/int_yaml11.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/float_core.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/float_json.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/float_yaml11.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/merge.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/binary.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/scalar/timestamp.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/sequence/seq.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/common/object.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/sequence/omap.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/sequence/pairs.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/mapping/map.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/mapping/set.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/schema.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/mapping/real_map.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/tag/mapping/legacy_map.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/common/snippet.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/common/exception.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/parser/events.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/parser/parser_scalar.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/common/tagname.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/parser/constructor.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/parser/parser.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/load.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/ast/from_js.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/ast/visit.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/ast/styler_defaults.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/ast/scalar_styler.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/ast/presenter.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/dump.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/ast/from_events.ts", "../node_modules/@docker/actions-toolkit/node_modules/js-yaml/src/index.ts", "../node_modules/@docker/actions-toolkit/src/buildx/build.ts", "../node_modules/@docker/actions-toolkit/src/buildx/bake.ts", "../node_modules/@docker/actions-toolkit/src/buildx/install.ts", "../node_modules/@docker/actions-toolkit/src/git.ts", "../node_modules/@docker/actions-toolkit/src/sigstore/sigstore.ts", "../node_modules/@docker/actions-toolkit/src/cosign/cosign.ts", "../node_modules/@docker/actions-toolkit/src/types/oci/mediatype.ts", "../node_modules/@docker/actions-toolkit/src/buildx/imagetools.ts", "../node_modules/@docker/actions-toolkit/src/types/sigstore/sigstore.ts", "../node_modules/@docker/actions-toolkit/src/buildx/builder.ts", "../node_modules/@docker/actions-toolkit/src/buildkit/buildkit.ts", "../node_modules/@docker/actions-toolkit/src/buildkit/config.ts", "../node_modules/@docker/actions-toolkit/src/compose/compose.ts", "../node_modules/@docker/actions-toolkit/src/compose/install.ts", "../node_modules/@docker/actions-toolkit/src/cosign/install.ts", "../node_modules/@docker/actions-toolkit/src/cosign/dockerfile.ts", "../node_modules/@docker/actions-toolkit/src/regclient/regctl.ts", "../node_modules/@docker/actions-toolkit/src/regclient/install.ts", "../node_modules/@docker/actions-toolkit/src/undock/undock.ts", "../node_modules/@docker/actions-toolkit/src/undock/install.ts", "../node_modules/@docker/actions-toolkit/src/toolkit.ts", "../src/context.ts", "../src/state-helper.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/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbmd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BEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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C0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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MHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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AUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAE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yACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYCBCACIAAgARAoIgBFDYYBIAJB3gA2AhwgAiABNgIUIAIgADYCDEEAIQMMmgELIAIoAgQhACAC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C0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+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 clearTimeout(socket[kIdleSocketValidationTimeout])\n socket[kIdleSocketValidationTimeout] = null\n }\n\n socket[kIdleSocketValidation] = 0\n}\n\nfunction scheduleIdleSocketValidation (client, socket) {\n socket[kIdleSocketValidation] = 1\n socket[kIdleSocketValidationTimeout] = setTimeout(() => {\n socket[kIdleSocketValidationTimeout] = null\n socket[kIdleSocketValidation] = 2\n\n if (client[kSocket] === socket && !socket.destroyed) {\n client[kResume]()\n }\n }, 0)\n socket[kIdleSocketValidationTimeout].unref?.()\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\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 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 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 assert(this.start === start, 'content-range mismatch')\n assert(this.end == null || this.end === end, 'content-range mismatch')\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 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.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)) {\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 * ::=