diff --git a/dist/index.cjs b/dist/index.cjs index 5367d00..4ea4a50 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -1,8 +1,8 @@ -var DUe=Object.create;var bx=Object.defineProperty;var QUe=Object.getOwnPropertyDescriptor;var kUe=Object.getOwnPropertyNames;var PUe=Object.getPrototypeOf,OUe=Object.prototype.hasOwnProperty;var o=(t,e)=>bx(t,"name",{value:e,configurable:!0});var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),LUe=(t,e)=>{for(var r in e)bx(t,r,{get:e[r],enumerable:!0})},FUe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kUe(e))!OUe.call(t,i)&&i!==r&&bx(t,i,{get:()=>e[i],enumerable:!(n=QUe(e,i))||n.enumerable});return t};var R=(t,e,r)=>(r=t!=null?DUe(PUe(t)):{},FUe(e||!t||!t.__esModule?bx(r,"default",{value:t,enumerable:!0}):r,t));var QZ=A(cm=>{"use strict";var h5t=require("net"),VUe=require("tls"),mL=require("http"),RZ=require("https"),zUe=require("events"),p5t=require("assert"),jUe=require("util");cm.httpOverHttp=$Ue;cm.httpsOverHttp=JUe;cm.httpOverHttps=WUe;cm.httpsOverHttps=YUe;function $Ue(t){var e=new pu(t);return e.request=mL.request,e}o($Ue,"httpOverHttp");function JUe(t){var e=new pu(t);return e.request=mL.request,e.createSocket=TZ,e.defaultPort=443,e}o(JUe,"httpsOverHttp");function WUe(t){var e=new pu(t);return e.request=RZ.request,e}o(WUe,"httpOverHttps");function YUe(t){var e=new pu(t);return e.request=RZ.request,e.createSocket=TZ,e.defaultPort=443,e}o(YUe,"httpsOverHttps");function pu(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||mL.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=DZ(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");pu.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=gL({},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")),Qd("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){Qd("tunneling socket could not be established, statusCode=%d",f.statusCode),h.destroy();var m=new Error("tunneling socket could not be established, statusCode="+f.statusCode);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(i);return}if(p.length>0){Qd("got illegal response body from proxy"),h.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(i);return}return Qd("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}o(u,"onConnect");function d(f){a.removeAllListeners(),Qd(`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");pu.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 TZ(t,e){var r=this;pu.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=gL({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=VUe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(TZ,"createSecureSocket");function DZ(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(DZ,"toOptions");function gL(t){for(var e=1,r=arguments.length;e{kZ.exports=QZ()});var Ar=A((y5t,PZ)=>{PZ.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 _t=A((E5t,oee)=>{"use strict";var OZ=Symbol.for("undici.error.UND_ERR"),mr=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[OZ]===!0}[OZ]=!0},LZ=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),yL=class extends mr{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[LZ]===!0}[LZ]=!0},FZ=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),EL=class extends mr{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[FZ]===!0}[FZ]=!0},MZ=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),CL=class extends mr{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[MZ]===!0}[MZ]=!0},UZ=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),bL=class extends mr{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[UZ]===!0}[UZ]=!0},qZ=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),wL=class extends mr{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[qZ]===!0}[qZ]=!0},GZ=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),IL=class extends mr{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[GZ]===!0}[GZ]=!0},HZ=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),SL=class extends mr{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[HZ]===!0}[HZ]=!0},VZ=Symbol.for("undici.error.UND_ERR_ABORT"),xx=class extends mr{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[VZ]===!0}[VZ]=!0},zZ=Symbol.for("undici.error.UND_ERR_ABORTED"),BL=class extends xx{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[zZ]===!0}[zZ]=!0},jZ=Symbol.for("undici.error.UND_ERR_INFO"),xL=class extends mr{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[jZ]===!0}[jZ]=!0},$Z=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),vL=class extends mr{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[$Z]===!0}[$Z]=!0},JZ=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),NL=class extends mr{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[JZ]===!0}[JZ]=!0},WZ=Symbol.for("undici.error.UND_ERR_DESTROYED"),_L=class extends mr{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[WZ]===!0}[WZ]=!0},YZ=Symbol.for("undici.error.UND_ERR_CLOSED"),RL=class extends mr{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[YZ]===!0}[YZ]=!0},KZ=Symbol.for("undici.error.UND_ERR_SOCKET"),TL=class extends mr{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[KZ]===!0}[KZ]=!0},XZ=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),DL=class extends mr{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[XZ]===!0}[XZ]=!0},ZZ=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),QL=class extends mr{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[ZZ]===!0}[ZZ]=!0},eee=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),kL=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[eee]===!0}[eee]=!0},tee=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),PL=class extends mr{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[tee]===!0}[tee]=!0},ree=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),OL=class extends mr{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[ree]===!0}[ree]=!0},nee=Symbol.for("undici.error.UND_ERR_RESPONSE"),LL=class extends mr{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[nee]===!0}[nee]=!0},iee=Symbol.for("undici.error.UND_ERR_PRX_TLS"),FL=class extends mr{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[iee]===!0}[iee]=!0},see=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),ML=class extends mr{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[see]===!0}get[see](){return!0}};oee.exports={AbortError:xx,HTTPParserError:kL,UndiciError:mr,HeadersTimeoutError:EL,HeadersOverflowError:CL,BodyTimeoutError:bL,RequestContentLengthMismatchError:vL,ConnectTimeoutError:yL,ResponseStatusCodeError:wL,InvalidArgumentError:IL,InvalidReturnValueError:SL,RequestAbortedError:BL,ClientDestroyedError:_L,ClientClosedError:RL,InformationalError:xL,SocketError:TL,NotSupportedError:DL,ResponseContentLengthMismatchError:NL,BalancedPoolMissingUpstreamError:QL,ResponseExceededMaxSizeError:PL,RequestRetryError:OL,ResponseError:LL,SecureProxyConnectionError:FL,MessageSizeExceededError:ML}});var Nx=A((b5t,aee)=>{"use strict";var vx={},UL=["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:cee,headerNameLowerCasedRecord:KUe}=Nx(),qL=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 ZC=require("node:assert"),{kDestroyed:hee,kBodyUsed:um,kListeners:GL,kBody:fee}=Ar(),{IncomingMessage:XUe}=require("node:http"),Dx=require("node:stream"),ZUe=require("node:net"),{Blob:eqe}=require("node:buffer"),tqe=require("node:util"),{stringify:rqe}=require("node:querystring"),{EventEmitter:nqe}=require("node:events"),{InvalidArgumentError:Un}=_t(),{headerNameLowerCasedRecord:iqe}=Nx(),{tree:pee}=dee(),[sqe,oqe]=process.versions.node.split(".").map(t=>Number(t)),Tx=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[fee]=e,this[um]=!1}async*[Symbol.asyncIterator](){ZC(!this[um],"disturbed"),this[um]=!0,yield*this[fee]}};function aqe(t){return Qx(t)?(Eee(t)===0&&t.on("data",function(){ZC(!1)}),typeof t.readableDidRead!="boolean"&&(t[um]=!1,nqe.prototype.on.call(t,"data",function(){this[um]=!0})),t):t&&typeof t.pipeTo=="function"?new Tx(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&yee(t)?new Tx(t):t}o(aqe,"wrapRequestBody");function cqe(){}o(cqe,"nop");function Qx(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Qx,"isStream");function Aee(t){if(t===null)return!1;if(t instanceof eqe)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(Aee,"isBlobLike");function lqe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=rqe(e);return r&&(t+="?"+r),t}o(lqe,"buildURL");function mee(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(mee,"isValidPort");function Rx(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Rx,"isHttpOrHttpsPrefixed");function gee(t){if(typeof t=="string"){if(t=new URL(t),!Rx(t.origin||t.protocol))throw new Un("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Un("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&mee(t.port)===!1)throw new Un("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 Un("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Un("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Un("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Un("Invalid URL origin: the origin must be a string or null/undefined.");if(!Rx(t.origin||t.protocol))throw new Un("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(!Rx(t.origin||t.protocol))throw new Un("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(gee,"parseURL");function uqe(t){if(t=gee(t),t.pathname!=="/"||t.search||t.hash)throw new Un("invalid url");return t}o(uqe,"parseOrigin");function dqe(t){if(t[0]==="["){let r=t.indexOf("]");return ZC(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(dqe,"getHostname");function fqe(t){if(!t)return null;ZC(typeof t=="string");let e=dqe(t);return ZUe.isIP(e)?"":e}o(fqe,"getServerName");function hqe(t){return JSON.parse(JSON.stringify(t))}o(hqe,"deepClone");function pqe(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(pqe,"isAsyncIterable");function yee(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(yee,"isIterable");function Eee(t){if(t==null)return 0;if(Qx(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Aee(t))return t.size!=null?t.size:null;if(wee(t))return t.byteLength}return null}o(Eee,"bodyLength");function Cee(t){return t&&!!(t.destroyed||t[hee]||Dx.isDestroyed?.(t))}o(Cee,"isDestroyed");function Aqe(t,e){t==null||!Qx(t)||Cee(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===XUe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[hee]=!0))}o(Aqe,"destroy");var mqe=/timeout=(\d+)/;function gqe(t){let e=t.toString().match(mqe);return e?parseInt(e[1],10)*1e3:null}o(gqe,"parseKeepAliveTimeout");function bee(t){return typeof t=="string"?iqe[t]??t.toLowerCase():pee.lookup(t)??t.toString("latin1").toLowerCase()}o(bee,"headerNameToString");function yqe(t){return pee.lookup(t)??t.toString("latin1").toLowerCase()}o(yqe,"bufferToLowerCasedHeaderName");function Eqe(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(Eqe,"parseHeaders");function Cqe(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(xqe,"ReadableStreamFrom");function vqe(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(vqe,"isFormDataLike");function Nqe(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(Nqe,"addAbortListener");var _qe=typeof String.prototype.toWellFormed=="function",Rqe=typeof String.prototype.isWellFormed=="function";function Iee(t){return _qe?`${t}`.toWellFormed():tqe.toUSVString(t)}o(Iee,"toUSVString");function Tqe(t){return Rqe?`${t}`.isWellFormed():Iee(t)===`${t}`}o(Tqe,"isUSVString");function See(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(See,"isTokenCharCode");function Dqe(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Mt=require("node:diagnostics_channel"),zL=require("node:util"),kx=zL.debuglog("undici"),VL=zL.debuglog("fetch"),vh=zL.debuglog("websocket"),Nee=!1,Mqe={beforeConnect:Mt.channel("undici:client:beforeConnect"),connected:Mt.channel("undici:client:connected"),connectError:Mt.channel("undici:client:connectError"),sendHeaders:Mt.channel("undici:client:sendHeaders"),create:Mt.channel("undici:request:create"),bodySent:Mt.channel("undici:request:bodySent"),headers:Mt.channel("undici:request:headers"),trailers:Mt.channel("undici:request:trailers"),error:Mt.channel("undici:request:error"),open:Mt.channel("undici:websocket:open"),close:Mt.channel("undici:websocket:close"),socketError:Mt.channel("undici:websocket:socket_error"),ping:Mt.channel("undici:websocket:ping"),pong:Mt.channel("undici:websocket:pong")};if(kx.enabled||VL.enabled){let t=VL.enabled?VL:kx;Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Nee=!0}if(vh.enabled){if(!Nee){let t=kx.enabled?kx:vh;Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)})}Mt.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;vh("connection opened %s%s",e,r?`:${r}`:"")}),Mt.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;vh("closed connection to %s - %s %s",e.url,r,n)}),Mt.channel("undici:websocket:socket_error").subscribe(t=>{vh("connection errored - %s",t.message)}),Mt.channel("undici:websocket:ping").subscribe(t=>{vh("ping received")}),Mt.channel("undici:websocket:pong").subscribe(t=>{vh("pong received")})}_ee.exports={channels:Mqe}});var Qee=A((v5t,Dee)=>{"use strict";var{InvalidArgumentError:Ht,NotSupportedError:Uqe}=_t(),Au=require("node:assert"),{isValidHTTPToken:Tee,isValidHeaderValue:eb,isStream:qqe,destroy:Gqe,isBuffer:Hqe,isFormDataLike:Vqe,isIterable:zqe,isBlobLike:jqe,buildURL:$qe,validateHandler:Jqe,getServerName:Wqe,normalizedMethodRecords:Yqe}=ot(),{channels:Sc}=dm(),{headerNameLowerCasedRecord:Ree}=Nx(),Kqe=/[^\u0021-\u00ff]/,Qo=Symbol("handler"),jL=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:m,servername:g},E){if(typeof r!="string")throw new Ht("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Ht("path must be an absolute URL or start with a slash");if(Kqe.test(r))throw new Ht("invalid request path");if(typeof n!="string")throw new Ht("method must be a string");if(Yqe[n]===void 0&&!Tee(n))throw new Ht("invalid request method");if(u&&typeof u!="string")throw new Ht("upgrade must be a string");if(u&&!eb(u))throw new Ht("invalid upgrade header");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Ht("invalid headersTimeout");if(f!=null&&(!Number.isFinite(f)||f<0))throw new Ht("invalid bodyTimeout");if(h!=null&&typeof h!="boolean")throw new Ht("invalid reset");if(m!=null&&typeof m!="boolean")throw new Ht("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(qqe(i)){this.body=i;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){Gqe(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(Hqe(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(Vqe(i)||zqe(i)||jqe(i))this.body=i;else throw new Ht("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?$qe(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=m??!1,Array.isArray(s)){if(s.length%2!==0)throw new Ht("headers array must be even");for(let y=0;y{"use strict";var Xqe=require("node:events"),Ox=class extends Xqe{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 $L(this,n)}},$L=class extends Ox{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)}};kee.exports=Ox});var Am=A((T5t,Pee)=>{"use strict";var Zqe=tb(),{ClientDestroyedError:JL,ClientClosedError:e3e,InvalidArgumentError:fm}=_t(),{kDestroy:t3e,kClose:r3e,kClosed:rb,kDestroyed:hm,kDispatch:WL,kInterceptors:Nh}=Ar(),mu=Symbol("onDestroyed"),pm=Symbol("onClosed"),Lx=Symbol("Intercepted Dispatch"),YL=Symbol("webSocketOptions"),KL=class extends Zqe{static{o(this,"DispatcherBase")}constructor(e){super(),this[hm]=!1,this[mu]=null,this[rb]=!1,this[pm]=[],this[YL]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[YL].maxFragments??131072,maxPayloadSize:this[YL].maxPayloadSize??128*1024*1024}}get destroyed(){return this[hm]}get closed(){return this[rb]}get interceptors(){return this[Nh]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Nh][r]!="function")throw new fm("interceptor must be an function")}this[Nh]=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 fm("invalid callback");if(this[hm]){queueMicrotask(()=>e(new JL,null));return}if(this[rb]){this[pm]?this[pm].push(e):queueMicrotask(()=>e(null,null));return}this[rb]=!0,this[pm].push(e);let r=o(()=>{let n=this[pm];this[pm]=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 fm("invalid callback");if(this[hm]){this[mu]?this[mu].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new JL),this[hm]=!0,this[mu]=this[mu]||[],this[mu].push(r);let n=o(()=>{let i=this[mu];this[mu]=null;for(let s=0;s{queueMicrotask(n)})}[Lx](e,r){if(!this[Nh]||this[Nh].length===0)return this[Lx]=this[WL],this[WL](e,r);let n=this[WL].bind(this);for(let i=this[Nh].length-1;i>=0;i--)n=this[Nh][i](n);return this[Lx]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new fm("handler must be an object");try{if(!e||typeof e!="object")throw new fm("opts must be an object.");if(this[hm]||this[mu])throw new JL;if(this[rb])throw new e3e;return this[Lx](e,r)}catch(n){if(typeof r.onError!="function")throw new fm("invalid onError method");return r.onError(n),!1}}};Pee.exports=KL});var iF=A((Q5t,Mee)=>{"use strict";var mm=0,XL=1e3,ZL=(XL>>1)-1,gu,eF=Symbol("kFastTimer"),yu=[],tF=-2,rF=-1,Lee=0,Oee=1;function nF(){mm+=ZL;let t=0,e=yu.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=rF,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===rF?(r._state=tF,--e!==0&&(yu[t]=yu[e])):++t}yu.length=e,yu.length!==0&&Fee()}o(nF,"onTick");function Fee(){gu?gu.refresh():(clearTimeout(gu),gu=setTimeout(nF,ZL),gu.unref&&gu.unref())}o(Fee,"refreshTimeout");var Fx=class{static{o(this,"FastTimer")}[eF]=!0;_state=tF;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===tF&&yu.push(this),(!gu||yu.length===1)&&Fee(),this._state=Lee}clear(){this._state=rF,this._idleStart=-1}};Mee.exports={setTimeout(t,e,r){return e<=XL?setTimeout(t,e,r):new Fx(t,e,r)},clearTimeout(t){t[eF]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Fx(t,e,r)},clearFastTimeout(t){t.clear()},now(){return mm},tick(t=0){mm+=t-XL+1,nF(),nF()},reset(){mm=0,yu.length=0,clearTimeout(gu),gu=null},kFastTimer:eF}});var nb=A((L5t,Vee)=>{"use strict";var n3e=require("node:net"),Uee=require("node:assert"),Hee=ot(),{InvalidArgumentError:i3e,ConnectTimeoutError:s3e}=_t(),Mx=iF();function qee(){}o(qee,"noop");var sF,oF;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?oF=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 o3e({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new i3e("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new oF(e??100);return n=n??1e4,t=t??!1,o(function({hostname:u,host:d,protocol:f,port:h,servername:p,localAddress:m,httpSocket:g},E){let y;if(f==="https:"){sF||(sF=require("node:tls")),p=p||a.servername||Hee.getServerName(d)||null;let w=p||u;Uee(w);let B=i||c.get(w)||null;h=h||443,y=sF.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:m,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 Uee(!g,"httpSocket can only be sent on TLS update"),h=h||80,y=n3e.connect({highWaterMark:64*1024,...a,localAddress:m,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=a3e(new WeakRef(y),{timeout:n,hostname:u,port:h});return y.setNoDelay(!0).once(f==="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 B=E;E=null,B(w)}}),y},"connect")}o(o3e,"buildConnector");var a3e=process.platform==="win32"?(t,e)=>{if(!e.timeout)return qee;let r=null,n=null,i=Mx.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Gee(t.deref(),e))})},e.timeout);return()=>{Mx.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return qee;let r=null,n=Mx.setFastTimeout(()=>{r=setImmediate(()=>{Gee(t.deref(),e)})},e.timeout);return()=>{Mx.clearFastTimeout(n),clearImmediate(r)}};function Gee(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)`,Hee.destroy(t,new s3e(r))}o(Gee,"onConnectTimeout");Vee.exports=o3e});var zee=A(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0});Ux.enumToMap=void 0;function c3e(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(c3e,"enumToMap");Ux.enumToMap=c3e});var jee=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 l3e=zee(),u3e;(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"})(u3e=Z.ERROR||(Z.ERROR={}));var d3e;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(d3e=Z.TYPE||(Z.TYPE={}));var f3e;(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"})(f3e=Z.FLAGS||(Z.FLAGS={}));var h3e;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(h3e=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=l3e.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 p3e;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(p3e=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 gm;(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"})(gm=Z.HEADER_STATE||(Z.HEADER_STATE={}));Z.SPECIAL_HEADERS={connection:gm.CONNECTION,"content-length":gm.CONTENT_LENGTH,"proxy-connection":gm.CONNECTION,"transfer-encoding":gm.TRANSFER_ENCODING,upgrade:gm.UPGRADE}});var aF=A((G5t,$ee)=>{"use strict";var{Buffer:A3e}=require("node:buffer");$ee.exports=A3e.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHB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CACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQY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A2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBk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YCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqI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EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var ib=A((V5t,nte)=>{"use strict";var Yee=["GET","HEAD","POST"],g3e=new Set(Yee),y3e=[101,204,205,304],Kee=[301,302,303,307,308],E3e=new Set(Kee),Xee=["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"],C3e=new Set(Xee),Zee=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],b3e=new Set(Zee),w3e=["follow","manual","error"],ete=["GET","HEAD","OPTIONS","TRACE"],I3e=new Set(ete),S3e=["navigate","same-origin","no-cors","cors"],B3e=["omit","same-origin","include"],x3e=["default","no-store","reload","no-cache","force-cache","only-if-cached"],v3e=["content-encoding","content-language","content-location","content-type","content-length"],N3e=["half"],tte=["CONNECT","TRACE","TRACK"],_3e=new Set(tte),rte=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],R3e=new Set(rte);nte.exports={subresource:rte,forbiddenMethods:tte,requestBodyHeader:v3e,referrerPolicy:Zee,requestRedirect:w3e,requestMode:S3e,requestCredentials:B3e,requestCache:x3e,redirectStatus:Kee,corsSafeListedMethods:Yee,nullBodyStatus:y3e,safeMethods:ete,badPorts:Xee,requestDuplex:N3e,subresourceSet:R3e,badPortsSet:C3e,redirectStatusSet:E3e,corsSafeListedMethodsSet:g3e,safeMethodsSet:I3e,forbiddenMethodsSet:_3e,referrerPolicySet:b3e}});var lF=A((z5t,ite)=>{"use strict";var cF=Symbol.for("undici.globalOrigin.1");function T3e(){return globalThis[cF]}o(T3e,"getGlobalOrigin");function D3e(t){if(t===void 0){Object.defineProperty(globalThis,cF,{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,cF,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(D3e,"setGlobalOrigin");ite.exports={getGlobalOrigin:T3e,setGlobalOrigin:D3e}});var ms=A(($5t,dte)=>{"use strict";var Gx=require("node:assert"),Q3e=new TextEncoder,sb=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,k3e=/[\u000A\u000D\u0009\u0020]/,P3e=/[\u0009\u000A\u000C\u000D\u0020]/g,O3e=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function L3e(t){Gx(t.protocol==="data:");let e=ate(t,!0);e=e.slice(5);let r={position:0},n=ym(",",e,r),i=n.length;if(n=H3e(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=cte(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=ute(a);if(a=M3e(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=uF(n);return c==="failure"&&(c=uF("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(L3e,"dataURLProcessor");function ate(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(ate,"URLSerializer");function Hx(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(ste,"isHexCharByte");function ote(t){return t>=48&&t<=57?t-48:(t&223)-55}o(ote,"hexByteToNumber");function F3e(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=ym(";",t,e);if(n=qx(n,!1,!0),n.length===0||!sb.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.positionk3e.test(u),t,e);let c=Hx(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=lte(t,e,!0),ym(";",t,e);else if(l=ym(";",t,e),l=qx(l,!1,!0),l.length===0)continue;c.length!==0&&sb.test(c)&&(l.length===0||O3e.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(uF,"parseMIMEType");function M3e(t){t=t.replace(P3e,"");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(M3e,"forgivingBase64");function lte(t,e,r){let n=e.position,i="";for(Gx(t[e.position]==='"'),e.position++;i+=Hx(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{Gx(s==='"');break}}return r?i:t.slice(n,e.position)}o(lte,"collectAnHTTPQuotedString");function U3e(t){Gx(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",sb.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(U3e,"serializeAMimeType");function q3e(t){return t===13||t===10||t===9||t===32}o(q3e,"isHTTPWhiteSpace");function qx(t,e=!0,r=!0){return dF(t,e,r,q3e)}o(qx,"removeHTTPWhitespace");function G3e(t){return t===13||t===10||t===9||t===12||t===32}o(G3e,"isASCIIWhitespace");function H3e(t,e=!0,r=!0){return dF(t,e,r,G3e)}o(H3e,"removeASCIIWhitespace");function dF(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(dF,"removeChars");function ute(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(ute,"isomorphicDecode");function V3e(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(V3e,"minimizeSupportedMimeType");dte.exports={dataURLProcessor:L3e,URLSerializer:ate,collectASequenceOfCodePoints:Hx,collectASequenceOfCodePointsFast:ym,stringPercentDecode:cte,parseMIMEType:uF,collectAnHTTPQuotedString:lte,serializeAMimeType:U3e,removeChars:dF,removeHTTPWhitespace:qx,minimizeSupportedMimeType:V3e,HTTP_TOKEN_CODEPOINTS:sb,isomorphicDecode:ute}});var oi=A((W5t,fte)=>{"use strict";var{types:Bc,inspect:z3e}=require("node:util"),{markAsUncloneable:j3e}=require("node:worker_threads"),{toUSVString:$3e}=ot(),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 z3e(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(!Bc.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=$3e;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"||!Bc.isAnyArrayBuffer(t))throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&Bc.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"||!Bc.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&&Bc.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"||!Bc.isDataView(t))throw K.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&Bc.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(Bc.isAnyArrayBuffer(t))return K.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(Bc.isTypedArray(t))return K.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(Bc.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);fte.exports={webidl:K}});var zs=A((Y5t,xte)=>{"use strict";var{Transform:J3e}=require("node:stream"),hte=require("node:zlib"),{redirectStatusSet:W3e,referrerPolicySet:Y3e,badPortsSet:K3e}=ib(),{getGlobalOrigin:pte}=lF(),{collectASequenceOfCodePoints:_h,collectAnHTTPQuotedString:X3e,removeChars:Z3e,parseMIMEType:eGe}=ms(),{performance:tGe}=require("node:perf_hooks"),{isBlobLike:rGe,ReadableStreamFrom:nGe,isValidHTTPToken:Ate,normalizedMethodRecordsBase:iGe}=ot(),Rh=require("node:assert"),{isUint8Array:sGe}=require("node:util/types"),{webidl:ob}=oi(),mte=[],zx;try{zx=require("node:crypto");let t=["sha256","sha384","sha512"];mte=zx.getHashes().filter(e=>t.includes(e))}catch{}function gte(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(gte,"responseURL");function oGe(t,e){if(!W3e.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&Ete(r)&&(yte(r)||(r=aGe(r)),r=new URL(r,gte(t))),r&&!r.hash&&(r.hash=e),r}o(oGe,"responseLocationURL");function yte(t){for(let e=0;e126||r<32)return!1}return!0}o(yte,"isValidEncodedURL");function aGe(t){return Buffer.from(t,"binary").toString("utf8")}o(aGe,"normalizeBinaryStringToUtf8");function cb(t){return t.urlList[t.urlList.length-1]}o(cb,"requestCurrentURL");function cGe(t){let e=cb(t);return Ste(e)&&K3e.has(e.port)?"blocked":"allowed"}o(cGe,"requestBadPort");function lGe(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(lGe,"isErrorLike");function uGe(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(uGe,"isValidReasonPhrase");var dGe=Ate;function Ete(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` -`)||t.includes("\r")||t.includes("\0"))===!1}o(Ete,"isValidHeaderValue");function fGe(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(Y3e.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(fGe,"setRequestReferrerPolicyOnRedirect");function hGe(){return"allowed"}o(hGe,"crossOriginResourcePolicyCheck");function pGe(){return"success"}o(pGe,"corsCheck");function AGe(){return"success"}o(AGe,"TAOCheck");function mGe(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(mGe,"appendFetchMetadata");function gGe(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&&hF(t.origin)&&!hF(cb(t))&&(e=null);break;case"same-origin":jx(t,cb(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(gGe,"appendRequestOriginHeader");function Em(t,e){return t}o(Em,"coarsenTime");function yGe(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=jx(t,n),a=ab(n)&&!ab(t.url);switch(e){case"origin":return i??fF(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=cb(t);return jx(n,c)?n:ab(n)&&!ab(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(wGe,"determineRequestsReferrer");function fF(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(fF,"stripURLForReferrer");function ab(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(ab,"isURLPotentiallyTrustworthy");function IGe(t,e){if(zx===void 0)return!0;let r=bte(e);if(r==="no metadata"||r.length===0)return!0;let n=BGe(r),i=xGe(r,n);for(let s of i){let a=s.algo,c=s.hash,l=zx.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)),vGe(l,c))return!0}return!1}o(IGe,"bytesMatch");var SGe=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function bte(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=SGe.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();mte.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(bte,"parseMetadata");function BGe(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(_Ge,"createDeferredPromise");function RGe(t){return t.controller.state==="aborted"}o(RGe,"isAborted");function TGe(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(TGe,"isCancelled");function DGe(t){return iGe[t.toLowerCase()]??t}o(DGe,"normalizeMethod");function QGe(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(QGe,"serializeJavascriptValueToJSONString");var kGe=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function wte(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,kGe),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(wte,"createIterator");function PGe(t,e,r,n=0,i=1){let s=wte(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return ob.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return ob.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return ob.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(ob.brandCheck(this,e),ob.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(PGe,"iteratorMixin");async function OGe(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await Ite(s))}catch(a){i(a)}}o(OGe,"fullyReadBody");function LGe(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(LGe,"isReadableStreamLike");function FGe(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(FGe,"readableStreamClose");var MGe=/[^\x00-\xFF]/;function Vx(t){return Rh(!MGe.test(t)),t}o(Vx,"isomorphicEncode");async function Ite(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!sGe(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(Ite,"readAllBytes");function UGe(t){Rh("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(UGe,"urlIsLocal");function hF(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(hF,"urlHasHttpsScheme");function Ste(t){Rh("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(Ste,"urlIsHttpHttpsScheme");function qGe(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&_h(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&_h(l=>l===" "||l===" ",r,n);let i=_h(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(e&&_h(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&_h(l=>l===" "||l===" ",r,n);let a=_h(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(qGe,"simpleRangeHeaderValue");function GGe(t,e,r){let n="bytes ";return n+=Vx(`${t}`),n+="-",n+=Vx(`${e}`),n+="/",n+=Vx(`${r}`),n}o(GGe,"buildContentRange");var pF=class extends J3e{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?hte.createInflate(this.#e):hte.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 HGe(t){return new pF(t)}o(HGe,"createInflate");function VGe(t){let e=null,r=null,n=null,i=Bte("content-type",t);if(i===null)return"failure";for(let s of i){let a=eGe(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(VGe,"extractMimeType");function zGe(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(zGe,"gettingDecodingSplitting");function Bte(t,e){let r=e.get(t,!0);return r===null?null:zGe(r)}o(Bte,"getDecodeSplit");var jGe=new TextDecoder;function $Ge(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),jGe.decode(t))}o($Ge,"utf8DecodeBytes");var AF=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return pte()}get origin(){return this.baseUrl?.origin}policyContainer=Cte()},mF=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new AF},JGe=new mF;xte.exports={isAborted:RGe,isCancelled:TGe,isValidEncodedURL:yte,createDeferredPromise:_Ge,ReadableStreamFrom:nGe,tryUpgradeRequestToAPotentiallyTrustworthyURL:NGe,clampAndCoarsenConnectionTimingInfo:yGe,coarsenedSharedCurrentTime:EGe,determineRequestsReferrer:wGe,makePolicyContainer:Cte,clonePolicyContainer:bGe,appendFetchMetadata:mGe,appendRequestOriginHeader:gGe,TAOCheck:AGe,corsCheck:pGe,crossOriginResourcePolicyCheck:hGe,createOpaqueTimingInfo:CGe,setRequestReferrerPolicyOnRedirect:fGe,isValidHTTPToken:Ate,requestBadPort:cGe,requestCurrentURL:cb,responseURL:gte,responseLocationURL:oGe,isBlobLike:rGe,isURLPotentiallyTrustworthy:ab,isValidReasonPhrase:uGe,sameOrigin:jx,normalizeMethod:DGe,serializeJavascriptValueToJSONString:QGe,iteratorMixin:PGe,createIterator:wte,isValidHeaderName:dGe,isValidHeaderValue:Ete,isErrorLike:lGe,fullyReadBody:OGe,bytesMatch:IGe,isReadableStreamLike:LGe,readableStreamClose:FGe,isomorphicEncode:Vx,urlIsLocal:UGe,urlHasHttpsScheme:hF,urlIsHttpHttpsScheme:Ste,readAllBytes:Ite,simpleRangeHeaderValue:qGe,buildContentRange:GGe,parseMetadata:bte,createInflate:HGe,extractMimeType:VGe,getDecodeSplit:Bte,utf8DecodeBytes:$Ge,environmentSettingsObject:JGe}});var kd=A((X5t,vte)=>{"use strict";vte.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var yF=A((Z5t,Nte)=>{"use strict";var{Blob:WGe,File:YGe}=require("node:buffer"),{kState:Eu}=kd(),{webidl:xc}=oi(),gF=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Eu]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return xc.brandCheck(this,t),this[Eu].blobLike.stream(...e)}arrayBuffer(...e){return xc.brandCheck(this,t),this[Eu].blobLike.arrayBuffer(...e)}slice(...e){return xc.brandCheck(this,t),this[Eu].blobLike.slice(...e)}text(...e){return xc.brandCheck(this,t),this[Eu].blobLike.text(...e)}get size(){return xc.brandCheck(this,t),this[Eu].blobLike.size}get type(){return xc.brandCheck(this,t),this[Eu].blobLike.type}get name(){return xc.brandCheck(this,t),this[Eu].name}get lastModified(){return xc.brandCheck(this,t),this[Eu].lastModified}get[Symbol.toStringTag](){return"File"}};xc.converters.Blob=xc.interfaceConverter(WGe);function KGe(t){return t instanceof YGe||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(KGe,"isFileLike");Nte.exports={FileLike:gF,isFileLike:KGe}});var ub=A((tVt,Qte)=>{"use strict";var{isBlobLike:$x,iteratorMixin:XGe}=zs(),{kState:Ui}=kd(),{kEnumerableProperty:Cm}=ot(),{FileLike:_te,isFileLike:ZGe}=yF(),{webidl:Kt}=oi(),{File:Dte}=require("node:buffer"),Rte=require("node:util"),Tte=globalThis.File??Dte,lb=class t{static{o(this,"FormData")}constructor(e){if(Kt.util.markAsUncloneable(this),e!==void 0)throw Kt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Ui]=[]}append(e,r,n=void 0){Kt.brandCheck(this,t);let i="FormData.append";if(Kt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!$x(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Kt.converters.USVString(e,i,"name"),r=$x(r)?Kt.converters.Blob(r,i,"value",{strict:!1}):Kt.converters.USVString(r,i,"value"),n=arguments.length===3?Kt.converters.USVString(n,i,"filename"):void 0;let s=EF(e,r,n);this[Ui].push(s)}delete(e){Kt.brandCheck(this,t);let r="FormData.delete";Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name"),this[Ui]=this[Ui].filter(n=>n.name!==e)}get(e){Kt.brandCheck(this,t);let r="FormData.get";Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name");let n=this[Ui].findIndex(i=>i.name===e);return n===-1?null:this[Ui][n].value}getAll(e){Kt.brandCheck(this,t);let r="FormData.getAll";return Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name"),this[Ui].filter(n=>n.name===e).map(n=>n.value)}has(e){Kt.brandCheck(this,t);let r="FormData.has";return Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name"),this[Ui].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Kt.brandCheck(this,t);let i="FormData.set";if(Kt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!$x(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Kt.converters.USVString(e,i,"name"),r=$x(r)?Kt.converters.Blob(r,i,"name",{strict:!1}):Kt.converters.USVString(r,i,"name"),n=arguments.length===3?Kt.converters.USVString(n,i,"name"):void 0;let s=EF(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)}[Rte.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=Rte.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};XGe("FormData",lb,Ui,"name","value");Object.defineProperties(lb.prototype,{append:Cm,delete:Cm,get:Cm,getAll:Cm,has:Cm,set:Cm,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function EF(t,e,r){if(typeof e!="string"){if(ZGe(e)||(e=e instanceof Blob?new Tte([e],"blob",{type:e.type}):new _te(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof Dte?new Tte([e],r,n):new _te(e,r,n)}}return{name:t,value:e}}o(EF,"makeEntry");Qte.exports={FormData:lb,makeEntry:EF}});var Mte=A((nVt,Fte)=>{"use strict";var{isUSVString:kte,bufferToLowerCasedHeaderName:eHe}=ot(),{utf8DecodeBytes:tHe}=zs(),{HTTP_TOKEN_CODEPOINTS:rHe,isomorphicDecode:Pte}=ms(),{isFileLike:nHe}=yF(),{makeEntry:iHe}=ub(),Jx=require("node:assert"),{File:sHe}=require("node:buffer"),oHe=globalThis.File??sHe,aHe=Buffer.from('form-data; name="'),Ote=Buffer.from("; filename"),cHe=Buffer.from("--"),lHe=Buffer.from(`--\r -`);function uHe(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(dHe,"validateBoundary");function fHe(t,e){Jx(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&&Wx(t,cHe,s)||s.position===t.length-4&&Wx(t,lHe,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=hHe(t,s);if(c==="failure")return"failure";let{name:l,filename:u,contentType:d,encoding:f}=c;s.position+=2;let h;{let m=t.indexOf(n.subarray(2),s.position);if(m===-1)return"failure";h=t.subarray(s.position,m-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",uHe(d)||(d=""),p=new oHe([h],u,{type:d})):p=tHe(Buffer.from(h)),Jx(kte(l)),Jx(typeof p=="string"&&kte(p)||nHe(p)),i.push(iHe(l,p,u))}}o(fHe,"multipartFormDataParser");function hHe(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=bm(c=>c!==10&&c!==13&&c!==58,t,e);if(a=CF(a,!0,!0,c=>c===9||c===32),!rHe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,bm(c=>c===32||c===9,t,e),eHe(a)){case"content-disposition":{if(r=n=null,!Wx(t,aHe,e)||(e.position+=17,r=Lte(t,e),r===null))return"failure";if(Wx(t,Ote,e)){let c=e.position+Ote.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=Lte(t,e),n===null))return"failure"}break}case"content-type":{let c=bm(l=>l!==10&&l!==13,t,e);c=CF(c,!1,!0,l=>l===9||l===32),i=Pte(c);break}case"content-transfer-encoding":{let c=bm(l=>l!==10&&l!==13,t,e);c=CF(c,!1,!0,l=>l===9||l===32),s=Pte(c);break}default:bm(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(hHe,"parseMultipartFormDataHeaders");function Lte(t,e){Jx(t[e.position-1]===34);let r=bm(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(Lte,"parseMultipartFormDataName");function bm(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(CF,"removeChars");function Wx(t,e,r){if(t.length{"use strict";var db=ot(),{ReadableStreamFrom:pHe,isBlobLike:Ute,isReadableStreamLike:AHe,readableStreamClose:mHe,createDeferredPromise:gHe,fullyReadBody:yHe,extractMimeType:EHe,utf8DecodeBytes:Hte}=zs(),{FormData:qte}=ub(),{kState:Im}=kd(),{webidl:CHe}=oi(),{Blob:bHe}=require("node:buffer"),bF=require("node:assert"),{isErrored:Vte,isDisturbed:wHe}=require("node:stream"),{isArrayBuffer:IHe}=require("node:util/types"),{serializeAMimeType:SHe}=ms(),{multipartFormDataParser:BHe}=Mte(),wF;try{let t=require("node:crypto");wF=o(e=>t.randomInt(0,e),"random")}catch{wF=o(t=>Math.floor(Math.random(t)),"random")}var Yx=new TextEncoder;function xHe(){}o(xHe,"noop");var zte=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,jte;zte&&(jte=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!wHe(e)&&!Vte(e)&&e.cancel("Response object has been garbage collected").catch(xHe)}));function $te(t,e=!1){let r=null;t instanceof ReadableStream?r=t:Ute(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof i=="string"?Yx.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>mHe(l))},start(){},type:"bytes"}),bF(AHe(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(IHe(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(db.isFormDataLike(t)){let l=`----formdata-undici-0${`${wF(1e11)}`.padStart(11,"0")}`,u=`--${l}\r +var QUe=Object.create;var bx=Object.defineProperty;var kUe=Object.getOwnPropertyDescriptor;var PUe=Object.getOwnPropertyNames;var OUe=Object.getPrototypeOf,LUe=Object.prototype.hasOwnProperty;var o=(t,e)=>bx(t,"name",{value:e,configurable:!0});var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),FUe=(t,e)=>{for(var r in e)bx(t,r,{get:e[r],enumerable:!0})},MUe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of PUe(e))!LUe.call(t,i)&&i!==r&&bx(t,i,{get:()=>e[i],enumerable:!(n=kUe(e,i))||n.enumerable});return t};var R=(t,e,r)=>(r=t!=null?QUe(OUe(t)):{},MUe(e||!t||!t.__esModule?bx(r,"default",{value:t,enumerable:!0}):r,t));var kZ=A(cm=>{"use strict";var m5t=require("net"),zUe=require("tls"),mL=require("http"),TZ=require("https"),jUe=require("events"),g5t=require("assert"),$Ue=require("util");cm.httpOverHttp=JUe;cm.httpsOverHttp=WUe;cm.httpOverHttps=YUe;cm.httpsOverHttps=KUe;function JUe(t){var e=new pu(t);return e.request=mL.request,e}o(JUe,"httpOverHttp");function WUe(t){var e=new pu(t);return e.request=mL.request,e.createSocket=DZ,e.defaultPort=443,e}o(WUe,"httpsOverHttp");function YUe(t){var e=new pu(t);return e.request=TZ.request,e}o(YUe,"httpOverHttps");function KUe(t){var e=new pu(t);return e.request=TZ.request,e.createSocket=DZ,e.defaultPort=443,e}o(KUe,"httpsOverHttps");function pu(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||mL.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=QZ(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");pu.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=gL({},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")),Qd("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){Qd("tunneling socket could not be established, statusCode=%d",f.statusCode),h.destroy();var m=new Error("tunneling socket could not be established, statusCode="+f.statusCode);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(i);return}if(p.length>0){Qd("got illegal response body from proxy"),h.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(i);return}return Qd("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}o(u,"onConnect");function d(f){a.removeAllListeners(),Qd(`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");pu.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 DZ(t,e){var r=this;pu.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=gL({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=zUe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(DZ,"createSecureSocket");function QZ(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(QZ,"toOptions");function gL(t){for(var e=1,r=arguments.length;e{PZ.exports=kZ()});var Ar=A((b5t,OZ)=>{OZ.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 _t=A((w5t,aee)=>{"use strict";var LZ=Symbol.for("undici.error.UND_ERR"),mr=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[LZ]===!0}[LZ]=!0},FZ=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),yL=class extends mr{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[FZ]===!0}[FZ]=!0},MZ=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),EL=class extends mr{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[MZ]===!0}[MZ]=!0},UZ=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),CL=class extends mr{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[UZ]===!0}[UZ]=!0},qZ=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),bL=class extends mr{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[qZ]===!0}[qZ]=!0},GZ=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),wL=class extends mr{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[GZ]===!0}[GZ]=!0},HZ=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),IL=class extends mr{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[HZ]===!0}[HZ]=!0},VZ=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),SL=class extends mr{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[VZ]===!0}[VZ]=!0},zZ=Symbol.for("undici.error.UND_ERR_ABORT"),xx=class extends mr{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[zZ]===!0}[zZ]=!0},jZ=Symbol.for("undici.error.UND_ERR_ABORTED"),BL=class extends xx{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[jZ]===!0}[jZ]=!0},$Z=Symbol.for("undici.error.UND_ERR_INFO"),xL=class extends mr{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[$Z]===!0}[$Z]=!0},JZ=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),vL=class extends mr{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[JZ]===!0}[JZ]=!0},WZ=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),NL=class extends mr{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[WZ]===!0}[WZ]=!0},YZ=Symbol.for("undici.error.UND_ERR_DESTROYED"),_L=class extends mr{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[YZ]===!0}[YZ]=!0},KZ=Symbol.for("undici.error.UND_ERR_CLOSED"),RL=class extends mr{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[KZ]===!0}[KZ]=!0},XZ=Symbol.for("undici.error.UND_ERR_SOCKET"),TL=class extends mr{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[XZ]===!0}[XZ]=!0},ZZ=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),DL=class extends mr{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[ZZ]===!0}[ZZ]=!0},eee=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),QL=class extends mr{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[eee]===!0}[eee]=!0},tee=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),kL=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[tee]===!0}[tee]=!0},ree=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),PL=class extends mr{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[ree]===!0}[ree]=!0},nee=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),OL=class extends mr{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[nee]===!0}[nee]=!0},iee=Symbol.for("undici.error.UND_ERR_RESPONSE"),LL=class extends mr{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[iee]===!0}[iee]=!0},see=Symbol.for("undici.error.UND_ERR_PRX_TLS"),FL=class extends mr{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[see]===!0}[see]=!0},oee=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),ML=class extends mr{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[oee]===!0}get[oee](){return!0}};aee.exports={AbortError:xx,HTTPParserError:kL,UndiciError:mr,HeadersTimeoutError:EL,HeadersOverflowError:CL,BodyTimeoutError:bL,RequestContentLengthMismatchError:vL,ConnectTimeoutError:yL,ResponseStatusCodeError:wL,InvalidArgumentError:IL,InvalidReturnValueError:SL,RequestAbortedError:BL,ClientDestroyedError:_L,ClientClosedError:RL,InformationalError:xL,SocketError:TL,NotSupportedError:DL,ResponseContentLengthMismatchError:NL,BalancedPoolMissingUpstreamError:QL,ResponseExceededMaxSizeError:PL,RequestRetryError:OL,ResponseError:LL,SecureProxyConnectionError:FL,MessageSizeExceededError:ML}});var Nx=A((S5t,cee)=>{"use strict";var vx={},UL=["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:lee,headerNameLowerCasedRecord:XUe}=Nx(),qL=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:pee,kBodyUsed:um,kListeners:GL,kBody:hee}=Ar(),{IncomingMessage:ZUe}=require("node:http"),Dx=require("node:stream"),eqe=require("node:net"),{Blob:tqe}=require("node:buffer"),rqe=require("node:util"),{stringify:nqe}=require("node:querystring"),{EventEmitter:iqe}=require("node:events"),{InvalidArgumentError:Un}=_t(),{headerNameLowerCasedRecord:sqe}=Nx(),{tree:Aee}=fee(),[oqe,aqe]=process.versions.node.split(".").map(t=>Number(t)),Tx=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[hee]=e,this[um]=!1}async*[Symbol.asyncIterator](){XC(!this[um],"disturbed"),this[um]=!0,yield*this[hee]}};function cqe(t){return Qx(t)?(Cee(t)===0&&t.on("data",function(){XC(!1)}),typeof t.readableDidRead!="boolean"&&(t[um]=!1,iqe.prototype.on.call(t,"data",function(){this[um]=!0})),t):t&&typeof t.pipeTo=="function"?new Tx(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Eee(t)?new Tx(t):t}o(cqe,"wrapRequestBody");function lqe(){}o(lqe,"nop");function Qx(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Qx,"isStream");function mee(t){if(t===null)return!1;if(t instanceof tqe)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(mee,"isBlobLike");function uqe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=nqe(e);return r&&(t+="?"+r),t}o(uqe,"buildURL");function gee(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(gee,"isValidPort");function Rx(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Rx,"isHttpOrHttpsPrefixed");function yee(t){if(typeof t=="string"){if(t=new URL(t),!Rx(t.origin||t.protocol))throw new Un("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Un("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&gee(t.port)===!1)throw new Un("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 Un("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Un("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Un("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Un("Invalid URL origin: the origin must be a string or null/undefined.");if(!Rx(t.origin||t.protocol))throw new Un("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(!Rx(t.origin||t.protocol))throw new Un("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(yee,"parseURL");function dqe(t){if(t=yee(t),t.pathname!=="/"||t.search||t.hash)throw new Un("invalid url");return t}o(dqe,"parseOrigin");function fqe(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(fqe,"getHostname");function hqe(t){if(!t)return null;XC(typeof t=="string");let e=fqe(t);return eqe.isIP(e)?"":e}o(hqe,"getServerName");function pqe(t){return JSON.parse(JSON.stringify(t))}o(pqe,"deepClone");function Aqe(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(Aqe,"isAsyncIterable");function Eee(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(Eee,"isIterable");function Cee(t){if(t==null)return 0;if(Qx(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(mee(t))return t.size!=null?t.size:null;if(Iee(t))return t.byteLength}return null}o(Cee,"bodyLength");function bee(t){return t&&!!(t.destroyed||t[pee]||Dx.isDestroyed?.(t))}o(bee,"isDestroyed");function mqe(t,e){t==null||!Qx(t)||bee(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===ZUe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[pee]=!0))}o(mqe,"destroy");var gqe=/timeout=(\d+)/;function yqe(t){let e=t.toString().match(gqe);return e?parseInt(e[1],10)*1e3:null}o(yqe,"parseKeepAliveTimeout");function wee(t){return typeof t=="string"?sqe[t]??t.toLowerCase():Aee.lookup(t)??t.toString("latin1").toLowerCase()}o(wee,"headerNameToString");function Eqe(t){return Aee.lookup(t)??t.toString("latin1").toLowerCase()}o(Eqe,"bufferToLowerCasedHeaderName");function Cqe(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(Cqe,"parseHeaders");function bqe(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(vqe,"ReadableStreamFrom");function Nqe(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(Nqe,"isFormDataLike");function _qe(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(_qe,"addAbortListener");var Rqe=typeof String.prototype.toWellFormed=="function",Tqe=typeof String.prototype.isWellFormed=="function";function See(t){return Rqe?`${t}`.toWellFormed():rqe.toUSVString(t)}o(See,"toUSVString");function Dqe(t){return Tqe?`${t}`.isWellFormed():See(t)===`${t}`}o(Dqe,"isUSVString");function Bee(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(Bee,"isTokenCharCode");function Qqe(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Mt=require("node:diagnostics_channel"),zL=require("node:util"),kx=zL.debuglog("undici"),VL=zL.debuglog("fetch"),vh=zL.debuglog("websocket"),_ee=!1,Uqe={beforeConnect:Mt.channel("undici:client:beforeConnect"),connected:Mt.channel("undici:client:connected"),connectError:Mt.channel("undici:client:connectError"),sendHeaders:Mt.channel("undici:client:sendHeaders"),create:Mt.channel("undici:request:create"),bodySent:Mt.channel("undici:request:bodySent"),headers:Mt.channel("undici:request:headers"),trailers:Mt.channel("undici:request:trailers"),error:Mt.channel("undici:request:error"),open:Mt.channel("undici:websocket:open"),close:Mt.channel("undici:websocket:close"),socketError:Mt.channel("undici:websocket:socket_error"),ping:Mt.channel("undici:websocket:ping"),pong:Mt.channel("undici:websocket:pong")};if(kx.enabled||VL.enabled){let t=VL.enabled?VL:kx;Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)}),_ee=!0}if(vh.enabled){if(!_ee){let t=kx.enabled?kx:vh;Mt.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)}),Mt.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)}),Mt.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)}),Mt.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)})}Mt.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;vh("connection opened %s%s",e,r?`:${r}`:"")}),Mt.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;vh("closed connection to %s - %s %s",e.url,r,n)}),Mt.channel("undici:websocket:socket_error").subscribe(t=>{vh("connection errored - %s",t.message)}),Mt.channel("undici:websocket:ping").subscribe(t=>{vh("ping received")}),Mt.channel("undici:websocket:pong").subscribe(t=>{vh("pong received")})}Ree.exports={channels:Uqe}});var kee=A((R5t,Qee)=>{"use strict";var{InvalidArgumentError:Ht,NotSupportedError:qqe}=_t(),Au=require("node:assert"),{isValidHTTPToken:Dee,isValidHeaderValue:ZC,isStream:Gqe,destroy:Hqe,isBuffer:Vqe,isFormDataLike:zqe,isIterable:jqe,isBlobLike:$qe,buildURL:Jqe,validateHandler:Wqe,getServerName:Yqe,normalizedMethodRecords:Kqe}=ot(),{channels:Sc}=dm(),{headerNameLowerCasedRecord:Tee}=Nx(),Xqe=/[^\u0021-\u00ff]/,Qo=Symbol("handler"),jL=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:m,servername:g},E){if(typeof r!="string")throw new Ht("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Ht("path must be an absolute URL or start with a slash");if(Xqe.test(r))throw new Ht("invalid request path");if(typeof n!="string")throw new Ht("method must be a string");if(Kqe[n]===void 0&&!Dee(n))throw new Ht("invalid request method");if(u&&typeof u!="string")throw new Ht("upgrade must be a string");if(u&&!ZC(u))throw new Ht("invalid upgrade header");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Ht("invalid headersTimeout");if(f!=null&&(!Number.isFinite(f)||f<0))throw new Ht("invalid bodyTimeout");if(h!=null&&typeof h!="boolean")throw new Ht("invalid reset");if(m!=null&&typeof m!="boolean")throw new Ht("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(Gqe(i)){this.body=i;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){Hqe(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(Vqe(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(zqe(i)||jqe(i)||$qe(i))this.body=i;else throw new Ht("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?Jqe(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=m??!1,Array.isArray(s)){if(s.length%2!==0)throw new Ht("headers array must be even");for(let y=0;y{"use strict";var Zqe=require("node:events"),Ox=class extends Zqe{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 $L(this,n)}},$L=class extends Ox{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)}};Pee.exports=Ox});var Am=A((k5t,Oee)=>{"use strict";var e3e=eb(),{ClientDestroyedError:JL,ClientClosedError:t3e,InvalidArgumentError:fm}=_t(),{kDestroy:r3e,kClose:n3e,kClosed:tb,kDestroyed:hm,kDispatch:WL,kInterceptors:Nh}=Ar(),mu=Symbol("onDestroyed"),pm=Symbol("onClosed"),Lx=Symbol("Intercepted Dispatch"),YL=Symbol("webSocketOptions"),KL=class extends e3e{static{o(this,"DispatcherBase")}constructor(e){super(),this[hm]=!1,this[mu]=null,this[tb]=!1,this[pm]=[],this[YL]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[YL].maxFragments??131072,maxPayloadSize:this[YL].maxPayloadSize??128*1024*1024}}get destroyed(){return this[hm]}get closed(){return this[tb]}get interceptors(){return this[Nh]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Nh][r]!="function")throw new fm("interceptor must be an function")}this[Nh]=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 fm("invalid callback");if(this[hm]){queueMicrotask(()=>e(new JL,null));return}if(this[tb]){this[pm]?this[pm].push(e):queueMicrotask(()=>e(null,null));return}this[tb]=!0,this[pm].push(e);let r=o(()=>{let n=this[pm];this[pm]=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 fm("invalid callback");if(this[hm]){this[mu]?this[mu].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new JL),this[hm]=!0,this[mu]=this[mu]||[],this[mu].push(r);let n=o(()=>{let i=this[mu];this[mu]=null;for(let s=0;s{queueMicrotask(n)})}[Lx](e,r){if(!this[Nh]||this[Nh].length===0)return this[Lx]=this[WL],this[WL](e,r);let n=this[WL].bind(this);for(let i=this[Nh].length-1;i>=0;i--)n=this[Nh][i](n);return this[Lx]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new fm("handler must be an object");try{if(!e||typeof e!="object")throw new fm("opts must be an object.");if(this[hm]||this[mu])throw new JL;if(this[tb])throw new t3e;return this[Lx](e,r)}catch(n){if(typeof r.onError!="function")throw new fm("invalid onError method");return r.onError(n),!1}}};Oee.exports=KL});var iF=A((O5t,Uee)=>{"use strict";var mm=0,XL=1e3,ZL=(XL>>1)-1,gu,eF=Symbol("kFastTimer"),yu=[],tF=-2,rF=-1,Fee=0,Lee=1;function nF(){mm+=ZL;let t=0,e=yu.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=rF,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===rF?(r._state=tF,--e!==0&&(yu[t]=yu[e])):++t}yu.length=e,yu.length!==0&&Mee()}o(nF,"onTick");function Mee(){gu?gu.refresh():(clearTimeout(gu),gu=setTimeout(nF,ZL),gu.unref&&gu.unref())}o(Mee,"refreshTimeout");var Fx=class{static{o(this,"FastTimer")}[eF]=!0;_state=tF;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===tF&&yu.push(this),(!gu||yu.length===1)&&Mee(),this._state=Fee}clear(){this._state=rF,this._idleStart=-1}};Uee.exports={setTimeout(t,e,r){return e<=XL?setTimeout(t,e,r):new Fx(t,e,r)},clearTimeout(t){t[eF]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Fx(t,e,r)},clearFastTimeout(t){t.clear()},now(){return mm},tick(t=0){mm+=t-XL+1,nF(),nF()},reset(){mm=0,yu.length=0,clearTimeout(gu),gu=null},kFastTimer:eF}});var rb=A((U5t,zee)=>{"use strict";var i3e=require("node:net"),qee=require("node:assert"),Vee=ot(),{InvalidArgumentError:s3e,ConnectTimeoutError:o3e}=_t(),Mx=iF();function Gee(){}o(Gee,"noop");var sF,oF;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?oF=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 a3e({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new s3e("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new oF(e??100);return n=n??1e4,t=t??!1,o(function({hostname:u,host:d,protocol:f,port:h,servername:p,localAddress:m,httpSocket:g},E){let y;if(f==="https:"){sF||(sF=require("node:tls")),p=p||a.servername||Vee.getServerName(d)||null;let w=p||u;qee(w);let B=i||c.get(w)||null;h=h||443,y=sF.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:m,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 qee(!g,"httpSocket can only be sent on TLS update"),h=h||80,y=i3e.connect({highWaterMark:64*1024,...a,localAddress:m,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=c3e(new WeakRef(y),{timeout:n,hostname:u,port:h});return y.setNoDelay(!0).once(f==="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 B=E;E=null,B(w)}}),y},"connect")}o(a3e,"buildConnector");var c3e=process.platform==="win32"?(t,e)=>{if(!e.timeout)return Gee;let r=null,n=null,i=Mx.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Hee(t.deref(),e))})},e.timeout);return()=>{Mx.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return Gee;let r=null,n=Mx.setFastTimeout(()=>{r=setImmediate(()=>{Hee(t.deref(),e)})},e.timeout);return()=>{Mx.clearFastTimeout(n),clearImmediate(r)}};function Hee(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)`,Vee.destroy(t,new o3e(r))}o(Hee,"onConnectTimeout");zee.exports=a3e});var jee=A(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0});Ux.enumToMap=void 0;function l3e(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(l3e,"enumToMap");Ux.enumToMap=l3e});var $ee=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 u3e=jee(),d3e;(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"})(d3e=Z.ERROR||(Z.ERROR={}));var f3e;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(f3e=Z.TYPE||(Z.TYPE={}));var h3e;(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"})(h3e=Z.FLAGS||(Z.FLAGS={}));var p3e;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(p3e=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=u3e.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 A3e;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(A3e=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 gm;(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"})(gm=Z.HEADER_STATE||(Z.HEADER_STATE={}));Z.SPECIAL_HEADERS={connection:gm.CONNECTION,"content-length":gm.CONTENT_LENGTH,"proxy-connection":gm.CONNECTION,"transfer-encoding":gm.TRANSFER_ENCODING,upgrade:gm.UPGRADE}});var aF=A((z5t,Jee)=>{"use strict";var{Buffer:m3e}=require("node:buffer");Jee.exports=m3e.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAE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AiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJ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AsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AA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AIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEg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B0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCBCACIAAgAUEBaiIBECoiAA0MDHcLQTkhAwyDAQsgAi0AMEEgcQ0GQcUBIQMMaQtBACEDIAJBADYCBCACIAEgARAqIgBFDQQgAkE6NgIcIAIgADYCDCACIAFBAWo2AhQMgQELIAItAChBAUcNACACLQ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QEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var nb=A(($5t,ite)=>{"use strict";var Kee=["GET","HEAD","POST"],y3e=new Set(Kee),E3e=[101,204,205,304],Xee=[301,302,303,307,308],C3e=new Set(Xee),Zee=["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"],b3e=new Set(Zee),ete=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],w3e=new Set(ete),I3e=["follow","manual","error"],tte=["GET","HEAD","OPTIONS","TRACE"],S3e=new Set(tte),B3e=["navigate","same-origin","no-cors","cors"],x3e=["omit","same-origin","include"],v3e=["default","no-store","reload","no-cache","force-cache","only-if-cached"],N3e=["content-encoding","content-language","content-location","content-type","content-length"],_3e=["half"],rte=["CONNECT","TRACE","TRACK"],R3e=new Set(rte),nte=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],T3e=new Set(nte);ite.exports={subresource:nte,forbiddenMethods:rte,requestBodyHeader:N3e,referrerPolicy:ete,requestRedirect:I3e,requestMode:B3e,requestCredentials:x3e,requestCache:v3e,redirectStatus:Xee,corsSafeListedMethods:Kee,nullBodyStatus:E3e,safeMethods:tte,badPorts:Zee,requestDuplex:_3e,subresourceSet:T3e,badPortsSet:b3e,redirectStatusSet:C3e,corsSafeListedMethodsSet:y3e,safeMethodsSet:S3e,forbiddenMethodsSet:R3e,referrerPolicySet:w3e}});var lF=A((J5t,ste)=>{"use strict";var cF=Symbol.for("undici.globalOrigin.1");function D3e(){return globalThis[cF]}o(D3e,"getGlobalOrigin");function Q3e(t){if(t===void 0){Object.defineProperty(globalThis,cF,{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,cF,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(Q3e,"setGlobalOrigin");ste.exports={getGlobalOrigin:D3e,setGlobalOrigin:Q3e}});var ms=A((Y5t,fte)=>{"use strict";var Gx=require("node:assert"),k3e=new TextEncoder,ib=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,P3e=/[\u000A\u000D\u0009\u0020]/,O3e=/[\u0009\u000A\u000C\u000D\u0020]/g,L3e=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function F3e(t){Gx(t.protocol==="data:");let e=cte(t,!0);e=e.slice(5);let r={position:0},n=ym(",",e,r),i=n.length;if(n=V3e(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=lte(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=dte(a);if(a=U3e(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=uF(n);return c==="failure"&&(c=uF("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(F3e,"dataURLProcessor");function cte(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(cte,"URLSerializer");function Hx(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(ote,"isHexCharByte");function ate(t){return t>=48&&t<=57?t-48:(t&223)-55}o(ate,"hexByteToNumber");function M3e(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=ym(";",t,e);if(n=qx(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.positionP3e.test(u),t,e);let c=Hx(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=ute(t,e,!0),ym(";",t,e);else if(l=ym(";",t,e),l=qx(l,!1,!0),l.length===0)continue;c.length!==0&&ib.test(c)&&(l.length===0||L3e.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(uF,"parseMIMEType");function U3e(t){t=t.replace(O3e,"");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(U3e,"forgivingBase64");function ute(t,e,r){let n=e.position,i="";for(Gx(t[e.position]==='"'),e.position++;i+=Hx(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{Gx(s==='"');break}}return r?i:t.slice(n,e.position)}o(ute,"collectAnHTTPQuotedString");function q3e(t){Gx(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(q3e,"serializeAMimeType");function G3e(t){return t===13||t===10||t===9||t===32}o(G3e,"isHTTPWhiteSpace");function qx(t,e=!0,r=!0){return dF(t,e,r,G3e)}o(qx,"removeHTTPWhitespace");function H3e(t){return t===13||t===10||t===9||t===12||t===32}o(H3e,"isASCIIWhitespace");function V3e(t,e=!0,r=!0){return dF(t,e,r,H3e)}o(V3e,"removeASCIIWhitespace");function dF(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(dF,"removeChars");function dte(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(dte,"isomorphicDecode");function z3e(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(z3e,"minimizeSupportedMimeType");fte.exports={dataURLProcessor:F3e,URLSerializer:cte,collectASequenceOfCodePoints:Hx,collectASequenceOfCodePointsFast:ym,stringPercentDecode:lte,parseMIMEType:uF,collectAnHTTPQuotedString:ute,serializeAMimeType:q3e,removeChars:dF,removeHTTPWhitespace:qx,minimizeSupportedMimeType:z3e,HTTP_TOKEN_CODEPOINTS:ib,isomorphicDecode:dte}});var oi=A((X5t,hte)=>{"use strict";var{types:Bc,inspect:j3e}=require("node:util"),{markAsUncloneable:$3e}=require("node:worker_threads"),{toUSVString:J3e}=ot(),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 j3e(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(!Bc.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=J3e;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"||!Bc.isAnyArrayBuffer(t))throw K.errors.conversionFailed({prefix:e,argument:`${r} ("${K.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&Bc.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"||!Bc.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&&Bc.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"||!Bc.isDataView(t))throw K.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&Bc.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(Bc.isAnyArrayBuffer(t))return K.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(Bc.isTypedArray(t))return K.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(Bc.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);hte.exports={webidl:K}});var zs=A((Z5t,vte)=>{"use strict";var{Transform:W3e}=require("node:stream"),pte=require("node:zlib"),{redirectStatusSet:Y3e,referrerPolicySet:K3e,badPortsSet:X3e}=nb(),{getGlobalOrigin:Ate}=lF(),{collectASequenceOfCodePoints:_h,collectAnHTTPQuotedString:Z3e,removeChars:eGe,parseMIMEType:tGe}=ms(),{performance:rGe}=require("node:perf_hooks"),{isBlobLike:nGe,ReadableStreamFrom:iGe,isValidHTTPToken:mte,normalizedMethodRecordsBase:sGe}=ot(),Rh=require("node:assert"),{isUint8Array:oGe}=require("node:util/types"),{webidl:sb}=oi(),gte=[],zx;try{zx=require("node:crypto");let t=["sha256","sha384","sha512"];gte=zx.getHashes().filter(e=>t.includes(e))}catch{}function yte(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(yte,"responseURL");function aGe(t,e){if(!Y3e.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&Cte(r)&&(Ete(r)||(r=cGe(r)),r=new URL(r,yte(t))),r&&!r.hash&&(r.hash=e),r}o(aGe,"responseLocationURL");function Ete(t){for(let e=0;e126||r<32)return!1}return!0}o(Ete,"isValidEncodedURL");function cGe(t){return Buffer.from(t,"binary").toString("utf8")}o(cGe,"normalizeBinaryStringToUtf8");function ab(t){return t.urlList[t.urlList.length-1]}o(ab,"requestCurrentURL");function lGe(t){let e=ab(t);return Bte(e)&&X3e.has(e.port)?"blocked":"allowed"}o(lGe,"requestBadPort");function uGe(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(uGe,"isErrorLike");function dGe(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(dGe,"isValidReasonPhrase");var fGe=mte;function Cte(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` +`)||t.includes("\r")||t.includes("\0"))===!1}o(Cte,"isValidHeaderValue");function hGe(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(K3e.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(hGe,"setRequestReferrerPolicyOnRedirect");function pGe(){return"allowed"}o(pGe,"crossOriginResourcePolicyCheck");function AGe(){return"success"}o(AGe,"corsCheck");function mGe(){return"success"}o(mGe,"TAOCheck");function gGe(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(gGe,"appendFetchMetadata");function yGe(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&&hF(t.origin)&&!hF(ab(t))&&(e=null);break;case"same-origin":jx(t,ab(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(yGe,"appendRequestOriginHeader");function Em(t,e){return t}o(Em,"coarsenTime");function EGe(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=jx(t,n),a=ob(n)&&!ob(t.url);switch(e){case"origin":return i??fF(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 jx(n,c)?n:ob(n)&&!ob(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(IGe,"determineRequestsReferrer");function fF(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(fF,"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 SGe(t,e){if(zx===void 0)return!0;let r=wte(e);if(r==="no metadata"||r.length===0)return!0;let n=xGe(r),i=vGe(r,n);for(let s of i){let a=s.algo,c=s.hash,l=zx.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)),NGe(l,c))return!0}return!1}o(SGe,"bytesMatch");var BGe=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function wte(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=BGe.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();gte.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(wte,"parseMetadata");function xGe(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(RGe,"createDeferredPromise");function TGe(t){return t.controller.state==="aborted"}o(TGe,"isAborted");function DGe(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(DGe,"isCancelled");function QGe(t){return sGe[t.toLowerCase()]??t}o(QGe,"normalizeMethod");function kGe(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(kGe,"serializeJavascriptValueToJSONString");var PGe=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Ite(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,PGe),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(Ite,"createIterator");function OGe(t,e,r,n=0,i=1){let s=Ite(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(OGe,"iteratorMixin");async function LGe(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await Ste(s))}catch(a){i(a)}}o(LGe,"fullyReadBody");function FGe(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(FGe,"isReadableStreamLike");function MGe(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(MGe,"readableStreamClose");var UGe=/[^\x00-\xFF]/;function Vx(t){return Rh(!UGe.test(t)),t}o(Vx,"isomorphicEncode");async function Ste(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!oGe(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(Ste,"readAllBytes");function qGe(t){Rh("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(qGe,"urlIsLocal");function hF(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(hF,"urlHasHttpsScheme");function Bte(t){Rh("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(Bte,"urlIsHttpHttpsScheme");function GGe(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&_h(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&_h(l=>l===" "||l===" ",r,n);let i=_h(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(e&&_h(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&_h(l=>l===" "||l===" ",r,n);let a=_h(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(GGe,"simpleRangeHeaderValue");function HGe(t,e,r){let n="bytes ";return n+=Vx(`${t}`),n+="-",n+=Vx(`${e}`),n+="/",n+=Vx(`${r}`),n}o(HGe,"buildContentRange");var pF=class extends W3e{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?pte.createInflate(this.#e):pte.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 VGe(t){return new pF(t)}o(VGe,"createInflate");function zGe(t){let e=null,r=null,n=null,i=xte("content-type",t);if(i===null)return"failure";for(let s of i){let a=tGe(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(zGe,"extractMimeType");function jGe(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(jGe,"gettingDecodingSplitting");function xte(t,e){let r=e.get(t,!0);return r===null?null:jGe(r)}o(xte,"getDecodeSplit");var $Ge=new TextDecoder;function JGe(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),$Ge.decode(t))}o(JGe,"utf8DecodeBytes");var AF=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return Ate()}get origin(){return this.baseUrl?.origin}policyContainer=bte()},mF=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new AF},WGe=new mF;vte.exports={isAborted:TGe,isCancelled:DGe,isValidEncodedURL:Ete,createDeferredPromise:RGe,ReadableStreamFrom:iGe,tryUpgradeRequestToAPotentiallyTrustworthyURL:_Ge,clampAndCoarsenConnectionTimingInfo:EGe,coarsenedSharedCurrentTime:CGe,determineRequestsReferrer:IGe,makePolicyContainer:bte,clonePolicyContainer:wGe,appendFetchMetadata:gGe,appendRequestOriginHeader:yGe,TAOCheck:mGe,corsCheck:AGe,crossOriginResourcePolicyCheck:pGe,createOpaqueTimingInfo:bGe,setRequestReferrerPolicyOnRedirect:hGe,isValidHTTPToken:mte,requestBadPort:lGe,requestCurrentURL:ab,responseURL:yte,responseLocationURL:aGe,isBlobLike:nGe,isURLPotentiallyTrustworthy:ob,isValidReasonPhrase:dGe,sameOrigin:jx,normalizeMethod:QGe,serializeJavascriptValueToJSONString:kGe,iteratorMixin:OGe,createIterator:Ite,isValidHeaderName:fGe,isValidHeaderValue:Cte,isErrorLike:uGe,fullyReadBody:LGe,bytesMatch:SGe,isReadableStreamLike:FGe,readableStreamClose:MGe,isomorphicEncode:Vx,urlIsLocal:qGe,urlHasHttpsScheme:hF,urlIsHttpHttpsScheme:Bte,readAllBytes:Ste,simpleRangeHeaderValue:GGe,buildContentRange:HGe,parseMetadata:wte,createInflate:VGe,extractMimeType:zGe,getDecodeSplit:xte,utf8DecodeBytes:JGe,environmentSettingsObject:WGe}});var kd=A((tVt,Nte)=>{"use strict";Nte.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var yF=A((rVt,_te)=>{"use strict";var{Blob:YGe,File:KGe}=require("node:buffer"),{kState:Eu}=kd(),{webidl:xc}=oi(),gF=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Eu]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return xc.brandCheck(this,t),this[Eu].blobLike.stream(...e)}arrayBuffer(...e){return xc.brandCheck(this,t),this[Eu].blobLike.arrayBuffer(...e)}slice(...e){return xc.brandCheck(this,t),this[Eu].blobLike.slice(...e)}text(...e){return xc.brandCheck(this,t),this[Eu].blobLike.text(...e)}get size(){return xc.brandCheck(this,t),this[Eu].blobLike.size}get type(){return xc.brandCheck(this,t),this[Eu].blobLike.type}get name(){return xc.brandCheck(this,t),this[Eu].name}get lastModified(){return xc.brandCheck(this,t),this[Eu].lastModified}get[Symbol.toStringTag](){return"File"}};xc.converters.Blob=xc.interfaceConverter(YGe);function XGe(t){return t instanceof KGe||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(XGe,"isFileLike");_te.exports={FileLike:gF,isFileLike:XGe}});var lb=A((iVt,kte)=>{"use strict";var{isBlobLike:$x,iteratorMixin:ZGe}=zs(),{kState:Ui}=kd(),{kEnumerableProperty:Cm}=ot(),{FileLike:Rte,isFileLike:eHe}=yF(),{webidl:Kt}=oi(),{File:Qte}=require("node:buffer"),Tte=require("node:util"),Dte=globalThis.File??Qte,cb=class t{static{o(this,"FormData")}constructor(e){if(Kt.util.markAsUncloneable(this),e!==void 0)throw Kt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Ui]=[]}append(e,r,n=void 0){Kt.brandCheck(this,t);let i="FormData.append";if(Kt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!$x(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Kt.converters.USVString(e,i,"name"),r=$x(r)?Kt.converters.Blob(r,i,"value",{strict:!1}):Kt.converters.USVString(r,i,"value"),n=arguments.length===3?Kt.converters.USVString(n,i,"filename"):void 0;let s=EF(e,r,n);this[Ui].push(s)}delete(e){Kt.brandCheck(this,t);let r="FormData.delete";Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name"),this[Ui]=this[Ui].filter(n=>n.name!==e)}get(e){Kt.brandCheck(this,t);let r="FormData.get";Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name");let n=this[Ui].findIndex(i=>i.name===e);return n===-1?null:this[Ui][n].value}getAll(e){Kt.brandCheck(this,t);let r="FormData.getAll";return Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name"),this[Ui].filter(n=>n.name===e).map(n=>n.value)}has(e){Kt.brandCheck(this,t);let r="FormData.has";return Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.USVString(e,r,"name"),this[Ui].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Kt.brandCheck(this,t);let i="FormData.set";if(Kt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!$x(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Kt.converters.USVString(e,i,"name"),r=$x(r)?Kt.converters.Blob(r,i,"name",{strict:!1}):Kt.converters.USVString(r,i,"name"),n=arguments.length===3?Kt.converters.USVString(n,i,"name"):void 0;let s=EF(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)}[Tte.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=Tte.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};ZGe("FormData",cb,Ui,"name","value");Object.defineProperties(cb.prototype,{append:Cm,delete:Cm,get:Cm,getAll:Cm,has:Cm,set:Cm,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function EF(t,e,r){if(typeof e!="string"){if(eHe(e)||(e=e instanceof Blob?new Dte([e],"blob",{type:e.type}):new Rte(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof Qte?new Dte([e],r,n):new Rte(e,r,n)}}return{name:t,value:e}}o(EF,"makeEntry");kte.exports={FormData:cb,makeEntry:EF}});var Ute=A((oVt,Mte)=>{"use strict";var{isUSVString:Pte,bufferToLowerCasedHeaderName:tHe}=ot(),{utf8DecodeBytes:rHe}=zs(),{HTTP_TOKEN_CODEPOINTS:nHe,isomorphicDecode:Ote}=ms(),{isFileLike:iHe}=yF(),{makeEntry:sHe}=lb(),Jx=require("node:assert"),{File:oHe}=require("node:buffer"),aHe=globalThis.File??oHe,cHe=Buffer.from('form-data; name="'),Lte=Buffer.from("; filename"),lHe=Buffer.from("--"),uHe=Buffer.from(`--\r +`);function dHe(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(fHe,"validateBoundary");function hHe(t,e){Jx(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&&Wx(t,lHe,s)||s.position===t.length-4&&Wx(t,uHe,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=pHe(t,s);if(c==="failure")return"failure";let{name:l,filename:u,contentType:d,encoding:f}=c;s.position+=2;let h;{let m=t.indexOf(n.subarray(2),s.position);if(m===-1)return"failure";h=t.subarray(s.position,m-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",dHe(d)||(d=""),p=new aHe([h],u,{type:d})):p=rHe(Buffer.from(h)),Jx(Pte(l)),Jx(typeof p=="string"&&Pte(p)||iHe(p)),i.push(sHe(l,p,u))}}o(hHe,"multipartFormDataParser");function pHe(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=bm(c=>c!==10&&c!==13&&c!==58,t,e);if(a=CF(a,!0,!0,c=>c===9||c===32),!nHe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,bm(c=>c===32||c===9,t,e),tHe(a)){case"content-disposition":{if(r=n=null,!Wx(t,cHe,e)||(e.position+=17,r=Fte(t,e),r===null))return"failure";if(Wx(t,Lte,e)){let c=e.position+Lte.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=Fte(t,e),n===null))return"failure"}break}case"content-type":{let c=bm(l=>l!==10&&l!==13,t,e);c=CF(c,!1,!0,l=>l===9||l===32),i=Ote(c);break}case"content-transfer-encoding":{let c=bm(l=>l!==10&&l!==13,t,e);c=CF(c,!1,!0,l=>l===9||l===32),s=Ote(c);break}default:bm(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(pHe,"parseMultipartFormDataHeaders");function Fte(t,e){Jx(t[e.position-1]===34);let r=bm(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(Fte,"parseMultipartFormDataName");function bm(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(CF,"removeChars");function Wx(t,e,r){if(t.length{"use strict";var ub=ot(),{ReadableStreamFrom:AHe,isBlobLike:qte,isReadableStreamLike:mHe,readableStreamClose:gHe,createDeferredPromise:yHe,fullyReadBody:EHe,extractMimeType:CHe,utf8DecodeBytes:Vte}=zs(),{FormData:Gte}=lb(),{kState:Im}=kd(),{webidl:bHe}=oi(),{Blob:wHe}=require("node:buffer"),bF=require("node:assert"),{isErrored:zte,isDisturbed:IHe}=require("node:stream"),{isArrayBuffer:SHe}=require("node:util/types"),{serializeAMimeType:BHe}=ms(),{multipartFormDataParser:xHe}=Ute(),wF;try{let t=require("node:crypto");wF=o(e=>t.randomInt(0,e),"random")}catch{wF=o(t=>Math.floor(Math.random(t)),"random")}var Yx=new TextEncoder;function vHe(){}o(vHe,"noop");var jte=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,$te;jte&&($te=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!IHe(e)&&!zte(e)&&e.cancel("Response object has been garbage collected").catch(vHe)}));function Jte(t,e=!1){let r=null;t instanceof ReadableStream?r=t:qte(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof i=="string"?Yx.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>gHe(l))},start(){},type:"bytes"}),bF(mHe(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(SHe(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${`${wF(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 m=!1;for(let[E,y]of t)if(typeof y=="string"){let C=Yx.encode(u+`; name="${d(f(E))}"\r \r @@ -11,22 +11,22 @@ ${f(y)}\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:m=!0}let g=Yx.encode(`--${l}--\r -`);h.push(g),s+=g.byteLength,m&&(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(Ute(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(db.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:pHe(t)}if((typeof i=="string"||db.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(!Vte(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($te,"extractBody");function vHe(t,e=!1){return t instanceof ReadableStream&&(bF(!db.isDisturbed(t),"The body has already been consumed."),bF(!t.locked,"The stream is locked.")),$te(t,e)}o(vHe,"safelyExtractBody");function NHe(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(NHe,"cloneBody");function _He(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(_He,"throwIfAborted");function RHe(t){return{blob(){return wm(this,r=>{let n=Gte(this);return n===null?n="":n&&(n=SHe(n)),new bHe([r],{type:n})},t)},arrayBuffer(){return wm(this,r=>new Uint8Array(r).buffer,t)},text(){return wm(this,Hte,t)},json(){return wm(this,DHe,t)},formData(){return wm(this,r=>{let n=Gte(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=BHe(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new qte;return s[Im]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new qte;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(RHe,"bodyMixinMethods");function THe(t){Object.assign(t.prototype,RHe(t))}o(THe,"mixinBody");async function wm(t,e,r){if(CHe.brandCheck(t,r),Jte(t))throw new TypeError("Body is unusable: Body has already been read");_He(t[Im]);let n=gHe(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Im].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await yHe(t[Im].body,s,i),n.promise)}o(wm,"consumeBody");function Jte(t){let e=t[Im].body;return e!=null&&(e.stream.locked||db.isDisturbed(e.stream))}o(Jte,"bodyUnusable");function DHe(t){return JSON.parse(Hte(t))}o(DHe,"parseJSONFromBytes");function Gte(t){let e=t[Im].headersList,r=EHe(e);return r==="failure"?null:r}o(Gte,"bodyMimeType");Wte.exports={extractBody:$te,safelyExtractBody:vHe,cloneBody:NHe,mixinBody:THe,streamRegistry:jte,hasFinalizationRegistry:zte,bodyUnusable:Jte}});var dre=A((aVt,ure)=>{"use strict";var Re=require("node:assert"),ke=ot(),{channels:Yte}=dm(),IF=iF(),{RequestContentLengthMismatchError:Th,ResponseContentLengthMismatchError:Kte,RequestAbortedError:sre,InvalidArgumentError:QHe,HeadersTimeoutError:kHe,HeadersOverflowError:PHe,SocketError:Bm,InformationalError:xm,BodyTimeoutError:OHe,HTTPParserError:LHe,ResponseExceededMaxSizeError:FHe}=_t(),{kUrl:ore,kReset:gs,kClient:ev,kParser:tr,kBlocking:pb,kRunning:pn,kPending:are,kSize:Xte,kWriting:Pd,kQueue:Pa,kNoRef:fb,kKeepAliveDefaultTimeout:MHe,kHostHeader:UHe,kPendingIdx:qHe,kRunningIdx:ko,kError:qi,kPipelining:tv,kSocket:Qh,kKeepAliveTimeoutValue:nv,kMaxHeadersSize:SF,kKeepAliveMaxTimeout:GHe,kKeepAliveTimeoutThreshold:HHe,kHeadersTimeout:VHe,kBodyTimeout:zHe,kStrictContentLength:vF,kMaxRequests:Zte,kCounter:jHe,kMaxResponseSize:$He,kOnError:ere,kResume:Cu,kHTTPContext:cre}=Ar(),js=jee(),tre=Buffer.alloc(0),Kx=Buffer[Symbol.species],Xx=ke.addListener,JHe=ke.removeAllListeners,kh=Symbol("kIdleSocketValidation"),Dh=Symbol("kIdleSocketValidationTimeout"),TF=Symbol("kSocketUsed"),BF;async function WHe(){let t=process.env.JEST_WORKER_ID?aF():void 0,e;try{e=await WebAssembly.compile(Wee())}catch{e=await WebAssembly.compile(t||aF())}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(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onStatus(new Kx(vc.buffer,s,i))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(Re(Dr.ptr===r),Dr.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,i)=>{Re(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onHeaderField(new Kx(vc.buffer,s,i))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,i)=>{Re(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onHeaderValue(new Kx(vc.buffer,s,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,i,s)=>(Re(Dr.ptr===r),Dr.onHeadersComplete(n,!!i,!!s)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,i)=>{Re(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onBody(new Kx(vc.buffer,s,i))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(Re(Dr.ptr===r),Dr.onMessageComplete()||0),"wasm_on_message_complete")}})}o(WHe,"lazyllhttp");var xF=null,NF=WHe();NF.catch();var Dr=null,vc=null,Zx=0,Nc=null,YHe=0,hb=1,vm=2|hb,rv=4|hb,_F=8|YHe,RF=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Re(Number.isFinite(e[SF])&&e[SF]>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[SF],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[$He]}setTimeout(e,r){e!==this.timeoutValue||r&hb^this.timeoutType&hb?(this.timeout&&(IF.clearTimeout(this.timeout),this.timeout=null),e&&(r&hb?this.timeout=IF.setFastTimeout(rre,e,new WeakRef(this)):(this.timeout=setTimeout(rre,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(Dr==null),this.llhttp.llhttp_resume(this.ptr),Re(this.timeoutType===rv),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||tre),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(Dr==null),Re(!this.paused);let{socket:r,llhttp:n}=this;e.length>Zx&&(Nc&&n.free(Nc),Zx=Math.ceil(e.length/4096)*4096,Nc=n.malloc(Zx)),new Uint8Array(n.memory.buffer,Nc,Zx).set(e);try{let i;try{vc=e,Dr=this,i=n.llhttp_execute(this.ptr,Nc,e.length)}catch(a){throw a}finally{Dr=null,vc=null}let s=n.llhttp_get_error_pos(this.ptr)-Nc;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(Dr===null),Re(this.ptr!=null),Re(!this.paused);let{llhttp:e}=this,r;try{Dr=this,r=e.llhttp_finish(this.ptr)}finally{Dr=null}return r===js.ERROR.OK?null:r===js.ERROR.PAUSED||r===js.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,tre)}createError(e,r){let{llhttp:n,contentLength:i,bytesRead:s}=this;if(i&&s!==parseInt(i,10))return new Kte;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 LHe(c,js.ERROR[e],r)}destroy(){Re(this.ptr!=null),Re(Dr==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&IF.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[pn]===0)return ke.destroy(e,new Bm("bad response",ke.getSocketInfo(e))),-1;let n=r[Pa][r[ko]];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 PHe)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;Re(r),Re(n[Qh]===i),Re(!i.destroyed),Re(!this.paused),Re((s.length&1)===0);let c=n[Pa][n[ko]];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[tr].destroy(),i[tr]=null,i[ev]=null,i[qi]=null,JHe(i),n[Qh]=null,n[cre]=null,n[Pa][n[ko]++]=null,n.emit("disconnect",n[ore],[n],new xm("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){ke.destroy(i,l)}n[Cu]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;if(i[pn]===0)return ke.destroy(s,new Bm("bad response",ke.getSocketInfo(s))),-1;let l=i[Pa][i[ko]];if(!l)return-1;if(Re(!this.upgrade),Re(this.statusCode<200),e===100)return ke.destroy(s,new Bm("bad response",ke.getSocketInfo(s))),-1;if(r&&!l.upgrade)return ke.destroy(s,new Bm("bad upgrade",ke.getSocketInfo(s))),-1;if(Re(this.timeoutType===vm),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[zHe];this.setTimeout(d,rv)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return Re(i[pn]===1),this.upgrade=!0,2;if(r)return Re(i[pn]===1),this.upgrade=!0,2;if(Re((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[tv]){let d=this.keepAlive?ke.parseKeepAliveTimeout(this.keepAlive):null;if(d!=null){let f=Math.min(d-i[HHe],i[GHe]);f<=0?s[gs]=!0:i[nv]=f}else i[nv]=i[MHe]}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[pb]&&(s[pb]=!1,i[Cu]()),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[Pa][r[ko]];if(Re(a),Re(this.timeoutType===rv),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Re(i>=200),s>-1&&this.bytesRead+e.length>s)return ke.destroy(n,new FHe),-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[Pa][e[ko]];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 Kte),-1;if(u.onComplete(s),e[Pa][e[ko]++]=null,r[TF]=!0,r[Pd])return Re(e[pn]===0),ke.destroy(r,new xm("reset")),js.ERROR.PAUSED;if(l){if(r[gs]&&e[pn]===0)return ke.destroy(r,new xm("reset")),js.ERROR.PAUSED;e[tv]==null||e[tv]===1?setImmediate(()=>e[Cu]()):e[Cu]()}else return ke.destroy(r,new xm("reset")),js.ERROR.PAUSED}}};function rre(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===vm?(!e[Pd]||e.writableNeedDrain||n[pn]>1)&&(Re(!i,"cannot be paused while waiting for headers"),ke.destroy(e,new kHe)):r===rv?i||ke.destroy(e,new OHe):r===_F&&(Re(n[pn]===0&&n[nv]),ke.destroy(e,new xm("socket idle timeout")))}o(rre,"onParserTimeout");async function KHe(t,e){t[Qh]=e,xF||(xF=await NF,NF=null),e[fb]=!1,e[Pd]=!1,e[gs]=!1,e[pb]=!1,e[kh]=0,e[Dh]=null,e[TF]=!1,e[tr]=new RF(t,e,xF),Xx(e,"error",function(n){Re(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[tr];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){let s=i.finish();s&&(this[qi]=s,this[ev][ere](s));return}this[qi]=n,this[ev][ere](n)}),Xx(e,"readable",function(){let n=this[tr];n&&n.readMore()}),Xx(e,"end",function(){let n=this[tr];if(n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&ke.destroy(this,i);return}ke.destroy(this,new Bm("other side closed",ke.getSocketInfo(this)))}),Xx(e,"close",function(){let n=this[ev],i=this[tr];lre(this),i&&(!this[qi]&&i.statusCode&&!i.shouldKeepAlive&&(this[qi]=i.finish()||this[qi]),this[tr].destroy(),this[tr]=null);let s=this[qi]||new Bm("closed",ke.getSocketInfo(this));if(n[Qh]=null,n[cre]=null,n.destroyed){Re(n[are]===0);let a=n[Pa].splice(n[ko]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[Pa][n[ko]];n[Pa][n[ko]++]=null,ke.errorRequest(n,a,s)}n[qHe]=n[ko],Re(n[pn]===0),n.emit("disconnect",n[ore],[n],s),n[Cu]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return t4e(t,...n)},resume(){ZHe(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[Pd]||e[gs]||e[pb]||e[kh]===1||n&&(t[pn]>0&&!n.idempotent||t[pn]>0&&(n.upgrade||n.method==="CONNECT")||t[pn]>0&&ke.bodyLength(n.body)!==0&&(ke.isStream(n.body)||ke.isAsyncIterable(n.body)||ke.isFormDataLike(n.body))))}}}o(KHe,"connectH1");function lre(t){t[Dh]&&(clearTimeout(t[Dh]),t[Dh]=null),t[kh]=0}o(lre,"clearIdleSocketValidation");function XHe(t,e){e[kh]=1,e[Dh]=setTimeout(()=>{e[Dh]=null,e[kh]=2,t[Qh]===e&&!e.destroyed&&t[Cu]()},0),e[Dh].unref?.()}o(XHe,"scheduleIdleSocketValidation");function ZHe(t){let e=t[Qh];if(e&&!e.destroyed){if(t[Xte]===0?!e[fb]&&e.unref&&(e.unref(),e[fb]=!0):e[fb]&&e.ref&&(e.ref(),e[fb]=!1),t[pn]===0&&t[are]>0&&e[TF]){if(e[kh]===0)return XHe(t,e),e[tr].readMore(),e.destroyed,void 0;if(e[kh]===1)return e[tr].readMore(),e.destroyed,void 0}if(t[pn]===0&&(e[tr].readMore(),e.destroyed))return;if(t[Xte]===0)e[tr].timeoutType!==_F&&e[tr].setTimeout(t[nv],_F);else if(t[pn]>0&&e[tr].statusCode<200&&e[tr].timeoutType!==vm){let r=t[Pa][t[ko]],n=r.headersTimeout!=null?r.headersTimeout:t[VHe];e[tr].setTimeout(n,vm)}}}o(ZHe,"resumeH1");function e4e(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(e4e,"shouldSendContentLength");function t4e(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)){BF||(BF=Sm().extractBody);let[E,y]=BF(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 QHe("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),e4e(r)&&d>0&&e.contentLength!==null&&e.contentLength!==d){if(t[vF])return ke.errorRequest(t,e,new Th),!1;process.emitWarning(new Th)}let p=t[Qh];lre(p);let m=o(E=>{e.aborted||e.completed||(ke.errorRequest(t,e,E||new sre),ke.destroy(l),ke.destroy(p,new xm("aborted")))},"abort");try{e.onConnect(m)}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[Zte]&&p[jHe]++>=t[Zte]&&(p[gs]=!0),a&&(p[pb]=!0);let g=`${r} ${n} HTTP/1.1\r +`);h.push(g),s+=g.byteLength,m&&(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(qte(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:AHe(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(!zte(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(Jte,"extractBody");function NHe(t,e=!1){return t instanceof ReadableStream&&(bF(!ub.isDisturbed(t),"The body has already been consumed."),bF(!t.locked,"The stream is locked.")),Jte(t,e)}o(NHe,"safelyExtractBody");function _He(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(_He,"cloneBody");function RHe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(RHe,"throwIfAborted");function THe(t){return{blob(){return wm(this,r=>{let n=Hte(this);return n===null?n="":n&&(n=BHe(n)),new wHe([r],{type:n})},t)},arrayBuffer(){return wm(this,r=>new Uint8Array(r).buffer,t)},text(){return wm(this,Vte,t)},json(){return wm(this,QHe,t)},formData(){return wm(this,r=>{let n=Hte(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=xHe(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new Gte;return s[Im]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new Gte;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(THe,"bodyMixinMethods");function DHe(t){Object.assign(t.prototype,THe(t))}o(DHe,"mixinBody");async function wm(t,e,r){if(bHe.brandCheck(t,r),Wte(t))throw new TypeError("Body is unusable: Body has already been read");RHe(t[Im]);let n=yHe(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Im].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await EHe(t[Im].body,s,i),n.promise)}o(wm,"consumeBody");function Wte(t){let e=t[Im].body;return e!=null&&(e.stream.locked||ub.isDisturbed(e.stream))}o(Wte,"bodyUnusable");function QHe(t){return JSON.parse(Vte(t))}o(QHe,"parseJSONFromBytes");function Hte(t){let e=t[Im].headersList,r=CHe(e);return r==="failure"?null:r}o(Hte,"bodyMimeType");Yte.exports={extractBody:Jte,safelyExtractBody:NHe,cloneBody:_He,mixinBody:DHe,streamRegistry:$te,hasFinalizationRegistry:jte,bodyUnusable:Wte}});var fre=A((uVt,dre)=>{"use strict";var Re=require("node:assert"),ke=ot(),{channels:Kte}=dm(),IF=iF(),{RequestContentLengthMismatchError:Th,ResponseContentLengthMismatchError:Xte,RequestAbortedError:ore,InvalidArgumentError:kHe,HeadersTimeoutError:PHe,HeadersOverflowError:OHe,SocketError:Bm,InformationalError:xm,BodyTimeoutError:LHe,HTTPParserError:FHe,ResponseExceededMaxSizeError:MHe}=_t(),{kUrl:are,kReset:gs,kClient:ev,kParser:tr,kBlocking:hb,kRunning:pn,kPending:cre,kSize:Zte,kWriting:Pd,kQueue:Pa,kNoRef:db,kKeepAliveDefaultTimeout:UHe,kHostHeader:qHe,kPendingIdx:GHe,kRunningIdx:ko,kError:qi,kPipelining:tv,kSocket:Qh,kKeepAliveTimeoutValue:nv,kMaxHeadersSize:SF,kKeepAliveMaxTimeout:HHe,kKeepAliveTimeoutThreshold:VHe,kHeadersTimeout:zHe,kBodyTimeout:jHe,kStrictContentLength:vF,kMaxRequests:ere,kCounter:$He,kMaxResponseSize:JHe,kOnError:tre,kResume:Cu,kHTTPContext:lre}=Ar(),js=$ee(),rre=Buffer.alloc(0),Kx=Buffer[Symbol.species],Xx=ke.addListener,WHe=ke.removeAllListeners,kh=Symbol("kIdleSocketValidation"),Dh=Symbol("kIdleSocketValidationTimeout"),TF=Symbol("kSocketUsed"),BF;async function YHe(){let t=process.env.JEST_WORKER_ID?aF():void 0,e;try{e=await WebAssembly.compile(Yee())}catch{e=await WebAssembly.compile(t||aF())}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(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onStatus(new Kx(vc.buffer,s,i))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(Re(Dr.ptr===r),Dr.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,i)=>{Re(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onHeaderField(new Kx(vc.buffer,s,i))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,i)=>{Re(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onHeaderValue(new Kx(vc.buffer,s,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,i,s)=>(Re(Dr.ptr===r),Dr.onHeadersComplete(n,!!i,!!s)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,i)=>{Re(Dr.ptr===r);let s=n-Nc+vc.byteOffset;return Dr.onBody(new Kx(vc.buffer,s,i))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(Re(Dr.ptr===r),Dr.onMessageComplete()||0),"wasm_on_message_complete")}})}o(YHe,"lazyllhttp");var xF=null,NF=YHe();NF.catch();var Dr=null,vc=null,Zx=0,Nc=null,KHe=0,fb=1,vm=2|fb,rv=4|fb,_F=8|KHe,RF=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Re(Number.isFinite(e[SF])&&e[SF]>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[SF],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[JHe]}setTimeout(e,r){e!==this.timeoutValue||r&fb^this.timeoutType&fb?(this.timeout&&(IF.clearTimeout(this.timeout),this.timeout=null),e&&(r&fb?this.timeout=IF.setFastTimeout(nre,e,new WeakRef(this)):(this.timeout=setTimeout(nre,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(Dr==null),this.llhttp.llhttp_resume(this.ptr),Re(this.timeoutType===rv),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||rre),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(Dr==null),Re(!this.paused);let{socket:r,llhttp:n}=this;e.length>Zx&&(Nc&&n.free(Nc),Zx=Math.ceil(e.length/4096)*4096,Nc=n.malloc(Zx)),new Uint8Array(n.memory.buffer,Nc,Zx).set(e);try{let i;try{vc=e,Dr=this,i=n.llhttp_execute(this.ptr,Nc,e.length)}catch(a){throw a}finally{Dr=null,vc=null}let s=n.llhttp_get_error_pos(this.ptr)-Nc;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(Dr===null),Re(this.ptr!=null),Re(!this.paused);let{llhttp:e}=this,r;try{Dr=this,r=e.llhttp_finish(this.ptr)}finally{Dr=null}return r===js.ERROR.OK?null:r===js.ERROR.PAUSED||r===js.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,rre)}createError(e,r){let{llhttp:n,contentLength:i,bytesRead:s}=this;if(i&&s!==parseInt(i,10))return new Xte;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 FHe(c,js.ERROR[e],r)}destroy(){Re(this.ptr!=null),Re(Dr==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&IF.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[pn]===0)return ke.destroy(e,new Bm("bad response",ke.getSocketInfo(e))),-1;let n=r[Pa][r[ko]];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 OHe)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;Re(r),Re(n[Qh]===i),Re(!i.destroyed),Re(!this.paused),Re((s.length&1)===0);let c=n[Pa][n[ko]];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[tr].destroy(),i[tr]=null,i[ev]=null,i[qi]=null,WHe(i),n[Qh]=null,n[lre]=null,n[Pa][n[ko]++]=null,n.emit("disconnect",n[are],[n],new xm("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){ke.destroy(i,l)}n[Cu]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;if(i[pn]===0)return ke.destroy(s,new Bm("bad response",ke.getSocketInfo(s))),-1;let l=i[Pa][i[ko]];if(!l)return-1;if(Re(!this.upgrade),Re(this.statusCode<200),e===100)return ke.destroy(s,new Bm("bad response",ke.getSocketInfo(s))),-1;if(r&&!l.upgrade)return ke.destroy(s,new Bm("bad upgrade",ke.getSocketInfo(s))),-1;if(Re(this.timeoutType===vm),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[jHe];this.setTimeout(d,rv)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return Re(i[pn]===1),this.upgrade=!0,2;if(r)return Re(i[pn]===1),this.upgrade=!0,2;if(Re((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[tv]){let d=this.keepAlive?ke.parseKeepAliveTimeout(this.keepAlive):null;if(d!=null){let f=Math.min(d-i[VHe],i[HHe]);f<=0?s[gs]=!0:i[nv]=f}else i[nv]=i[UHe]}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[Cu]()),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[Pa][r[ko]];if(Re(a),Re(this.timeoutType===rv),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Re(i>=200),s>-1&&this.bytesRead+e.length>s)return ke.destroy(n,new MHe),-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[Pa][e[ko]];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 Xte),-1;if(u.onComplete(s),e[Pa][e[ko]++]=null,r[TF]=!0,r[Pd])return Re(e[pn]===0),ke.destroy(r,new xm("reset")),js.ERROR.PAUSED;if(l){if(r[gs]&&e[pn]===0)return ke.destroy(r,new xm("reset")),js.ERROR.PAUSED;e[tv]==null||e[tv]===1?setImmediate(()=>e[Cu]()):e[Cu]()}else return ke.destroy(r,new xm("reset")),js.ERROR.PAUSED}}};function nre(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===vm?(!e[Pd]||e.writableNeedDrain||n[pn]>1)&&(Re(!i,"cannot be paused while waiting for headers"),ke.destroy(e,new PHe)):r===rv?i||ke.destroy(e,new LHe):r===_F&&(Re(n[pn]===0&&n[nv]),ke.destroy(e,new xm("socket idle timeout")))}o(nre,"onParserTimeout");async function XHe(t,e){t[Qh]=e,xF||(xF=await NF,NF=null),e[db]=!1,e[Pd]=!1,e[gs]=!1,e[hb]=!1,e[kh]=0,e[Dh]=null,e[TF]=!1,e[tr]=new RF(t,e,xF),Xx(e,"error",function(n){Re(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[tr];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){let s=i.finish();s&&(this[qi]=s,this[ev][tre](s));return}this[qi]=n,this[ev][tre](n)}),Xx(e,"readable",function(){let n=this[tr];n&&n.readMore()}),Xx(e,"end",function(){let n=this[tr];if(n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&ke.destroy(this,i);return}ke.destroy(this,new Bm("other side closed",ke.getSocketInfo(this)))}),Xx(e,"close",function(){let n=this[ev],i=this[tr];ure(this),i&&(!this[qi]&&i.statusCode&&!i.shouldKeepAlive&&(this[qi]=i.finish()||this[qi]),this[tr].destroy(),this[tr]=null);let s=this[qi]||new Bm("closed",ke.getSocketInfo(this));if(n[Qh]=null,n[lre]=null,n.destroyed){Re(n[cre]===0);let a=n[Pa].splice(n[ko]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[Pa][n[ko]];n[Pa][n[ko]++]=null,ke.errorRequest(n,a,s)}n[GHe]=n[ko],Re(n[pn]===0),n.emit("disconnect",n[are],[n],s),n[Cu]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return r4e(t,...n)},resume(){e4e(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[Pd]||e[gs]||e[hb]||e[kh]===1||n&&(t[pn]>0&&!n.idempotent||t[pn]>0&&(n.upgrade||n.method==="CONNECT")||t[pn]>0&&ke.bodyLength(n.body)!==0&&(ke.isStream(n.body)||ke.isAsyncIterable(n.body)||ke.isFormDataLike(n.body))))}}}o(XHe,"connectH1");function ure(t){t[Dh]&&(clearTimeout(t[Dh]),t[Dh]=null),t[kh]=0}o(ure,"clearIdleSocketValidation");function ZHe(t,e){e[kh]=1,e[Dh]=setTimeout(()=>{e[Dh]=null,e[kh]=2,t[Qh]===e&&!e.destroyed&&t[Cu]()},0),e[Dh].unref?.()}o(ZHe,"scheduleIdleSocketValidation");function e4e(t){let e=t[Qh];if(e&&!e.destroyed){if(t[Zte]===0?!e[db]&&e.unref&&(e.unref(),e[db]=!0):e[db]&&e.ref&&(e.ref(),e[db]=!1),t[pn]===0&&t[cre]>0&&e[TF]){if(e[kh]===0)return ZHe(t,e),e[tr].readMore(),e.destroyed,void 0;if(e[kh]===1)return e[tr].readMore(),e.destroyed,void 0}if(t[pn]===0&&(e[tr].readMore(),e.destroyed))return;if(t[Zte]===0)e[tr].timeoutType!==_F&&e[tr].setTimeout(t[nv],_F);else if(t[pn]>0&&e[tr].statusCode<200&&e[tr].timeoutType!==vm){let r=t[Pa][t[ko]],n=r.headersTimeout!=null?r.headersTimeout:t[zHe];e[tr].setTimeout(n,vm)}}}o(e4e,"resumeH1");function t4e(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(t4e,"shouldSendContentLength");function r4e(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)){BF||(BF=Sm().extractBody);let[E,y]=BF(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 kHe("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),t4e(r)&&d>0&&e.contentLength!==null&&e.contentLength!==d){if(t[vF])return ke.errorRequest(t,e,new Th),!1;process.emitWarning(new Th)}let p=t[Qh];ure(p);let m=o(E=>{e.aborted||e.completed||(ke.errorRequest(t,e,E||new ore),ke.destroy(l),ke.destroy(p,new xm("aborted")))},"abort");try{e.onConnect(m)}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[ere]&&p[$He]++>=t[ere]&&(p[gs]=!0),a&&(p[hb]=!0);let g=`${r} ${n} HTTP/1.1\r `;if(typeof i=="string"?g+=`host: ${i}\r -`:g+=t[UHe],s?g+=`connection: upgrade\r +`:g+=t[qHe],s?g+=`connection: upgrade\r upgrade: ${s}\r `:t[tv]&&!p[gs]?g+=`connection: keep-alive\r `:g+=`connection: close\r `,Array.isArray(u))for(let E=0;E{e.removeListener("error",p)}),!l){let m=new sre;queueMicrotask(()=>p(m))}},"onClose"),p=o(function(m){if(!l){if(l=!0,Re(i.destroyed||i[Pd]&&r[pn]<=1),i.off("drain",f).off("error",p),e.removeListener("data",d).removeListener("end",p).removeListener("close",h),!m)try{u.end()}catch(g){m=g}u.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?ke.destroy(e,m):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(r4e,"writeStream");function nre(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 +`}return Kte.sendHeaders.hasSubscribers&&Kte.sendHeaders.publish({request:e,headers:g,socket:p}),!l||h===0?ire(m,null,t,e,p,d,g,f):ke.isBuffer(l)?ire(m,l,t,e,p,d,g,f):ke.isBlobLike(l)?typeof l.stream=="function"?sre(m,l.stream(),t,e,p,d,g,f):i4e(m,l,t,e,p,d,g,f):ke.isStream(l)?n4e(m,l,t,e,p,d,g,f):ke.isIterable(l)?sre(m,l,t,e,p,d,g,f):Re(!1),!0}o(r4e,"writeH1");function n4e(t,e,r,n,i,s,a,c){Re(s!==0||r[pn]===0,"stream body cannot be pipelined");let l=!1,u=new iv({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a}),d=o(function(m){if(!l)try{!u.write(m)&&this.pause&&this.pause()}catch(g){ke.destroy(this,g)}},"onData"),f=o(function(){l||e.resume&&e.resume()},"onDrain"),h=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let m=new ore;queueMicrotask(()=>p(m))}},"onClose"),p=o(function(m){if(!l){if(l=!0,Re(i.destroyed||i[Pd]&&r[pn]<=1),i.off("drain",f).off("error",p),e.removeListener("data",d).removeListener("end",p).removeListener("close",h),!m)try{u.end()}catch(g){m=g}u.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?ke.destroy(e,m):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(n4e,"writeStream");function ire(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 \r `,"latin1"):(Re(s===null,"no body must not have content length"),i.write(`${a}\r -`,"latin1")),n.onRequestSent(),r[Cu]()}catch(l){t(l)}}o(nre,"writeBuffer");async function n4e(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 Th;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r +`,"latin1")),n.onRequestSent(),r[Cu]()}catch(l){t(l)}}o(ire,"writeBuffer");async function i4e(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 Th;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[Cu]()}catch(l){t(l)}}o(n4e,"writeBlob");async function ire(t,e,r,n,i,s,a,c){Re(s!==0||r[pn]===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)=>{Re(l===null),i[qi]?p(i[qi]):l=h}),"waitForDrain");i.on("close",u).on("drain",u);let f=new iv({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(ire,"writeIterable");var iv=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[Pd]=!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[vF])throw new Th;process.emitWarning(new Th)}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[gs]=!0),r[Cu]()}catch(l){t(l)}}o(i4e,"writeBlob");async function sre(t,e,r,n,i,s,a,c){Re(s!==0||r[pn]===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)=>{Re(l===null),i[qi]?p(i[qi]):l=h}),"waitForDrain");i.on("close",u).on("drain",u);let f=new iv({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(sre,"writeIterable");var iv=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[Pd]=!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[vF])throw new Th;process.emitWarning(new Th)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[gs]=!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 @@ -37,45 +37,45 @@ ${u.toString(16)}\r `,"latin1"):r===null&&e.write(`\r 0\r \r -`,"latin1"),r!==null&&i!==r){if(n[vF])throw new Th;process.emitWarning(new Th)}e[tr].timeout&&e[tr].timeoutType===vm&&e[tr].timeout.refresh&&e[tr].timeout.refresh(),n[Cu]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[Pd]=!1,e&&(Re(n[pn]<=1,"pipeline should only contain this request"),i(e))}};ure.exports=KHe});var Ere=A((lVt,yre)=>{"use strict";var Po=require("node:assert"),{pipeline:i4e}=require("node:stream"),pt=ot(),{RequestContentLengthMismatchError:DF,RequestAbortedError:fre,SocketError:Ab,InformationalError:QF}=_t(),{kUrl:sv,kReset:av,kClient:Nm,kRunning:cv,kPending:s4e,kQueue:Od,kPendingIdx:kF,kRunningIdx:Oa,kError:Fa,kSocket:qn,kStrictContentLength:o4e,kOnError:PF,kMaxConcurrentStreams:gre,kHTTP2Session:La,kResume:Ld,kSize:a4e,kHTTPContext:c4e}=Ar(),bu=Symbol("open streams"),hre,pre=!1,ov;try{ov=require("node:http2")}catch{ov={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:l4e,HTTP2_HEADER_METHOD:u4e,HTTP2_HEADER_PATH:d4e,HTTP2_HEADER_SCHEME:f4e,HTTP2_HEADER_CONTENT_LENGTH:h4e,HTTP2_HEADER_EXPECT:p4e,HTTP2_HEADER_STATUS:A4e}}=ov;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 g4e(t,e){t[qn]=e,pre||(pre=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=ov.connect(t[sv],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[gre]});r[bu]=0,r[Nm]=t,r[qn]=e,pt.addListener(r,"error",E4e),pt.addListener(r,"frameError",C4e),pt.addListener(r,"end",b4e),pt.addListener(r,"goaway",w4e),pt.addListener(r,"close",function(){let{[Nm]:i}=this,{[qn]:s}=i,a=this[qn][Fa]||this[Fa]||new Ab("closed",pt.getSocketInfo(s));if(i[La]=null,i.destroyed){Po(i[s4e]===0);let c=i[Od].splice(i[Oa]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return S4e(t,...i)},resume(){y4e(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(g4e,"connectH2");function y4e(t){let e=t[qn];e?.destroyed===!1&&(t[a4e]===0&&t[gre]===0?(e.unref(),t[La].unref()):(e.ref(),t[La].ref()))}o(y4e,"resumeH2");function E4e(t){Po(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qn][Fa]=t,this[Nm][PF](t)}o(E4e,"onHttp2SessionError");function C4e(t,e,r){if(r===0){let n=new QF(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qn][Fa]=n,this[Nm][PF](n)}}o(C4e,"onHttp2FrameError");function b4e(){let t=new Ab("other side closed",pt.getSocketInfo(this[qn]));this.destroy(t),pt.destroy(this[qn],t)}o(b4e,"onHttp2SessionEnd");function w4e(t){let e=this[Fa]||new Ab(`HTTP/2: "GOAWAY" frame received with code ${t}`,pt.getSocketInfo(this)),r=this[Nm];if(r[qn]=null,r[c4e]=null,this[La]!=null&&(this[La].destroy(e),this[La]=null),pt.destroy(this[qn],e),r[Oa]{e.aborted||e.completed||(B=B||new fre,pt.errorRequest(t,e,B),h!=null&&pt.destroy(h,B),pt.destroy(d,B),t[Od][t[Oa]++]=null,t[Ld]())},"abort");try{e.onConnect(g)}catch(B){pt.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[bu],t[Od][t[Oa]++]=null):h.once("ready",()=>{e.onUpgrade(null,null,h),++r[bu],t[Od][t[Oa]++]=null}),h.once("close",()=>{r[bu]-=1,r[bu]===0&&r.unref()}),!0;f[d4e]=i,f[f4e]="https";let E=n==="PUT"||n==="POST"||n==="PATCH";d&&typeof d.read=="function"&&d.read(0);let y=pt.bodyLength(d);if(pt.isFormDataLike(d)){hre??=Sm().extractBody;let[B,Q]=hre(d);f["content-type"]=Q,d=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!E)&&(y=null),I4e(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[o4e])return pt.errorRequest(t,e,new DF),!1;process.emitWarning(new DF)}y!=null&&(Po(d,"no body must not have content length"),f[h4e]=`${y}`),r.ref();let C=n==="GET"||n==="HEAD"||d===null;return c?(f[p4e]="100-continue",h=r.request(f,{endStream:C,signal:l}),h.once("continue",w)):(h=r.request(f,{endStream:C,signal:l}),w()),++r[bu],h.once("response",B=>{let{[A4e]:Q,...M}=B;if(e.onResponseStarted(),e.aborted){let v=new fre;pt.errorRequest(t,e,v),pt.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[bu]===0&&r.unref(),g(new QF("HTTP/2: stream half-closed (remote)")),t[Od][t[Oa]++]=null,t[kF]=t[Oa],t[Ld]()}),h.once("close",()=>{r[bu]-=1,r[bu]===0&&r.unref()}),h.once("error",function(B){g(B)}),h.once("frameError",(B,Q)=>{g(new QF(`HTTP/2: "frameError" received - type ${B}, code ${Q}`))}),!0;function w(){!d||y===0?Are(g,h,null,t,e,t[qn],y,E):pt.isBuffer(d)?Are(g,h,d,t,e,t[qn],y,E):pt.isBlobLike(d)?typeof d.stream=="function"?mre(g,h,d.stream(),t,e,t[qn],y,E):x4e(g,h,d,t,e,t[qn],y,E):pt.isStream(d)?B4e(g,t[qn],E,h,d,t,e,y):pt.isIterable(d)?mre(g,h,d,t,e,t[qn],y,E):Po(!1)}o(w,"writeBodyH2")}o(S4e,"writeH2");function Are(t,e,r,n,i,s,a,c){try{r!=null&&pt.isBuffer(r)&&(Po(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[av]=!0),i.onRequestSent(),n[Ld]()}catch(l){t(l)}}o(Are,"writeBuffer");function B4e(t,e,r,n,i,s,a,c){Po(c!==0||s[cv]===0,"stream body cannot be pipelined");let l=i4e(i,n,d=>{d?(pt.destroy(l,d),t(d)):(pt.removeAllListeners(l),a.onRequestSent(),r||(e[av]=!0),s[Ld]())});pt.addListener(l,"data",u);function u(d){a.onBodySent(d)}o(u,"onPipeData")}o(B4e,"writeStream");async function x4e(t,e,r,n,i,s,a,c){Po(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new DF;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[av]=!0),n[Ld]()}catch(l){t(l)}}o(x4e,"writeBlob");async function mre(t,e,r,n,i,s,a,c){Po(a!==0||n[cv]===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)=>{Po(l===null),s[Fa]?h(s[Fa]):l=f}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let f of r){if(s[Fa])throw s[Fa];let h=e.write(f);i.onBodySent(f),h||await d()}e.end(),i.onRequestSent(),c||(s[av]=!0),n[Ld]()}catch(f){t(f)}finally{e.off("close",u).off("drain",u)}}o(mre,"writeIterable");yre.exports=g4e});var uv=A((dVt,wre)=>{"use strict";var _c=ot(),{kBodyUsed:mb}=Ar(),LF=require("node:assert"),{InvalidArgumentError:v4e}=_t(),N4e=require("node:events"),_4e=[300,301,302,303,307,308],Cre=Symbol("body"),lv=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Cre]=e,this[mb]=!1}async*[Symbol.asyncIterator](){LF(!this[mb],"disturbed"),this[mb]=!0,yield*this[Cre]}},OF=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new v4e("maxRedirections must be a positive number");_c.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,_c.isStream(this.opts.body)?(_c.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){LF(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[mb]=!1,N4e.prototype.on.call(this.opts.body,"data",function(){this[mb]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new lv(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&_c.isIterable(this.opts.body)&&(this.opts.body=new lv(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||_c.isDisturbed(this.opts.body)?null:R4e(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}=_c.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=T4e(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 R4e(t,e){if(_4e.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var D4e=uv();function Q4e({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new D4e(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(Q4e,"createRedirectInterceptor");Ire.exports=Q4e});var Tm=A((AVt,Qre)=>{"use strict";var wu=require("node:assert"),_re=require("node:net"),k4e=require("node:http"),Ph=ot(),{channels:_m}=dm(),P4e=Qee(),O4e=Am(),{InvalidArgumentError:Wr,InformationalError:L4e,ClientDestroyedError:F4e}=_t(),M4e=nb(),{kUrl:Rc,kServerName:Fd,kClient:U4e,kBusy:FF,kConnect:q4e,kResuming:Oh,kRunning:bb,kPending:wb,kSize:Cb,kQueue:Ma,kConnected:G4e,kConnecting:Rm,kNeedDrain:Ud,kKeepAliveDefaultTimeout:Sre,kHostHeader:H4e,kPendingIdx:Ua,kRunningIdx:Iu,kError:V4e,kPipelining:fv,kKeepAliveTimeoutValue:z4e,kMaxHeadersSize:j4e,kKeepAliveMaxTimeout:$4e,kKeepAliveTimeoutThreshold:J4e,kHeadersTimeout:W4e,kBodyTimeout:Y4e,kStrictContentLength:K4e,kConnector:gb,kMaxRedirections:X4e,kMaxRequests:MF,kCounter:Z4e,kClose:e5e,kDestroy:t5e,kDispatch:r5e,kInterceptors:Bre,kLocalAddress:yb,kMaxResponseSize:n5e,kOnError:i5e,kHTTPContext:Yr,kMaxConcurrentStreams:s5e,kResume:Eb}=Ar(),o5e=dre(),a5e=Ere(),xre=!1,Md=Symbol("kClosedResolve"),vre=o(()=>{},"noop");function Rre(t){return t[fv]??t[Yr]?.defaultPipelining??1}o(Rre,"getPipelining");var UF=class extends O4e{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:m,socketPath:g,pipelining:E,tls:y,strictContentLength:C,maxCachedSessions:w,maxRedirections:B,connect:Q,maxRequestsPerClient:M,localAddress:v,maxResponseSize:j,autoSelectFamily:T,autoSelectFamilyAttemptTimeout:G,maxConcurrentStreams:V,allowH2:W,webSocket:ee}={}){if(super({webSocket:ee}),d!==void 0)throw new Wr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Wr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Wr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new Wr("unsupported idleTimeout, use keepAliveTimeout instead");if(h!==void 0)throw new Wr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Wr("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new Wr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Wr("invalid connectTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Wr("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new Wr("invalid keepAliveMaxTimeout");if(m!=null&&!Number.isFinite(m))throw new Wr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Wr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Wr("bodyTimeout must be a positive integer or zero");if(Q!=null&&typeof Q!="function"&&typeof Q!="object")throw new Wr("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new Wr("maxRedirections must be a positive number");if(M!=null&&(!Number.isInteger(M)||M<0))throw new Wr("maxRequestsPerClient must be a positive number");if(v!=null&&(typeof v!="string"||_re.isIP(v)===0))throw new Wr("localAddress must be valid string IP address");if(j!=null&&(!Number.isInteger(j)||j<-1))throw new Wr("maxResponseSize must be a positive number");if(G!=null&&(!Number.isInteger(G)||G<-1))throw new Wr("autoSelectFamilyAttemptTimeout must be a positive number");if(W!=null&&typeof W!="boolean")throw new Wr("allowH2 must be a valid boolean value");if(V!=null&&(typeof V!="number"||V<1))throw new Wr("maxConcurrentStreams must be a positive integer, greater than 0");typeof Q!="function"&&(Q=M4e({...y,maxCachedSessions:w,allowH2:W,socketPath:g,timeout:c,...T?{autoSelectFamily:T,autoSelectFamilyAttemptTimeout:G}:void 0,...Q})),r?.Client&&Array.isArray(r.Client)?(this[Bre]=r.Client,xre||(xre=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[Bre]=[c5e({maxRedirections:B})],this[Rc]=Ph.parseOrigin(e),this[gb]=Q,this[fv]=E??1,this[j4e]=n||k4e.maxHeaderSize,this[Sre]=f??4e3,this[$4e]=p??6e5,this[J4e]=m??2e3,this[z4e]=this[Sre],this[Fd]=null,this[yb]=v??null,this[Oh]=0,this[Ud]=0,this[H4e]=`host: ${this[Rc].hostname}${this[Rc].port?`:${this[Rc].port}`:""}\r -`,this[Y4e]=l??3e5,this[W4e]=i??3e5,this[K4e]=C??!0,this[X4e]=B,this[MF]=M,this[Md]=null,this[n5e]=j>-1?j:-1,this[s5e]=V??100,this[Yr]=null,this[Ma]=[],this[Iu]=0,this[Ua]=0,this[Eb]=ae=>qF(this,ae),this[i5e]=ae=>Tre(this,ae)}get pipelining(){return this[fv]}set pipelining(e){this[fv]=e,this[Eb](!0)}get[wb](){return this[Ma].length-this[Ua]}get[bb](){return this[Ua]-this[Iu]}get[Cb](){return this[Ma].length-this[Iu]}get[G4e](){return!!this[Yr]&&!this[Rm]&&!this[Yr].destroyed}get[FF](){return!!(this[Yr]?.busy(null)||this[Cb]>=(Rre(this)||1)||this[wb]>0)}[q4e](e){Dre(this),this.once("connect",e)}[r5e](e,r){let n=e.origin||this[Rc].origin,i=new P4e(n,e,r);return this[Ma].push(i),this[Oh]||(Ph.bodyLength(i.body)==null&&Ph.isIterable(i.body)?(this[Oh]=1,queueMicrotask(()=>qF(this))):this[Eb](!0)),this[Oh]&&this[Ud]!==2&&this[FF]&&(this[Ud]=2),this[Ud]<2}async[e5e](){return new Promise(e=>{this[Cb]?this[Md]=e:e(null)})}async[t5e](e){return new Promise(r=>{let n=this[Ma].splice(this[Ua]);for(let s=0;s{this[Md]&&(this[Md](),this[Md]=null),r(null)},"callback");this[Yr]?(this[Yr].destroy(e,i),this[Yr]=null):queueMicrotask(i),this[Eb]()})}},c5e=dv();function Tre(t,e){if(t[bb]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){wu(t[Ua]===t[Iu]);let r=t[Ma].splice(t[Iu]);for(let n=0;n{t[gb]({host:e,hostname:r,protocol:n,port:i,servername:t[Fd],localAddress:t[yb]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Ph.destroy(s.on("error",vre),new F4e);return}wu(s);try{t[Yr]=s.alpnProtocol==="h2"?await a5e(t,s):await o5e(t,s)}catch(a){throw s.destroy().on("error",vre),a}t[Rm]=!1,s[Z4e]=0,s[MF]=t[MF],s[U4e]=t,s[V4e]=null,_m.connected.hasSubscribers&&_m.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Yr]?.version,servername:t[Fd],localAddress:t[yb]},connector:t[gb],socket:s}),t.emit("connect",t[Rc],[t])}catch(s){if(t.destroyed)return;if(t[Rm]=!1,_m.connectError.hasSubscribers&&_m.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Yr]?.version,servername:t[Fd],localAddress:t[yb]},connector:t[gb],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(wu(t[bb]===0);t[wb]>0&&t[Ma][t[Ua]].servername===t[Fd];){let a=t[Ma][t[Ua]++];Ph.errorRequest(t,a,s)}else Tre(t,s);t.emit("connectionError",t[Rc],[t],s)}t[Eb]()}o(Dre,"connect");function Nre(t){t[Ud]=0,t.emit("drain",t[Rc],[t])}o(Nre,"emitDrain");function qF(t,e){t[Oh]!==2&&(t[Oh]=2,l5e(t,e),t[Oh]=0,t[Iu]>256&&(t[Ma].splice(0,t[Iu]),t[Ua]-=t[Iu],t[Iu]=0))}o(qF,"resume");function l5e(t,e){for(;;){if(t.destroyed){wu(t[wb]===0);return}if(t[Md]&&!t[Cb]){t[Md](),t[Md]=null;return}if(t[Yr]&&t[Yr].resume(),t[FF])t[Ud]=2;else if(t[Ud]===2){e?(t[Ud]=1,queueMicrotask(()=>Nre(t))):Nre(t);continue}if(t[wb]===0||t[bb]>=(Rre(t)||1))return;let r=t[Ma][t[Ua]];if(t[Rc].protocol==="https:"&&t[Fd]!==r.servername){if(t[bb]>0)return;t[Fd]=r.servername,t[Yr]?.destroy(new L4e("servername changed"),()=>{t[Yr]=null,qF(t)})}if(t[Rm])return;if(!t[Yr]){Dre(t);return}if(t[Yr].destroyed||t[Yr].busy(r))return;!r.aborted&&t[Yr].write(r)?t[Ua]++:t[Ma].splice(t[Ua],1)}}o(l5e,"_resume");Qre.exports=UF});var GF=A((yVt,kre)=>{"use strict";var hv=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)}};kre.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new hv}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new hv),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var Ore=A((CVt,Pre)=>{var{kFree:u5e,kConnected:d5e,kPending:f5e,kQueued:h5e,kRunning:p5e,kSize:A5e}=Ar(),Lh=Symbol("pool"),HF=class{static{o(this,"PoolStats")}constructor(e){this[Lh]=e}get connected(){return this[Lh][d5e]}get free(){return this[Lh][u5e]}get pending(){return this[Lh][f5e]}get queued(){return this[Lh][h5e]}get running(){return this[Lh][p5e]}get size(){return this[Lh][A5e]}};Pre.exports=HF});var WF=A((wVt,jre)=>{"use strict";var m5e=Am(),g5e=GF(),{kConnected:VF,kSize:Lre,kRunning:Fre,kPending:Mre,kQueued:Ib,kBusy:y5e,kFree:E5e,kUrl:C5e,kClose:b5e,kDestroy:w5e,kDispatch:I5e}=Ar(),S5e=Ore(),ys=Symbol("clients"),Gi=Symbol("needDrain"),Sb=Symbol("queue"),zF=Symbol("closed resolve"),jF=Symbol("onDrain"),Ure=Symbol("onConnect"),qre=Symbol("onDisconnect"),Gre=Symbol("onConnectionError"),$F=Symbol("get dispatcher"),Vre=Symbol("add client"),zre=Symbol("remove client"),Hre=Symbol("stats"),JF=class extends m5e{static{o(this,"PoolBase")}constructor(e){super(e),this[Sb]=new g5e,this[ys]=[],this[Ib]=0;let r=this;this[jF]=o(function(i,s){let a=r[Sb],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[zF]&&a.isEmpty()&&Promise.all(r[ys].map(l=>l.close())).then(r[zF])},"onDrain"),this[Ure]=(n,i)=>{r.emit("connect",n,[r,...i])},this[qre]=(n,i,s)=>{r.emit("disconnect",n,[r,...i],s)},this[Gre]=(n,i,s)=>{r.emit("connectionError",n,[r,...i],s)},this[Hre]=new S5e(this)}get[y5e](){return this[Gi]}get[VF](){return this[ys].filter(e=>e[VF]).length}get[E5e](){return this[ys].filter(e=>e[VF]&&!e[Gi]).length}get[Mre](){let e=this[Ib];for(let{[Mre]:r}of this[ys])e+=r;return e}get[Fre](){let e=0;for(let{[Fre]:r}of this[ys])e+=r;return e}get[Lre](){let e=this[Ib];for(let{[Lre]:r}of this[ys])e+=r;return e}get stats(){return this[Hre]}async[b5e](){this[Sb].isEmpty()?await Promise.all(this[ys].map(e=>e.close())):await new Promise(e=>{this[zF]=e})}async[w5e](e){for(;;){let r=this[Sb].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ys].map(r=>r.destroy(e)))}[I5e](e,r){let n=this[$F]();return n?n.dispatch(e,r)||(n[Gi]=!0,this[Gi]=!this[$F]()):(this[Gi]=!0,this[Sb].push({opts:e,handler:r}),this[Ib]++),!this[Gi]}[Vre](e){return e.on("drain",this[jF]).on("connect",this[Ure]).on("disconnect",this[qre]).on("connectionError",this[Gre]),this[ys].push(e),this[Gi]&&queueMicrotask(()=>{this[Gi]&&this[jF](e[C5e],[this,e])}),this}[zre](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)}};jre.exports={PoolBase:JF,kClients:ys,kNeedDrain:Gi,kAddClient:Vre,kRemoveClient:zre,kGetDispatcher:$F}});var Dm=A((SVt,Yre)=>{"use strict";var{PoolBase:B5e,kClients:pv,kNeedDrain:x5e,kAddClient:v5e,kGetDispatcher:N5e}=WF(),_5e=Tm(),{InvalidArgumentError:YF}=_t(),$re=ot(),{kUrl:Jre,kInterceptors:R5e}=Ar(),T5e=nb(),KF=Symbol("options"),XF=Symbol("connections"),Wre=Symbol("factory");function D5e(t,e){return new _5e(t,e)}o(D5e,"defaultFactory");var ZF=class extends B5e{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=D5e,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 YF("invalid connections");if(typeof n!="function")throw new YF("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new YF("connect must be a function or an object");typeof i!="function"&&(i=T5e({...a,maxCachedSessions:c,allowH2:f,socketPath:l,timeout:s,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:d}:void 0,...i})),super(h),this[R5e]=h.interceptors?.Pool&&Array.isArray(h.interceptors.Pool)?h.interceptors.Pool:[],this[XF]=r||null,this[Jre]=$re.parseOrigin(e),this[KF]={...$re.deepClone(h),connect:i,allowH2:f},this[KF].interceptors=h.interceptors?{...h.interceptors}:void 0,this[Wre]=n,this.on("connectionError",(p,m,g)=>{for(let E of m){let y=this[pv].indexOf(E);y!==-1&&this[pv].splice(y,1)}})}[N5e](){for(let e of this[pv])if(!e[x5e])return e;if(!this[XF]||this[pv].length{"use strict";var{BalancedPoolMissingUpstreamError:Q5e,InvalidArgumentError:k5e}=_t(),{PoolBase:P5e,kClients:wi,kNeedDrain:Bb,kAddClient:O5e,kRemoveClient:L5e,kGetDispatcher:F5e}=WF(),M5e=Dm(),{kUrl:eM,kInterceptors:U5e}=Ar(),{parseOrigin:Kre}=ot(),Xre=Symbol("factory"),Av=Symbol("options"),Zre=Symbol("kGreatestCommonDivisor"),Fh=Symbol("kCurrentWeight"),Mh=Symbol("kIndex"),Oo=Symbol("kWeight"),mv=Symbol("kMaxWeightPerServer"),gv=Symbol("kErrorPenalty");function q5e(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(q5e,"getGreatestCommonDivisor");function G5e(t,e){return new M5e(t,e)}o(G5e,"defaultFactory");var tM=class extends P5e{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=G5e,...n}={}){if(super(),this[Av]=n,this[Mh]=-1,this[Fh]=0,this[mv]=this[Av].maxWeightPerServer||100,this[gv]=this[Av].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new k5e("factory must be a function.");this[U5e]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Xre]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=Kre(e).origin;if(this[wi].find(i=>i[eM].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Xre](r,Object.assign({},this[Av]));this[O5e](n),n.on("connect",()=>{n[Oo]=Math.min(this[mv],n[Oo]+this[gv])}),n.on("connectionError",()=>{n[Oo]=Math.max(1,n[Oo]-this[gv]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[Oo]=Math.max(1,n[Oo]-this[gv]),this._updateBalancedPoolStats())});for(let i of this[wi])i[Oo]=this[mv];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[eM].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[L5e](n),this}get upstreams(){return this[wi].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[eM].origin)}[F5e](){if(this[wi].length===0)throw new Q5e;if(!this[wi].find(s=>!s[Bb]&&s.closed!==!0&&s.destroyed!==!0)||this[wi].map(s=>s[Bb]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[wi].findIndex(s=>!s[Bb]);for(;n++this[wi][i][Oo]&&!s[Bb]&&(i=this[Mh]),this[Mh]===0&&(this[Fh]=this[Fh]-this[Zre],this[Fh]<=0&&(this[Fh]=this[mv])),s[Oo]>=this[Fh]&&!s[Bb])return s}return this[Fh]=this[wi][i][Oo],this[Mh]=i,this[wi][i]}};ene.exports=tM});var Qm=A((NVt,cne)=>{"use strict";var{InvalidArgumentError:yv}=_t(),{kClients:qd,kRunning:rne,kClose:H5e,kDestroy:V5e,kDispatch:z5e,kInterceptors:j5e}=Ar(),$5e=Am(),J5e=Dm(),W5e=Tm(),Y5e=ot(),K5e=dv(),nne=Symbol("onConnect"),ine=Symbol("onDisconnect"),sne=Symbol("onConnectionError"),X5e=Symbol("maxRedirections"),one=Symbol("onDrain"),ane=Symbol("factory"),rM=Symbol("options");function Z5e(t,e){return e&&e.connections===1?new W5e(t,e):new J5e(t,e)}o(Z5e,"defaultFactory");var nM=class extends $5e{static{o(this,"Agent")}constructor({factory:e=Z5e,maxRedirections:r=0,connect:n,...i}={}){if(typeof e!="function")throw new yv("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new yv("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new yv("maxRedirections must be a positive number");super(i),n&&typeof n!="function"&&(n={...n}),this[j5e]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[K5e({maxRedirections:r})],this[rM]={...Y5e.deepClone(i),connect:n},this[rM].interceptors=i.interceptors?{...i.interceptors}:void 0,this[X5e]=r,this[ane]=e,this[qd]=new Map,this[one]=(s,a)=>{this.emit("drain",s,[this,...a])},this[nne]=(s,a)=>{this.emit("connect",s,[this,...a])},this[ine]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[sne]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[rne](){let e=0;for(let r of this[qd].values())e+=r[rne];return e}[z5e](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new yv("opts.origin must be a non-empty string or URL.");let i=this[qd].get(n);return i||(i=this[ane](e.origin,this[rM]).on("drain",this[one]).on("connect",this[nne]).on("disconnect",this[ine]).on("connectionError",this[sne]),this[qd].set(n,i)),i.dispatch(e,r)}async[H5e](){let e=[];for(let r of this[qd].values())e.push(r.close());this[qd].clear(),await Promise.all(e)}async[V5e](e){let r=[];for(let n of this[qd].values())r.push(n.destroy(e));this[qd].clear(),await Promise.all(r)}};cne.exports=nM});var cM=A((RVt,Ene)=>{"use strict";var{kProxy:iM,kClose:pne,kDestroy:Ane,kDispatch:lne,kInterceptors:eVe}=Ar(),{URL:Uh}=require("node:url"),tVe=Qm(),mne=Dm(),gne=Am(),{InvalidArgumentError:km,RequestAbortedError:rVe,SecureProxyConnectionError:nVe}=_t(),une=nb(),yne=Tm(),Ev=Symbol("proxy agent"),Cv=Symbol("proxy client"),Gd=Symbol("proxy headers"),sM=Symbol("request tls settings"),dne=Symbol("proxy tls settings"),fne=Symbol("connect endpoint function"),hne=Symbol("tunnel proxy");function iVe(t){return t==="https:"?443:80}o(iVe,"defaultProtocolPort");function sVe(t,e){return new mne(t,e)}o(sVe,"defaultFactory");var oVe=o(()=>{},"noop");function aVe(t,e){return e.connections===1?new yne(t,e):new mne(t,e)}o(aVe,"defaultAgentFactory");var oM=class extends gne{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new km("Proxy URL is mandatory");this[Gd]=r,i?this.#e=i(e,{connect:n}):this.#e=new yne(e,{connect:n})}[lne](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new km("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 Uh(i);a.host=c}return e.headers={...this[Gd],...a},this.#e[lne](e,r)}async[pne](){return this.#e.close()}async[Ane](e){return this.#e.destroy(e)}},aM=class extends gne{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Uh)&&!e.uri)throw new km("Proxy uri is mandatory");let{clientFactory:r=sVe}=e;if(typeof r!="function")throw new km("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[iM]={uri:s,protocol:l},this[eVe]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[sM]=e.requestTls,this[dne]=e.proxyTls,this[Gd]=e.headers||{},this[hne]=n,e.auth&&e.token)throw new km("opts.auth cannot be used in combination with opts.token");e.auth?this[Gd]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Gd]["proxy-authorization"]=e.token:u&&d&&(this[Gd]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(d)}`).toString("base64")}`);let h=une({...e.proxyTls});this[fne]=une({...e.requestTls});let p=e.factory||aVe,m=o((g,E)=>{let{protocol:y}=new Uh(g);return!this[hne]&&y==="http:"&&this[iM].protocol==="http:"?new oM(this[iM].uri,{headers:this[Gd],connect:h,factory:p}):p(g,E)},"factory");this[Cv]=r(i,{connect:h}),this[Ev]=new tVe({...e,factory:m,connect:o(async(g,E)=>{let y=g.host;g.port||(y+=`:${iVe(g.protocol)}`);try{let{socket:C,statusCode:w}=await this[Cv].connect({origin:a,port:c,path:y,signal:g.signal,headers:{...this[Gd],host:g.host},servername:this[dne]?.servername||f});if(w!==200&&(C.on("error",oVe).destroy(),E(new rVe(`Proxy response (${w}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){E(null,C);return}let B;this[sM]?B=this[sM].servername:B=g.servername,this[fne]({...g,servername:B,httpSocket:C},E)}catch(C){C.code==="ERR_TLS_CERT_ALTNAME_INVALID"?E(new nVe(C)):E(C)}},"connect")})}dispatch(e,r){let n=cVe(e.headers);if(lVe(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new Uh(e.origin);n.host=i}return this[Ev].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Uh(e):e instanceof Uh?e:new Uh(e.uri)}async[pne](){await this[Ev].close(),await this[Cv].close()}async[Ane](){await this[Ev].destroy(),await this[Cv].destroy()}};function cVe(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new km("Proxy-Authorization should be sent in ProxyAgent constructor")}o(lVe,"throwIfProxyAuthIsSent");Ene.exports=aM});var Bne=A((DVt,Sne)=>{"use strict";var uVe=Am(),{kClose:dVe,kDestroy:fVe,kClosed:Cne,kDestroyed:bne,kDispatch:hVe,kNoProxyAgent:xb,kHttpProxyAgent:Hd,kHttpsProxyAgent:qh}=Ar(),wne=cM(),pVe=Qm(),AVe={"http:":80,"https:":443},Ine=!1,lM=class extends uVe{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,Ine||(Ine=!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[xb]=new pVe(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Hd]=new wne({...s,uri:a}):this[Hd]=this[xb];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[qh]=new wne({...s,uri:c}):this[qh]=this[Hd],this.#s()}[hVe](e,r){let n=new URL(e.origin);return this.#r(n).dispatch(e,r)}async[dVe](){await this[xb].close(),this[Hd][Cne]||await this[Hd].close(),this[qh][Cne]||await this[qh].close()}async[fVe](e){await this[xb].destroy(e),this[Hd][bne]||await this[Hd].destroy(e),this[qh][bne]||await this[qh].destroy(e)}#r(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||AVe[r]||0,this.#i(n,i)?r==="https:"?this[qh]:this[Hd]:this[xb]}#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 Pm=require("node:assert"),{kRetryHandlerDefaultRetry:xne}=Ar(),{RequestRetryError:Om}=_t(),{isDisturbed:vne,parseHeaders:mVe,parseRangeHeader:Nne,wrapRequestBody:gVe}=ot();function yVe(t){let e=Date.now();return new Date(t).getTime()-e}o(yVe,"calculateRetryAfterHeader");function _ne(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 Om("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(_ne,"validatePartialResponseContentLength");var uM=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:gVe(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[xne],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(m=>{this.aborted=!0,this.abort?this.abort(m):this.reason=m})}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[xne](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:m,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(m)&&!m.includes(s)){i(e);return}if(y>d){i(e);return}let C=c?.["retry-after"];C&&(C=Number(C),C=Number.isNaN(C)?yVe(C):C*1e3);let w=C>0?Math.min(C,h):Math.min(f*p**(y-1),h);setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=mVe(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new Om("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 Om("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=Nne(s["content-range"]);if(!c)return this.abort(new Om("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Om("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let l=_ne(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;return Pm(this.start===u,"content-range mismatch"),Pm(this.end==null||this.end===f,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=Nne(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let l=_ne(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;Pm(u!=null&&Number.isFinite(u),"content-range mismatch"),Pm(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 Pm(Number.isFinite(this.start)),Pm(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 Om("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||vne(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||vne(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")}};Rne.exports=uM});var Dne=A((OVt,Tne)=>{"use strict";var EVe=tb(),CVe=bv(),dM=class extends EVe{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 CVe({...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()}};Tne.exports=dM});var gM=A((FVt,qne)=>{"use strict";var Lne=require("node:assert"),{Readable:bVe}=require("node:stream"),{RequestAbortedError:Fne,NotSupportedError:wVe,InvalidArgumentError:IVe,AbortError:fM}=_t(),Mne=ot(),{ReadableStreamFrom:SVe}=ot(),$s=Symbol("kConsume"),vb=Symbol("kReading"),Vd=Symbol("kBody"),Qne=Symbol("kAbort"),Une=Symbol("kContentType"),kne=Symbol("kContentLength"),BVe=o(()=>{},"noop"),hM=class extends bVe{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[Qne]=r,this[$s]=null,this[Vd]=null,this[Une]=n,this[kne]=i,this[vb]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new Fne),e&&this[Qne](),super.destroy(e)}_destroy(e,r){this[vb]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[vb]=!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[vb]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[$s]&&e!==null?(AM(this[$s],e),this[vb]?super.push(e):!0):super.push(e)}async text(){return Nb(this,"text")}async json(){return Nb(this,"json")}async blob(){return Nb(this,"blob")}async bytes(){return Nb(this,"bytes")}async arrayBuffer(){return Nb(this,"arrayBuffer")}async formData(){throw new wVe}get bodyUsed(){return Mne.isDisturbed(this)}get body(){return this[Vd]||(this[Vd]=SVe(this),this[$s]&&(this[Vd].getReader(),Lne(this[Vd].locked))),this[Vd]}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 IVe("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[kne]>r&&this.destroy(new fM);let a=o(()=>{this.destroy(n.reason??new fM)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new fM):i(null)}).on("error",BVe).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function xVe(t){return t[Vd]&&t[Vd].locked===!0||t[$s]}o(xVe,"isLocked");function vVe(t){return Mne.isDisturbed(t)||xVe(t)}o(vVe,"isUnusable");async function Nb(t,e){return Lne(!t[$s]),new Promise((r,n)=>{if(vVe(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[$s]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){mM(this[$s],i)}).on("close",function(){this[$s].body!==null&&mM(this[$s],new Fne)}),NVe(t[$s])})})}o(Nb,"consume");function NVe(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(pM,"chunksDecode");function Pne(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 _Ve=require("node:assert"),{ResponseStatusCodeError:Gne}=_t(),{chunksDecode:Hne}=gM(),RVe=128*1024;async function TVe({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){_Ve(e);let a=[],c=0;try{for await(let f of e)if(a.push(f),c+=f.length,c>RVe){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new Gne(l,n,s)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let d;try{Vne(r)?d=JSON.parse(Hne(a,c)):zne(r)&&(d=Hne(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new Gne(l,n,s,d)))}o(TVe,"getResolveErrorBodyCallback");var Vne=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"),zne=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");jne.exports={getResolveErrorBodyCallback:TVe,isContentTypeApplicationJson:Vne,isContentTypeText:zne}});var Wne=A((GVt,EM)=>{"use strict";var DVe=require("node:assert"),{Readable:QVe}=gM(),{InvalidArgumentError:Lm,RequestAbortedError:$ne}=_t(),Js=ot(),{getResolveErrorBodyCallback:kVe}=yM(),{AsyncResource:PVe}=require("node:async_hooks"),wv=class extends PVe{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Lm("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 Lm("invalid callback");if(d&&(typeof d!="number"||d<0))throw new Lm("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Lm("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Lm("invalid method");if(c&&typeof c!="function")throw new Lm("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 $ne:this.removeAbortListener=Js.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new $ne,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}DVe(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"],m=h["content-length"],g=new QVe({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&m?Number(m):null,highWaterMark:d});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(kVe,null,{callback:s,body:g,contentType:p,statusCode:e,statusMessage:i,headers:f}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:f,trailers:this.trailers,opaque:a,body:g,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 Jne(t,e){if(e===void 0)return new Promise((r,n)=>{Jne.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new wv(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Jne,"request");EM.exports=Jne;EM.exports.RequestHandler=wv});var _b=A((VVt,Xne)=>{var{addAbortListener:OVe}=ot(),{RequestAbortedError:LVe}=_t(),Fm=Symbol("kListener"),Tc=Symbol("kSignal");function Yne(t){t.abort?t.abort(t[Tc]?.reason):t.reason=t[Tc]?.reason??new LVe,Kne(t)}o(Yne,"abort");function FVe(t,e){if(t.reason=null,t[Tc]=null,t[Fm]=null,!!e){if(e.aborted){Yne(t);return}t[Tc]=e,t[Fm]=()=>{Yne(t)},OVe(t[Tc],t[Fm])}}o(FVe,"addSignal");function Kne(t){t[Tc]&&("removeEventListener"in t[Tc]?t[Tc].removeEventListener("abort",t[Fm]):t[Tc].removeListener("abort",t[Fm]),t[Tc]=null,t[Fm]=null)}o(Kne,"removeSignal");Xne.exports={addSignal:FVe,removeSignal:Kne}});var rie=A((jVt,tie)=>{"use strict";var MVe=require("node:assert"),{finished:UVe,PassThrough:qVe}=require("node:stream"),{InvalidArgumentError:Mm,InvalidReturnValueError:GVe}=_t(),qa=ot(),{getResolveErrorBodyCallback:HVe}=yM(),{AsyncResource:VVe}=require("node:async_hooks"),{addSignal:zVe,removeSignal:Zne}=_b(),CM=class extends VVe{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Mm("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 Mm("invalid callback");if(typeof r!="function")throw new Mm("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Mm("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Mm("invalid method");if(l&&typeof l!="function")throw new Mm("invalid onInfo callback");super("UNDICI_STREAM")}catch(f){throw qa.isStream(c)&&qa.destroy(c.on("error",qa.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,qa.isStream(c)&&c.on("error",f=>{this.onError(f)}),zVe(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}MVe(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"?qa.parseRawHeaders(r):qa.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 m=(u==="raw"?qa.parseHeaders(r):d)["content-type"];f=new qVe,this.callback=null,this.runInAsyncScope(HVe,null,{callback:l,body:f,contentType:m,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 GVe("expected Writable");UVe(f,{readable:!1},p=>{let{callback:m,res:g,opaque:E,trailers:y,abort:C}=this;this.res=null,(p||!g.readable)&&qa.destroy(g,p),this.callback=null,this.runInAsyncScope(m,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;Zne(this),r&&(this.trailers=qa.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;Zne(this),this.factory=null,r?(this.res=null,qa.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,qa.destroy(s,e))}};function eie(t,e,r){if(r===void 0)return new Promise((n,i)=>{eie.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new CM(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(eie,"stream");tie.exports=eie});var oie=A((JVt,sie)=>{"use strict";var{Readable:iie,Duplex:jVe,PassThrough:$Ve}=require("node:stream"),{InvalidArgumentError:Rb,InvalidReturnValueError:JVe,RequestAbortedError:bM}=_t(),Lo=ot(),{AsyncResource:WVe}=require("node:async_hooks"),{addSignal:YVe,removeSignal:KVe}=_b(),nie=require("node:assert"),Um=Symbol("resume"),wM=class extends iie{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Um]=null}_read(){let{[Um]:e}=this;e&&(this[Um]=null,e())}_destroy(e,r){this._read(),r(e)}},IM=class extends iie{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Um]=e}_read(){this[Um]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new bM),r(e)}},SM=class extends WVe{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Rb("invalid opts");if(typeof r!="function")throw new Rb("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 Rb("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Rb("invalid method");if(a&&typeof a!="function")throw new Rb("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 wM().on("error",Lo.nop),this.ret=new jVe({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[Um]=d},"write"),destroy:o((l,u)=>{let{body:d,req:f,res:h,ret:p,abort:m}=this;!l&&!p._readableState.endEmitted&&(l=new bM),m&&l&&m(),Lo.destroy(d,l),Lo.destroy(f,l),Lo.destroy(h,l),KVe(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,YVe(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}nie(!i,"pipeline cannot be retried"),nie(!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"?Lo.parseRawHeaders(r):Lo.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new IM(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Lo.parseRawHeaders(r):Lo.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",Lo.nop),l}if(!c||typeof c.on!="function")throw new JVe("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;Lo.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Lo.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,Lo.destroy(r,e)}};function XVe(t,e){try{let r=new SM(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new $Ve().destroy(r)}}o(XVe,"pipeline");sie.exports=XVe});var fie=A((YVt,die)=>{"use strict";var{InvalidArgumentError:BM,SocketError:ZVe}=_t(),{AsyncResource:eze}=require("node:async_hooks"),aie=ot(),{addSignal:tze,removeSignal:cie}=_b(),lie=require("node:assert"),xM=class extends eze{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new BM("invalid opts");if(typeof r!="function")throw new BM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new BM("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,tze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}lie(this.callback),this.abort=e,this.context=null}onHeaders(){throw new ZVe("bad upgrade",null)}onUpgrade(e,r,n){lie(e===101);let{callback:i,opaque:s,context:a}=this;cie(this),this.callback=null;let c=this.responseHeaders==="raw"?aie.parseRawHeaders(r):aie.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;cie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function uie(t,e){if(e===void 0)return new Promise((r,n)=>{uie.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new xM(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(uie,"upgrade");die.exports=uie});var gie=A((XVt,mie)=>{"use strict";var rze=require("node:assert"),{AsyncResource:nze}=require("node:async_hooks"),{InvalidArgumentError:vM,SocketError:ize}=_t(),hie=ot(),{addSignal:sze,removeSignal:pie}=_b(),NM=class extends nze{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new vM("invalid opts");if(typeof r!="function")throw new vM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new vM("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,sze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}rze(this.callback),this.abort=e,this.context=r}onHeaders(){throw new ize("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;pie(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?hie.parseRawHeaders(r):hie.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;pie(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 NM(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(Aie,"connect");mie.exports=Aie});var yie=A((ezt,qm)=>{"use strict";qm.exports.request=Wne();qm.exports.stream=rie();qm.exports.pipeline=oie();qm.exports.upgrade=fie();qm.exports.connect=gie()});var RM=A((tzt,Cie)=>{"use strict";var{UndiciError:oze}=_t(),Eie=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),_M=class t extends oze{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[Eie]===!0}[Eie]=!0};Cie.exports={MockNotMatchedError:_M}});var Gm=A((nzt,bie)=>{"use strict";bie.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((izt,Die)=>{"use strict";var{MockNotMatchedError:Gh}=RM(),{kDispatches:Iv,kMockAgent:aze,kOriginalDispatch:cze,kOrigin:lze,kGetNetConnect:uze}=Gm(),{buildURL:dze}=ot(),{STATUS_CODES:fze}=require("node:http"),{types:{isPromise:hze}}=require("node:util");function Su(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Su,"matchValue");function Iie(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(Iie,"lowerCaseEntries");function Sie(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=Sie(e,r);if(!Su(n,i))return!1}return!0}o(Bie,"matchHeaders");function wie(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(wie,"safeUrl");function pze(t,{path:e,method:r,body:n,headers:i}){let s=Su(t.path,e),a=Su(t.method,r),c=typeof t.body<"u"?Su(t.body,n):!0,l=Bie(t,i);return s&&a&&c&&l}o(pze,"matchKey");function xie(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(xie,"getResponseData");function vie(t,e){let r=e.query?dze(e.path,e.query):e.path,n=typeof r=="string"?wie(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Su(wie(s),n));if(i.length===0)throw new Gh(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Su(s,e.method)),i.length===0)throw new Gh(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Su(s,e.body):!0),i.length===0)throw new Gh(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>Bie(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Gh(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(vie,"getMockDispatch");function Aze(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(Aze,"addMockDispatch");function TM(t,e){let r=t.findIndex(n=>n.consumed?pze(n,e):!1);r!==-1&&t.splice(r,1)}o(TM,"deleteMockDispatch");function Nie(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(Nie,"buildKey");function DM(t){let e=Object.keys(t),r=[];for(let n=0;n=h,n.pending=f0?setTimeout(()=>{p(this[Iv])},u):p(this[Iv]);function p(g,E=s){let y=Array.isArray(t.headers)?QM(t.headers):t.headers,C=typeof E=="function"?E({...t,headers:y}):E;if(hze(C)){C.then(M=>p(g,M));return}let w=xie(C),B=DM(a),Q=DM(c);e.onConnect?.(M=>e.onError(M),null),e.onHeaders?.(i,B,m,_ie(i)),e.onData?.(Buffer.from(w)),e.onComplete?.(Q),TM(g,r)}o(p,"handleReply");function m(){}return o(m,"resume"),!0}o(Rie,"mockDispatch");function gze(){let t=this[aze],e=this[lze],r=this[cze];return o(function(i,s){if(t.isMockActive)try{Rie.call(this,i,s)}catch(a){if(a instanceof Gh){let c=t[uze]();if(c===!1)throw new Gh(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(Tie(c,e))r.call(this,i,s);else throw new Gh(`${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(gze,"buildMockDispatch");function Tie(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Su(n,r.host)))}o(Tie,"checkNetConnect");function yze(t){if(t){let{agent:e,...r}=t;return r}}o(yze,"buildMockOptions");Die.exports={getResponseData:xie,getMockDispatch:vie,addMockDispatch:Aze,deleteMockDispatch:TM,buildKey:Nie,generateKeyValues:DM,matchValue:Su,getResponse:mze,getStatusText:_ie,mockDispatch:Rie,buildMockDispatch:gze,checkNetConnect:Tie,buildMockOptions:yze,getHeaderByName:Sie,buildHeadersFromArray:QM}});var UM=A((ozt,MM)=>{"use strict";var{getResponseData:Eze,buildKey:Cze,addMockDispatch:kM}=Tb(),{kDispatches:Sv,kDispatchKey:Bv,kDefaultHeaders:PM,kDefaultTrailers:OM,kContentLength:LM,kMockDispatch:xv}=Gm(),{InvalidArgumentError:Dc}=_t(),{buildURL:bze}=ot(),Hm=class{static{o(this,"MockScope")}constructor(e){this[xv]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Dc("waitInMs must be a valid integer > 0");return this[xv].delay=e,this}persist(){return this[xv].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Dc("repeatTimes must be a valid integer > 0");return this[xv].times=e,this}},FM=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Dc("opts must be an object");if(typeof e.path>"u")throw new Dc("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=bze(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[Bv]=Cze(e),this[Sv]=r,this[PM]={},this[OM]={},this[LM]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=Eze(r),s=this[LM]?{"content-length":i.length}:{},a={...this[PM],...s,...n.headers},c={...this[OM],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Dc("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Dc("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 Dc("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=kM(this[Sv],this[Bv],s);return new Hm(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=kM(this[Sv],this[Bv],n);return new Hm(i)}replyWithError(e){if(typeof e>"u")throw new Dc("error must be defined");let r=kM(this[Sv],this[Bv],{error:e});return new Hm(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Dc("headers must be defined");return this[PM]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Dc("trailers must be defined");return this[OM]=e,this}replyContentLength(){return this[LM]=!0,this}};MM.exports.MockInterceptor=FM;MM.exports.MockScope=Hm});var HM=A((czt,Mie)=>{"use strict";var{promisify:wze}=require("node:util"),Ize=Tm(),{buildMockDispatch:Sze}=Tb(),{kDispatches:Qie,kMockAgent:kie,kClose:Pie,kOriginalClose:Oie,kOrigin:Lie,kOriginalDispatch:Bze,kConnected:qM}=Gm(),{MockInterceptor:xze}=UM(),Fie=Ar(),{InvalidArgumentError:vze}=_t(),GM=class extends Ize{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new vze("Argument opts.agent must implement Agent");this[kie]=r.agent,this[Lie]=e,this[Qie]=[],this[qM]=1,this[Bze]=this.dispatch,this[Oie]=this.close.bind(this),this.dispatch=Sze.call(this),this.close=this[Pie]}get[Fie.kConnected](){return this[qM]}intercept(e){return new xze(e,this[Qie])}async[Pie](){await wze(this[Oie])(),this[qM]=0,this[kie][Fie.kClients].delete(this[Lie])}};Mie.exports=GM});var jM=A((uzt,jie)=>{"use strict";var{promisify:Nze}=require("node:util"),_ze=Dm(),{buildMockDispatch:Rze}=Tb(),{kDispatches:Uie,kMockAgent:qie,kClose:Gie,kOriginalClose:Hie,kOrigin:Vie,kOriginalDispatch:Tze,kConnected:VM}=Gm(),{MockInterceptor:Dze}=UM(),zie=Ar(),{InvalidArgumentError:Qze}=_t(),zM=class extends _ze{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Qze("Argument opts.agent must implement Agent");this[qie]=r.agent,this[Vie]=e,this[Uie]=[],this[VM]=1,this[Tze]=this.dispatch,this[Hie]=this.close.bind(this),this.dispatch=Rze.call(this),this.close=this[Gie]}get[zie.kConnected](){return this[VM]}intercept(e){return new Dze(e,this[Uie])}async[Gie](){await Nze(this[Hie])(),this[VM]=0,this[qie][zie.kClients].delete(this[Vie])}};jie.exports=zM});var Jie=A((hzt,$ie)=>{"use strict";var kze={pronoun:"it",is:"is",was:"was",this:"this"},Pze={pronoun:"they",is:"are",was:"were",this:"these"};$ie.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?kze:Pze,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var Yie=A((mzt,Wie)=>{"use strict";var{Transform:Oze}=require("node:stream"),{Console:Lze}=require("node:console"),Fze=process.versions.icu?"\u2705":"Y ",Mze=process.versions.icu?"\u274C":"N ";Wie.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Oze({transform(r,n,i){i(null,r)}}),this.logger=new Lze({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?Fze:Mze,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var ese=A((yzt,Zie)=>{"use strict";var{kClients:Hh}=Ar(),Uze=Qm(),{kAgent:$M,kMockAgentSet:vv,kMockAgentGet:Kie,kDispatches:JM,kIsMockActive:Nv,kNetConnect:Vh,kGetNetConnect:qze,kOptions:_v,kFactory:Rv}=Gm(),Gze=HM(),Hze=jM(),{matchValue:Vze,buildMockOptions:zze}=Tb(),{InvalidArgumentError:Xie,UndiciError:jze}=_t(),$ze=tb(),Jze=Jie(),Wze=Yie(),WM=class extends $ze{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Vh]=!0,this[Nv]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new Xie("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Uze(e);this[$M]=r,this[Hh]=r[Hh],this[_v]=zze(e)}get(e){let r=this[Kie](e);return r||(r=this[Rv](e),this[vv](e,r)),r}dispatch(e,r){return this.get(e.origin),this[$M].dispatch(e,r)}async close(){await this[$M].close(),this[Hh].clear()}deactivate(){this[Nv]=!1}activate(){this[Nv]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Vh])?this[Vh].push(e):this[Vh]=[e];else if(typeof e>"u")this[Vh]=!0;else throw new Xie("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Vh]=!1}get isMockActive(){return this[Nv]}[vv](e,r){this[Hh].set(e,r)}[Rv](e){let r=Object.assign({agent:this},this[_v]);return this[_v]&&this[_v].connections===1?new Gze(e,r):new Hze(e,r)}[Kie](e){let r=this[Hh].get(e);if(r)return r;if(typeof e!="string"){let n=this[Rv]("http://localhost:9999");return this[vv](e,n),n}for(let[n,i]of Array.from(this[Hh]))if(i&&typeof n!="string"&&Vze(n,e)){let s=this[Rv](e);return this[vv](e,s),s[JM]=i[JM],s}}[qze](){return this[Vh]}pendingInterceptors(){let e=this[Hh];return Array.from(e.entries()).flatMap(([r,n])=>n[JM].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Wze}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Jze("interceptor","interceptors").pluralize(r.length);throw new jze(` +`,"latin1"),r!==null&&i!==r){if(n[vF])throw new Th;process.emitWarning(new Th)}e[tr].timeout&&e[tr].timeoutType===vm&&e[tr].timeout.refresh&&e[tr].timeout.refresh(),n[Cu]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[Pd]=!1,e&&(Re(n[pn]<=1,"pipeline should only contain this request"),i(e))}};dre.exports=XHe});var Cre=A((fVt,Ere)=>{"use strict";var Po=require("node:assert"),{pipeline:s4e}=require("node:stream"),pt=ot(),{RequestContentLengthMismatchError:DF,RequestAbortedError:hre,SocketError:pb,InformationalError:QF}=_t(),{kUrl:sv,kReset:av,kClient:Nm,kRunning:cv,kPending:o4e,kQueue:Od,kPendingIdx:kF,kRunningIdx:Oa,kError:Fa,kSocket:qn,kStrictContentLength:a4e,kOnError:PF,kMaxConcurrentStreams:yre,kHTTP2Session:La,kResume:Ld,kSize:c4e,kHTTPContext:l4e}=Ar(),bu=Symbol("open streams"),pre,Are=!1,ov;try{ov=require("node:http2")}catch{ov={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:u4e,HTTP2_HEADER_METHOD:d4e,HTTP2_HEADER_PATH:f4e,HTTP2_HEADER_SCHEME:h4e,HTTP2_HEADER_CONTENT_LENGTH:p4e,HTTP2_HEADER_EXPECT:A4e,HTTP2_HEADER_STATUS:m4e}}=ov;function g4e(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(g4e,"parseH2Headers");async function y4e(t,e){t[qn]=e,Are||(Are=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=ov.connect(t[sv],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[yre]});r[bu]=0,r[Nm]=t,r[qn]=e,pt.addListener(r,"error",C4e),pt.addListener(r,"frameError",b4e),pt.addListener(r,"end",w4e),pt.addListener(r,"goaway",I4e),pt.addListener(r,"close",function(){let{[Nm]:i}=this,{[qn]:s}=i,a=this[qn][Fa]||this[Fa]||new pb("closed",pt.getSocketInfo(s));if(i[La]=null,i.destroyed){Po(i[o4e]===0);let c=i[Od].splice(i[Oa]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return B4e(t,...i)},resume(){E4e(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(y4e,"connectH2");function E4e(t){let e=t[qn];e?.destroyed===!1&&(t[c4e]===0&&t[yre]===0?(e.unref(),t[La].unref()):(e.ref(),t[La].ref()))}o(E4e,"resumeH2");function C4e(t){Po(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qn][Fa]=t,this[Nm][PF](t)}o(C4e,"onHttp2SessionError");function b4e(t,e,r){if(r===0){let n=new QF(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qn][Fa]=n,this[Nm][PF](n)}}o(b4e,"onHttp2FrameError");function w4e(){let t=new pb("other side closed",pt.getSocketInfo(this[qn]));this.destroy(t),pt.destroy(this[qn],t)}o(w4e,"onHttp2SessionEnd");function I4e(t){let e=this[Fa]||new pb(`HTTP/2: "GOAWAY" frame received with code ${t}`,pt.getSocketInfo(this)),r=this[Nm];if(r[qn]=null,r[l4e]=null,this[La]!=null&&(this[La].destroy(e),this[La]=null),pt.destroy(this[qn],e),r[Oa]{e.aborted||e.completed||(B=B||new hre,pt.errorRequest(t,e,B),h!=null&&pt.destroy(h,B),pt.destroy(d,B),t[Od][t[Oa]++]=null,t[Ld]())},"abort");try{e.onConnect(g)}catch(B){pt.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[bu],t[Od][t[Oa]++]=null):h.once("ready",()=>{e.onUpgrade(null,null,h),++r[bu],t[Od][t[Oa]++]=null}),h.once("close",()=>{r[bu]-=1,r[bu]===0&&r.unref()}),!0;f[f4e]=i,f[h4e]="https";let E=n==="PUT"||n==="POST"||n==="PATCH";d&&typeof d.read=="function"&&d.read(0);let y=pt.bodyLength(d);if(pt.isFormDataLike(d)){pre??=Sm().extractBody;let[B,Q]=pre(d);f["content-type"]=Q,d=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!E)&&(y=null),S4e(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[a4e])return pt.errorRequest(t,e,new DF),!1;process.emitWarning(new DF)}y!=null&&(Po(d,"no body must not have content length"),f[p4e]=`${y}`),r.ref();let C=n==="GET"||n==="HEAD"||d===null;return c?(f[A4e]="100-continue",h=r.request(f,{endStream:C,signal:l}),h.once("continue",w)):(h=r.request(f,{endStream:C,signal:l}),w()),++r[bu],h.once("response",B=>{let{[m4e]:Q,...M}=B;if(e.onResponseStarted(),e.aborted){let v=new hre;pt.errorRequest(t,e,v),pt.destroy(h,v);return}e.onHeaders(Number(Q),g4e(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[bu]===0&&r.unref(),g(new QF("HTTP/2: stream half-closed (remote)")),t[Od][t[Oa]++]=null,t[kF]=t[Oa],t[Ld]()}),h.once("close",()=>{r[bu]-=1,r[bu]===0&&r.unref()}),h.once("error",function(B){g(B)}),h.once("frameError",(B,Q)=>{g(new QF(`HTTP/2: "frameError" received - type ${B}, code ${Q}`))}),!0;function w(){!d||y===0?mre(g,h,null,t,e,t[qn],y,E):pt.isBuffer(d)?mre(g,h,d,t,e,t[qn],y,E):pt.isBlobLike(d)?typeof d.stream=="function"?gre(g,h,d.stream(),t,e,t[qn],y,E):v4e(g,h,d,t,e,t[qn],y,E):pt.isStream(d)?x4e(g,t[qn],E,h,d,t,e,y):pt.isIterable(d)?gre(g,h,d,t,e,t[qn],y,E):Po(!1)}o(w,"writeBodyH2")}o(B4e,"writeH2");function mre(t,e,r,n,i,s,a,c){try{r!=null&&pt.isBuffer(r)&&(Po(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[av]=!0),i.onRequestSent(),n[Ld]()}catch(l){t(l)}}o(mre,"writeBuffer");function x4e(t,e,r,n,i,s,a,c){Po(c!==0||s[cv]===0,"stream body cannot be pipelined");let l=s4e(i,n,d=>{d?(pt.destroy(l,d),t(d)):(pt.removeAllListeners(l),a.onRequestSent(),r||(e[av]=!0),s[Ld]())});pt.addListener(l,"data",u);function u(d){a.onBodySent(d)}o(u,"onPipeData")}o(x4e,"writeStream");async function v4e(t,e,r,n,i,s,a,c){Po(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new DF;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[av]=!0),n[Ld]()}catch(l){t(l)}}o(v4e,"writeBlob");async function gre(t,e,r,n,i,s,a,c){Po(a!==0||n[cv]===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)=>{Po(l===null),s[Fa]?h(s[Fa]):l=f}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let f of r){if(s[Fa])throw s[Fa];let h=e.write(f);i.onBodySent(f),h||await d()}e.end(),i.onRequestSent(),c||(s[av]=!0),n[Ld]()}catch(f){t(f)}finally{e.off("close",u).off("drain",u)}}o(gre,"writeIterable");Ere.exports=y4e});var uv=A((pVt,Ire)=>{"use strict";var _c=ot(),{kBodyUsed:Ab}=Ar(),LF=require("node:assert"),{InvalidArgumentError:N4e}=_t(),_4e=require("node:events"),R4e=[300,301,302,303,307,308],bre=Symbol("body"),lv=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[bre]=e,this[Ab]=!1}async*[Symbol.asyncIterator](){LF(!this[Ab],"disturbed"),this[Ab]=!0,yield*this[bre]}},OF=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new N4e("maxRedirections must be a positive number");_c.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,_c.isStream(this.opts.body)?(_c.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){LF(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Ab]=!1,_4e.prototype.on.call(this.opts.body,"data",function(){this[Ab]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new lv(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&_c.isIterable(this.opts.body)&&(this.opts.body=new lv(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||_c.isDisturbed(this.opts.body)?null:T4e(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}=_c.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=D4e(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 T4e(t,e){if(R4e.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var Q4e=uv();function k4e({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new Q4e(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(k4e,"createRedirectInterceptor");Sre.exports=k4e});var Tm=A((yVt,kre)=>{"use strict";var wu=require("node:assert"),Rre=require("node:net"),P4e=require("node:http"),Ph=ot(),{channels:_m}=dm(),O4e=kee(),L4e=Am(),{InvalidArgumentError:Wr,InformationalError:F4e,ClientDestroyedError:M4e}=_t(),U4e=rb(),{kUrl:Rc,kServerName:Fd,kClient:q4e,kBusy:FF,kConnect:G4e,kResuming:Oh,kRunning:Cb,kPending:bb,kSize:Eb,kQueue:Ma,kConnected:H4e,kConnecting:Rm,kNeedDrain:Ud,kKeepAliveDefaultTimeout:Bre,kHostHeader:V4e,kPendingIdx:Ua,kRunningIdx:Iu,kError:z4e,kPipelining:fv,kKeepAliveTimeoutValue:j4e,kMaxHeadersSize:$4e,kKeepAliveMaxTimeout:J4e,kKeepAliveTimeoutThreshold:W4e,kHeadersTimeout:Y4e,kBodyTimeout:K4e,kStrictContentLength:X4e,kConnector:mb,kMaxRedirections:Z4e,kMaxRequests:MF,kCounter:e5e,kClose:t5e,kDestroy:r5e,kDispatch:n5e,kInterceptors:xre,kLocalAddress:gb,kMaxResponseSize:i5e,kOnError:s5e,kHTTPContext:Yr,kMaxConcurrentStreams:o5e,kResume:yb}=Ar(),a5e=fre(),c5e=Cre(),vre=!1,Md=Symbol("kClosedResolve"),Nre=o(()=>{},"noop");function Tre(t){return t[fv]??t[Yr]?.defaultPipelining??1}o(Tre,"getPipelining");var UF=class extends L4e{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:m,socketPath:g,pipelining:E,tls:y,strictContentLength:C,maxCachedSessions:w,maxRedirections:B,connect:Q,maxRequestsPerClient:M,localAddress:v,maxResponseSize:j,autoSelectFamily:T,autoSelectFamilyAttemptTimeout:H,maxConcurrentStreams:V,allowH2:W,webSocket:ee}={}){if(super({webSocket:ee}),d!==void 0)throw new Wr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Wr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Wr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new Wr("unsupported idleTimeout, use keepAliveTimeout instead");if(h!==void 0)throw new Wr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Wr("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new Wr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Wr("invalid connectTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Wr("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new Wr("invalid keepAliveMaxTimeout");if(m!=null&&!Number.isFinite(m))throw new Wr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Wr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Wr("bodyTimeout must be a positive integer or zero");if(Q!=null&&typeof Q!="function"&&typeof Q!="object")throw new Wr("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new Wr("maxRedirections must be a positive number");if(M!=null&&(!Number.isInteger(M)||M<0))throw new Wr("maxRequestsPerClient must be a positive number");if(v!=null&&(typeof v!="string"||Rre.isIP(v)===0))throw new Wr("localAddress must be valid string IP address");if(j!=null&&(!Number.isInteger(j)||j<-1))throw new Wr("maxResponseSize must be a positive number");if(H!=null&&(!Number.isInteger(H)||H<-1))throw new Wr("autoSelectFamilyAttemptTimeout must be a positive number");if(W!=null&&typeof W!="boolean")throw new Wr("allowH2 must be a valid boolean value");if(V!=null&&(typeof V!="number"||V<1))throw new Wr("maxConcurrentStreams must be a positive integer, greater than 0");typeof Q!="function"&&(Q=U4e({...y,maxCachedSessions:w,allowH2:W,socketPath:g,timeout:c,...T?{autoSelectFamily:T,autoSelectFamilyAttemptTimeout:H}:void 0,...Q})),r?.Client&&Array.isArray(r.Client)?(this[xre]=r.Client,vre||(vre=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[xre]=[l5e({maxRedirections:B})],this[Rc]=Ph.parseOrigin(e),this[mb]=Q,this[fv]=E??1,this[$4e]=n||P4e.maxHeaderSize,this[Bre]=f??4e3,this[J4e]=p??6e5,this[W4e]=m??2e3,this[j4e]=this[Bre],this[Fd]=null,this[gb]=v??null,this[Oh]=0,this[Ud]=0,this[V4e]=`host: ${this[Rc].hostname}${this[Rc].port?`:${this[Rc].port}`:""}\r +`,this[K4e]=l??3e5,this[Y4e]=i??3e5,this[X4e]=C??!0,this[Z4e]=B,this[MF]=M,this[Md]=null,this[i5e]=j>-1?j:-1,this[o5e]=V??100,this[Yr]=null,this[Ma]=[],this[Iu]=0,this[Ua]=0,this[yb]=ae=>qF(this,ae),this[s5e]=ae=>Dre(this,ae)}get pipelining(){return this[fv]}set pipelining(e){this[fv]=e,this[yb](!0)}get[bb](){return this[Ma].length-this[Ua]}get[Cb](){return this[Ua]-this[Iu]}get[Eb](){return this[Ma].length-this[Iu]}get[H4e](){return!!this[Yr]&&!this[Rm]&&!this[Yr].destroyed}get[FF](){return!!(this[Yr]?.busy(null)||this[Eb]>=(Tre(this)||1)||this[bb]>0)}[G4e](e){Qre(this),this.once("connect",e)}[n5e](e,r){let n=e.origin||this[Rc].origin,i=new O4e(n,e,r);return this[Ma].push(i),this[Oh]||(Ph.bodyLength(i.body)==null&&Ph.isIterable(i.body)?(this[Oh]=1,queueMicrotask(()=>qF(this))):this[yb](!0)),this[Oh]&&this[Ud]!==2&&this[FF]&&(this[Ud]=2),this[Ud]<2}async[t5e](){return new Promise(e=>{this[Eb]?this[Md]=e:e(null)})}async[r5e](e){return new Promise(r=>{let n=this[Ma].splice(this[Ua]);for(let s=0;s{this[Md]&&(this[Md](),this[Md]=null),r(null)},"callback");this[Yr]?(this[Yr].destroy(e,i),this[Yr]=null):queueMicrotask(i),this[yb]()})}},l5e=dv();function Dre(t,e){if(t[Cb]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){wu(t[Ua]===t[Iu]);let r=t[Ma].splice(t[Iu]);for(let n=0;n{t[mb]({host:e,hostname:r,protocol:n,port:i,servername:t[Fd],localAddress:t[gb]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Ph.destroy(s.on("error",Nre),new M4e);return}wu(s);try{t[Yr]=s.alpnProtocol==="h2"?await c5e(t,s):await a5e(t,s)}catch(a){throw s.destroy().on("error",Nre),a}t[Rm]=!1,s[e5e]=0,s[MF]=t[MF],s[q4e]=t,s[z4e]=null,_m.connected.hasSubscribers&&_m.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Yr]?.version,servername:t[Fd],localAddress:t[gb]},connector:t[mb],socket:s}),t.emit("connect",t[Rc],[t])}catch(s){if(t.destroyed)return;if(t[Rm]=!1,_m.connectError.hasSubscribers&&_m.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Yr]?.version,servername:t[Fd],localAddress:t[gb]},connector:t[mb],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(wu(t[Cb]===0);t[bb]>0&&t[Ma][t[Ua]].servername===t[Fd];){let a=t[Ma][t[Ua]++];Ph.errorRequest(t,a,s)}else Dre(t,s);t.emit("connectionError",t[Rc],[t],s)}t[yb]()}o(Qre,"connect");function _re(t){t[Ud]=0,t.emit("drain",t[Rc],[t])}o(_re,"emitDrain");function qF(t,e){t[Oh]!==2&&(t[Oh]=2,u5e(t,e),t[Oh]=0,t[Iu]>256&&(t[Ma].splice(0,t[Iu]),t[Ua]-=t[Iu],t[Iu]=0))}o(qF,"resume");function u5e(t,e){for(;;){if(t.destroyed){wu(t[bb]===0);return}if(t[Md]&&!t[Eb]){t[Md](),t[Md]=null;return}if(t[Yr]&&t[Yr].resume(),t[FF])t[Ud]=2;else if(t[Ud]===2){e?(t[Ud]=1,queueMicrotask(()=>_re(t))):_re(t);continue}if(t[bb]===0||t[Cb]>=(Tre(t)||1))return;let r=t[Ma][t[Ua]];if(t[Rc].protocol==="https:"&&t[Fd]!==r.servername){if(t[Cb]>0)return;t[Fd]=r.servername,t[Yr]?.destroy(new F4e("servername changed"),()=>{t[Yr]=null,qF(t)})}if(t[Rm])return;if(!t[Yr]){Qre(t);return}if(t[Yr].destroyed||t[Yr].busy(r))return;!r.aborted&&t[Yr].write(r)?t[Ua]++:t[Ma].splice(t[Ua],1)}}o(u5e,"_resume");kre.exports=UF});var GF=A((bVt,Pre)=>{"use strict";var hv=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)}};Pre.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new hv}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new hv),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var Lre=A((IVt,Ore)=>{var{kFree:d5e,kConnected:f5e,kPending:h5e,kQueued:p5e,kRunning:A5e,kSize:m5e}=Ar(),Lh=Symbol("pool"),HF=class{static{o(this,"PoolStats")}constructor(e){this[Lh]=e}get connected(){return this[Lh][f5e]}get free(){return this[Lh][d5e]}get pending(){return this[Lh][h5e]}get queued(){return this[Lh][p5e]}get running(){return this[Lh][A5e]}get size(){return this[Lh][m5e]}};Ore.exports=HF});var WF=A((BVt,$re)=>{"use strict";var g5e=Am(),y5e=GF(),{kConnected:VF,kSize:Fre,kRunning:Mre,kPending:Ure,kQueued:wb,kBusy:E5e,kFree:C5e,kUrl:b5e,kClose:w5e,kDestroy:I5e,kDispatch:S5e}=Ar(),B5e=Lre(),ys=Symbol("clients"),Gi=Symbol("needDrain"),Ib=Symbol("queue"),zF=Symbol("closed resolve"),jF=Symbol("onDrain"),qre=Symbol("onConnect"),Gre=Symbol("onDisconnect"),Hre=Symbol("onConnectionError"),$F=Symbol("get dispatcher"),zre=Symbol("add client"),jre=Symbol("remove client"),Vre=Symbol("stats"),JF=class extends g5e{static{o(this,"PoolBase")}constructor(e){super(e),this[Ib]=new y5e,this[ys]=[],this[wb]=0;let r=this;this[jF]=o(function(i,s){let a=r[Ib],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[wb]--,c=!this.dispatch(l.opts,l.handler)}this[Gi]=c,!this[Gi]&&r[Gi]&&(r[Gi]=!1,r.emit("drain",i,[r,...s])),r[zF]&&a.isEmpty()&&Promise.all(r[ys].map(l=>l.close())).then(r[zF])},"onDrain"),this[qre]=(n,i)=>{r.emit("connect",n,[r,...i])},this[Gre]=(n,i,s)=>{r.emit("disconnect",n,[r,...i],s)},this[Hre]=(n,i,s)=>{r.emit("connectionError",n,[r,...i],s)},this[Vre]=new B5e(this)}get[E5e](){return this[Gi]}get[VF](){return this[ys].filter(e=>e[VF]).length}get[C5e](){return this[ys].filter(e=>e[VF]&&!e[Gi]).length}get[Ure](){let e=this[wb];for(let{[Ure]:r}of this[ys])e+=r;return e}get[Mre](){let e=0;for(let{[Mre]:r}of this[ys])e+=r;return e}get[Fre](){let e=this[wb];for(let{[Fre]:r}of this[ys])e+=r;return e}get stats(){return this[Vre]}async[w5e](){this[Ib].isEmpty()?await Promise.all(this[ys].map(e=>e.close())):await new Promise(e=>{this[zF]=e})}async[I5e](e){for(;;){let r=this[Ib].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ys].map(r=>r.destroy(e)))}[S5e](e,r){let n=this[$F]();return n?n.dispatch(e,r)||(n[Gi]=!0,this[Gi]=!this[$F]()):(this[Gi]=!0,this[Ib].push({opts:e,handler:r}),this[wb]++),!this[Gi]}[zre](e){return e.on("drain",this[jF]).on("connect",this[qre]).on("disconnect",this[Gre]).on("connectionError",this[Hre]),this[ys].push(e),this[Gi]&&queueMicrotask(()=>{this[Gi]&&this[jF](e[b5e],[this,e])}),this}[jre](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)}};$re.exports={PoolBase:JF,kClients:ys,kNeedDrain:Gi,kAddClient:zre,kRemoveClient:jre,kGetDispatcher:$F}});var Dm=A((vVt,Kre)=>{"use strict";var{PoolBase:x5e,kClients:pv,kNeedDrain:v5e,kAddClient:N5e,kGetDispatcher:_5e}=WF(),R5e=Tm(),{InvalidArgumentError:YF}=_t(),Jre=ot(),{kUrl:Wre,kInterceptors:T5e}=Ar(),D5e=rb(),KF=Symbol("options"),XF=Symbol("connections"),Yre=Symbol("factory");function Q5e(t,e){return new R5e(t,e)}o(Q5e,"defaultFactory");var ZF=class extends x5e{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=Q5e,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 YF("invalid connections");if(typeof n!="function")throw new YF("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new YF("connect must be a function or an object");typeof i!="function"&&(i=D5e({...a,maxCachedSessions:c,allowH2:f,socketPath:l,timeout:s,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:d}:void 0,...i})),super(h),this[T5e]=h.interceptors?.Pool&&Array.isArray(h.interceptors.Pool)?h.interceptors.Pool:[],this[XF]=r||null,this[Wre]=Jre.parseOrigin(e),this[KF]={...Jre.deepClone(h),connect:i,allowH2:f},this[KF].interceptors=h.interceptors?{...h.interceptors}:void 0,this[Yre]=n,this.on("connectionError",(p,m,g)=>{for(let E of m){let y=this[pv].indexOf(E);y!==-1&&this[pv].splice(y,1)}})}[_5e](){for(let e of this[pv])if(!e[v5e])return e;if(!this[XF]||this[pv].length{"use strict";var{BalancedPoolMissingUpstreamError:k5e,InvalidArgumentError:P5e}=_t(),{PoolBase:O5e,kClients:wi,kNeedDrain:Sb,kAddClient:L5e,kRemoveClient:F5e,kGetDispatcher:M5e}=WF(),U5e=Dm(),{kUrl:eM,kInterceptors:q5e}=Ar(),{parseOrigin:Xre}=ot(),Zre=Symbol("factory"),Av=Symbol("options"),ene=Symbol("kGreatestCommonDivisor"),Fh=Symbol("kCurrentWeight"),Mh=Symbol("kIndex"),Oo=Symbol("kWeight"),mv=Symbol("kMaxWeightPerServer"),gv=Symbol("kErrorPenalty");function G5e(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(G5e,"getGreatestCommonDivisor");function H5e(t,e){return new U5e(t,e)}o(H5e,"defaultFactory");var tM=class extends O5e{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=H5e,...n}={}){if(super(),this[Av]=n,this[Mh]=-1,this[Fh]=0,this[mv]=this[Av].maxWeightPerServer||100,this[gv]=this[Av].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new P5e("factory must be a function.");this[q5e]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Zre]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=Xre(e).origin;if(this[wi].find(i=>i[eM].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Zre](r,Object.assign({},this[Av]));this[L5e](n),n.on("connect",()=>{n[Oo]=Math.min(this[mv],n[Oo]+this[gv])}),n.on("connectionError",()=>{n[Oo]=Math.max(1,n[Oo]-this[gv]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[Oo]=Math.max(1,n[Oo]-this[gv]),this._updateBalancedPoolStats())});for(let i of this[wi])i[Oo]=this[mv];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[eM].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[F5e](n),this}get upstreams(){return this[wi].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[eM].origin)}[M5e](){if(this[wi].length===0)throw new k5e;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][Oo]&&!s[Sb]&&(i=this[Mh]),this[Mh]===0&&(this[Fh]=this[Fh]-this[ene],this[Fh]<=0&&(this[Fh]=this[mv])),s[Oo]>=this[Fh]&&!s[Sb])return s}return this[Fh]=this[wi][i][Oo],this[Mh]=i,this[wi][i]}};tne.exports=tM});var Qm=A((TVt,lne)=>{"use strict";var{InvalidArgumentError:yv}=_t(),{kClients:qd,kRunning:nne,kClose:V5e,kDestroy:z5e,kDispatch:j5e,kInterceptors:$5e}=Ar(),J5e=Am(),W5e=Dm(),Y5e=Tm(),K5e=ot(),X5e=dv(),ine=Symbol("onConnect"),sne=Symbol("onDisconnect"),one=Symbol("onConnectionError"),Z5e=Symbol("maxRedirections"),ane=Symbol("onDrain"),cne=Symbol("factory"),rM=Symbol("options");function eVe(t,e){return e&&e.connections===1?new Y5e(t,e):new W5e(t,e)}o(eVe,"defaultFactory");var nM=class extends J5e{static{o(this,"Agent")}constructor({factory:e=eVe,maxRedirections:r=0,connect:n,...i}={}){if(typeof e!="function")throw new yv("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new yv("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new yv("maxRedirections must be a positive number");super(i),n&&typeof n!="function"&&(n={...n}),this[$5e]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[X5e({maxRedirections:r})],this[rM]={...K5e.deepClone(i),connect:n},this[rM].interceptors=i.interceptors?{...i.interceptors}:void 0,this[Z5e]=r,this[cne]=e,this[qd]=new Map,this[ane]=(s,a)=>{this.emit("drain",s,[this,...a])},this[ine]=(s,a)=>{this.emit("connect",s,[this,...a])},this[sne]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[one]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[nne](){let e=0;for(let r of this[qd].values())e+=r[nne];return e}[j5e](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new yv("opts.origin must be a non-empty string or URL.");let i=this[qd].get(n);return i||(i=this[cne](e.origin,this[rM]).on("drain",this[ane]).on("connect",this[ine]).on("disconnect",this[sne]).on("connectionError",this[one]),this[qd].set(n,i)),i.dispatch(e,r)}async[V5e](){let e=[];for(let r of this[qd].values())e.push(r.close());this[qd].clear(),await Promise.all(e)}async[z5e](e){let r=[];for(let n of this[qd].values())r.push(n.destroy(e));this[qd].clear(),await Promise.all(r)}};lne.exports=nM});var cM=A((QVt,Cne)=>{"use strict";var{kProxy:iM,kClose:Ane,kDestroy:mne,kDispatch:une,kInterceptors:tVe}=Ar(),{URL:Uh}=require("node:url"),rVe=Qm(),gne=Dm(),yne=Am(),{InvalidArgumentError:km,RequestAbortedError:nVe,SecureProxyConnectionError:iVe}=_t(),dne=rb(),Ene=Tm(),Ev=Symbol("proxy agent"),Cv=Symbol("proxy client"),Gd=Symbol("proxy headers"),sM=Symbol("request tls settings"),fne=Symbol("proxy tls settings"),hne=Symbol("connect endpoint function"),pne=Symbol("tunnel proxy");function sVe(t){return t==="https:"?443:80}o(sVe,"defaultProtocolPort");function oVe(t,e){return new gne(t,e)}o(oVe,"defaultFactory");var aVe=o(()=>{},"noop");function cVe(t,e){return e.connections===1?new Ene(t,e):new gne(t,e)}o(cVe,"defaultAgentFactory");var oM=class extends yne{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new km("Proxy URL is mandatory");this[Gd]=r,i?this.#e=i(e,{connect:n}):this.#e=new Ene(e,{connect:n})}[une](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new km("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 Uh(i);a.host=c}return e.headers={...this[Gd],...a},this.#e[une](e,r)}async[Ane](){return this.#e.close()}async[mne](e){return this.#e.destroy(e)}},aM=class extends yne{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Uh)&&!e.uri)throw new km("Proxy uri is mandatory");let{clientFactory:r=oVe}=e;if(typeof r!="function")throw new km("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[iM]={uri:s,protocol:l},this[tVe]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[sM]=e.requestTls,this[fne]=e.proxyTls,this[Gd]=e.headers||{},this[pne]=n,e.auth&&e.token)throw new km("opts.auth cannot be used in combination with opts.token");e.auth?this[Gd]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Gd]["proxy-authorization"]=e.token:u&&d&&(this[Gd]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(d)}`).toString("base64")}`);let h=dne({...e.proxyTls});this[hne]=dne({...e.requestTls});let p=e.factory||cVe,m=o((g,E)=>{let{protocol:y}=new Uh(g);return!this[pne]&&y==="http:"&&this[iM].protocol==="http:"?new oM(this[iM].uri,{headers:this[Gd],connect:h,factory:p}):p(g,E)},"factory");this[Cv]=r(i,{connect:h}),this[Ev]=new rVe({...e,factory:m,connect:o(async(g,E)=>{let y=g.host;g.port||(y+=`:${sVe(g.protocol)}`);try{let{socket:C,statusCode:w}=await this[Cv].connect({origin:a,port:c,path:y,signal:g.signal,headers:{...this[Gd],host:g.host},servername:this[fne]?.servername||f});if(w!==200&&(C.on("error",aVe).destroy(),E(new nVe(`Proxy response (${w}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){E(null,C);return}let B;this[sM]?B=this[sM].servername:B=g.servername,this[hne]({...g,servername:B,httpSocket:C},E)}catch(C){C.code==="ERR_TLS_CERT_ALTNAME_INVALID"?E(new iVe(C)):E(C)}},"connect")})}dispatch(e,r){let n=lVe(e.headers);if(uVe(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new Uh(e.origin);n.host=i}return this[Ev].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Uh(e):e instanceof Uh?e:new Uh(e.uri)}async[Ane](){await this[Ev].close(),await this[Cv].close()}async[mne](){await this[Ev].destroy(),await this[Cv].destroy()}};function lVe(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new km("Proxy-Authorization should be sent in ProxyAgent constructor")}o(uVe,"throwIfProxyAuthIsSent");Cne.exports=aM});var xne=A((PVt,Bne)=>{"use strict";var dVe=Am(),{kClose:fVe,kDestroy:hVe,kClosed:bne,kDestroyed:wne,kDispatch:pVe,kNoProxyAgent:Bb,kHttpProxyAgent:Hd,kHttpsProxyAgent:qh}=Ar(),Ine=cM(),AVe=Qm(),mVe={"http:":80,"https:":443},Sne=!1,lM=class extends dVe{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,Sne||(Sne=!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 AVe(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Hd]=new Ine({...s,uri:a}):this[Hd]=this[Bb];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[qh]=new Ine({...s,uri:c}):this[qh]=this[Hd],this.#s()}[pVe](e,r){let n=new URL(e.origin);return this.#r(n).dispatch(e,r)}async[fVe](){await this[Bb].close(),this[Hd][bne]||await this[Hd].close(),this[qh][bne]||await this[qh].close()}async[hVe](e){await this[Bb].destroy(e),this[Hd][wne]||await this[Hd].destroy(e),this[qh][wne]||await this[qh].destroy(e)}#r(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||mVe[r]||0,this.#i(n,i)?r==="https:"?this[qh]:this[Hd]: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 Pm=require("node:assert"),{kRetryHandlerDefaultRetry:vne}=Ar(),{RequestRetryError:Om}=_t(),{isDisturbed:Nne,parseHeaders:gVe,parseRangeHeader:_ne,wrapRequestBody:yVe}=ot();function EVe(t){let e=Date.now();return new Date(t).getTime()-e}o(EVe,"calculateRetryAfterHeader");function Rne(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 Om("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(Rne,"validatePartialResponseContentLength");var uM=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:yVe(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[vne],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(m=>{this.aborted=!0,this.abort?this.abort(m):this.reason=m})}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[vne](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:m,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(m)&&!m.includes(s)){i(e);return}if(y>d){i(e);return}let C=c?.["retry-after"];C&&(C=Number(C),C=Number.isNaN(C)?EVe(C):C*1e3);let w=C>0?Math.min(C,h):Math.min(f*p**(y-1),h);setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=gVe(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new Om("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 Om("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=_ne(s["content-range"]);if(!c)return this.abort(new Om("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Om("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let l=Rne(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;return Pm(this.start===u,"content-range mismatch"),Pm(this.end==null||this.end===f,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=_ne(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let l=Rne(s,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:d,end:f=d-1}=c;Pm(u!=null&&Number.isFinite(u),"content-range mismatch"),Pm(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 Pm(Number.isFinite(this.start)),Pm(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 Om("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||Nne(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||Nne(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")}};Tne.exports=uM});var Qne=A((MVt,Dne)=>{"use strict";var CVe=eb(),bVe=bv(),dM=class extends CVe{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 bVe({...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()}};Dne.exports=dM});var gM=A((qVt,Gne)=>{"use strict";var Fne=require("node:assert"),{Readable:wVe}=require("node:stream"),{RequestAbortedError:Mne,NotSupportedError:IVe,InvalidArgumentError:SVe,AbortError:fM}=_t(),Une=ot(),{ReadableStreamFrom:BVe}=ot(),$s=Symbol("kConsume"),xb=Symbol("kReading"),Vd=Symbol("kBody"),kne=Symbol("kAbort"),qne=Symbol("kContentType"),Pne=Symbol("kContentLength"),xVe=o(()=>{},"noop"),hM=class extends wVe{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[kne]=r,this[$s]=null,this[Vd]=null,this[qne]=n,this[Pne]=i,this[xb]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new Mne),e&&this[kne](),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[$s]&&e!==null?(AM(this[$s],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 IVe}get bodyUsed(){return Une.isDisturbed(this)}get body(){return this[Vd]||(this[Vd]=BVe(this),this[$s]&&(this[Vd].getReader(),Fne(this[Vd].locked))),this[Vd]}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 SVe("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[Pne]>r&&this.destroy(new fM);let a=o(()=>{this.destroy(n.reason??new fM)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new fM):i(null)}).on("error",xVe).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function vVe(t){return t[Vd]&&t[Vd].locked===!0||t[$s]}o(vVe,"isLocked");function NVe(t){return Une.isDisturbed(t)||vVe(t)}o(NVe,"isUnusable");async function vb(t,e){return Fne(!t[$s]),new Promise((r,n)=>{if(NVe(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[$s]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){mM(this[$s],i)}).on("close",function(){this[$s].body!==null&&mM(this[$s],new Mne)}),_Ve(t[$s])})})}o(vb,"consume");function _Ve(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(pM,"chunksDecode");function One(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 RVe=require("node:assert"),{ResponseStatusCodeError:Hne}=_t(),{chunksDecode:Vne}=gM(),TVe=128*1024;async function DVe({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){RVe(e);let a=[],c=0;try{for await(let f of e)if(a.push(f),c+=f.length,c>TVe){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new Hne(l,n,s)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let d;try{zne(r)?d=JSON.parse(Vne(a,c)):jne(r)&&(d=Vne(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new Hne(l,n,s,d)))}o(DVe,"getResolveErrorBodyCallback");var zne=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"),jne=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");$ne.exports={getResolveErrorBodyCallback:DVe,isContentTypeApplicationJson:zne,isContentTypeText:jne}});var Yne=A((zVt,EM)=>{"use strict";var QVe=require("node:assert"),{Readable:kVe}=gM(),{InvalidArgumentError:Lm,RequestAbortedError:Jne}=_t(),Js=ot(),{getResolveErrorBodyCallback:PVe}=yM(),{AsyncResource:OVe}=require("node:async_hooks"),wv=class extends OVe{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Lm("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 Lm("invalid callback");if(d&&(typeof d!="number"||d<0))throw new Lm("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Lm("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Lm("invalid method");if(c&&typeof c!="function")throw new Lm("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 Jne:this.removeAbortListener=Js.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new Jne,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}QVe(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"],m=h["content-length"],g=new kVe({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&m?Number(m):null,highWaterMark:d});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(PVe,null,{callback:s,body:g,contentType:p,statusCode:e,statusMessage:i,headers:f}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:f,trailers:this.trailers,opaque:a,body:g,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 Wne(t,e){if(e===void 0)return new Promise((r,n)=>{Wne.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new wv(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(Wne,"request");EM.exports=Wne;EM.exports.RequestHandler=wv});var Nb=A(($Vt,Zne)=>{var{addAbortListener:LVe}=ot(),{RequestAbortedError:FVe}=_t(),Fm=Symbol("kListener"),Tc=Symbol("kSignal");function Kne(t){t.abort?t.abort(t[Tc]?.reason):t.reason=t[Tc]?.reason??new FVe,Xne(t)}o(Kne,"abort");function MVe(t,e){if(t.reason=null,t[Tc]=null,t[Fm]=null,!!e){if(e.aborted){Kne(t);return}t[Tc]=e,t[Fm]=()=>{Kne(t)},LVe(t[Tc],t[Fm])}}o(MVe,"addSignal");function Xne(t){t[Tc]&&("removeEventListener"in t[Tc]?t[Tc].removeEventListener("abort",t[Fm]):t[Tc].removeListener("abort",t[Fm]),t[Tc]=null,t[Fm]=null)}o(Xne,"removeSignal");Zne.exports={addSignal:MVe,removeSignal:Xne}});var nie=A((WVt,rie)=>{"use strict";var UVe=require("node:assert"),{finished:qVe,PassThrough:GVe}=require("node:stream"),{InvalidArgumentError:Mm,InvalidReturnValueError:HVe}=_t(),qa=ot(),{getResolveErrorBodyCallback:VVe}=yM(),{AsyncResource:zVe}=require("node:async_hooks"),{addSignal:jVe,removeSignal:eie}=Nb(),CM=class extends zVe{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Mm("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 Mm("invalid callback");if(typeof r!="function")throw new Mm("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Mm("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Mm("invalid method");if(l&&typeof l!="function")throw new Mm("invalid onInfo callback");super("UNDICI_STREAM")}catch(f){throw qa.isStream(c)&&qa.destroy(c.on("error",qa.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,qa.isStream(c)&&c.on("error",f=>{this.onError(f)}),jVe(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}UVe(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"?qa.parseRawHeaders(r):qa.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 m=(u==="raw"?qa.parseHeaders(r):d)["content-type"];f=new GVe,this.callback=null,this.runInAsyncScope(VVe,null,{callback:l,body:f,contentType:m,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 HVe("expected Writable");qVe(f,{readable:!1},p=>{let{callback:m,res:g,opaque:E,trailers:y,abort:C}=this;this.res=null,(p||!g.readable)&&qa.destroy(g,p),this.callback=null,this.runInAsyncScope(m,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;eie(this),r&&(this.trailers=qa.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;eie(this),this.factory=null,r?(this.res=null,qa.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,qa.destroy(s,e))}};function tie(t,e,r){if(r===void 0)return new Promise((n,i)=>{tie.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new CM(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(tie,"stream");rie.exports=tie});var aie=A((KVt,oie)=>{"use strict";var{Readable:sie,Duplex:$Ve,PassThrough:JVe}=require("node:stream"),{InvalidArgumentError:_b,InvalidReturnValueError:WVe,RequestAbortedError:bM}=_t(),Lo=ot(),{AsyncResource:YVe}=require("node:async_hooks"),{addSignal:KVe,removeSignal:XVe}=Nb(),iie=require("node:assert"),Um=Symbol("resume"),wM=class extends sie{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Um]=null}_read(){let{[Um]:e}=this;e&&(this[Um]=null,e())}_destroy(e,r){this._read(),r(e)}},IM=class extends sie{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Um]=e}_read(){this[Um]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new bM),r(e)}},SM=class extends YVe{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 wM().on("error",Lo.nop),this.ret=new $Ve({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[Um]=d},"write"),destroy:o((l,u)=>{let{body:d,req:f,res:h,ret:p,abort:m}=this;!l&&!p._readableState.endEmitted&&(l=new bM),m&&l&&m(),Lo.destroy(d,l),Lo.destroy(f,l),Lo.destroy(h,l),XVe(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,KVe(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}iie(!i,"pipeline cannot be retried"),iie(!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"?Lo.parseRawHeaders(r):Lo.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new IM(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Lo.parseRawHeaders(r):Lo.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",Lo.nop),l}if(!c||typeof c.on!="function")throw new WVe("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;Lo.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Lo.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,Lo.destroy(r,e)}};function ZVe(t,e){try{let r=new SM(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new JVe().destroy(r)}}o(ZVe,"pipeline");oie.exports=ZVe});var hie=A((ZVt,fie)=>{"use strict";var{InvalidArgumentError:BM,SocketError:eze}=_t(),{AsyncResource:tze}=require("node:async_hooks"),cie=ot(),{addSignal:rze,removeSignal:lie}=Nb(),uie=require("node:assert"),xM=class extends tze{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new BM("invalid opts");if(typeof r!="function")throw new BM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new BM("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,rze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}uie(this.callback),this.abort=e,this.context=null}onHeaders(){throw new eze("bad upgrade",null)}onUpgrade(e,r,n){uie(e===101);let{callback:i,opaque:s,context:a}=this;lie(this),this.callback=null;let c=this.responseHeaders==="raw"?cie.parseRawHeaders(r):cie.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;lie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function die(t,e){if(e===void 0)return new Promise((r,n)=>{die.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new xM(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(die,"upgrade");fie.exports=die});var yie=A((tzt,gie)=>{"use strict";var nze=require("node:assert"),{AsyncResource:ize}=require("node:async_hooks"),{InvalidArgumentError:vM,SocketError:sze}=_t(),pie=ot(),{addSignal:oze,removeSignal:Aie}=Nb(),NM=class extends ize{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new vM("invalid opts");if(typeof r!="function")throw new vM("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new vM("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,oze(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}nze(this.callback),this.abort=e,this.context=r}onHeaders(){throw new sze("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;Aie(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?pie.parseRawHeaders(r):pie.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;Aie(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function mie(t,e){if(e===void 0)return new Promise((r,n)=>{mie.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new NM(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(mie,"connect");gie.exports=mie});var Eie=A((nzt,qm)=>{"use strict";qm.exports.request=Yne();qm.exports.stream=nie();qm.exports.pipeline=aie();qm.exports.upgrade=hie();qm.exports.connect=yie()});var RM=A((izt,bie)=>{"use strict";var{UndiciError:aze}=_t(),Cie=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),_M=class t extends aze{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[Cie]===!0}[Cie]=!0};bie.exports={MockNotMatchedError:_M}});var Gm=A((ozt,wie)=>{"use strict";wie.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 Rb=A((azt,Qie)=>{"use strict";var{MockNotMatchedError:Gh}=RM(),{kDispatches:Iv,kMockAgent:cze,kOriginalDispatch:lze,kOrigin:uze,kGetNetConnect:dze}=Gm(),{buildURL:fze}=ot(),{STATUS_CODES:hze}=require("node:http"),{types:{isPromise:pze}}=require("node:util");function Su(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Su,"matchValue");function Sie(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(Sie,"lowerCaseEntries");function Bie(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=Bie(e,r);if(!Su(n,i))return!1}return!0}o(xie,"matchHeaders");function Iie(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(Iie,"safeUrl");function Aze(t,{path:e,method:r,body:n,headers:i}){let s=Su(t.path,e),a=Su(t.method,r),c=typeof t.body<"u"?Su(t.body,n):!0,l=xie(t,i);return s&&a&&c&&l}o(Aze,"matchKey");function vie(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(vie,"getResponseData");function Nie(t,e){let r=e.query?fze(e.path,e.query):e.path,n=typeof r=="string"?Iie(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Su(Iie(s),n));if(i.length===0)throw new Gh(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Su(s,e.method)),i.length===0)throw new Gh(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Su(s,e.body):!0),i.length===0)throw new Gh(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>xie(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Gh(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(Nie,"getMockDispatch");function mze(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(mze,"addMockDispatch");function TM(t,e){let r=t.findIndex(n=>n.consumed?Aze(n,e):!1);r!==-1&&t.splice(r,1)}o(TM,"deleteMockDispatch");function _ie(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(_ie,"buildKey");function DM(t){let e=Object.keys(t),r=[];for(let n=0;n=h,n.pending=f0?setTimeout(()=>{p(this[Iv])},u):p(this[Iv]);function p(g,E=s){let y=Array.isArray(t.headers)?QM(t.headers):t.headers,C=typeof E=="function"?E({...t,headers:y}):E;if(pze(C)){C.then(M=>p(g,M));return}let w=vie(C),B=DM(a),Q=DM(c);e.onConnect?.(M=>e.onError(M),null),e.onHeaders?.(i,B,m,Rie(i)),e.onData?.(Buffer.from(w)),e.onComplete?.(Q),TM(g,r)}o(p,"handleReply");function m(){}return o(m,"resume"),!0}o(Tie,"mockDispatch");function yze(){let t=this[cze],e=this[uze],r=this[lze];return o(function(i,s){if(t.isMockActive)try{Tie.call(this,i,s)}catch(a){if(a instanceof Gh){let c=t[dze]();if(c===!1)throw new Gh(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(Die(c,e))r.call(this,i,s);else throw new Gh(`${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(yze,"buildMockDispatch");function Die(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Su(n,r.host)))}o(Die,"checkNetConnect");function Eze(t){if(t){let{agent:e,...r}=t;return r}}o(Eze,"buildMockOptions");Qie.exports={getResponseData:vie,getMockDispatch:Nie,addMockDispatch:mze,deleteMockDispatch:TM,buildKey:_ie,generateKeyValues:DM,matchValue:Su,getResponse:gze,getStatusText:Rie,mockDispatch:Tie,buildMockDispatch:yze,checkNetConnect:Die,buildMockOptions:Eze,getHeaderByName:Bie,buildHeadersFromArray:QM}});var UM=A((lzt,MM)=>{"use strict";var{getResponseData:Cze,buildKey:bze,addMockDispatch:kM}=Rb(),{kDispatches:Sv,kDispatchKey:Bv,kDefaultHeaders:PM,kDefaultTrailers:OM,kContentLength:LM,kMockDispatch:xv}=Gm(),{InvalidArgumentError:Dc}=_t(),{buildURL:wze}=ot(),Hm=class{static{o(this,"MockScope")}constructor(e){this[xv]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Dc("waitInMs must be a valid integer > 0");return this[xv].delay=e,this}persist(){return this[xv].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Dc("repeatTimes must be a valid integer > 0");return this[xv].times=e,this}},FM=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Dc("opts must be an object");if(typeof e.path>"u")throw new Dc("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=wze(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[Bv]=bze(e),this[Sv]=r,this[PM]={},this[OM]={},this[LM]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=Cze(r),s=this[LM]?{"content-length":i.length}:{},a={...this[PM],...s,...n.headers},c={...this[OM],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Dc("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Dc("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 Dc("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=kM(this[Sv],this[Bv],s);return new Hm(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=kM(this[Sv],this[Bv],n);return new Hm(i)}replyWithError(e){if(typeof e>"u")throw new Dc("error must be defined");let r=kM(this[Sv],this[Bv],{error:e});return new Hm(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Dc("headers must be defined");return this[PM]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Dc("trailers must be defined");return this[OM]=e,this}replyContentLength(){return this[LM]=!0,this}};MM.exports.MockInterceptor=FM;MM.exports.MockScope=Hm});var HM=A((dzt,Uie)=>{"use strict";var{promisify:Ize}=require("node:util"),Sze=Tm(),{buildMockDispatch:Bze}=Rb(),{kDispatches:kie,kMockAgent:Pie,kClose:Oie,kOriginalClose:Lie,kOrigin:Fie,kOriginalDispatch:xze,kConnected:qM}=Gm(),{MockInterceptor:vze}=UM(),Mie=Ar(),{InvalidArgumentError:Nze}=_t(),GM=class extends Sze{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Nze("Argument opts.agent must implement Agent");this[Pie]=r.agent,this[Fie]=e,this[kie]=[],this[qM]=1,this[xze]=this.dispatch,this[Lie]=this.close.bind(this),this.dispatch=Bze.call(this),this.close=this[Oie]}get[Mie.kConnected](){return this[qM]}intercept(e){return new vze(e,this[kie])}async[Oie](){await Ize(this[Lie])(),this[qM]=0,this[Pie][Mie.kClients].delete(this[Fie])}};Uie.exports=GM});var jM=A((hzt,$ie)=>{"use strict";var{promisify:_ze}=require("node:util"),Rze=Dm(),{buildMockDispatch:Tze}=Rb(),{kDispatches:qie,kMockAgent:Gie,kClose:Hie,kOriginalClose:Vie,kOrigin:zie,kOriginalDispatch:Dze,kConnected:VM}=Gm(),{MockInterceptor:Qze}=UM(),jie=Ar(),{InvalidArgumentError:kze}=_t(),zM=class extends Rze{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new kze("Argument opts.agent must implement Agent");this[Gie]=r.agent,this[zie]=e,this[qie]=[],this[VM]=1,this[Dze]=this.dispatch,this[Vie]=this.close.bind(this),this.dispatch=Tze.call(this),this.close=this[Hie]}get[jie.kConnected](){return this[VM]}intercept(e){return new Qze(e,this[qie])}async[Hie](){await _ze(this[Vie])(),this[VM]=0,this[Gie][jie.kClients].delete(this[zie])}};$ie.exports=zM});var Wie=A((mzt,Jie)=>{"use strict";var Pze={pronoun:"it",is:"is",was:"was",this:"this"},Oze={pronoun:"they",is:"are",was:"were",this:"these"};Jie.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Pze:Oze,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var Kie=A((Ezt,Yie)=>{"use strict";var{Transform:Lze}=require("node:stream"),{Console:Fze}=require("node:console"),Mze=process.versions.icu?"\u2705":"Y ",Uze=process.versions.icu?"\u274C":"N ";Yie.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Lze({transform(r,n,i){i(null,r)}}),this.logger=new Fze({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?Mze:Uze,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var tse=A((bzt,ese)=>{"use strict";var{kClients:Hh}=Ar(),qze=Qm(),{kAgent:$M,kMockAgentSet:vv,kMockAgentGet:Xie,kDispatches:JM,kIsMockActive:Nv,kNetConnect:Vh,kGetNetConnect:Gze,kOptions:_v,kFactory:Rv}=Gm(),Hze=HM(),Vze=jM(),{matchValue:zze,buildMockOptions:jze}=Rb(),{InvalidArgumentError:Zie,UndiciError:$ze}=_t(),Jze=eb(),Wze=Wie(),Yze=Kie(),WM=class extends Jze{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Vh]=!0,this[Nv]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new Zie("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new qze(e);this[$M]=r,this[Hh]=r[Hh],this[_v]=jze(e)}get(e){let r=this[Xie](e);return r||(r=this[Rv](e),this[vv](e,r)),r}dispatch(e,r){return this.get(e.origin),this[$M].dispatch(e,r)}async close(){await this[$M].close(),this[Hh].clear()}deactivate(){this[Nv]=!1}activate(){this[Nv]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Vh])?this[Vh].push(e):this[Vh]=[e];else if(typeof e>"u")this[Vh]=!0;else throw new Zie("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Vh]=!1}get isMockActive(){return this[Nv]}[vv](e,r){this[Hh].set(e,r)}[Rv](e){let r=Object.assign({agent:this},this[_v]);return this[_v]&&this[_v].connections===1?new Hze(e,r):new Vze(e,r)}[Xie](e){let r=this[Hh].get(e);if(r)return r;if(typeof e!="string"){let n=this[Rv]("http://localhost:9999");return this[vv](e,n),n}for(let[n,i]of Array.from(this[Hh]))if(i&&typeof n!="string"&&zze(n,e)){let s=this[Rv](e);return this[vv](e,s),s[JM]=i[JM],s}}[Gze](){return this[Vh]}pendingInterceptors(){let e=this[Hh];return Array.from(e.entries()).flatMap(([r,n])=>n[JM].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Yze}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Wze("interceptor","interceptors").pluralize(r.length);throw new $ze(` ${n.count} ${n.noun} ${n.is} pending: ${e.format(r)} -`.trim())}};Zie.exports=WM});var Tv=A((Czt,ise)=>{"use strict";var tse=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Yze}=_t(),Kze=Qm();nse()===void 0&&rse(new Kze);function rse(t){if(!t||typeof t.dispatch!="function")throw new Yze("Argument agent must implement Agent");Object.defineProperty(globalThis,tse,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(rse,"setGlobalDispatcher");function nse(){return globalThis[tse]}o(nse,"getGlobalDispatcher");ise.exports={setGlobalDispatcher:rse,getGlobalDispatcher:nse}});var Dv=A((Izt,sse)=>{"use strict";sse.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 ase=A((Bzt,ose)=>{"use strict";var Xze=uv();ose.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 Xze(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var lse=A((vzt,cse)=>{"use strict";var Zze=bv();cse.exports=t=>e=>o(function(n,i){return e(n,new Zze({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var dse=A((_zt,use)=>{"use strict";var eje=ot(),{InvalidArgumentError:tje,RequestAbortedError:rje}=_t(),nje=Dv(),YM=class extends nje{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 tje("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=eje.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new rje(`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 ije({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new YM({maxSize:s},i);return e(n,a)},"Intercept")}o(ije,"createDumpInterceptor");use.exports=ije});var pse=A((Tzt,hse)=>{"use strict";var{isIP:sje}=require("node:net"),{lookup:oje}=require("node:dns"),aje=Dv(),{InvalidArgumentError:Vm,InformationalError:cje}=_t(),fse=Math.pow(2,31)-1,KM=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 cje("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){oje(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===fse?(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===fse?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 XM(this,e,r)}},XM=class extends aje{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}}};hse.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Vm("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Vm("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Vm("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Vm("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Vm("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Vm("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 KM(n);return s=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return sje(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 zh=A((Qzt,bse)=>{"use strict";var{kConstruct:lje}=Ar(),{kEnumerableProperty:zm}=ot(),{iteratorMixin:uje,isValidHeaderName:Db,isValidHeaderValue:mse}=zs(),{webidl:Bt}=oi(),ZM=require("node:assert"),Qv=require("node:util"),An=Symbol("headers map"),Ws=Symbol("headers map sorted");function Ase(t){return t===10||t===13||t===9||t===32}o(Ase,"isHTTPWhiteSpaceCharCode");function gse(t){let e=0,r=t.length;for(;r>e&&Ase(t.charCodeAt(r-1));)--r;for(;r>e&&Ase(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(gse,"headerValueNormalize");function yse(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(yse,"fill");function eU(t,e,r){if(r=gse(r),Db(e)){if(!mse(r))throw Bt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Bt.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(Cse(t)==="immutable")throw new TypeError("immutable");return tU(t).append(e,r,!1)}o(eU,"appendHeader");function Ese(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[An])r[n++]=[i,s],ZM(s!==null);return r.sort(Ese)}}},Ga=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Bt.util.markAsUncloneable(this),e!==lje&&(this.#t=new kv,this.#e="none",e!==void 0&&(e=Bt.converters.HeadersInit(e,"Headers contructor","init"),yse(this,e)))}append(e,r){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=Bt.converters.ByteString(e,n,"name"),r=Bt.converters.ByteString(r,n,"value"),eU(this,e,r)}delete(e){if(Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,1,"Headers.delete"),e=Bt.converters.ByteString(e,"Headers.delete","name"),!Db(e))throw Bt.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){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Bt.converters.ByteString(e,r,"name"),!Db(e))throw Bt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Bt.converters.ByteString(e,r,"name"),!Db(e))throw Bt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=Bt.converters.ByteString(e,n,"name"),r=Bt.converters.ByteString(r,n,"value"),r=gse(r),Db(e)){if(!mse(r))throw Bt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Bt.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Bt.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Ws](){if(this.#t[Ws])return this.#t[Ws];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Ws]=r;for(let i=0;i>"](t,e,r,n.bind(t)):Bt.converters["record"](t,e,r)}throw Bt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};bse.exports={fill:yse,compareHeaderName:Ese,Headers:Ga,HeadersList:kv,getHeadersGuard:Cse,setHeadersGuard:dje,setHeadersList:fje,getHeadersList:tU}});var kb=A((Pzt,Qse)=>{"use strict";var{Headers:vse,HeadersList:wse,fill:hje,getHeadersGuard:pje,setHeadersGuard:Nse,setHeadersList:_se}=zh(),{extractBody:Ise,cloneBody:Aje,mixinBody:mje,hasFinalizationRegistry:Rse,streamRegistry:Tse,bodyUnusable:gje}=Sm(),rU=ot(),Sse=require("node:util"),{kEnumerableProperty:Ys}=rU,{isValidReasonPhrase:yje,isCancelled:Eje,isAborted:Cje,isBlobLike:bje,serializeJavascriptValueToJSONString:wje,isErrorLike:Ije,isomorphicEncode:Sje,environmentSettingsObject:Bje}=zs(),{redirectStatusSet:xje,nullBodyStatus:vje}=ib(),{kState:gr,kHeaders:Bu}=kd(),{webidl:tt}=oi(),{FormData:Nje}=ub(),{URLSerializer:Bse}=ms(),{kConstruct:Ov}=Ar(),nU=require("node:assert"),{types:_je}=require("node:util"),Rje=new TextEncoder("utf-8"),jh=class t{static{o(this,"Response")}static error(){return Qb(Lv(),"immutable")}static json(e,r={}){tt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=tt.converters.ResponseInit(r));let n=Rje.encode(wje(e)),i=Ise(n),s=Qb(jm({}),"response");return xse(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,Bje.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!xje.has(r))throw new RangeError(`Invalid status code ${r}`);let i=Qb(jm({}),"immutable");i[gr].status=r;let s=Sje(Bse(n));return i[gr].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(tt.util.markAsUncloneable(this),e===Ov)return;e!==null&&(e=tt.converters.BodyInit(e)),r=tt.converters.ResponseInit(r),this[gr]=jm({}),this[Bu]=new vse(Ov),Nse(this[Bu],"response"),_se(this[Bu],this[gr].headersList);let n=null;if(e!=null){let[i,s]=Ise(e);n={body:i,type:s}}xse(this,r,n)}get type(){return tt.brandCheck(this,t),this[gr].type}get url(){tt.brandCheck(this,t);let e=this[gr].urlList,r=e[e.length-1]??null;return r===null?"":Bse(r,!0)}get redirected(){return tt.brandCheck(this,t),this[gr].urlList.length>1}get status(){return tt.brandCheck(this,t),this[gr].status}get ok(){return tt.brandCheck(this,t),this[gr].status>=200&&this[gr].status<=299}get statusText(){return tt.brandCheck(this,t),this[gr].statusText}get headers(){return tt.brandCheck(this,t),this[Bu]}get body(){return tt.brandCheck(this,t),this[gr].body?this[gr].body.stream:null}get bodyUsed(){return tt.brandCheck(this,t),!!this[gr].body&&rU.isDisturbed(this[gr].body.stream)}clone(){if(tt.brandCheck(this,t),gje(this))throw tt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=iU(this[gr]);return Rse&&this[gr].body?.stream&&Tse.register(this,new WeakRef(this[gr].body.stream)),Qb(e,pje(this[Bu]))}[Sse.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 ${Sse.formatWithOptions(r,n)}`}};mje(jh);Object.defineProperties(jh.prototype,{type:Ys,url:Ys,status:Ys,ok:Ys,redirected:Ys,statusText:Ys,headers:Ys,clone:Ys,body:Ys,bodyUsed:Ys,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(jh,{json:Ys,redirect:Ys,error:Ys});function iU(t){if(t.internalResponse)return Dse(iU(t.internalResponse),t.type);let e=jm({...t,body:null});return t.body!=null&&(e.body=Aje(e,t.body)),e}o(iU,"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 wse(t?.headersList):new wse,urlList:t?.urlList?[...t.urlList]:[]}}o(jm,"makeResponse");function Lv(t){let e=Ije(t);return jm({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Lv,"makeNetworkError");function Tje(t){return t.type==="error"&&t.status===0}o(Tje,"isNetworkError");function Pv(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 nU(!(n in e)),r[n]=i,!0}})}o(Pv,"makeFilteredResponse");function Dse(t,e){if(e==="basic")return Pv(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Pv(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Pv(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Pv(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});nU(!1)}o(Dse,"filterResponse");function Dje(t,e=null){return nU(Eje(t)),Cje(t)?Lv(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Lv(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Dje,"makeAppropriateNetworkError");function xse(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&&!yje(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[gr].status=e.status),"statusText"in e&&e.statusText!=null&&(t[gr].statusText=e.statusText),"headers"in e&&e.headers!=null&&hje(t[Bu],e.headers),r){if(vje.includes(t.status))throw tt.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[gr].body=r.body,r.type!=null&&!t[gr].headersList.contains("content-type",!0)&&t[gr].headersList.append("content-type",r.type,!0)}}o(xse,"initializeResponse");function Qb(t,e){let r=new jh(Ov);return r[gr]=t,r[Bu]=new vse(Ov),_se(r[Bu],t.headersList),Nse(r[Bu],e),Rse&&t.body?.stream&&Tse.register(r,new WeakRef(t.body.stream)),r}o(Qb,"fromInnerResponse");tt.converters.ReadableStream=tt.interfaceConverter(ReadableStream);tt.converters.FormData=tt.interfaceConverter(Nje);tt.converters.URLSearchParams=tt.interfaceConverter(URLSearchParams);tt.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?tt.converters.USVString(t,e,r):bje(t)?tt.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||_je.isArrayBuffer(t)?tt.converters.BufferSource(t,e,r):rU.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}]);Qse.exports={isNetworkError:Tje,makeNetworkError:Lv,makeResponse:jm,makeAppropriateNetworkError:Dje,filterResponse:Dse,Response:jh,cloneResponse:iU,fromInnerResponse:Qb}});var Lse=A((Lzt,Ose)=>{"use strict";var{kConnected:kse,kSize:Pse}=Ar(),sU=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[kse]===0&&this.value[Pse]===0?void 0:this.value}},oU=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[kse]===0&&e[Pse]===0&&this.finalizer(r)})}unregister(e){}};Ose.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:sU,FinalizationRegistry:oU}):{WeakRef,FinalizationRegistry}}});var $m=A((Mzt,Xse)=>{"use strict";var{extractBody:Qje,mixinBody:kje,cloneBody:Pje,bodyUnusable:Fse}=Sm(),{Headers:$se,fill:Oje,HeadersList:qv,setHeadersGuard:cU,getHeadersGuard:Lje,setHeadersList:Jse,getHeadersList:Mse}=zh(),{FinalizationRegistry:Fje}=Lse()(),Mv=ot(),Use=require("node:util"),{isValidHTTPToken:Mje,sameOrigin:qse,environmentSettingsObject:Fv}=zs(),{forbiddenMethodsSet:Uje,corsSafeListedMethodsSet:qje,referrerPolicy:Gje,requestRedirect:Hje,requestMode:Vje,requestCredentials:zje,requestCache:jje,requestDuplex:$je}=ib(),{kEnumerableProperty:mn,normalizedMethodRecordsBase:Jje,normalizedMethodRecords:Wje}=Mv,{kHeaders:Ks,kSignal:Uv,kState:rr,kDispatcher:aU}=kd(),{webidl:Me}=oi(),{URLSerializer:Yje}=ms(),{kConstruct:Gv}=Ar(),Kje=require("node:assert"),{getMaxListeners:Gse,setMaxListeners:Hse,getEventListeners:Xje,defaultMaxListeners:Vse}=require("node:events"),Zje=Symbol("abortController"),Wse=new Fje(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Hv=new WeakMap;function zse(t){return e;function e(){let r=t.deref();if(r!==void 0){Wse.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Hv.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()}Hv.delete(r.signal)}}}}o(zse,"buildAbort");var jse=!1,zd=class t{static{o(this,"Request")}constructor(e,r={}){if(Me.util.markAsUncloneable(this),e===Gv)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=Fv.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[aU]=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=Vv({urlList:[y]}),s="cors"}else this[aU]=r.dispatcher||e[aU],Kje(e instanceof t),i=e[rr],c=e[Uv];let l=Fv.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&qse(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=Vv({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Fv.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(w){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:w})}C.protocol==="about:"&&C.hostname==="client"||l&&!qse(C,Fv.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=Wje[y];if(C!==void 0)i.method=C;else{if(!Mje(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let w=y.toUpperCase();if(Uje.has(w))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=Jje[w]??y,i.method=y}!jse&&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"}),jse=!0)}r.signal!==void 0&&(c=r.signal),this[rr]=i;let h=new AbortController;if(this[Uv]=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[Zje]=h;let y=new WeakRef(h),C=zse(y);try{(typeof Gse=="function"&&Gse(c)===Vse||Xje(c,"abort").length>=Vse)&&Hse(1500,c)}catch{}Mv.addAbortListener(c,C),Wse.register(h,{signal:c,abort:C},C)}}if(this[Ks]=new $se(Gv),Jse(this[Ks],i.headersList),cU(this[Ks],"request"),f==="no-cors"){if(!qje.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);cU(this[Ks],"request-no-cors")}if(d){let y=Mse(this[Ks]),C=r.headers!==void 0?r.headers:new qv(y);if(y.clear(),C instanceof qv){for(let{name:w,value:B}of C.rawValues())y.append(w,B,!1);y.cookies=C.cookies}else Oje(this[Ks],C)}let p=e instanceof t?e[rr].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 m=null;if(r.body!=null){let[y,C]=Qje(r.body,i.keepalive);m=y,C&&!Mse(this[Ks]).contains("content-type",!0)&&this[Ks].append("content-type",C)}let g=m??p;if(g!=null&&g.source==null){if(m!=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(m==null&&p!=null){if(Fse(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[rr].body=E}get method(){return Me.brandCheck(this,t),this[rr].method}get url(){return Me.brandCheck(this,t),Yje(this[rr].url)}get headers(){return Me.brandCheck(this,t),this[Ks]}get destination(){return Me.brandCheck(this,t),this[rr].destination}get referrer(){return Me.brandCheck(this,t),this[rr].referrer==="no-referrer"?"":this[rr].referrer==="client"?"about:client":this[rr].referrer.toString()}get referrerPolicy(){return Me.brandCheck(this,t),this[rr].referrerPolicy}get mode(){return Me.brandCheck(this,t),this[rr].mode}get credentials(){return this[rr].credentials}get cache(){return Me.brandCheck(this,t),this[rr].cache}get redirect(){return Me.brandCheck(this,t),this[rr].redirect}get integrity(){return Me.brandCheck(this,t),this[rr].integrity}get keepalive(){return Me.brandCheck(this,t),this[rr].keepalive}get isReloadNavigation(){return Me.brandCheck(this,t),this[rr].reloadNavigation}get isHistoryNavigation(){return Me.brandCheck(this,t),this[rr].historyNavigation}get signal(){return Me.brandCheck(this,t),this[Uv]}get body(){return Me.brandCheck(this,t),this[rr].body?this[rr].body.stream:null}get bodyUsed(){return Me.brandCheck(this,t),!!this[rr].body&&Mv.isDisturbed(this[rr].body.stream)}get duplex(){return Me.brandCheck(this,t),"half"}clone(){if(Me.brandCheck(this,t),Fse(this))throw new TypeError("unusable");let e=Yse(this[rr]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Hv.get(this.signal);n===void 0&&(n=new Set,Hv.set(this.signal,n));let i=new WeakRef(r);n.add(i),Mv.addAbortListener(r.signal,zse(i))}return Kse(e,r.signal,Lje(this[Ks]))}[Use.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 ${Use.formatWithOptions(r,n)}`}};kje(zd);function Vv(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 qv(t.headersList):new qv}}o(Vv,"makeRequest");function Yse(t){let e=Vv({...t,body:null});return t.body!=null&&(e.body=Pje(e,t.body)),e}o(Yse,"cloneRequest");function Kse(t,e,r){let n=new zd(Gv);return n[rr]=t,n[Uv]=e,n[Ks]=new $se(Gv),Jse(n[Ks],t.headersList),cU(n[Ks],r),n}o(Kse,"fromInnerRequest");Object.defineProperties(zd.prototype,{method:mn,url:mn,headers:mn,redirect:mn,clone:mn,signal:mn,duplex:mn,destination:mn,body:mn,bodyUsed:mn,isHistoryNavigation:mn,isReloadNavigation:mn,keepalive:mn,integrity:mn,cache:mn,credentials:mn,attribute:mn,referrerPolicy:mn,referrer:mn,mode:mn,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Me.converters.Request=Me.interfaceConverter(zd);Me.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Me.converters.USVString(t,e,r):t instanceof zd?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:Gje},{key:"mode",converter:Me.converters.DOMString,allowedValues:Vje},{key:"credentials",converter:Me.converters.DOMString,allowedValues:zje},{key:"cache",converter:Me.converters.DOMString,allowedValues:jje},{key:"redirect",converter:Me.converters.DOMString,allowedValues:Hje},{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:$je},{key:"dispatcher",converter:Me.converters.any}]);Xse.exports={Request:zd,makeRequest:Vv,fromInnerRequest:Kse,cloneRequest:Yse}});var Ob=A((qzt,hoe)=>{"use strict";var{makeNetworkError:Gt,makeAppropriateNetworkError:zv,filterResponse:lU,makeResponse:jv,fromInnerResponse:e$e}=kb(),{HeadersList:Zse}=zh(),{Request:t$e,cloneRequest:r$e}=$m(),jd=require("node:zlib"),{bytesMatch:n$e,makePolicyContainer:i$e,clonePolicyContainer:s$e,requestBadPort:o$e,TAOCheck:a$e,appendRequestOriginHeader:c$e,responseLocationURL:l$e,requestCurrentURL:Qc,setRequestReferrerPolicyOnRedirect:u$e,tryUpgradeRequestToAPotentiallyTrustworthyURL:d$e,createOpaqueTimingInfo:pU,appendFetchMetadata:f$e,corsCheck:h$e,crossOriginResourcePolicyCheck:p$e,determineRequestsReferrer:A$e,coarsenedSharedCurrentTime:Pb,createDeferredPromise:m$e,isBlobLike:g$e,sameOrigin:hU,isCancelled:$h,isAborted:eoe,isErrorLike:y$e,fullyReadBody:E$e,readableStreamClose:C$e,isomorphicEncode:$v,urlIsLocal:b$e,urlIsHttpHttpsScheme:AU,urlHasHttpsScheme:w$e,clampAndCoarsenConnectionTimingInfo:I$e,simpleRangeHeaderValue:S$e,buildContentRange:B$e,createInflate:x$e,extractMimeType:v$e}=zs(),{kState:ioe,kDispatcher:N$e}=kd(),Jh=require("node:assert"),{safelyExtractBody:mU,extractBody:toe}=Sm(),{redirectStatusSet:soe,nullBodyStatus:ooe,safeMethodsSet:_$e,requestBodyHeader:R$e,subresourceSet:T$e}=ib(),D$e=require("node:events"),{Readable:Q$e,pipeline:k$e,finished:P$e}=require("node:stream"),{addAbortListener:O$e,isErrored:L$e,isReadable:Jv,bufferToLowerCasedHeaderName:roe}=ot(),{dataURLProcessor:F$e,serializeAMimeType:M$e,minimizeSupportedMimeType:U$e}=ms(),{getGlobalDispatcher:q$e}=Tv(),{webidl:G$e}=oi(),{STATUS_CODES:H$e}=require("node:http"),V$e=["GET","HEAD"],z$e=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",uU,Wv=class extends D$e{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 j$e(t){aoe(t,"fetch")}o(j$e,"handleFetchDone");function $$e(t,e=void 0){G$e.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=m$e(),n;try{n=new t$e(t,e)}catch(d){return r.reject(d),r.promise}let i=n[ioe];if(n.signal.aborted)return dU(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 O$e(n.signal,()=>{c=!0,Jh(l!=null),l.abort(n.signal.reason);let d=a?.deref();dU(r,i,d,n.signal.reason)}),l=loe({request:i,processResponseEndOfBody:j$e,processResponse:o(d=>{if(!c){if(d.aborted){dU(r,i,a,l.serializedAbortReason);return}if(d.type==="error"){r.reject(new TypeError("fetch failed",{cause:d.error}));return}a=new WeakRef(e$e(d,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[N$e]}),r.promise}o($$e,"fetch");function aoe(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;AU(r)&&n!==null&&(t.timingAllowPassed||(n=pU({startTime:n.startTime}),i=""),n.endTime=Pb(),t.timingInfo=n,coe(n,r.href,e,globalThis,i))}o(aoe,"finalizeAndReportTiming");var coe=performance.markResourceTiming;function dU(t,e,r,n){if(t&&t.reject(n),e.body!=null&&Jv(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[ioe];i.body!=null&&Jv(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(dU,"abortFetch");function loe({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=q$e()}){Jh(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let d=Pb(u),f=pU({startTime:d}),h={controller:new Wv(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=s$e(t.client.policyContainer):t.policyContainer=i$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,T$e.has(t.destination),uoe(h).catch(p=>{h.controller.terminate(p)}),h.controller}o(loe,"fetching");async function uoe(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!b$e(Qc(r))&&(n=Gt("local URLs only")),d$e(r),o$e(r)==="blocked"&&(n=Gt("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=A$e(r)),n===null&&(n=await(async()=>{let s=Qc(r);return hU(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await noe(t)):r.mode==="same-origin"?Gt('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Gt('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await noe(t)):AU(Qc(r))?(r.responseTainting="cors",await doe(t)):Gt("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=lU(n,"basic"):r.responseTainting==="cors"?n=lU(n,"cors"):r.responseTainting==="opaque"?n=lU(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=Gt()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||ooe.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>fU(t,Gt(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!n$e(c,r.integrity)){s("integrity mismatch");return}n.body=mU(c)[0],fU(t,n)},"processBody");await E$e(n.body,a,s)}else fU(t,n)}o(uoe,"mainFetch");function noe(t){if($h(t)&&t.request.redirectCount===0)return Promise.resolve(zv(t));let{request:e}=t,{protocol:r}=Qc(e);switch(r){case"about:":return Promise.resolve(Gt("about scheme is not supported"));case"blob:":{uU||(uU=require("node:buffer").resolveObjectURL);let n=Qc(e);if(n.search.length!==0)return Promise.resolve(Gt("NetworkError when attempting to fetch resource."));let i=uU(n.toString());if(e.method!=="GET"||!g$e(i))return Promise.resolve(Gt("invalid method"));let s=jv(),a=i.size,c=$v(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let u=e.headersList.get("range",!0),d=S$e(u,!0);if(d==="failure")return Promise.resolve(Gt("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(Gt("Range start is greater than the blob's size."));(h===null||h>=a)&&(h=a-1)}let p=i.slice(f,h,l),m=toe(p);s.body=m[0];let g=$v(`${p.size}`),E=B$e(f,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=toe(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=F$e(n);if(i==="failure")return Promise.resolve(Gt("failed to fetch the data URL"));let s=M$e(i.mimeType);return Promise.resolve(jv({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:mU(i.body)[0]}))}case"file:":return Promise.resolve(Gt("not implemented... yet..."));case"http:":case"https:":return doe(t).catch(n=>Gt(n));default:return Promise.resolve(Gt("unknown scheme"))}}o(noe,"schemeFetch");function J$e(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(J$e,"finalizeResponse");function fU(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=pU(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let d=v$e(e.headersList);d!=="failure"&&(l.contentType=U$e(d))}t.request.initiatorType!=null&&coe(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():P$e(i.body.stream,()=>{n()})}o(fU,"fetchFinale");async function doe(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 foe(t),e.responseTainting==="cors"&&h$e(e,r)==="failure")return Gt("cors failure");a$e(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&p$e(e.origin,e.client,e.destination,n)==="blocked"?Gt("blocked"):(soe.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Gt("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await W$e(t,r):Jh(!1)),r.timingInfo=i,r)}o(doe,"httpFetch");function W$e(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=l$e(n,Qc(r).hash),i==null)return e}catch(a){return Promise.resolve(Gt(a))}if(!AU(i))return Promise.resolve(Gt("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Gt("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!hU(r,i))return Promise.resolve(Gt('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Gt('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Gt());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!V$e.includes(r.method)){r.method="GET",r.body=null;for(let a of R$e)r.headersList.delete(a)}hU(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&&(Jh(r.body.source!=null),r.body=mU(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=Pb(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),u$e(r,n),uoe(t,!0)}o(W$e,"httpRedirectFetch");async function foe(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=r$e(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=$v(`${d}`)),f!=null&&s.headersList.append("content-length",f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",$v(s.referrer.href),!0),c$e(s),f$e(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",z$e),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)||(w$e(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 Gt("only if cached");let h=await Y$e(i,u,r);!_$e.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"?Gt():$h(t)?zv(t):Gt("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if($h(t))return zv(t);t.controller.connection.destroy(),a=await foe(t,e,!0)}return a}o(foe,"httpNetworkOrCacheFetch");async function Y$e(t,e=!1,r=!1){Jh(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(m,g=!0){this.destroyed||(this.destroyed=!0,g&&this.abort?.(m??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 m=o(async function*(y){$h(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),g=o(()=>{$h(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),E=o(y=>{$h(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*m(y);g()}catch(y){E(y)}})()}try{let{body:m,status:g,statusText:E,headersList:y,socket:C}=await p({body:l});if(C)i=jv({status:g,statusText:E,headersList:y,socket:C});else{let w=m[Symbol.asyncIterator]();t.controller.next=()=>w.next(),i=jv({status:g,statusText:E,headersList:y})}}catch(m){return m.name==="AbortError"?(t.controller.connection.destroy(),zv(t,m)):Gt(m)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),d=o(m=>{$h(t)||t.controller.abort(m)},"cancelAlgorithm"),f=new ReadableStream({async start(m){t.controller.controller=m},async pull(m){await u(m)},async cancel(m){await d(m)},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 m,g;try{let{done:y,value:C}=await t.controller.next();if(eoe(t))break;m=y?void 0:C}catch(y){t.controller.ended&&!s.encodedBodySize?m=void 0:(m=y,g=!0)}if(m===void 0){C$e(t.controller.controller),J$e(t,i);return}if(s.decodedBodySize+=m?.byteLength??0,g){t.controller.terminate(m);return}let E=new Uint8Array(m);if(E.byteLength&&t.controller.controller.enqueue(E),L$e(f)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function h(m){eoe(t)?(i.aborted=!0,Jv(f)&&t.controller.controller.error(t.controller.serializedAbortReason)):Jv(f)&&t.controller.controller.error(new TypeError("terminated",{cause:y$e(m)?m:void 0})),t.controller.connection.destroy()}return o(h,"onAborted"),i;function p({body:m}){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):m,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(w){let{connection:B}=t.controller;s.finalConnectionTimingInfo=I$e(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?w(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",w),this.abort=B.abort=w),s.finalNetworkRequestStartTime=Pb(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=Pb(t.crossOriginIsolatedCapability)},onHeaders(w,B,Q,M){if(w<200)return;let v="",j=new Zse;for(let W=0;Wae)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")T.push(jd.createGunzip({flush:jd.constants.Z_SYNC_FLUSH,finishFlush:jd.constants.Z_SYNC_FLUSH}));else if(Y==="deflate")T.push(x$e({flush:jd.constants.Z_SYNC_FLUSH,finishFlush:jd.constants.Z_SYNC_FLUSH}));else if(Y==="br")T.push(jd.createBrotliDecompress({flush:jd.constants.BROTLI_OPERATION_FLUSH,finishFlush:jd.constants.BROTLI_OPERATION_FLUSH}));else{T.length=0;break}}}let V=this.onError.bind(this);return y({status:w,statusText:M,headersList:j,body:T.length?k$e(this.body,...T,W=>{W&&this.onError(W)}).on("error",V):this.body.on("error",V)}),!0},onData(w){if(t.controller.dump)return;let B=w;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(w){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(w),t.controller.terminate(w),C(w)},onUpgrade(w,B,Q){if(w!==101)return;let M=new Zse;for(let v=0;v{"use strict";poe.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 moe=A((Vzt,Aoe)=>{"use strict";var{webidl:Xs}=oi(),Yv=Symbol("ProgressEvent state"),yU=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Xs.converters.DOMString(e,"ProgressEvent constructor","type"),r=Xs.converters.ProgressEventInit(r??{}),super(e,r),this[Yv]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Xs.brandCheck(this,t),this[Yv].lengthComputable}get loaded(){return Xs.brandCheck(this,t),this[Yv].loaded}get total(){return Xs.brandCheck(this,t),this[Yv].total}};Xs.converters.ProgressEventInit=Xs.dictionaryConverter([{key:"lengthComputable",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Xs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Xs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);Aoe.exports={ProgressEvent:yU}});var yoe=A((jzt,goe)=>{"use strict";function K$e(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(K$e,"getEncoding");goe.exports={getEncoding:K$e}});var xoe=A((Jzt,Boe)=>{"use strict";var{kState:Jm,kError:EU,kResult:Eoe,kAborted:Lb,kLastProgressEventFired:CU}=gU(),{ProgressEvent:X$e}=moe(),{getEncoding:Coe}=yoe(),{serializeAMimeType:Z$e,parseMIMEType:boe}=ms(),{types:e8e}=require("node:util"),{StringDecoder:woe}=require("string_decoder"),{btoa:Ioe}=require("node:buffer"),t8e={enumerable:!0,writable:!1,configurable:!1};function r8e(t,e,r,n){if(t[Jm]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Jm]="loading",t[Eoe]=null,t[EU]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[Lb];)try{let{done:u,value:d}=await c;if(l&&!t[Lb]&&queueMicrotask(()=>{$d("loadstart",t)}),l=!1,!u&&e8e.isUint8Array(d))a.push(d),(t[CU]===void 0||Date.now()-t[CU]>=50)&&!t[Lb]&&(t[CU]=Date.now(),queueMicrotask(()=>{$d("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[Jm]="done";try{let f=n8e(a,r,e.type,n);if(t[Lb])return;t[Eoe]=f,$d("load",t)}catch(f){t[EU]=f,$d("error",t)}t[Jm]!=="loading"&&$d("loadend",t)});break}}catch(u){if(t[Lb])return;queueMicrotask(()=>{t[Jm]="done",t[EU]=u,$d("error",t),t[Jm]!=="loading"&&$d("loadend",t)});break}})()}o(r8e,"readOperation");function $d(t,e){let r=new X$e(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o($d,"fireAProgressEvent");function n8e(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=boe(r||"application/octet-stream");s!=="failure"&&(i+=Z$e(s)),i+=";base64,";let a=new woe("latin1");for(let c of t)i+=Ioe(a.write(c));return i+=Ioe(a.end()),i}case"Text":{let i="failure";if(n&&(i=Coe(n)),i==="failure"&&r){let s=boe(r);s!=="failure"&&(i=Coe(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),i8e(t,i)}case"ArrayBuffer":return Soe(t).buffer;case"BinaryString":{let i="",s=new woe("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(n8e,"packageData");function i8e(t,e){let r=Soe(t),n=s8e(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(i8e,"decode");function s8e(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(s8e,"BOMSniffing");function Soe(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(Soe,"combineByteSequences");Boe.exports={staticPropertyDescriptors:t8e,readOperation:r8e,fireAProgressEvent:$d}});var Roe=A((Yzt,_oe)=>{"use strict";var{staticPropertyDescriptors:Wm,readOperation:Kv,fireAProgressEvent:voe}=xoe(),{kState:Wh,kError:Noe,kResult:Xv,kEvents:Pt,kAborted:o8e}=gU(),{webidl:Vt}=oi(),{kEnumerableProperty:Es}=ot(),Ha=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Wh]="empty",this[Xv]=null,this[Noe]=null,this[Pt]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Vt.converters.Blob(e,{strict:!1}),Kv(this,e,"ArrayBuffer")}readAsBinaryString(e){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Vt.converters.Blob(e,{strict:!1}),Kv(this,e,"BinaryString")}readAsText(e,r=void 0){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Vt.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Vt.converters.DOMString(r,"FileReader.readAsText","encoding")),Kv(this,e,"Text",r)}readAsDataURL(e){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Vt.converters.Blob(e,{strict:!1}),Kv(this,e,"DataURL")}abort(){if(this[Wh]==="empty"||this[Wh]==="done"){this[Xv]=null;return}this[Wh]==="loading"&&(this[Wh]="done",this[Xv]=null),this[o8e]=!0,voe("abort",this),this[Wh]!=="loading"&&voe("loadend",this)}get readyState(){switch(Vt.brandCheck(this,t),this[Wh]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Vt.brandCheck(this,t),this[Xv]}get error(){return Vt.brandCheck(this,t),this[Noe]}get onloadend(){return Vt.brandCheck(this,t),this[Pt].loadend}set onloadend(e){Vt.brandCheck(this,t),this[Pt].loadend&&this.removeEventListener("loadend",this[Pt].loadend),typeof e=="function"?(this[Pt].loadend=e,this.addEventListener("loadend",e)):this[Pt].loadend=null}get onerror(){return Vt.brandCheck(this,t),this[Pt].error}set onerror(e){Vt.brandCheck(this,t),this[Pt].error&&this.removeEventListener("error",this[Pt].error),typeof e=="function"?(this[Pt].error=e,this.addEventListener("error",e)):this[Pt].error=null}get onloadstart(){return Vt.brandCheck(this,t),this[Pt].loadstart}set onloadstart(e){Vt.brandCheck(this,t),this[Pt].loadstart&&this.removeEventListener("loadstart",this[Pt].loadstart),typeof e=="function"?(this[Pt].loadstart=e,this.addEventListener("loadstart",e)):this[Pt].loadstart=null}get onprogress(){return Vt.brandCheck(this,t),this[Pt].progress}set onprogress(e){Vt.brandCheck(this,t),this[Pt].progress&&this.removeEventListener("progress",this[Pt].progress),typeof e=="function"?(this[Pt].progress=e,this.addEventListener("progress",e)):this[Pt].progress=null}get onload(){return Vt.brandCheck(this,t),this[Pt].load}set onload(e){Vt.brandCheck(this,t),this[Pt].load&&this.removeEventListener("load",this[Pt].load),typeof e=="function"?(this[Pt].load=e,this.addEventListener("load",e)):this[Pt].load=null}get onabort(){return Vt.brandCheck(this,t),this[Pt].abort}set onabort(e){Vt.brandCheck(this,t),this[Pt].abort&&this.removeEventListener("abort",this[Pt].abort),typeof e=="function"?(this[Pt].abort=e,this.addEventListener("abort",e)):this[Pt].abort=null}};Ha.EMPTY=Ha.prototype.EMPTY=0;Ha.LOADING=Ha.prototype.LOADING=1;Ha.DONE=Ha.prototype.DONE=2;Object.defineProperties(Ha.prototype,{EMPTY:Wm,LOADING:Wm,DONE:Wm,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(Ha,{EMPTY:Wm,LOADING:Wm,DONE:Wm});_oe.exports={FileReader:Ha}});var Zv=A((Xzt,Toe)=>{"use strict";Toe.exports={kConstruct:Ar().kConstruct}});var koe=A((Zzt,Qoe)=>{"use strict";var a8e=require("node:assert"),{URLSerializer:Doe}=ms(),{isValidHeaderName:c8e}=zs();function l8e(t,e,r=!1){let n=Doe(t,r),i=Doe(e,r);return n===i}o(l8e,"urlEquals");function u8e(t){a8e(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),c8e(r)&&e.push(r);return e}o(u8e,"getFieldValues");Qoe.exports={urlEquals:l8e,getFieldValues:u8e}});var Loe=A((tjt,Ooe)=>{"use strict";var{kConstruct:d8e}=Zv(),{urlEquals:f8e,getFieldValues:bU}=koe(),{kEnumerableProperty:Yh,isDisturbed:h8e}=ot(),{webidl:ve}=oi(),{Response:p8e,cloneResponse:A8e,fromInnerResponse:m8e}=kb(),{Request:xu,fromInnerRequest:g8e}=$m(),{kState:Va}=kd(),{fetching:y8e}=Ob(),{urlIsHttpHttpsScheme:eN,createDeferredPromise:Ym,readAllBytes:E8e}=zs(),wU=require("node:assert"),tN=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==d8e&&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[Va];if(!eN(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 xu(h)[Va];if(!eN(p.url))throw ve.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",i.push(p);let m=Ym();s.push(y8e({request:p,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)m.reject(ve.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let E=bU(g.headersList.get("vary"));for(let y of E)if(y==="*"){m.reject(ve.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of s)C.abort();return}}},processResponseEndOfBody(g){if(g.aborted){m.reject(new DOMException("aborted","AbortError"));return}m.resolve(g)}})),n.push(m.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=Ym(),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 xu?i=e[Va]:i=new xu(e)[Va],!eN(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[Va];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 m of p)if(m==="*")throw ve.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(h8e(s.body.stream)||s.body.stream.locked))throw ve.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=A8e(s),c=Ym();if(s.body!=null){let m=s.body.stream.getReader();E8e(m).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=Ym(),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 xu){if(i=e[Va],i.method!=="GET"&&!r.ignoreMethod)return!1}else wU(typeof e=="string"),i=new xu(e)[Va];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=Ym(),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 xu){if(i=e[Va],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new xu(e)[Va]);let s=Ym(),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=g8e(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);wU(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(!eN(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);wU(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=""),!f8e(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 xu){if(i=e[Va],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new xu(e)[Va]);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(tN.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Yh,matchAll:Yh,add:Yh,addAll:Yh,put:Yh,delete:Yh,keys:Yh});var Poe=[{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(Poe);ve.converters.MultiCacheQueryOptions=ve.dictionaryConverter([...Poe,{key:"cacheName",converter:ve.converters.DOMString}]);ve.converters.Response=ve.interfaceConverter(p8e);ve.converters["sequence"]=ve.sequenceConverter(ve.converters.RequestInfo);Ooe.exports={Cache:tN}});var Moe=A((njt,Foe)=>{"use strict";var{kConstruct:Fb}=Zv(),{Cache:rN}=Loe(),{webidl:Ii}=oi(),{kEnumerableProperty:Mb}=ot(),nN=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==Fb&&Ii.illegalConstructor(),Ii.util.markAsUncloneable(this)}async match(e,r={}){if(Ii.brandCheck(this,t),Ii.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ii.converters.RequestInfo(e),r=Ii.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new rN(Fb,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new rN(Fb,n).match(e,r);if(s!==void 0)return s}}async has(e){Ii.brandCheck(this,t);let r="CacheStorage.has";return Ii.argumentLengthCheck(arguments,1,r),e=Ii.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ii.brandCheck(this,t);let r="CacheStorage.open";if(Ii.argumentLengthCheck(arguments,1,r),e=Ii.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new rN(Fb,i)}let n=[];return this.#e.set(e,n),new rN(Fb,n)}async delete(e){Ii.brandCheck(this,t);let r="CacheStorage.delete";return Ii.argumentLengthCheck(arguments,1,r),e=Ii.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ii.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(nN.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Mb,has:Mb,open:Mb,delete:Mb,keys:Mb});Foe.exports={CacheStorage:nN}});var qoe=A((sjt,Uoe)=>{"use strict";Uoe.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var BU=A((ojt,zoe)=>{"use strict";function C8e(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(C8e,"isCTLExcludingHtab");function IU(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(IU,"validateCookieName");function SU(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(SU,"validateCookieValue");function Hoe(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(Hoe,"validateCookiePath");function Goe(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(Goe,"isLetterOrDigit");function b8e(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(b8e,"validateCookieDomain");var w8e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],I8e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],iN=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function Voe(t){return typeof t=="number"&&(t=new Date(t)),`${w8e[t.getUTCDay()]}, ${iN[t.getUTCDate()]} ${I8e[t.getUTCMonth()]} ${t.getUTCFullYear()} ${iN[t.getUTCHours()]}:${iN[t.getUTCMinutes()]}:${iN[t.getUTCSeconds()]} GMT`}o(Voe,"toIMFDate");function S8e(t){if(t<0)throw new Error("Invalid cookie max-age")}o(S8e,"validateCookieMaxAge");function B8e(t){if(t.name.length===0)return null;IU(t.name),SU(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"&&(S8e(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(b8e(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(Hoe(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${Voe(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("=");IU(s),SU(a),e.push(`${s}=${a}`)}return e.join("; ")}o(B8e,"stringify");zoe.exports={isCTLExcludingHtab:C8e,validateCookieName:IU,validateCookiePath:Hoe,validateCookieValue:SU,toIMFDate:Voe,stringify:B8e}});var $oe=A((cjt,joe)=>{"use strict";var{maxNameValuePairSize:x8e,maxAttributeValueSize:v8e}=qoe(),{isCTLExcludingHtab:N8e}=BU(),{collectASequenceOfCodePointsFast:sN}=ms(),_8e=require("node:assert");function R8e(t){if(N8e(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=sN(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=sN("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>x8e?null:{name:n,value:i,...Km(r)}}o(R8e,"parseSetCookie");function Km(t,e={}){if(t.length===0)return e;_8e(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=sN(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=sN("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>v8e)return Km(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 Km(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 Km(t,e)}o(Km,"parseUnparsedAttributes");joe.exports={parseSetCookie:R8e,parseUnparsedAttributes:Km}});var Yoe=A((ujt,Woe)=>{"use strict";var{parseSetCookie:T8e}=$oe(),{stringify:D8e}=BU(),{webidl:At}=oi(),{Headers:oN}=zh();function Q8e(t){At.argumentLengthCheck(arguments,1,"getCookies"),At.brandCheck(t,oN,{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(Q8e,"getCookies");function k8e(t,e,r){At.brandCheck(t,oN,{strict:!1});let n="deleteCookie";At.argumentLengthCheck(arguments,2,n),e=At.converters.DOMString(e,n,"name"),r=At.converters.DeleteCookieAttributes(r),Joe(t,{name:e,value:"",expires:new Date(0),...r})}o(k8e,"deleteCookie");function P8e(t){At.argumentLengthCheck(arguments,1,"getSetCookies"),At.brandCheck(t,oN,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>T8e(r)):[]}o(P8e,"getSetCookies");function Joe(t,e){At.argumentLengthCheck(arguments,2,"setCookie"),At.brandCheck(t,oN,{strict:!1}),e=At.converters.Cookie(e);let r=D8e(e);r&&t.append("Set-Cookie",r)}o(Joe,"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")}]);Woe.exports={getCookies:Q8e,deleteCookie:k8e,getSetCookies:P8e,setCookie:Joe}});var Zm=A((fjt,Xoe)=>{"use strict";var{webidl:xe}=oi(),{kEnumerableProperty:Cs}=ot(),{kConstruct:Koe}=Ar(),{MessagePort:O8e}=require("node:worker_threads"),Xm=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Koe){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(Koe,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:L8e}=Xm;delete Xm.createFastMessageEvent;var aN=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}},cN=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(Xm.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Cs,origin:Cs,lastEventId:Cs,source:Cs,ports:Cs,initMessageEvent:Cs});Object.defineProperties(aN.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Cs,code:Cs,wasClean:Cs});Object.defineProperties(cN.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Cs,filename:Cs,lineno:Cs,colno:Cs,error:Cs});xe.converters.MessagePort=xe.interfaceConverter(O8e);xe.converters["sequence"]=xe.sequenceConverter(xe.converters.MessagePort);var xU=[{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([...xU,{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([...xU,{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([...xU,{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}]);Xoe.exports={MessageEvent:Xm,CloseEvent:aN,ErrorEvent:cN,createFastMessageEvent:L8e}});var Kh=A((pjt,Zoe)=>{"use strict";var F8e="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",M8e={enumerable:!0,writable:!1,configurable:!1},U8e={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},q8e={NOT_SENT:0,PROCESSING:1,SENT:2},G8e={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},H8e=2**16-1,V8e={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},z8e=Buffer.allocUnsafe(0),j8e={string:1,typedArray:2,arrayBuffer:3,blob:4};Zoe.exports={uid:F8e,sentCloseFrameState:q8e,staticPropertyDescriptors:M8e,states:U8e,opcodes:G8e,maxUnsigned16Bit:H8e,parserStates:V8e,emptyBuffer:z8e,sendHints:j8e}});var Ub=A((Ajt,eae)=>{"use strict";eae.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 Hb=A((mjt,lae)=>{"use strict";var{kReadyState:qb,kController:$8e,kResponse:J8e,kBinaryType:W8e,kWebSocketURL:Y8e}=Ub(),{states:Gb,opcodes:Jd}=Kh(),{ErrorEvent:K8e,createFastMessageEvent:X8e}=Zm(),{isUtf8:Z8e}=require("node:buffer"),{collectASequenceOfCodePointsFast:e6e,removeHTTPWhitespace:tae}=ms();function t6e(t){return t[qb]===Gb.CONNECTING}o(t6e,"isConnecting");function r6e(t){return t[qb]===Gb.OPEN}o(r6e,"isEstablished");function n6e(t){return t[qb]===Gb.CLOSING}o(n6e,"isClosing");function i6e(t){return t[qb]===Gb.CLOSED}o(i6e,"isClosed");function vU(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(vU,"fireEvent");function s6e(t,e,r){if(t[qb]!==Gb.OPEN)return;let n;if(e===Jd.TEXT)try{n=cae(r)}catch{nae(t,"Received invalid UTF-8 in text frame.");return}else e===Jd.BINARY&&(t[W8e]==="blob"?n=new Blob([r]):n=o6e(r));vU("message",t,X8e,{origin:t[Y8e].origin,data:n})}o(s6e,"websocketMessageReceived");function o6e(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(o6e,"toArrayBuffer");function a6e(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(a6e,"isValidSubprotocol");function c6e(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(c6e,"isValidStatusCode");function nae(t,e){let{[$8e]:r,[J8e]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&vU("error",t,(i,s)=>new K8e(i,s),{error:new Error(e),message:e})}o(nae,"failWebsocketConnection");function iae(t){return t===Jd.CLOSE||t===Jd.PING||t===Jd.PONG}o(iae,"isControlFrame");function sae(t){return t===Jd.CONTINUATION}o(sae,"isContinuationFrame");function oae(t){return t===Jd.TEXT||t===Jd.BINARY}o(oae,"isTextBinaryFrame");function l6e(t){return oae(t)||sae(t)||iae(t)}o(l6e,"isValidOpcode");function u6e(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(d6e,"isValidClientWindowBits");var aae=typeof process.versions.icu=="string",rae=aae?new TextDecoder("utf-8",{fatal:!0}):void 0,cae=aae?rae.decode.bind(rae):function(t){if(Z8e(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};lae.exports={isConnecting:t6e,isEstablished:r6e,isClosing:n6e,isClosed:i6e,fireEvent:vU,isValidSubprotocol:a6e,isValidStatusCode:c6e,failWebsocketConnection:nae,websocketMessageReceived:s6e,utf8Decode:cae,isControlFrame:iae,isContinuationFrame:sae,isTextBinaryFrame:oae,isValidOpcode:l6e,parseExtensions:u6e,isValidClientWindowBits:d6e}});var uN=A((yjt,uae)=>{"use strict";var{maxUnsigned16Bit:f6e}=Kh(),lN=16386,NU,Vb=null,eg=lN;try{NU=require("node:crypto")}catch{NU={randomFillSync:o(function(e,r,n){for(let i=0;if6e?(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:p6e,states:zb,sentCloseFrameState:dN,emptyBuffer:A6e,opcodes:m6e}=Kh(),{kReadyState:jb,kSentClose:fN,kByteParser:fae,kReceivedClose:dae,kResponse:hae}=Ub(),{fireEvent:g6e,failWebsocketConnection:Wd,isClosing:y6e,isClosed:E6e,isEstablished:C6e,parseExtensions:b6e}=Hb(),{channels:tg}=dm(),{CloseEvent:w6e}=Zm(),{makeRequest:I6e}=$m(),{fetching:S6e}=Ob(),{Headers:B6e,getHeadersList:x6e}=zh(),{getDecodeSplit:v6e}=zs(),{WebsocketFrameSend:N6e}=uN(),RU;try{RU=require("node:crypto")}catch{}function _6e(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=I6e({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let f=x6e(new B6e(s.headers));c.headersList=f}let l=RU.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"),S6e({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(f){if(f.type==="error"||f.status!==101){Wd(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!f.headersList.get("Sec-WebSocket-Protocol")){Wd(n,"Server did not respond with sent protocols.");return}if(f.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Wd(n,'Server did not set Upgrade header to "websocket".');return}if(f.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Wd(n,'Server did not set Connection header to "upgrade".');return}let h=f.headersList.get("Sec-WebSocket-Accept"),p=RU.createHash("sha1").update(l+p6e).digest("base64");if(h!==p){Wd(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let m=f.headersList.get("Sec-WebSocket-Extensions"),g;if(m!==null&&(g=b6e(m),!g.has("permessage-deflate"))){Wd(n,"Sec-WebSocket-Extensions header does not match.");return}let E=f.headersList.get("Sec-WebSocket-Protocol");if(E!==null&&!v6e("sec-websocket-protocol",c.headersList).includes(E)){Wd(n,"Protocol was not set in the opening handshake.");return}f.socket.on("data",pae),f.socket.on("close",Aae),f.socket.on("error",mae),tg.open.hasSubscribers&&tg.open.publish({address:f.socket.address(),protocol:E,extensions:m}),i(f,g)}})}o(_6e,"establishWebSocketConnection");function R6e(t,e,r,n){if(!(y6e(t)||E6e(t)))if(!C6e(t))Wd(t,"Connection was closed before it was established."),t[jb]=zb.CLOSING;else if(t[fN]===dN.NOT_SENT){t[fN]=dN.PROCESSING;let i=new N6e;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=A6e,t[hae].socket.write(i.createFrame(m6e.CLOSE)),t[fN]=dN.SENT,t[jb]=zb.CLOSING}else t[jb]=zb.CLOSING}o(R6e,"closeWebSocketConnection");function pae(t){this.ws[fae].write(t)||this.pause()}o(pae,"onSocketData");function Aae(){let{ws:t}=this,{[hae]:e}=t;e.socket.off("data",pae),e.socket.off("close",Aae),e.socket.off("error",mae);let r=t[fN]===dN.SENT&&t[dae],n=1005,i="",s=t[fae].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[dae]||(n=1006),t[jb]=zb.CLOSED,g6e("close",t,(a,c)=>new w6e(a,c),{wasClean:r,code:n,reason:i}),tg.close.hasSubscribers&&tg.close.publish({websocket:t,code:n,reason:i})}o(Aae,"onSocketClose");function mae(t){let{ws:e}=this;e[jb]=zb.CLOSING,tg.socketError.hasSubscribers&&tg.socketError.publish(t),this.destroy()}o(mae,"onSocketError");gae.exports={establishWebSocketConnection:_6e,closeWebSocketConnection:R6e}});var Eae=A((wjt,yae)=>{"use strict";var{createInflateRaw:T6e,Z_DEFAULT_WINDOWBITS:D6e}=require("node:zlib"),{isValidClientWindowBits:Q6e}=Hb(),{MessageSizeExceededError:k6e}=_t(),P6e=Buffer.from([0,0,255,255]),hN=Symbol("kBuffer"),$b=Symbol("kLength"),DU=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=D6e;if(this.#t.serverMaxWindowBits){if(!Q6e(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=T6e({windowBits:i})}catch(s){n(s);return}this.#e[hN]=[],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 k6e),this.#e.removeAllListeners(),this.#e=null;return}this.#e[hN].push(s)}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(P6e),this.#e.flush(()=>{if(!this.#e)return;let i=Buffer.concat(this.#e[hN],this.#e[$b]);this.#e[hN].length=0,this.#e[$b]=0,n(null,i)})}};yae.exports={PerMessageDeflate:DU}});var _ae=A((Sjt,Nae)=>{"use strict";var{Writable:O6e}=require("node:stream"),L6e=require("node:assert"),{parserStates:bs,opcodes:rg,states:F6e,emptyBuffer:Cae,sentCloseFrameState:bae}=Kh(),{kReadyState:M6e,kSentClose:wae,kResponse:Iae,kReceivedClose:Sae}=Ub(),{channels:pN}=dm(),{isValidStatusCode:U6e,isValidOpcode:q6e,failWebsocketConnection:Zs,websocketMessageReceived:Bae,utf8Decode:G6e,isControlFrame:QU,isTextBinaryFrame:kU,isContinuationFrame:H6e}=Hb(),{WebsocketFrameSend:xae}=uN(),{closeWebSocketConnection:vae}=TU(),{PerMessageDeflate:V6e}=Eae(),{MessageSizeExceededError:PU}=_t();function Jb(t,e,r){vae(t,e,r,Buffer.byteLength(r)),Zs(t,r)}o(Jb,"failWebsocketConnectionWithCode");var OU=class extends O6e{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 V6e(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&&!QU(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!==rg.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,d=r[0]&16;if(!q6e(i))return Zs(this.ws,"Invalid opcode received"),e();if(s)return Zs(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Zs(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||d!==0){Zs(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!kU(i)){Zs(this.ws,"Invalid frame type was fragmented.");return}if(kU(i)&&this.#l.length>0){Zs(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){Zs(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&QU(i)){Zs(this.ws,"Control frame either too large or fragmented");return}if(H6e(i)&&this.#l.length===0&&!this.#s.compressed){Zs(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);kU(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){Zs(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 PU?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 PU().message);return}if(!this.#s.fin){this.#i=bs.INFO,this.#r=!0,this.run(e);return}Bae(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 PU().message);return}!this.#s.fragmented&&this.#s.fin&&Bae(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 Cae;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){L6e(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!U6e(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=G6e(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===rg.CLOSE){if(n===1)return Zs(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 vae(this.ws,i,s,s.length),Zs(this.ws,s),!1}if(this.ws[wae]!==bae.SENT){let i=Cae;this.#s.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#s.closeInfo.code,0));let s=new xae(i);this.ws[Iae].socket.write(s.createFrame(rg.CLOSE),a=>{a||(this.ws[wae]=bae.SENT)})}return this.ws[M6e]=F6e.CLOSING,this.ws[Sae]=!0,!1}else if(r===rg.PING){if(!this.ws[Sae]){let i=new xae(e);this.ws[Iae].socket.write(i.createFrame(rg.PONG)),pN.ping.hasSubscribers&&pN.ping.publish({payload:e})}}else r===rg.PONG&&pN.pong.hasSubscribers&&pN.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Nae.exports={ByteParser:OU}});var kae=A((xjt,Qae)=>{"use strict";var{WebsocketFrameSend:z6e}=uN(),{opcodes:Rae,sendHints:ng}=Kh(),j6e=GF(),Tae=Buffer[Symbol.species],LU=class{static{o(this,"SendQueue")}#e=new j6e;#t=!1;#n;constructor(e){this.#n=e}add(e,r,n){if(n!==ng.blob){let s=Dae(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=Dae(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 Dae(t,e){return new z6e($6e(t,e)).createFrame(e===ng.string?Rae.TEXT:Rae.BINARY)}o(Dae,"createFrame");function $6e(t,e){switch(e){case ng.string:return Buffer.from(t);case ng.arrayBuffer:case ng.blob:return new Tae(t);case ng.typedArray:return new Tae(t.buffer,t.byteOffset,t.byteLength)}}o($6e,"toBuffer");Qae.exports={SendQueue:LU}});var Vae=A((Njt,Hae)=>{"use strict";var{webidl:He}=oi(),{URLSerializer:J6e}=ms(),{environmentSettingsObject:Pae}=zs(),{staticPropertyDescriptors:Yd,states:Wb,sentCloseFrameState:W6e,sendHints:AN}=Kh(),{kWebSocketURL:Oae,kReadyState:FU,kController:Lae,kBinaryType:mN,kResponse:Fae,kSentClose:Y6e,kByteParser:K6e}=Ub(),{isConnecting:X6e,isEstablished:Z6e,isClosing:eJe,isValidSubprotocol:tJe,fireEvent:Mae}=Hb(),{establishWebSocketConnection:rJe,closeWebSocketConnection:Uae}=TU(),{ByteParser:nJe}=_ae(),{kEnumerableProperty:Fo,isBlobLike:qae}=ot(),{getGlobalDispatcher:iJe}=Tv(),{types:Gae}=require("node:util"),{ErrorEvent:sJe,CloseEvent:oJe}=Zm(),{SendQueue:aJe}=kae(),eo=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=Pae.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=>tJe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Oae]=new URL(a.href);let c=Pae.settingsObject;this[Lae]=rJe(a,r,c,this,(l,u)=>this.#s(l,u),i),this[FU]=t.CONNECTING,this[Y6e]=W6e.NOT_SENT,this[mN]="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");Uae(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"),X6e(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Z6e(this)||eJe(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#i.add(e,()=>{this.#t-=n},AN.string)}else Gae.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},AN.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},AN.typedArray)):qae(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},AN.blob))}get readyState(){return He.brandCheck(this,t),this[FU]}get bufferedAmount(){return He.brandCheck(this,t),this.#t}get url(){return He.brandCheck(this,t),J6e(this[Oae])}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[mN]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[mN]="blob":this[mN]=e}#s(e,r){this[Fae]=e;let n=this[Lae]?.dispatcher?.webSocketOptions,i=n?.maxFragments,s=n?.maxPayloadSize,a=new nJe(this,r,{maxFragments:i,maxPayloadSize:s});a.on("drain",cJe),a.on("error",lJe.bind(this)),e.socket.ws=this,this[K6e]=a,this.#i=new aJe(e.socket),this[FU]=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),Mae("open",this)}};eo.CONNECTING=eo.prototype.CONNECTING=Wb.CONNECTING;eo.OPEN=eo.prototype.OPEN=Wb.OPEN;eo.CLOSING=eo.prototype.CLOSING=Wb.CLOSING;eo.CLOSED=eo.prototype.CLOSED=Wb.CLOSED;Object.defineProperties(eo.prototype,{CONNECTING:Yd,OPEN:Yd,CLOSING:Yd,CLOSED:Yd,url:Fo,readyState:Fo,bufferedAmount:Fo,onopen:Fo,onerror:Fo,onclose:Fo,close:Fo,onmessage:Fo,binaryType:Fo,send:Fo,extensions:Fo,protocol:Fo,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(eo,{CONNECTING:Yd,OPEN:Yd,CLOSING:Yd,CLOSED:Yd});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(()=>iJe(),"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(qae(t))return He.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Gae.isArrayBuffer(t))return He.converters.BufferSource(t)}return He.converters.USVString(t)};function cJe(){this.ws[Fae].socket.resume()}o(cJe,"onParserDrain");function lJe(t){let e,r;t instanceof oJe?(e=t.reason,r=t.code):e=t.message,Mae("error",this,()=>new sJe("error",{error:t,message:e})),Uae(this,r)}o(lJe,"onParserError");Hae.exports={WebSocket:eo}});var MU=A((Rjt,zae)=>{"use strict";function uJe(t){return t.indexOf("\0")===-1}o(uJe,"isValidLastEventId");function dJe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(dJe,"isASCIINumber");function fJe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(fJe,"delay");zae.exports={isValidLastEventId:uJe,isASCIINumber:dJe,delay:fJe}});var Wae=A((Djt,Jae)=>{"use strict";var{Transform:hJe}=require("node:stream"),{isASCIINumber:jae,isValidLastEventId:$ae}=MU(),vu=[239,187,191],UU=10,gN=13,pJe=58,AJe=32,qU=class extends hJe{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]===vu[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===vu[0]&&this.buffer[1]===vu[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===vu[0]&&this.buffer[1]===vu[1]&&this.buffer[2]===vu[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===vu[0]&&this.buffer[1]===vu[1]&&this.buffer[2]===vu[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&jae(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&$ae(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}}};Jae.exports={EventSourceStream:qU}});var nce=A((kjt,rce)=>{"use strict";var{pipeline:mJe}=require("node:stream"),{fetching:gJe}=Ob(),{makeRequest:yJe}=$m(),{webidl:Nu}=oi(),{EventSourceStream:EJe}=Wae(),{parseMIMEType:CJe}=ms(),{createFastMessageEvent:bJe}=Zm(),{isNetworkError:Yae}=kb(),{delay:wJe}=MU(),{kEnumerableProperty:Xh}=ot(),{environmentSettingsObject:Kae}=zs(),Xae=!1,Zae=3e3,Yb=0,ece=1,Kb=2,IJe="anonymous",SJe="use-credentials",ig=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=Yb;#i=null;#s=null;#l;#a;constructor(e,r={}){super(),Nu.util.markAsUncloneable(this);let n="EventSource constructor";Nu.argumentLengthCheck(arguments,1,n),Xae||(Xae=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Nu.converters.USVString(e,n,"url"),r=Nu.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#l=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Zae};let i=Kae,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=IJe;r.withCredentials&&(a=SJe,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Kae.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=yJe(c),this.#c()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#c(){if(this.#r===Kb)return;this.#r=Yb;let e={request:this.#i,dispatcher:this.#l},r=o(n=>{Yae(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#o()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(Yae(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?CJe(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=ece,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new EJe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(bJe(l.type,l.options))},"push")});mJe(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=gJe(e)}async#o(){this.#r!==Kb&&(this.#r=Yb,this.dispatchEvent(new Event("error")),await wJe(this.#a.reconnectionTime),this.#r===Yb&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Nu.brandCheck(this,t),this.#r!==Kb&&(this.#r=Kb,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}},tce={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Yb,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:ece,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Kb,writable:!1}};Object.defineProperties(ig,tce);Object.defineProperties(ig.prototype,tce);Object.defineProperties(ig.prototype,{close:Xh,onerror:Xh,onmessage:Xh,onopen:Xh,readyState:Xh,url:Xh,withCredentials:Xh});Nu.converters.EventSourceInitDict=Nu.dictionaryConverter([{key:"withCredentials",converter:Nu.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Nu.converters.any}]);rce.exports={EventSource:ig,defaultReconnectionTime:Zae}});var Kd=A((Ojt,Ue)=>{"use strict";var BJe=Tm(),ice=tb(),xJe=Dm(),vJe=tne(),NJe=Qm(),_Je=cM(),RJe=Bne(),TJe=Dne(),sce=_t(),EN=ot(),{InvalidArgumentError:yN}=sce,sg=yie(),DJe=nb(),QJe=HM(),kJe=ese(),PJe=jM(),OJe=RM(),LJe=bv(),{getGlobalDispatcher:oce,setGlobalDispatcher:FJe}=Tv(),MJe=Dv(),UJe=uv(),qJe=dv();Object.assign(ice.prototype,sg);Ue.exports.Dispatcher=ice;Ue.exports.Client=BJe;Ue.exports.Pool=xJe;Ue.exports.BalancedPool=vJe;Ue.exports.Agent=NJe;Ue.exports.ProxyAgent=_Je;Ue.exports.EnvHttpProxyAgent=RJe;Ue.exports.RetryAgent=TJe;Ue.exports.RetryHandler=LJe;Ue.exports.DecoratorHandler=MJe;Ue.exports.RedirectHandler=UJe;Ue.exports.createRedirectInterceptor=qJe;Ue.exports.interceptors={redirect:ase(),retry:lse(),dump:dse(),dns:pse()};Ue.exports.buildConnector=DJe;Ue.exports.errors=sce;Ue.exports.util={parseHeaders:EN.parseHeaders,headerNameToString:EN.headerNameToString};function Xb(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 yN("invalid url");if(r!=null&&typeof r!="object")throw new yN("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new yN("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(EN.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=EN.parseURL(e);let{agent:i,dispatcher:s=oce()}=r;if(i)throw new yN("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(Xb,"makeDispatcher");Ue.exports.setGlobalDispatcher=FJe;Ue.exports.getGlobalDispatcher=oce;var GJe=Ob().fetch;Ue.exports.fetch=o(async function(e,r=void 0){try{return await GJe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Ue.exports.Headers=zh().Headers;Ue.exports.Response=kb().Response;Ue.exports.Request=$m().Request;Ue.exports.FormData=ub().FormData;Ue.exports.File=globalThis.File??require("node:buffer").File;Ue.exports.FileReader=Roe().FileReader;var{setGlobalOrigin:HJe,getGlobalOrigin:VJe}=lF();Ue.exports.setGlobalOrigin=HJe;Ue.exports.getGlobalOrigin=VJe;var{CacheStorage:zJe}=Moe(),{kConstruct:jJe}=Zv();Ue.exports.caches=new zJe(jJe);var{deleteCookie:$Je,getCookies:JJe,getSetCookies:WJe,setCookie:YJe}=Yoe();Ue.exports.deleteCookie=$Je;Ue.exports.getCookies=JJe;Ue.exports.getSetCookies=WJe;Ue.exports.setCookie=YJe;var{parseMIMEType:KJe,serializeAMimeType:XJe}=ms();Ue.exports.parseMIMEType=KJe;Ue.exports.serializeAMimeType=XJe;var{CloseEvent:ZJe,ErrorEvent:eWe,MessageEvent:tWe}=Zm();Ue.exports.WebSocket=Vae().WebSocket;Ue.exports.CloseEvent=ZJe;Ue.exports.ErrorEvent=eWe;Ue.exports.MessageEvent=tWe;Ue.exports.request=Xb(sg.request);Ue.exports.stream=Xb(sg.stream);Ue.exports.pipeline=Xb(sg.pipeline);Ue.exports.connect=Xb(sg.connect);Ue.exports.upgrade=Xb(sg.upgrade);Ue.exports.MockClient=QJe;Ue.exports.MockPool=PJe;Ue.exports.MockAgent=kJe;Ue.exports.mockErrors=OJe;var{EventSource:rWe}=nce();Ue.exports.EventSource=rWe});var o0=A((o8t,Fce)=>{"use strict";var NWe="2.0.0",_We=Number.MAX_SAFE_INTEGER||9007199254740991,RWe=16,TWe=250,DWe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Fce.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:RWe,MAX_SAFE_BUILD_LENGTH:TWe,MAX_SAFE_INTEGER:_We,RELEASE_TYPES:DWe,SEMVER_SPEC_VERSION:NWe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var a0=A((a8t,Mce)=>{"use strict";var QWe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Mce.exports=QWe});var dg=A((Lc,Uce)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:dq,MAX_SAFE_BUILD_LENGTH:kWe,MAX_LENGTH:PWe}=o0(),OWe=a0();Lc=Uce.exports={};var LWe=Lc.re=[],FWe=Lc.safeRe=[],ce=Lc.src=[],MWe=Lc.safeSrc=[],le=Lc.t={},UWe=0,fq="[a-zA-Z0-9-]",qWe=[["\\s",1],["\\d",PWe],[fq,kWe]],GWe=o(t=>{for(let[e,r]of qWe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),$e=o((t,e,r)=>{let n=GWe(e),i=UWe++;OWe(t,i,e),le[t]=i,ce[i]=e,MWe[i]=n,LWe[i]=new RegExp(e,r?"g":void 0),FWe[i]=new RegExp(n,r?"g":void 0)},"createToken");$e("NUMERICIDENTIFIER","0|[1-9]\\d*");$e("NUMERICIDENTIFIERLOOSE","\\d+");$e("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${fq}*`);$e("MAINVERSION",`(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})`);$e("MAINVERSIONLOOSE",`(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASEIDENTIFIER",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIER]})`);$e("PRERELEASEIDENTIFIERLOOSE",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASE",`(?:-(${ce[le.PRERELEASEIDENTIFIER]}(?:\\.${ce[le.PRERELEASEIDENTIFIER]})*))`);$e("PRERELEASELOOSE",`(?:-?(${ce[le.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ce[le.PRERELEASEIDENTIFIERLOOSE]})*))`);$e("BUILDIDENTIFIER",`${fq}+`);$e("BUILD",`(?:\\+(${ce[le.BUILDIDENTIFIER]}(?:\\.${ce[le.BUILDIDENTIFIER]})*))`);$e("FULLPLAIN",`v?${ce[le.MAINVERSION]}${ce[le.PRERELEASE]}?${ce[le.BUILD]}?`);$e("FULL",`^${ce[le.FULLPLAIN]}$`);$e("LOOSEPLAIN",`[v=\\s]*${ce[le.MAINVERSIONLOOSE]}${ce[le.PRERELEASELOOSE]}?${ce[le.BUILD]}?`);$e("LOOSE",`^${ce[le.LOOSEPLAIN]}$`);$e("GTLT","((?:<|>)?=?)");$e("XRANGEIDENTIFIERLOOSE",`${ce[le.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$e("XRANGEIDENTIFIER",`${ce[le.NUMERICIDENTIFIER]}|x|X|\\*`);$e("XRANGEPLAIN",`[v=\\s]*(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:${ce[le.PRERELEASE]})?${ce[le.BUILD]}?)?)?`);$e("XRANGEPLAINLOOSE",`[v=\\s]*(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:${ce[le.PRERELEASELOOSE]})?${ce[le.BUILD]}?)?)?`);$e("XRANGE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAIN]}$`);$e("XRANGELOOSE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAINLOOSE]}$`);$e("COERCEPLAIN",`(^|[^\\d])(\\d{1,${dq}})(?:\\.(\\d{1,${dq}}))?(?:\\.(\\d{1,${dq}}))?`);$e("COERCE",`${ce[le.COERCEPLAIN]}(?:$|[^\\d])`);$e("COERCEFULL",ce[le.COERCEPLAIN]+`(?:${ce[le.PRERELEASE]})?(?:${ce[le.BUILD]})?(?:$|[^\\d])`);$e("COERCERTL",ce[le.COERCE],!0);$e("COERCERTLFULL",ce[le.COERCEFULL],!0);$e("LONETILDE","(?:~>?)");$e("TILDETRIM",`(\\s*)${ce[le.LONETILDE]}\\s+`,!0);Lc.tildeTrimReplace="$1~";$e("TILDE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAIN]}$`);$e("TILDELOOSE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAINLOOSE]}$`);$e("LONECARET","(?:\\^)");$e("CARETTRIM",`(\\s*)${ce[le.LONECARET]}\\s+`,!0);Lc.caretTrimReplace="$1^";$e("CARET",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAIN]}$`);$e("CARETLOOSE",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAINLOOSE]}$`);$e("COMPARATORLOOSE",`^${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]})$|^$`);$e("COMPARATOR",`^${ce[le.GTLT]}\\s*(${ce[le.FULLPLAIN]})$|^$`);$e("COMPARATORTRIM",`(\\s*)${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]}|${ce[le.XRANGEPLAIN]})`,!0);Lc.comparatorTrimReplace="$1$2$3";$e("HYPHENRANGE",`^\\s*(${ce[le.XRANGEPLAIN]})\\s+-\\s+(${ce[le.XRANGEPLAIN]})\\s*$`);$e("HYPHENRANGELOOSE",`^\\s*(${ce[le.XRANGEPLAINLOOSE]})\\s+-\\s+(${ce[le.XRANGEPLAINLOOSE]})\\s*$`);$e("STAR","(<|>)?=?\\s*\\*");$e("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$e("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var vN=A((l8t,qce)=>{"use strict";var HWe=Object.freeze({loose:!0}),VWe=Object.freeze({}),zWe=o(t=>t?typeof t!="object"?HWe:t:VWe,"parseOptions");qce.exports=zWe});var hq=A((d8t,Vce)=>{"use strict";var Gce=/^[0-9]+$/,Hce=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tHce(e,t),"rcompareIdentifiers");Vce.exports={compareIdentifiers:Hce,rcompareIdentifiers:jWe}});var Si=A((h8t,jce)=>{"use strict";var NN=a0(),{MAX_LENGTH:zce,MAX_SAFE_INTEGER:_N}=o0(),{safeRe:RN,t:TN}=dg(),$We=vN(),{compareIdentifiers:pq}=hq(),Aq=class t{static{o(this,"SemVer")}constructor(e,r){if(r=$We(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>zce)throw new TypeError(`version is longer than ${zce} characters`);NN("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?RN[TN.LOOSE]:RN[TN.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&&s<_N)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(NN("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.majore.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(NN("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 pq(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(NN("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 pq(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?RN[TN.PRERELEASELOOSE]:RN[TN.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]),pq(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}};jce.exports=Aq});var np=A((A8t,Jce)=>{"use strict";var $ce=Si(),JWe=o((t,e,r=!1)=>{if(t instanceof $ce)return t;try{return new $ce(t,e)}catch(n){if(!r)return null;throw n}},"parse");Jce.exports=JWe});var Yce=A((g8t,Wce)=>{"use strict";var WWe=np(),YWe=o((t,e)=>{let r=WWe(t,e);return r?r.version:null},"valid");Wce.exports=YWe});var Xce=A((E8t,Kce)=>{"use strict";var KWe=np(),XWe=o((t,e)=>{let r=KWe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Kce.exports=XWe});var tle=A((b8t,ele)=>{"use strict";var Zce=Si(),ZWe=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Zce(t instanceof Zce?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");ele.exports=ZWe});var ile=A((I8t,nle)=>{"use strict";var rle=np(),e9e=o((t,e)=>{let r=rle(t,null,!0),n=rle(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");nle.exports=e9e});var ole=A((B8t,sle)=>{"use strict";var t9e=Si(),r9e=o((t,e)=>new t9e(t,e).major,"major");sle.exports=r9e});var cle=A((v8t,ale)=>{"use strict";var n9e=Si(),i9e=o((t,e)=>new n9e(t,e).minor,"minor");ale.exports=i9e});var ule=A((_8t,lle)=>{"use strict";var s9e=Si(),o9e=o((t,e)=>new s9e(t,e).patch,"patch");lle.exports=o9e});var fle=A((T8t,dle)=>{"use strict";var a9e=np(),c9e=o((t,e)=>{let r=a9e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");dle.exports=c9e});var Uo=A((Q8t,ple)=>{"use strict";var hle=Si(),l9e=o((t,e,r)=>new hle(t,r).compare(new hle(e,r)),"compare");ple.exports=l9e});var mle=A((P8t,Ale)=>{"use strict";var u9e=Uo(),d9e=o((t,e,r)=>u9e(e,t,r),"rcompare");Ale.exports=d9e});var yle=A((L8t,gle)=>{"use strict";var f9e=Uo(),h9e=o((t,e)=>f9e(t,e,!0),"compareLoose");gle.exports=h9e});var DN=A((M8t,Cle)=>{"use strict";var Ele=Si(),p9e=o((t,e,r)=>{let n=new Ele(t,r),i=new Ele(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");Cle.exports=p9e});var wle=A((q8t,ble)=>{"use strict";var A9e=DN(),m9e=o((t,e)=>t.sort((r,n)=>A9e(r,n,e)),"sort");ble.exports=m9e});var Sle=A((H8t,Ile)=>{"use strict";var g9e=DN(),y9e=o((t,e)=>t.sort((r,n)=>g9e(n,r,e)),"rsort");Ile.exports=y9e});var c0=A((z8t,Ble)=>{"use strict";var E9e=Uo(),C9e=o((t,e,r)=>E9e(t,e,r)>0,"gt");Ble.exports=C9e});var QN=A(($8t,xle)=>{"use strict";var b9e=Uo(),w9e=o((t,e,r)=>b9e(t,e,r)<0,"lt");xle.exports=w9e});var mq=A((W8t,vle)=>{"use strict";var I9e=Uo(),S9e=o((t,e,r)=>I9e(t,e,r)===0,"eq");vle.exports=S9e});var gq=A((K8t,Nle)=>{"use strict";var B9e=Uo(),x9e=o((t,e,r)=>B9e(t,e,r)!==0,"neq");Nle.exports=x9e});var kN=A((Z8t,_le)=>{"use strict";var v9e=Uo(),N9e=o((t,e,r)=>v9e(t,e,r)>=0,"gte");_le.exports=N9e});var PN=A((t6t,Rle)=>{"use strict";var _9e=Uo(),R9e=o((t,e,r)=>_9e(t,e,r)<=0,"lte");Rle.exports=R9e});var yq=A((n6t,Tle)=>{"use strict";var T9e=mq(),D9e=gq(),Q9e=c0(),k9e=kN(),P9e=QN(),O9e=PN(),L9e=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 T9e(t,r,n);case"!=":return D9e(t,r,n);case">":return Q9e(t,r,n);case">=":return k9e(t,r,n);case"<":return P9e(t,r,n);case"<=":return O9e(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Tle.exports=L9e});var Qle=A((s6t,Dle)=>{"use strict";var F9e=Si(),M9e=np(),{safeRe:ON,t:LN}=dg(),U9e=o((t,e)=>{if(t instanceof F9e)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?ON[LN.COERCEFULL]:ON[LN.COERCE]);else{let l=e.includePrerelease?ON[LN.COERCERTLFULL]:ON[LN.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 M9e(`${n}.${i}.${s}${a}${c}`,e)},"coerce");Dle.exports=U9e});var Ple=A((a6t,kle)=>{"use strict";var Eq=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}};kle.exports=Eq});var qo=A((l6t,Mle)=>{"use strict";var q9e=/\s+/g,Cq=class t{static{o(this,"Range")}constructor(e,r){if(r=H9e(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(q9e," "),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=>!Lle(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&&Y9e(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&&J9e)|(this.options.loose&&W9e))+":"+e,i=Ole.get(n);if(i)return i;let s=this.options.loose,a=s?Vi[Bi.HYPHENRANGELOOSE]:Vi[Bi.HYPHENRANGE];e=e.replace(a,oYe(this.options.includePrerelease)),nr("hyphen replace",e),e=e.replace(Vi[Bi.COMPARATORTRIM],z9e),nr("comparator trim",e),e=e.replace(Vi[Bi.TILDETRIM],j9e),nr("tilde trim",e),e=e.replace(Vi[Bi.CARETTRIM],$9e),nr("caret trim",e);let c=e.split(" ").map(f=>K9e(f,this.options)).join(" ").split(/\s+/).map(f=>sYe(f,this.options));s&&(c=c.filter(f=>(nr("loose invalid filter",f,this.options),!!f.match(Vi[Bi.COMPARATORLOOSE])))),nr("range list",c);let l=new Map,u=c.map(f=>new bq(f,this.options));for(let f of u){if(Lle(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return Ole.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Fle(n,r)&&e.set.some(i=>Fle(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 V9e(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Y9e=o(t=>t.value==="","isAny"),Fle=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"),K9e=o((t,e)=>(t=t.replace(Vi[Bi.BUILD],""),nr("comp",t,e),t=eYe(t,e),nr("caret",t),t=X9e(t,e),nr("tildes",t),t=rYe(t,e),nr("xrange",t),t=iYe(t,e),nr("stars",t),t),"parseComparator"),zi=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),X9e=o((t,e)=>t.trim().split(/\s+/).map(r=>Z9e(r,e)).join(" "),"replaceTildes"),Z9e=o((t,e)=>{let r=e.loose?Vi[Bi.TILDELOOSE]:Vi[Bi.TILDE];return t.replace(r,(n,i,s,a,c)=>{nr("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?(nr("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,nr("tilde return",l),l})},"replaceTilde"),eYe=o((t,e)=>t.trim().split(/\s+/).map(r=>tYe(r,e)).join(" "),"replaceCarets"),tYe=o((t,e)=>{nr("caret",t,e);let r=e.loose?Vi[Bi.CARETLOOSE]:Vi[Bi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{nr("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?(nr("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`):(nr("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`),nr("caret return",u),u})},"replaceCaret"),rYe=o((t,e)=>(nr("replaceXRanges",t,e),t.split(/\s+/).map(r=>nYe(r,e)).join(" ")),"replaceXRanges"),nYe=o((t,e)=>{t=t.trim();let r=e.loose?Vi[Bi.XRANGELOOSE]:Vi[Bi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{nr("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`),nr("xRange return",n),n})},"replaceXRange"),iYe=o((t,e)=>(nr("replaceStars",t,e),t.trim().replace(Vi[Bi.STAR],"")),"replaceStars"),sYe=o((t,e)=>(nr("replaceGTE0",t,e),t.trim().replace(Vi[e.includePrerelease?Bi.GTE0PRE:Bi.GTE0],"")),"replaceGTE0"),oYe=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"),aYe=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 l0=A((d6t,zle)=>{"use strict";var u0=Symbol("SemVer ANY"),Sq=class t{static{o(this,"Comparator")}static get ANY(){return u0}constructor(e,r){if(r=Ule(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Iq("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===u0?this.value="":this.value=this.operator+this.semver.version,Iq("comp",this)}parse(e){let r=this.options.loose?qle[Gle.COMPARATORLOOSE]:qle[Gle.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 Hle(n[2],this.options.loose):this.semver=u0}toString(){return this.value}test(e){if(Iq("Comparator.test",e,this.options.loose),this.semver===u0||e===u0)return!0;if(typeof e=="string")try{e=new Hle(e,this.options)}catch{return!1}return wq(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 Vle(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Vle(this.value,r).test(e.semver):(r=Ule(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("=")||wq(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||wq(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};zle.exports=Sq;var Ule=vN(),{safeRe:qle,t:Gle}=dg(),wq=yq(),Iq=a0(),Hle=Si(),Vle=qo()});var d0=A((h6t,jle)=>{"use strict";var cYe=qo(),lYe=o((t,e,r)=>{try{e=new cYe(e,r)}catch{return!1}return e.test(t)},"satisfies");jle.exports=lYe});var Jle=A((A6t,$le)=>{"use strict";var uYe=qo(),dYe=o((t,e)=>new uYe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");$le.exports=dYe});var Yle=A((g6t,Wle)=>{"use strict";var fYe=Si(),hYe=qo(),pYe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new hYe(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},"maxSatisfying");Wle.exports=pYe});var Xle=A((E6t,Kle)=>{"use strict";var AYe=Si(),mYe=qo(),gYe=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 AYe(n,r))}),n},"minSatisfying");Kle.exports=gYe});var tue=A((b6t,eue)=>{"use strict";var Bq=Si(),yYe=qo(),Zle=c0(),EYe=o((t,e)=>{t=new yYe(t,e);let r=new Bq("0.0.0");if(t.test(r)||(r=new Bq("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new Bq(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Zle(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Zle(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");eue.exports=EYe});var nue=A((I6t,rue)=>{"use strict";var CYe=qo(),bYe=o((t,e)=>{try{return new CYe(t,e).range||"*"}catch{return null}},"validRange");rue.exports=bYe});var FN=A((B6t,aue)=>{"use strict";var wYe=Si(),oue=l0(),{ANY:IYe}=oue,SYe=qo(),BYe=d0(),iue=c0(),sue=QN(),xYe=PN(),vYe=kN(),NYe=o((t,e,r,n)=>{t=new wYe(t,n),e=new SYe(e,n);let i,s,a,c,l;switch(r){case">":i=iue,s=xYe,a=sue,c=">",l=">=";break;case"<":i=sue,s=vYe,a=iue,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(BYe(t,e,n))return!1;for(let u=0;u{p.semver===IYe&&(p=new oue(">=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");aue.exports=NYe});var lue=A((v6t,cue)=>{"use strict";var _Ye=FN(),RYe=o((t,e,r)=>_Ye(t,e,">",r),"gtr");cue.exports=RYe});var due=A((_6t,uue)=>{"use strict";var TYe=FN(),DYe=o((t,e,r)=>TYe(t,e,"<",r),"ltr");uue.exports=DYe});var pue=A((T6t,hue)=>{"use strict";var fue=qo(),QYe=o((t,e,r)=>(t=new fue(t,r),e=new fue(e,r),t.intersects(e,r)),"intersects");hue.exports=QYe});var mue=A((Q6t,Aue)=>{"use strict";var kYe=d0(),PYe=Uo();Aue.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>PYe(d,f,r));for(let d of a)kYe(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 gue=qo(),vq=l0(),{ANY:xq}=vq,f0=d0(),Nq=Uo(),OYe=o((t,e,r={})=>{if(t===e)return!0;t=new gue(t,r),e=new gue(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=FYe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),LYe=[new vq(">=0.0.0-0")],yue=[new vq(">=0.0.0")],FYe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===xq){if(e.length===1&&e[0].semver===xq)return!0;r.includePrerelease?t=LYe:t=yue}if(e.length===1&&e[0].semver===xq){if(r.includePrerelease)return!0;e=yue}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Eue(i,p,r):p.operator==="<"||p.operator==="<="?s=Cue(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=Nq(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&&!f0(p,String(i),r)||s&&!f0(p,String(s),r))return null;for(let m of e)if(!f0(p,String(m),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=Eue(i,p,r),c===p&&c!==i)return!1}else if(i.operator===">="&&!f0(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=Cue(s,p,r),l===p&&l!==s)return!1}else if(s.operator==="<="&&!f0(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"),Eue=o((t,e,r)=>{if(!t)return e;let n=Nq(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Cue=o((t,e,r)=>{if(!t)return e;let n=Nq(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");bue.exports=OYe});var Rq=A((O6t,Bue)=>{"use strict";var _q=dg(),Iue=o0(),MYe=Si(),Sue=hq(),UYe=np(),qYe=Yce(),GYe=Xce(),HYe=tle(),VYe=ile(),zYe=ole(),jYe=cle(),$Ye=ule(),JYe=fle(),WYe=Uo(),YYe=mle(),KYe=yle(),XYe=DN(),ZYe=wle(),eKe=Sle(),tKe=c0(),rKe=QN(),nKe=mq(),iKe=gq(),sKe=kN(),oKe=PN(),aKe=yq(),cKe=Qle(),lKe=l0(),uKe=qo(),dKe=d0(),fKe=Jle(),hKe=Yle(),pKe=Xle(),AKe=tue(),mKe=nue(),gKe=FN(),yKe=lue(),EKe=due(),CKe=pue(),bKe=mue(),wKe=wue();Bue.exports={parse:UYe,valid:qYe,clean:GYe,inc:HYe,diff:VYe,major:zYe,minor:jYe,patch:$Ye,prerelease:JYe,compare:WYe,rcompare:YYe,compareLoose:KYe,compareBuild:XYe,sort:ZYe,rsort:eKe,gt:tKe,lt:rKe,eq:nKe,neq:iKe,gte:sKe,lte:oKe,cmp:aKe,coerce:cKe,Comparator:lKe,Range:uKe,satisfies:dKe,toComparators:fKe,maxSatisfying:hKe,minSatisfying:pKe,minVersion:AKe,validRange:mKe,outside:gKe,gtr:yKe,ltr:EKe,intersects:CKe,simplifyRange:bKe,subset:wKe,SemVer:MYe,re:_q.re,src:_q.src,tokens:_q.t,SEMVER_SPEC_VERSION:Iue.SEMVER_SPEC_VERSION,RELEASE_TYPES:Iue.RELEASE_TYPES,compareIdentifiers:Sue.compareIdentifiers,rcompareIdentifiers:Sue.rcompareIdentifiers}});var jue=A((LJt,zue)=>{zue.exports=function(t,e){for(var r=[],n=0;n{"use strict";Yue.exports=Jue;function Jue(t,e,r){t instanceof RegExp&&(t=$ue(t,r)),e instanceof RegExp&&(e=$ue(e,r));var n=Wue(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(Jue,"balanced");function $ue(t,e){var r=e.match(t);return r?r[0]:null}o($ue,"maybeMatch");Jue.range=Wue;function Wue(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(Wue,"range")});var ide=A((UJt,nde)=>{var GKe=jue(),Kue=Hq();nde.exports=zKe;var Xue="\0SLASH"+Math.random()+"\0",Zue="\0OPEN"+Math.random()+"\0",zq="\0CLOSE"+Math.random()+"\0",ede="\0COMMA"+Math.random()+"\0",tde="\0PERIOD"+Math.random()+"\0";function Vq(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Vq,"numeric");function HKe(t){return t.split("\\\\").join(Xue).split("\\{").join(Zue).split("\\}").join(zq).split("\\,").join(ede).split("\\.").join(tde)}o(HKe,"escapeBraces");function VKe(t){return t.split(Xue).join("\\").split(Zue).join("{").split(zq).join("}").split(ede).join(",").split(tde).join(".")}o(VKe,"unescapeBraces");function rde(t){if(!t)return[""];var e=[],r=Kue("{","}",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=rde(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(rde,"parseCommaParts");function zKe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),pg(HKe(t),!0).map(VKe)):[]}o(zKe,"expandTop");function jKe(t){return"{"+t+"}"}o(jKe,"embrace");function $Ke(t){return/^-?0\d/.test(t)}o($Ke,"isPadded");function JKe(t,e){return t<=e}o(JKe,"lte");function WKe(t,e){return t>=e}o(WKe,"gte");function pg(t,e){var r=[],n=Kue("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+zq+n.post,pg(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=rde(n.body),l.length===1&&(l=pg(l[0],!1).map(jKe),l.length===1)){var d=n.post.length?pg(n.post,!1):[""];return d.map(function(V){return n.pre+l[0]+V})}var u=n.pre,d=n.post.length?pg(n.post,!1):[""],f;if(a){var h=Vq(l[0]),p=Vq(l[1]),m=Math.max(l[0].length,l[1].length),g=l.length==3?Math.max(Math.abs(Vq(l[2])),1):1,E=JKe,y=p0){var M=new Array(Q+1).join("0");w<0?B="-"+M+B.slice(1):B=M+B}}f.push(B)}}else f=GKe(l,function(G){return pg(G,!1)});for(var v=0;v{lde.exports=no;no.Minimatch=gn;var g0=(function(){try{return require("path")}catch{}})()||{sep:"/"};no.sep=g0.sep;var ip=no.GLOBSTAR=gn.GLOBSTAR={},YKe=ide(),sde={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},jq="[^/]",$q=jq+"*?",KKe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",XKe="(?:(?!(?:\\/|^)\\.).)*?",ode=ZKe("().*{}+?[]^$\\!");function ZKe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(ZKe,"charSet");var ade=/\/+/;no.filter=e7e;function e7e(t,e){return e=e||{},function(r,n,i){return no(r,t,e)}}o(e7e,"filter");function nf(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(nf,"ext");no.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return no;var e=no,r=o(function(i,s,a){return e(i,s,nf(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,nf(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(nf(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,nf(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(nf(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,nf(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,nf(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,nf(t,s))},r};gn.defaults=function(t){return no.defaults(t).Minimatch};function no(t,e,r){return zN(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new gn(e,r).match(t)}o(no,"minimatch");function gn(t,e){if(!(this instanceof gn))return new gn(t,e);zN(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(gn,"Minimatch");gn.prototype.debug=function(){};gn.prototype.make=t7e;function t7e(){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(ade)}),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(t7e,"make");gn.prototype.parseNegate=r7e;function r7e(){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,zN(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:YKe(t)}o(cde,"braceExpand");var n7e=1024*64,zN=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>n7e)throw new TypeError("pattern is too long")},"assertValidPattern");gn.prototype.parse=i7e;var VN={};function i7e(t,e){zN(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return ip;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 m(){if(l){switch(l){case"*":n+=$q,i=!0;break;case"?":n+=jq,i=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(m,"clearStateChar");for(var g=0,E=t.length,y;g-1;j--){var T=c[j],G=n.slice(0,T.reStart),V=n.slice(T.reStart,T.reEnd-8),W=n.slice(T.reEnd-8,T.reEnd),ee=n.slice(T.reEnd);W+=ee;var ae=G.split("(").length-1,Ae=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(ade),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]===ip){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 m=!!h;for(s=n;s{"use strict";var A7e="2.0.0",m7e=Number.MAX_SAFE_INTEGER||9007199254740991,g7e=16,y7e=250,E7e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];pde.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:g7e,MAX_SAFE_BUILD_LENGTH:y7e,MAX_SAFE_INTEGER:m7e,RELEASE_TYPES:E7e,SEMVER_SPEC_VERSION:A7e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var C0=A((dWt,Ade)=>{"use strict";var C7e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Ade.exports=C7e});var Eg=A((Mc,mde)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Wq,MAX_SAFE_BUILD_LENGTH:b7e,MAX_LENGTH:w7e}=yg(),I7e=C0();Mc=mde.exports={};var S7e=Mc.re=[],B7e=Mc.safeRe=[],ue=Mc.src=[],x7e=Mc.safeSrc=[],de=Mc.t={},v7e=0,Yq="[a-zA-Z0-9-]",N7e=[["\\s",1],["\\d",w7e],[Yq,b7e]],_7e=o(t=>{for(let[e,r]of N7e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Je=o((t,e,r)=>{let n=_7e(e),i=v7e++;I7e(t,i,e),de[t]=i,ue[i]=e,x7e[i]=n,S7e[i]=new RegExp(e,r?"g":void 0),B7e[i]=new RegExp(n,r?"g":void 0)},"createToken");Je("NUMERICIDENTIFIER","0|[1-9]\\d*");Je("NUMERICIDENTIFIERLOOSE","\\d+");Je("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Yq}*`);Je("MAINVERSION",`(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})`);Je("MAINVERSIONLOOSE",`(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})`);Je("PRERELEASEIDENTIFIER",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIER]})`);Je("PRERELEASEIDENTIFIERLOOSE",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIERLOOSE]})`);Je("PRERELEASE",`(?:-(${ue[de.PRERELEASEIDENTIFIER]}(?:\\.${ue[de.PRERELEASEIDENTIFIER]})*))`);Je("PRERELEASELOOSE",`(?:-?(${ue[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ue[de.PRERELEASEIDENTIFIERLOOSE]})*))`);Je("BUILDIDENTIFIER",`${Yq}+`);Je("BUILD",`(?:\\+(${ue[de.BUILDIDENTIFIER]}(?:\\.${ue[de.BUILDIDENTIFIER]})*))`);Je("FULLPLAIN",`v?${ue[de.MAINVERSION]}${ue[de.PRERELEASE]}?${ue[de.BUILD]}?`);Je("FULL",`^${ue[de.FULLPLAIN]}$`);Je("LOOSEPLAIN",`[v=\\s]*${ue[de.MAINVERSIONLOOSE]}${ue[de.PRERELEASELOOSE]}?${ue[de.BUILD]}?`);Je("LOOSE",`^${ue[de.LOOSEPLAIN]}$`);Je("GTLT","((?:<|>)?=?)");Je("XRANGEIDENTIFIERLOOSE",`${ue[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Je("XRANGEIDENTIFIER",`${ue[de.NUMERICIDENTIFIER]}|x|X|\\*`);Je("XRANGEPLAIN",`[v=\\s]*(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:${ue[de.PRERELEASE]})?${ue[de.BUILD]}?)?)?`);Je("XRANGEPLAINLOOSE",`[v=\\s]*(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:${ue[de.PRERELEASELOOSE]})?${ue[de.BUILD]}?)?)?`);Je("XRANGE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAIN]}$`);Je("XRANGELOOSE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAINLOOSE]}$`);Je("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Wq}})(?:\\.(\\d{1,${Wq}}))?(?:\\.(\\d{1,${Wq}}))?`);Je("COERCE",`${ue[de.COERCEPLAIN]}(?:$|[^\\d])`);Je("COERCEFULL",ue[de.COERCEPLAIN]+`(?:${ue[de.PRERELEASE]})?(?:${ue[de.BUILD]})?(?:$|[^\\d])`);Je("COERCERTL",ue[de.COERCE],!0);Je("COERCERTLFULL",ue[de.COERCEFULL],!0);Je("LONETILDE","(?:~>?)");Je("TILDETRIM",`(\\s*)${ue[de.LONETILDE]}\\s+`,!0);Mc.tildeTrimReplace="$1~";Je("TILDE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAIN]}$`);Je("TILDELOOSE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAINLOOSE]}$`);Je("LONECARET","(?:\\^)");Je("CARETTRIM",`(\\s*)${ue[de.LONECARET]}\\s+`,!0);Mc.caretTrimReplace="$1^";Je("CARET",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAIN]}$`);Je("CARETLOOSE",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAINLOOSE]}$`);Je("COMPARATORLOOSE",`^${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]})$|^$`);Je("COMPARATOR",`^${ue[de.GTLT]}\\s*(${ue[de.FULLPLAIN]})$|^$`);Je("COMPARATORTRIM",`(\\s*)${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]}|${ue[de.XRANGEPLAIN]})`,!0);Mc.comparatorTrimReplace="$1$2$3";Je("HYPHENRANGE",`^\\s*(${ue[de.XRANGEPLAIN]})\\s+-\\s+(${ue[de.XRANGEPLAIN]})\\s*$`);Je("HYPHENRANGELOOSE",`^\\s*(${ue[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ue[de.XRANGEPLAINLOOSE]})\\s*$`);Je("STAR","(<|>)?=?\\s*\\*");Je("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Je("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var JN=A((hWt,gde)=>{"use strict";var R7e=Object.freeze({loose:!0}),T7e=Object.freeze({}),D7e=o(t=>t?typeof t!="object"?R7e:t:T7e,"parseOptions");gde.exports=D7e});var Kq=A((AWt,Cde)=>{"use strict";var yde=/^[0-9]+$/,Ede=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tEde(e,t),"rcompareIdentifiers");Cde.exports={compareIdentifiers:Ede,rcompareIdentifiers:Q7e}});var li=A((gWt,wde)=>{"use strict";var WN=C0(),{MAX_LENGTH:bde,MAX_SAFE_INTEGER:YN}=yg(),{safeRe:KN,t:XN}=Eg(),k7e=JN(),{compareIdentifiers:Xq}=Kq(),Zq=class t{static{o(this,"SemVer")}constructor(e,r){if(r=k7e(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>bde)throw new TypeError(`version is longer than ${bde} characters`);WN("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?KN[XN.LOOSE]:KN[XN.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>YN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>YN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>YN||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(WN("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 Xq(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(WN("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 Xq(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?KN[XN.PRERELEASELOOSE]:KN[XN.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]),Xq(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}};wde.exports=Zq});var af=A((EWt,Sde)=>{"use strict";var Ide=li(),P7e=o((t,e,r=!1)=>{if(t instanceof Ide)return t;try{return new Ide(t,e)}catch(n){if(!r)return null;throw n}},"parse");Sde.exports=P7e});var xde=A((bWt,Bde)=>{"use strict";var O7e=af(),L7e=o((t,e)=>{let r=O7e(t,e);return r?r.version:null},"valid");Bde.exports=L7e});var Nde=A((IWt,vde)=>{"use strict";var F7e=af(),M7e=o((t,e)=>{let r=F7e(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");vde.exports=M7e});var Tde=A((BWt,Rde)=>{"use strict";var _de=li(),U7e=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new _de(t instanceof _de?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");Rde.exports=U7e});var kde=A((vWt,Qde)=>{"use strict";var Dde=af(),q7e=o((t,e)=>{let r=Dde(t,null,!0),n=Dde(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");Qde.exports=q7e});var Ode=A((_Wt,Pde)=>{"use strict";var G7e=li(),H7e=o((t,e)=>new G7e(t,e).major,"major");Pde.exports=H7e});var Fde=A((TWt,Lde)=>{"use strict";var V7e=li(),z7e=o((t,e)=>new V7e(t,e).minor,"minor");Lde.exports=z7e});var Ude=A((QWt,Mde)=>{"use strict";var j7e=li(),$7e=o((t,e)=>new j7e(t,e).patch,"patch");Mde.exports=$7e});var Gde=A((PWt,qde)=>{"use strict";var J7e=af(),W7e=o((t,e)=>{let r=J7e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");qde.exports=W7e});var zo=A((LWt,Vde)=>{"use strict";var Hde=li(),Y7e=o((t,e,r)=>new Hde(t,r).compare(new Hde(e,r)),"compare");Vde.exports=Y7e});var jde=A((MWt,zde)=>{"use strict";var K7e=zo(),X7e=o((t,e,r)=>K7e(e,t,r),"rcompare");zde.exports=X7e});var Jde=A((qWt,$de)=>{"use strict";var Z7e=zo(),eXe=o((t,e)=>Z7e(t,e,!0),"compareLoose");$de.exports=eXe});var ZN=A((HWt,Yde)=>{"use strict";var Wde=li(),tXe=o((t,e,r)=>{let n=new Wde(t,r),i=new Wde(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");Yde.exports=tXe});var Xde=A((zWt,Kde)=>{"use strict";var rXe=ZN(),nXe=o((t,e)=>t.sort((r,n)=>rXe(r,n,e)),"sort");Kde.exports=nXe});var efe=A(($Wt,Zde)=>{"use strict";var iXe=ZN(),sXe=o((t,e)=>t.sort((r,n)=>iXe(n,r,e)),"rsort");Zde.exports=sXe});var b0=A((WWt,tfe)=>{"use strict";var oXe=zo(),aXe=o((t,e,r)=>oXe(t,e,r)>0,"gt");tfe.exports=aXe});var e_=A((KWt,rfe)=>{"use strict";var cXe=zo(),lXe=o((t,e,r)=>cXe(t,e,r)<0,"lt");rfe.exports=lXe});var e3=A((ZWt,nfe)=>{"use strict";var uXe=zo(),dXe=o((t,e,r)=>uXe(t,e,r)===0,"eq");nfe.exports=dXe});var t3=A((t9t,ife)=>{"use strict";var fXe=zo(),hXe=o((t,e,r)=>fXe(t,e,r)!==0,"neq");ife.exports=hXe});var t_=A((n9t,sfe)=>{"use strict";var pXe=zo(),AXe=o((t,e,r)=>pXe(t,e,r)>=0,"gte");sfe.exports=AXe});var r_=A((s9t,ofe)=>{"use strict";var mXe=zo(),gXe=o((t,e,r)=>mXe(t,e,r)<=0,"lte");ofe.exports=gXe});var r3=A((a9t,afe)=>{"use strict";var yXe=e3(),EXe=t3(),CXe=b0(),bXe=t_(),wXe=e_(),IXe=r_(),SXe=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 yXe(t,r,n);case"!=":return EXe(t,r,n);case">":return CXe(t,r,n);case">=":return bXe(t,r,n);case"<":return wXe(t,r,n);case"<=":return IXe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");afe.exports=SXe});var lfe=A((l9t,cfe)=>{"use strict";var BXe=li(),xXe=af(),{safeRe:n_,t:i_}=Eg(),vXe=o((t,e)=>{if(t instanceof BXe)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?n_[i_.COERCEFULL]:n_[i_.COERCE]);else{let l=e.includePrerelease?n_[i_.COERCERTLFULL]:n_[i_.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 xXe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");cfe.exports=vXe});var dfe=A((d9t,ufe)=>{"use strict";var NXe=af(),_Xe=yg(),RXe=li(),TXe=o((t,e,r)=>{if(!_Xe.RELEASE_TYPES.includes(e))return null;let n=DXe(t,r);return n&&QXe(n,e)},"truncate"),DXe=o((t,e)=>{let r=t instanceof RXe?t.version:t;return NXe(r,e)},"cloneInputVersion"),QXe=o((t,e)=>{if(kXe(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"),kXe=o(t=>t.startsWith("pre"),"isPrerelease");ufe.exports=TXe});var hfe=A((h9t,ffe)=>{"use strict";var n3=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}};ffe.exports=n3});var jo=A((A9t,gfe)=>{"use strict";var PXe=/\s+/g,i3=class t{static{o(this,"Range")}constructor(e,r){if(r=LXe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof s3)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(PXe," "),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=>!Afe(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&&jXe(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(zXe,"");let n=((this.options.includePrerelease&&HXe)|(this.options.loose&&VXe))+":"+e,i=pfe.get(n);if(i)return i;let s=this.options.loose,a=s?ji[ui.HYPHENRANGELOOSE]:ji[ui.HYPHENRANGE];e=e.replace(a,rZe(this.options.includePrerelease)),ir("hyphen replace",e),e=e.replace(ji[ui.COMPARATORTRIM],UXe),ir("comparator trim",e),e=e.replace(ji[ui.TILDETRIM],qXe),ir("tilde trim",e),e=e.replace(ji[ui.CARETTRIM],GXe),ir("caret trim",e);let c=e.split(" ").map(f=>$Xe(f,this.options)).join(" ").split(/\s+/).map(f=>tZe(f,this.options));s&&(c=c.filter(f=>(ir("loose invalid filter",f,this.options),!!f.match(ji[ui.COMPARATORLOOSE])))),ir("range list",c);let l=new Map,u=c.map(f=>new s3(f,this.options));for(let f of u){if(Afe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return pfe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>mfe(n,r)&&e.set.some(i=>mfe(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 FXe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),jXe=o(t=>t.value==="","isAny"),mfe=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"),$Xe=o((t,e)=>(t=t.replace(ji[ui.BUILD],""),ir("comp",t,e),t=YXe(t,e),ir("caret",t),t=JXe(t,e),ir("tildes",t),t=XXe(t,e),ir("xrange",t),t=eZe(t,e),ir("stars",t),t),"parseComparator"),$i=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),JXe=o((t,e)=>t.trim().split(/\s+/).map(r=>WXe(r,e)).join(" "),"replaceTildes"),WXe=o((t,e)=>{let r=e.loose?ji[ui.TILDELOOSE]:ji[ui.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"),YXe=o((t,e)=>t.trim().split(/\s+/).map(r=>KXe(r,e)).join(" "),"replaceCarets"),KXe=o((t,e)=>{ir("caret",t,e);let r=e.loose?ji[ui.CARETLOOSE]:ji[ui.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"),XXe=o((t,e)=>(ir("replaceXRanges",t,e),t.split(/\s+/).map(r=>ZXe(r,e)).join(" ")),"replaceXRanges"),ZXe=o((t,e)=>{t=t.trim();let r=e.loose?ji[ui.XRANGELOOSE]:ji[ui.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{ir("xRange",t,n,i,s,a,c,l);let u=$i(s),d=u||$i(a),f=d||$i(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"),eZe=o((t,e)=>(ir("replaceStars",t,e),t.trim().replace(ji[ui.STAR],"")),"replaceStars"),tZe=o((t,e)=>(ir("replaceGTE0",t,e),t.trim().replace(ji[e.includePrerelease?ui.GTE0PRE:ui.GTE0],"")),"replaceGTE0"),rZe=o(t=>(e,r,n,i,s,a,c,l,u,d,f,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(d)?l=`<${+u+1}.0.0-0`:$i(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 w0=A((g9t,Ife)=>{"use strict";var I0=Symbol("SemVer ANY"),c3=class t{static{o(this,"Comparator")}static get ANY(){return I0}constructor(e,r){if(r=yfe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),a3("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===I0?this.value="":this.value=this.operator+this.semver.version,a3("comp",this)}parse(e){let r=this.options.loose?Efe[Cfe.COMPARATORLOOSE]:Efe[Cfe.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 bfe(n[2],this.options.loose):this.semver=I0}toString(){return this.value}test(e){if(a3("Comparator.test",e,this.options.loose),this.semver===I0||e===I0)return!0;if(typeof e=="string")try{e=new bfe(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 wfe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new wfe(this.value,r).test(e.semver):(r=yfe(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(">")))}};Ife.exports=c3;var yfe=JN(),{safeRe:Efe,t:Cfe}=Eg(),o3=r3(),a3=C0(),bfe=li(),wfe=jo()});var S0=A((E9t,Sfe)=>{"use strict";var iZe=jo(),sZe=o((t,e,r)=>{try{e=new iZe(e,r)}catch{return!1}return e.test(t)},"satisfies");Sfe.exports=sZe});var xfe=A((b9t,Bfe)=>{"use strict";var oZe=jo(),aZe=o((t,e)=>new oZe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Bfe.exports=aZe});var Nfe=A((I9t,vfe)=>{"use strict";var cZe=li(),lZe=jo(),uZe=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 cZe(n,r))}),n},"maxSatisfying");vfe.exports=uZe});var Rfe=A((B9t,_fe)=>{"use strict";var dZe=li(),fZe=jo(),hZe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new fZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new dZe(n,r))}),n},"minSatisfying");_fe.exports=hZe});var Qfe=A((v9t,Dfe)=>{"use strict";var l3=li(),pZe=jo(),Tfe=b0(),AZe=o((t,e)=>{t=new pZe(t,e);let r=new l3("0.0.0");if(t.test(r)||(r=new l3("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new l3(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Tfe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Tfe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");Dfe.exports=AZe});var Pfe=A((_9t,kfe)=>{"use strict";var mZe=jo(),gZe=o((t,e)=>{try{return new mZe(t,e).range||"*"}catch{return null}},"validRange");kfe.exports=gZe});var s_=A((T9t,Mfe)=>{"use strict";var yZe=li(),Ffe=w0(),{ANY:EZe}=Ffe,CZe=jo(),bZe=S0(),Ofe=b0(),Lfe=e_(),wZe=r_(),IZe=t_(),SZe=o((t,e,r,n)=>{t=new yZe(t,n),e=new CZe(e,n);let i,s,a,c,l;switch(r){case">":i=Ofe,s=wZe,a=Lfe,c=">",l=">=";break;case"<":i=Lfe,s=IZe,a=Ofe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(bZe(t,e,n))return!1;for(let u=0;u{p.semver===EZe&&(p=new Ffe(">=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");Mfe.exports=SZe});var qfe=A((Q9t,Ufe)=>{"use strict";var BZe=s_(),xZe=o((t,e,r)=>BZe(t,e,">",r),"gtr");Ufe.exports=xZe});var Hfe=A((P9t,Gfe)=>{"use strict";var vZe=s_(),NZe=o((t,e,r)=>vZe(t,e,"<",r),"ltr");Gfe.exports=NZe});var jfe=A((L9t,zfe)=>{"use strict";var Vfe=jo(),_Ze=o((t,e,r)=>(t=new Vfe(t,r),e=new Vfe(e,r),t.intersects(e,r)),"intersects");zfe.exports=_Ze});var Jfe=A((M9t,$fe)=>{"use strict";var RZe=S0(),TZe=zo();$fe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>TZe(d,f,r));for(let d of a)RZe(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 Wfe=jo(),f3=w0(),{ANY:u3}=f3,d3=S0(),h3=zo(),DZe=o((t,e,r={})=>{if(t===e)return!0;t=new Wfe(t,r),e=new Wfe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=kZe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),QZe=[new f3(">=0.0.0-0")],Yfe=[new f3(">=0.0.0")],kZe=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=QZe:t=Yfe}if(e.length===1&&e[0].semver===u3){if(r.includePrerelease)return!0;e=Yfe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Kfe(i,p,r):p.operator==="<"||p.operator==="<="?s=Xfe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=h3(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&&!d3(p,String(i),r)||s&&!d3(p,String(s),r))return null;for(let m of e)if(!d3(p,String(m),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=Kfe(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=Xfe(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"),Kfe=o((t,e,r)=>{if(!t)return e;let n=h3(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Xfe=o((t,e,r)=>{if(!t)return e;let n=h3(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Zfe.exports=DZe});var ihe=A((G9t,nhe)=>{"use strict";var p3=Eg(),the=yg(),PZe=li(),rhe=Kq(),OZe=af(),LZe=xde(),FZe=Nde(),MZe=Tde(),UZe=kde(),qZe=Ode(),GZe=Fde(),HZe=Ude(),VZe=Gde(),zZe=zo(),jZe=jde(),$Ze=Jde(),JZe=ZN(),WZe=Xde(),YZe=efe(),KZe=b0(),XZe=e_(),ZZe=e3(),eet=t3(),tet=t_(),ret=r_(),net=r3(),iet=lfe(),set=dfe(),oet=w0(),aet=jo(),cet=S0(),uet=xfe(),det=Nfe(),fet=Rfe(),het=Qfe(),pet=Pfe(),Aet=s_(),met=qfe(),get=Hfe(),yet=jfe(),Eet=Jfe(),Cet=ehe();nhe.exports={parse:OZe,valid:LZe,clean:FZe,inc:MZe,diff:UZe,major:qZe,minor:GZe,patch:HZe,prerelease:VZe,compare:zZe,rcompare:jZe,compareLoose:$Ze,compareBuild:JZe,sort:WZe,rsort:YZe,gt:KZe,lt:XZe,eq:ZZe,neq:eet,gte:tet,lte:ret,cmp:net,coerce:iet,truncate:set,Comparator:oet,Range:aet,satisfies:cet,toComparators:uet,maxSatisfying:det,minSatisfying:fet,minVersion:het,validRange:pet,outside:Aet,gtr:met,ltr:get,intersects:yet,simplifyRange:Eet,subset:Cet,SemVer:PZe,re:p3.re,src:p3.src,tokens:p3.t,SEMVER_SPEC_VERSION:the.SEMVER_SPEC_VERSION,RELEASE_TYPES:the.RELEASE_TYPES,compareIdentifiers:rhe.compareIdentifiers,rcompareIdentifiers:rhe.rcompareIdentifiers}});var jhe=A(($Kt,zhe)=>{var xg=1e3,vg=xg*60,Ng=vg*60,hp=Ng*24,ntt=hp*7,itt=hp*365.25;zhe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return stt(t);if(r==="number"&&isFinite(t))return e.long?att(t):ott(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function stt(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*itt;case"weeks":case"week":case"w":return r*ntt;case"days":case"day":case"d":return r*hp;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(stt,"parse");function ott(t){var e=Math.abs(t);return e>=hp?Math.round(t/hp)+"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(ott,"fmtShort");function att(t){var e=Math.abs(t);return e>=hp?R_(t,e,hp,"day"):e>=Ng?R_(t,e,Ng,"hour"):e>=vg?R_(t,e,vg,"minute"):e>=xg?R_(t,e,xg,"second"):t+" ms"}o(att,"fmtLong");function R_(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(R_,"plural")});var M3=A((WKt,$he)=>{function ctt(t){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=a,r.humanize=jhe(),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 j=r.formatters[v];if(typeof j=="function"){let T=E[B];M=j.call(y,T),E.splice(B,1),B--}return M}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=d,g.useColors=r.useColors(),g.color=r.selectColor(d),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,m=r.enabled(d)),m),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}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{oo.formatArgs=utt;oo.save=dtt;oo.load=ftt;oo.useColors=ltt;oo.storage=htt();oo.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`."))}})();oo.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 ltt(){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(ltt,"useColors");function utt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+T_.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(utt,"formatArgs");oo.log=console.debug||console.log||(()=>{});function dtt(t){try{t?oo.storage.setItem("debug",t):oo.storage.removeItem("debug")}catch{}}o(dtt,"save");function ftt(){let t;try{t=oo.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(ftt,"load");function htt(){try{return localStorage}catch{}}o(htt,"localstorage");T_.exports=M3()(oo);var{formatters:ptt}=T_.exports;ptt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Yhe=A((XKt,Whe)=>{"use strict";Whe.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 Att=require("os"),Khe=require("tty"),Jo=Yhe(),{env:Hn}=process,uf;Jo("no-color")||Jo("no-colors")||Jo("color=false")||Jo("color=never")?uf=0:(Jo("color")||Jo("colors")||Jo("color=true")||Jo("color=always"))&&(uf=1);"FORCE_COLOR"in Hn&&(Hn.FORCE_COLOR==="true"?uf=1:Hn.FORCE_COLOR==="false"?uf=0:uf=Hn.FORCE_COLOR.length===0?1:Math.min(parseInt(Hn.FORCE_COLOR,10),3));function U3(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(U3,"translateLevel");function q3(t,e){if(uf===0)return 0;if(Jo("color=16m")||Jo("color=full")||Jo("color=truecolor"))return 3;if(Jo("color=256"))return 2;if(t&&!e&&uf===void 0)return 0;let r=uf||0;if(Hn.TERM==="dumb")return r;if(process.platform==="win32"){let n=Att.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Hn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Hn)||Hn.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Hn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Hn.TEAMCITY_VERSION)?1:0;if(Hn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Hn){let n=parseInt((Hn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Hn.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Hn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Hn.TERM)||"COLORTERM"in Hn?1:r}o(q3,"supportsColor");function mtt(t){let e=q3(t,t&&t.isTTY);return U3(e)}o(mtt,"getSupportLevel");Xhe.exports={supportsColor:mtt,stdout:U3(q3(!0,Khe.isatty(1))),stderr:U3(q3(!0,Khe.isatty(2)))}});var epe=A((di,Q_)=>{var gtt=require("tty"),D_=require("util");di.init=Stt;di.log=btt;di.formatArgs=Ett;di.save=wtt;di.load=Itt;di.useColors=ytt;di.destroy=D_.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");di.colors=[6,2,3,4,5,1];try{let t=G3();t&&(t.stderr||t).level>=2&&(di.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{}di.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 ytt(){return"colors"in di.inspectOpts?!!di.inspectOpts.colors:gtt.isatty(process.stderr.fd)}o(ytt,"useColors");function Ett(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())}};ese.exports=WM});var Tv=A((Izt,sse)=>{"use strict";var rse=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Kze}=_t(),Xze=Qm();ise()===void 0&&nse(new Xze);function nse(t){if(!t||typeof t.dispatch!="function")throw new Kze("Argument agent must implement Agent");Object.defineProperty(globalThis,rse,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(nse,"setGlobalDispatcher");function ise(){return globalThis[rse]}o(ise,"getGlobalDispatcher");sse.exports={setGlobalDispatcher:nse,getGlobalDispatcher:ise}});var Dv=A((xzt,ose)=>{"use strict";ose.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 cse=A((Nzt,ase)=>{"use strict";var Zze=uv();ase.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 Zze(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var use=A((Rzt,lse)=>{"use strict";var eje=bv();lse.exports=t=>e=>o(function(n,i){return e(n,new eje({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var fse=A((Dzt,dse)=>{"use strict";var tje=ot(),{InvalidArgumentError:rje,RequestAbortedError:nje}=_t(),ije=Dv(),YM=class extends ije{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 rje("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=tje.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new nje(`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 sje({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new YM({maxSize:s},i);return e(n,a)},"Intercept")}o(sje,"createDumpInterceptor");dse.exports=sje});var Ase=A((kzt,pse)=>{"use strict";var{isIP:oje}=require("node:net"),{lookup:aje}=require("node:dns"),cje=Dv(),{InvalidArgumentError:Vm,InformationalError:lje}=_t(),hse=Math.pow(2,31)-1,KM=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 lje("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){aje(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===hse?(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===hse?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 XM(this,e,r)}},XM=class extends cje{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}}};pse.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Vm("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Vm("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Vm("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Vm("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Vm("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Vm("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 KM(n);return s=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return oje(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 zh=A((Ozt,wse)=>{"use strict";var{kConstruct:uje}=Ar(),{kEnumerableProperty:zm}=ot(),{iteratorMixin:dje,isValidHeaderName:Tb,isValidHeaderValue:gse}=zs(),{webidl:Bt}=oi(),ZM=require("node:assert"),Qv=require("node:util"),An=Symbol("headers map"),Ws=Symbol("headers map sorted");function mse(t){return t===10||t===13||t===9||t===32}o(mse,"isHTTPWhiteSpaceCharCode");function yse(t){let e=0,r=t.length;for(;r>e&&mse(t.charCodeAt(r-1));)--r;for(;r>e&&mse(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(yse,"headerValueNormalize");function Ese(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(Ese,"fill");function eU(t,e,r){if(r=yse(r),Tb(e)){if(!gse(r))throw Bt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Bt.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(bse(t)==="immutable")throw new TypeError("immutable");return tU(t).append(e,r,!1)}o(eU,"appendHeader");function Cse(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[An])r[n++]=[i,s],ZM(s!==null);return r.sort(Cse)}}},Ga=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Bt.util.markAsUncloneable(this),e!==uje&&(this.#t=new kv,this.#e="none",e!==void 0&&(e=Bt.converters.HeadersInit(e,"Headers contructor","init"),Ese(this,e)))}append(e,r){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=Bt.converters.ByteString(e,n,"name"),r=Bt.converters.ByteString(r,n,"value"),eU(this,e,r)}delete(e){if(Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,1,"Headers.delete"),e=Bt.converters.ByteString(e,"Headers.delete","name"),!Tb(e))throw Bt.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){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Bt.converters.ByteString(e,r,"name"),!Tb(e))throw Bt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Bt.converters.ByteString(e,r,"name"),!Tb(e))throw Bt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Bt.brandCheck(this,t),Bt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=Bt.converters.ByteString(e,n,"name"),r=Bt.converters.ByteString(r,n,"value"),r=yse(r),Tb(e)){if(!gse(r))throw Bt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Bt.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Bt.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Ws](){if(this.#t[Ws])return this.#t[Ws];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Ws]=r;for(let i=0;i>"](t,e,r,n.bind(t)):Bt.converters["record"](t,e,r)}throw Bt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};wse.exports={fill:Ese,compareHeaderName:Cse,Headers:Ga,HeadersList:kv,getHeadersGuard:bse,setHeadersGuard:fje,setHeadersList:hje,getHeadersList:tU}});var Qb=A((Fzt,kse)=>{"use strict";var{Headers:Nse,HeadersList:Ise,fill:pje,getHeadersGuard:Aje,setHeadersGuard:_se,setHeadersList:Rse}=zh(),{extractBody:Sse,cloneBody:mje,mixinBody:gje,hasFinalizationRegistry:Tse,streamRegistry:Dse,bodyUnusable:yje}=Sm(),rU=ot(),Bse=require("node:util"),{kEnumerableProperty:Ys}=rU,{isValidReasonPhrase:Eje,isCancelled:Cje,isAborted:bje,isBlobLike:wje,serializeJavascriptValueToJSONString:Ije,isErrorLike:Sje,isomorphicEncode:Bje,environmentSettingsObject:xje}=zs(),{redirectStatusSet:vje,nullBodyStatus:Nje}=nb(),{kState:gr,kHeaders:Bu}=kd(),{webidl:tt}=oi(),{FormData:_je}=lb(),{URLSerializer:xse}=ms(),{kConstruct:Ov}=Ar(),nU=require("node:assert"),{types:Rje}=require("node:util"),Tje=new TextEncoder("utf-8"),jh=class t{static{o(this,"Response")}static error(){return Db(Lv(),"immutable")}static json(e,r={}){tt.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=tt.converters.ResponseInit(r));let n=Tje.encode(Ije(e)),i=Sse(n),s=Db(jm({}),"response");return vse(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,xje.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!vje.has(r))throw new RangeError(`Invalid status code ${r}`);let i=Db(jm({}),"immutable");i[gr].status=r;let s=Bje(xse(n));return i[gr].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(tt.util.markAsUncloneable(this),e===Ov)return;e!==null&&(e=tt.converters.BodyInit(e)),r=tt.converters.ResponseInit(r),this[gr]=jm({}),this[Bu]=new Nse(Ov),_se(this[Bu],"response"),Rse(this[Bu],this[gr].headersList);let n=null;if(e!=null){let[i,s]=Sse(e);n={body:i,type:s}}vse(this,r,n)}get type(){return tt.brandCheck(this,t),this[gr].type}get url(){tt.brandCheck(this,t);let e=this[gr].urlList,r=e[e.length-1]??null;return r===null?"":xse(r,!0)}get redirected(){return tt.brandCheck(this,t),this[gr].urlList.length>1}get status(){return tt.brandCheck(this,t),this[gr].status}get ok(){return tt.brandCheck(this,t),this[gr].status>=200&&this[gr].status<=299}get statusText(){return tt.brandCheck(this,t),this[gr].statusText}get headers(){return tt.brandCheck(this,t),this[Bu]}get body(){return tt.brandCheck(this,t),this[gr].body?this[gr].body.stream:null}get bodyUsed(){return tt.brandCheck(this,t),!!this[gr].body&&rU.isDisturbed(this[gr].body.stream)}clone(){if(tt.brandCheck(this,t),yje(this))throw tt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=iU(this[gr]);return Tse&&this[gr].body?.stream&&Dse.register(this,new WeakRef(this[gr].body.stream)),Db(e,Aje(this[Bu]))}[Bse.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 ${Bse.formatWithOptions(r,n)}`}};gje(jh);Object.defineProperties(jh.prototype,{type:Ys,url:Ys,status:Ys,ok:Ys,redirected:Ys,statusText:Ys,headers:Ys,clone:Ys,body:Ys,bodyUsed:Ys,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(jh,{json:Ys,redirect:Ys,error:Ys});function iU(t){if(t.internalResponse)return Qse(iU(t.internalResponse),t.type);let e=jm({...t,body:null});return t.body!=null&&(e.body=mje(e,t.body)),e}o(iU,"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 Ise(t?.headersList):new Ise,urlList:t?.urlList?[...t.urlList]:[]}}o(jm,"makeResponse");function Lv(t){let e=Sje(t);return jm({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Lv,"makeNetworkError");function Dje(t){return t.type==="error"&&t.status===0}o(Dje,"isNetworkError");function Pv(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 nU(!(n in e)),r[n]=i,!0}})}o(Pv,"makeFilteredResponse");function Qse(t,e){if(e==="basic")return Pv(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Pv(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Pv(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Pv(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});nU(!1)}o(Qse,"filterResponse");function Qje(t,e=null){return nU(Cje(t)),bje(t)?Lv(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Lv(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Qje,"makeAppropriateNetworkError");function vse(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&&!Eje(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[gr].status=e.status),"statusText"in e&&e.statusText!=null&&(t[gr].statusText=e.statusText),"headers"in e&&e.headers!=null&&pje(t[Bu],e.headers),r){if(Nje.includes(t.status))throw tt.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[gr].body=r.body,r.type!=null&&!t[gr].headersList.contains("content-type",!0)&&t[gr].headersList.append("content-type",r.type,!0)}}o(vse,"initializeResponse");function Db(t,e){let r=new jh(Ov);return r[gr]=t,r[Bu]=new Nse(Ov),Rse(r[Bu],t.headersList),_se(r[Bu],e),Tse&&t.body?.stream&&Dse.register(r,new WeakRef(t.body.stream)),r}o(Db,"fromInnerResponse");tt.converters.ReadableStream=tt.interfaceConverter(ReadableStream);tt.converters.FormData=tt.interfaceConverter(_je);tt.converters.URLSearchParams=tt.interfaceConverter(URLSearchParams);tt.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?tt.converters.USVString(t,e,r):wje(t)?tt.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Rje.isArrayBuffer(t)?tt.converters.BufferSource(t,e,r):rU.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}]);kse.exports={isNetworkError:Dje,makeNetworkError:Lv,makeResponse:jm,makeAppropriateNetworkError:Qje,filterResponse:Qse,Response:jh,cloneResponse:iU,fromInnerResponse:Db}});var Fse=A((Uzt,Lse)=>{"use strict";var{kConnected:Pse,kSize:Ose}=Ar(),sU=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Pse]===0&&this.value[Ose]===0?void 0:this.value}},oU=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Pse]===0&&e[Ose]===0&&this.finalizer(r)})}unregister(e){}};Lse.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:sU,FinalizationRegistry:oU}):{WeakRef,FinalizationRegistry}}});var $m=A((Gzt,Zse)=>{"use strict";var{extractBody:kje,mixinBody:Pje,cloneBody:Oje,bodyUnusable:Mse}=Sm(),{Headers:Jse,fill:Lje,HeadersList:qv,setHeadersGuard:cU,getHeadersGuard:Fje,setHeadersList:Wse,getHeadersList:Use}=zh(),{FinalizationRegistry:Mje}=Fse()(),Mv=ot(),qse=require("node:util"),{isValidHTTPToken:Uje,sameOrigin:Gse,environmentSettingsObject:Fv}=zs(),{forbiddenMethodsSet:qje,corsSafeListedMethodsSet:Gje,referrerPolicy:Hje,requestRedirect:Vje,requestMode:zje,requestCredentials:jje,requestCache:$je,requestDuplex:Jje}=nb(),{kEnumerableProperty:mn,normalizedMethodRecordsBase:Wje,normalizedMethodRecords:Yje}=Mv,{kHeaders:Ks,kSignal:Uv,kState:rr,kDispatcher:aU}=kd(),{webidl:Me}=oi(),{URLSerializer:Kje}=ms(),{kConstruct:Gv}=Ar(),Xje=require("node:assert"),{getMaxListeners:Hse,setMaxListeners:Vse,getEventListeners:Zje,defaultMaxListeners:zse}=require("node:events"),e$e=Symbol("abortController"),Yse=new Mje(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Hv=new WeakMap;function jse(t){return e;function e(){let r=t.deref();if(r!==void 0){Yse.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Hv.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()}Hv.delete(r.signal)}}}}o(jse,"buildAbort");var $se=!1,zd=class t{static{o(this,"Request")}constructor(e,r={}){if(Me.util.markAsUncloneable(this),e===Gv)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=Fv.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[aU]=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=Vv({urlList:[y]}),s="cors"}else this[aU]=r.dispatcher||e[aU],Xje(e instanceof t),i=e[rr],c=e[Uv];let l=Fv.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&Gse(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=Vv({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Fv.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(w){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:w})}C.protocol==="about:"&&C.hostname==="client"||l&&!Gse(C,Fv.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(!Uje(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let w=y.toUpperCase();if(qje.has(w))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=Wje[w]??y,i.method=y}!$se&&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"}),$se=!0)}r.signal!==void 0&&(c=r.signal),this[rr]=i;let h=new AbortController;if(this[Uv]=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[e$e]=h;let y=new WeakRef(h),C=jse(y);try{(typeof Hse=="function"&&Hse(c)===zse||Zje(c,"abort").length>=zse)&&Vse(1500,c)}catch{}Mv.addAbortListener(c,C),Yse.register(h,{signal:c,abort:C},C)}}if(this[Ks]=new Jse(Gv),Wse(this[Ks],i.headersList),cU(this[Ks],"request"),f==="no-cors"){if(!Gje.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);cU(this[Ks],"request-no-cors")}if(d){let y=Use(this[Ks]),C=r.headers!==void 0?r.headers:new qv(y);if(y.clear(),C instanceof qv){for(let{name:w,value:B}of C.rawValues())y.append(w,B,!1);y.cookies=C.cookies}else Lje(this[Ks],C)}let p=e instanceof t?e[rr].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 m=null;if(r.body!=null){let[y,C]=kje(r.body,i.keepalive);m=y,C&&!Use(this[Ks]).contains("content-type",!0)&&this[Ks].append("content-type",C)}let g=m??p;if(g!=null&&g.source==null){if(m!=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(m==null&&p!=null){if(Mse(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[rr].body=E}get method(){return Me.brandCheck(this,t),this[rr].method}get url(){return Me.brandCheck(this,t),Kje(this[rr].url)}get headers(){return Me.brandCheck(this,t),this[Ks]}get destination(){return Me.brandCheck(this,t),this[rr].destination}get referrer(){return Me.brandCheck(this,t),this[rr].referrer==="no-referrer"?"":this[rr].referrer==="client"?"about:client":this[rr].referrer.toString()}get referrerPolicy(){return Me.brandCheck(this,t),this[rr].referrerPolicy}get mode(){return Me.brandCheck(this,t),this[rr].mode}get credentials(){return this[rr].credentials}get cache(){return Me.brandCheck(this,t),this[rr].cache}get redirect(){return Me.brandCheck(this,t),this[rr].redirect}get integrity(){return Me.brandCheck(this,t),this[rr].integrity}get keepalive(){return Me.brandCheck(this,t),this[rr].keepalive}get isReloadNavigation(){return Me.brandCheck(this,t),this[rr].reloadNavigation}get isHistoryNavigation(){return Me.brandCheck(this,t),this[rr].historyNavigation}get signal(){return Me.brandCheck(this,t),this[Uv]}get body(){return Me.brandCheck(this,t),this[rr].body?this[rr].body.stream:null}get bodyUsed(){return Me.brandCheck(this,t),!!this[rr].body&&Mv.isDisturbed(this[rr].body.stream)}get duplex(){return Me.brandCheck(this,t),"half"}clone(){if(Me.brandCheck(this,t),Mse(this))throw new TypeError("unusable");let e=Kse(this[rr]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Hv.get(this.signal);n===void 0&&(n=new Set,Hv.set(this.signal,n));let i=new WeakRef(r);n.add(i),Mv.addAbortListener(r.signal,jse(i))}return Xse(e,r.signal,Fje(this[Ks]))}[qse.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 ${qse.formatWithOptions(r,n)}`}};Pje(zd);function Vv(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 qv(t.headersList):new qv}}o(Vv,"makeRequest");function Kse(t){let e=Vv({...t,body:null});return t.body!=null&&(e.body=Oje(e,t.body)),e}o(Kse,"cloneRequest");function Xse(t,e,r){let n=new zd(Gv);return n[rr]=t,n[Uv]=e,n[Ks]=new Jse(Gv),Wse(n[Ks],t.headersList),cU(n[Ks],r),n}o(Xse,"fromInnerRequest");Object.defineProperties(zd.prototype,{method:mn,url:mn,headers:mn,redirect:mn,clone:mn,signal:mn,duplex:mn,destination:mn,body:mn,bodyUsed:mn,isHistoryNavigation:mn,isReloadNavigation:mn,keepalive:mn,integrity:mn,cache:mn,credentials:mn,attribute:mn,referrerPolicy:mn,referrer:mn,mode:mn,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Me.converters.Request=Me.interfaceConverter(zd);Me.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Me.converters.USVString(t,e,r):t instanceof zd?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:Hje},{key:"mode",converter:Me.converters.DOMString,allowedValues:zje},{key:"credentials",converter:Me.converters.DOMString,allowedValues:jje},{key:"cache",converter:Me.converters.DOMString,allowedValues:$je},{key:"redirect",converter:Me.converters.DOMString,allowedValues:Vje},{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:Jje},{key:"dispatcher",converter:Me.converters.any}]);Zse.exports={Request:zd,makeRequest:Vv,fromInnerRequest:Xse,cloneRequest:Kse}});var Pb=A((Vzt,poe)=>{"use strict";var{makeNetworkError:Gt,makeAppropriateNetworkError:zv,filterResponse:lU,makeResponse:jv,fromInnerResponse:t$e}=Qb(),{HeadersList:eoe}=zh(),{Request:r$e,cloneRequest:n$e}=$m(),jd=require("node:zlib"),{bytesMatch:i$e,makePolicyContainer:s$e,clonePolicyContainer:o$e,requestBadPort:a$e,TAOCheck:c$e,appendRequestOriginHeader:l$e,responseLocationURL:u$e,requestCurrentURL:Qc,setRequestReferrerPolicyOnRedirect:d$e,tryUpgradeRequestToAPotentiallyTrustworthyURL:f$e,createOpaqueTimingInfo:pU,appendFetchMetadata:h$e,corsCheck:p$e,crossOriginResourcePolicyCheck:A$e,determineRequestsReferrer:m$e,coarsenedSharedCurrentTime:kb,createDeferredPromise:g$e,isBlobLike:y$e,sameOrigin:hU,isCancelled:$h,isAborted:toe,isErrorLike:E$e,fullyReadBody:C$e,readableStreamClose:b$e,isomorphicEncode:$v,urlIsLocal:w$e,urlIsHttpHttpsScheme:AU,urlHasHttpsScheme:I$e,clampAndCoarsenConnectionTimingInfo:S$e,simpleRangeHeaderValue:B$e,buildContentRange:x$e,createInflate:v$e,extractMimeType:N$e}=zs(),{kState:soe,kDispatcher:_$e}=kd(),Jh=require("node:assert"),{safelyExtractBody:mU,extractBody:roe}=Sm(),{redirectStatusSet:ooe,nullBodyStatus:aoe,safeMethodsSet:R$e,requestBodyHeader:T$e,subresourceSet:D$e}=nb(),Q$e=require("node:events"),{Readable:k$e,pipeline:P$e,finished:O$e}=require("node:stream"),{addAbortListener:L$e,isErrored:F$e,isReadable:Jv,bufferToLowerCasedHeaderName:noe}=ot(),{dataURLProcessor:M$e,serializeAMimeType:U$e,minimizeSupportedMimeType:q$e}=ms(),{getGlobalDispatcher:G$e}=Tv(),{webidl:H$e}=oi(),{STATUS_CODES:V$e}=require("node:http"),z$e=["GET","HEAD"],j$e=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",uU,Wv=class extends Q$e{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 $$e(t){coe(t,"fetch")}o($$e,"handleFetchDone");function J$e(t,e=void 0){H$e.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=g$e(),n;try{n=new r$e(t,e)}catch(d){return r.reject(d),r.promise}let i=n[soe];if(n.signal.aborted)return dU(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 L$e(n.signal,()=>{c=!0,Jh(l!=null),l.abort(n.signal.reason);let d=a?.deref();dU(r,i,d,n.signal.reason)}),l=uoe({request:i,processResponseEndOfBody:$$e,processResponse:o(d=>{if(!c){if(d.aborted){dU(r,i,a,l.serializedAbortReason);return}if(d.type==="error"){r.reject(new TypeError("fetch failed",{cause:d.error}));return}a=new WeakRef(t$e(d,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[_$e]}),r.promise}o(J$e,"fetch");function coe(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;AU(r)&&n!==null&&(t.timingAllowPassed||(n=pU({startTime:n.startTime}),i=""),n.endTime=kb(),t.timingInfo=n,loe(n,r.href,e,globalThis,i))}o(coe,"finalizeAndReportTiming");var loe=performance.markResourceTiming;function dU(t,e,r,n){if(t&&t.reject(n),e.body!=null&&Jv(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[soe];i.body!=null&&Jv(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(dU,"abortFetch");function uoe({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=G$e()}){Jh(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let d=kb(u),f=pU({startTime:d}),h={controller:new Wv(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=o$e(t.client.policyContainer):t.policyContainer=s$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,D$e.has(t.destination),doe(h).catch(p=>{h.controller.terminate(p)}),h.controller}o(uoe,"fetching");async function doe(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!w$e(Qc(r))&&(n=Gt("local URLs only")),f$e(r),a$e(r)==="blocked"&&(n=Gt("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=m$e(r)),n===null&&(n=await(async()=>{let s=Qc(r);return hU(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await ioe(t)):r.mode==="same-origin"?Gt('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Gt('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await ioe(t)):AU(Qc(r))?(r.responseTainting="cors",await foe(t)):Gt("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=lU(n,"basic"):r.responseTainting==="cors"?n=lU(n,"cors"):r.responseTainting==="opaque"?n=lU(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=Gt()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||aoe.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>fU(t,Gt(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!i$e(c,r.integrity)){s("integrity mismatch");return}n.body=mU(c)[0],fU(t,n)},"processBody");await C$e(n.body,a,s)}else fU(t,n)}o(doe,"mainFetch");function ioe(t){if($h(t)&&t.request.redirectCount===0)return Promise.resolve(zv(t));let{request:e}=t,{protocol:r}=Qc(e);switch(r){case"about:":return Promise.resolve(Gt("about scheme is not supported"));case"blob:":{uU||(uU=require("node:buffer").resolveObjectURL);let n=Qc(e);if(n.search.length!==0)return Promise.resolve(Gt("NetworkError when attempting to fetch resource."));let i=uU(n.toString());if(e.method!=="GET"||!y$e(i))return Promise.resolve(Gt("invalid method"));let s=jv(),a=i.size,c=$v(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let u=e.headersList.get("range",!0),d=B$e(u,!0);if(d==="failure")return Promise.resolve(Gt("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(Gt("Range start is greater than the blob's size."));(h===null||h>=a)&&(h=a-1)}let p=i.slice(f,h,l),m=roe(p);s.body=m[0];let g=$v(`${p.size}`),E=x$e(f,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=roe(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=M$e(n);if(i==="failure")return Promise.resolve(Gt("failed to fetch the data URL"));let s=U$e(i.mimeType);return Promise.resolve(jv({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:mU(i.body)[0]}))}case"file:":return Promise.resolve(Gt("not implemented... yet..."));case"http:":case"https:":return foe(t).catch(n=>Gt(n));default:return Promise.resolve(Gt("unknown scheme"))}}o(ioe,"schemeFetch");function W$e(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(W$e,"finalizeResponse");function fU(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=pU(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let d=N$e(e.headersList);d!=="failure"&&(l.contentType=q$e(d))}t.request.initiatorType!=null&&loe(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():O$e(i.body.stream,()=>{n()})}o(fU,"fetchFinale");async function foe(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 hoe(t),e.responseTainting==="cors"&&p$e(e,r)==="failure")return Gt("cors failure");c$e(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&A$e(e.origin,e.client,e.destination,n)==="blocked"?Gt("blocked"):(ooe.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Gt("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Y$e(t,r):Jh(!1)),r.timingInfo=i,r)}o(foe,"httpFetch");function Y$e(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=u$e(n,Qc(r).hash),i==null)return e}catch(a){return Promise.resolve(Gt(a))}if(!AU(i))return Promise.resolve(Gt("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Gt("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!hU(r,i))return Promise.resolve(Gt('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Gt('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Gt());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!z$e.includes(r.method)){r.method="GET",r.body=null;for(let a of T$e)r.headersList.delete(a)}hU(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&&(Jh(r.body.source!=null),r.body=mU(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),d$e(r,n),doe(t,!0)}o(Y$e,"httpRedirectFetch");async function hoe(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=n$e(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=$v(`${d}`)),f!=null&&s.headersList.append("content-length",f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",$v(s.referrer.href),!0),l$e(s),h$e(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",j$e),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)||(I$e(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 Gt("only if cached");let h=await K$e(i,u,r);!R$e.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"?Gt():$h(t)?zv(t):Gt("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if($h(t))return zv(t);t.controller.connection.destroy(),a=await hoe(t,e,!0)}return a}o(hoe,"httpNetworkOrCacheFetch");async function K$e(t,e=!1,r=!1){Jh(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(m,g=!0){this.destroyed||(this.destroyed=!0,g&&this.abort?.(m??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 m=o(async function*(y){$h(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),g=o(()=>{$h(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),E=o(y=>{$h(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*m(y);g()}catch(y){E(y)}})()}try{let{body:m,status:g,statusText:E,headersList:y,socket:C}=await p({body:l});if(C)i=jv({status:g,statusText:E,headersList:y,socket:C});else{let w=m[Symbol.asyncIterator]();t.controller.next=()=>w.next(),i=jv({status:g,statusText:E,headersList:y})}}catch(m){return m.name==="AbortError"?(t.controller.connection.destroy(),zv(t,m)):Gt(m)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),d=o(m=>{$h(t)||t.controller.abort(m)},"cancelAlgorithm"),f=new ReadableStream({async start(m){t.controller.controller=m},async pull(m){await u(m)},async cancel(m){await d(m)},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 m,g;try{let{done:y,value:C}=await t.controller.next();if(toe(t))break;m=y?void 0:C}catch(y){t.controller.ended&&!s.encodedBodySize?m=void 0:(m=y,g=!0)}if(m===void 0){b$e(t.controller.controller),W$e(t,i);return}if(s.decodedBodySize+=m?.byteLength??0,g){t.controller.terminate(m);return}let E=new Uint8Array(m);if(E.byteLength&&t.controller.controller.enqueue(E),F$e(f)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function h(m){toe(t)?(i.aborted=!0,Jv(f)&&t.controller.controller.error(t.controller.serializedAbortReason)):Jv(f)&&t.controller.controller.error(new TypeError("terminated",{cause:E$e(m)?m:void 0})),t.controller.connection.destroy()}return o(h,"onAborted"),i;function p({body:m}){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):m,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(w){let{connection:B}=t.controller;s.finalConnectionTimingInfo=S$e(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?w(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",w),this.abort=B.abort=w),s.finalNetworkRequestStartTime=kb(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=kb(t.crossOriginIsolatedCapability)},onHeaders(w,B,Q,M){if(w<200)return;let v="",j=new eoe;for(let W=0;Wae)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")T.push(jd.createGunzip({flush:jd.constants.Z_SYNC_FLUSH,finishFlush:jd.constants.Z_SYNC_FLUSH}));else if(Y==="deflate")T.push(v$e({flush:jd.constants.Z_SYNC_FLUSH,finishFlush:jd.constants.Z_SYNC_FLUSH}));else if(Y==="br")T.push(jd.createBrotliDecompress({flush:jd.constants.BROTLI_OPERATION_FLUSH,finishFlush:jd.constants.BROTLI_OPERATION_FLUSH}));else{T.length=0;break}}}let V=this.onError.bind(this);return y({status:w,statusText:M,headersList:j,body:T.length?P$e(this.body,...T,W=>{W&&this.onError(W)}).on("error",V):this.body.on("error",V)}),!0},onData(w){if(t.controller.dump)return;let B=w;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(w){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(w),t.controller.terminate(w),C(w)},onUpgrade(w,B,Q){if(w!==101)return;let M=new eoe;for(let v=0;v{"use strict";Aoe.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 goe=A(($zt,moe)=>{"use strict";var{webidl:Xs}=oi(),Yv=Symbol("ProgressEvent state"),yU=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Xs.converters.DOMString(e,"ProgressEvent constructor","type"),r=Xs.converters.ProgressEventInit(r??{}),super(e,r),this[Yv]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Xs.brandCheck(this,t),this[Yv].lengthComputable}get loaded(){return Xs.brandCheck(this,t),this[Yv].loaded}get total(){return Xs.brandCheck(this,t),this[Yv].total}};Xs.converters.ProgressEventInit=Xs.dictionaryConverter([{key:"lengthComputable",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Xs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Xs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Xs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);moe.exports={ProgressEvent:yU}});var Eoe=A((Wzt,yoe)=>{"use strict";function X$e(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(X$e,"getEncoding");yoe.exports={getEncoding:X$e}});var voe=A((Kzt,xoe)=>{"use strict";var{kState:Jm,kError:EU,kResult:Coe,kAborted:Ob,kLastProgressEventFired:CU}=gU(),{ProgressEvent:Z$e}=goe(),{getEncoding:boe}=Eoe(),{serializeAMimeType:e8e,parseMIMEType:woe}=ms(),{types:t8e}=require("node:util"),{StringDecoder:Ioe}=require("string_decoder"),{btoa:Soe}=require("node:buffer"),r8e={enumerable:!0,writable:!1,configurable:!1};function n8e(t,e,r,n){if(t[Jm]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Jm]="loading",t[Coe]=null,t[EU]=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(()=>{$d("loadstart",t)}),l=!1,!u&&t8e.isUint8Array(d))a.push(d),(t[CU]===void 0||Date.now()-t[CU]>=50)&&!t[Ob]&&(t[CU]=Date.now(),queueMicrotask(()=>{$d("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[Jm]="done";try{let f=i8e(a,r,e.type,n);if(t[Ob])return;t[Coe]=f,$d("load",t)}catch(f){t[EU]=f,$d("error",t)}t[Jm]!=="loading"&&$d("loadend",t)});break}}catch(u){if(t[Ob])return;queueMicrotask(()=>{t[Jm]="done",t[EU]=u,$d("error",t),t[Jm]!=="loading"&&$d("loadend",t)});break}})()}o(n8e,"readOperation");function $d(t,e){let r=new Z$e(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o($d,"fireAProgressEvent");function i8e(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=woe(r||"application/octet-stream");s!=="failure"&&(i+=e8e(s)),i+=";base64,";let a=new Ioe("latin1");for(let c of t)i+=Soe(a.write(c));return i+=Soe(a.end()),i}case"Text":{let i="failure";if(n&&(i=boe(n)),i==="failure"&&r){let s=woe(r);s!=="failure"&&(i=boe(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),s8e(t,i)}case"ArrayBuffer":return Boe(t).buffer;case"BinaryString":{let i="",s=new Ioe("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(i8e,"packageData");function s8e(t,e){let r=Boe(t),n=o8e(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(s8e,"decode");function o8e(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(o8e,"BOMSniffing");function Boe(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(Boe,"combineByteSequences");xoe.exports={staticPropertyDescriptors:r8e,readOperation:n8e,fireAProgressEvent:$d}});var Toe=A((Zzt,Roe)=>{"use strict";var{staticPropertyDescriptors:Wm,readOperation:Kv,fireAProgressEvent:Noe}=voe(),{kState:Wh,kError:_oe,kResult:Xv,kEvents:Pt,kAborted:a8e}=gU(),{webidl:Vt}=oi(),{kEnumerableProperty:Es}=ot(),Ha=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Wh]="empty",this[Xv]=null,this[_oe]=null,this[Pt]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Vt.converters.Blob(e,{strict:!1}),Kv(this,e,"ArrayBuffer")}readAsBinaryString(e){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Vt.converters.Blob(e,{strict:!1}),Kv(this,e,"BinaryString")}readAsText(e,r=void 0){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Vt.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Vt.converters.DOMString(r,"FileReader.readAsText","encoding")),Kv(this,e,"Text",r)}readAsDataURL(e){Vt.brandCheck(this,t),Vt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Vt.converters.Blob(e,{strict:!1}),Kv(this,e,"DataURL")}abort(){if(this[Wh]==="empty"||this[Wh]==="done"){this[Xv]=null;return}this[Wh]==="loading"&&(this[Wh]="done",this[Xv]=null),this[a8e]=!0,Noe("abort",this),this[Wh]!=="loading"&&Noe("loadend",this)}get readyState(){switch(Vt.brandCheck(this,t),this[Wh]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Vt.brandCheck(this,t),this[Xv]}get error(){return Vt.brandCheck(this,t),this[_oe]}get onloadend(){return Vt.brandCheck(this,t),this[Pt].loadend}set onloadend(e){Vt.brandCheck(this,t),this[Pt].loadend&&this.removeEventListener("loadend",this[Pt].loadend),typeof e=="function"?(this[Pt].loadend=e,this.addEventListener("loadend",e)):this[Pt].loadend=null}get onerror(){return Vt.brandCheck(this,t),this[Pt].error}set onerror(e){Vt.brandCheck(this,t),this[Pt].error&&this.removeEventListener("error",this[Pt].error),typeof e=="function"?(this[Pt].error=e,this.addEventListener("error",e)):this[Pt].error=null}get onloadstart(){return Vt.brandCheck(this,t),this[Pt].loadstart}set onloadstart(e){Vt.brandCheck(this,t),this[Pt].loadstart&&this.removeEventListener("loadstart",this[Pt].loadstart),typeof e=="function"?(this[Pt].loadstart=e,this.addEventListener("loadstart",e)):this[Pt].loadstart=null}get onprogress(){return Vt.brandCheck(this,t),this[Pt].progress}set onprogress(e){Vt.brandCheck(this,t),this[Pt].progress&&this.removeEventListener("progress",this[Pt].progress),typeof e=="function"?(this[Pt].progress=e,this.addEventListener("progress",e)):this[Pt].progress=null}get onload(){return Vt.brandCheck(this,t),this[Pt].load}set onload(e){Vt.brandCheck(this,t),this[Pt].load&&this.removeEventListener("load",this[Pt].load),typeof e=="function"?(this[Pt].load=e,this.addEventListener("load",e)):this[Pt].load=null}get onabort(){return Vt.brandCheck(this,t),this[Pt].abort}set onabort(e){Vt.brandCheck(this,t),this[Pt].abort&&this.removeEventListener("abort",this[Pt].abort),typeof e=="function"?(this[Pt].abort=e,this.addEventListener("abort",e)):this[Pt].abort=null}};Ha.EMPTY=Ha.prototype.EMPTY=0;Ha.LOADING=Ha.prototype.LOADING=1;Ha.DONE=Ha.prototype.DONE=2;Object.defineProperties(Ha.prototype,{EMPTY:Wm,LOADING:Wm,DONE:Wm,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(Ha,{EMPTY:Wm,LOADING:Wm,DONE:Wm});Roe.exports={FileReader:Ha}});var Zv=A((tjt,Doe)=>{"use strict";Doe.exports={kConstruct:Ar().kConstruct}});var Poe=A((rjt,koe)=>{"use strict";var c8e=require("node:assert"),{URLSerializer:Qoe}=ms(),{isValidHeaderName:l8e}=zs();function u8e(t,e,r=!1){let n=Qoe(t,r),i=Qoe(e,r);return n===i}o(u8e,"urlEquals");function d8e(t){c8e(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),l8e(r)&&e.push(r);return e}o(d8e,"getFieldValues");koe.exports={urlEquals:u8e,getFieldValues:d8e}});var Foe=A((ijt,Loe)=>{"use strict";var{kConstruct:f8e}=Zv(),{urlEquals:h8e,getFieldValues:bU}=Poe(),{kEnumerableProperty:Yh,isDisturbed:p8e}=ot(),{webidl:ve}=oi(),{Response:A8e,cloneResponse:m8e,fromInnerResponse:g8e}=Qb(),{Request:xu,fromInnerRequest:y8e}=$m(),{kState:Va}=kd(),{fetching:E8e}=Pb(),{urlIsHttpHttpsScheme:eN,createDeferredPromise:Ym,readAllBytes:C8e}=zs(),wU=require("node:assert"),tN=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==f8e&&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[Va];if(!eN(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 xu(h)[Va];if(!eN(p.url))throw ve.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",i.push(p);let m=Ym();s.push(E8e({request:p,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)m.reject(ve.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let E=bU(g.headersList.get("vary"));for(let y of E)if(y==="*"){m.reject(ve.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of s)C.abort();return}}},processResponseEndOfBody(g){if(g.aborted){m.reject(new DOMException("aborted","AbortError"));return}m.resolve(g)}})),n.push(m.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=Ym(),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 xu?i=e[Va]:i=new xu(e)[Va],!eN(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[Va];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 m of p)if(m==="*")throw ve.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(p8e(s.body.stream)||s.body.stream.locked))throw ve.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=m8e(s),c=Ym();if(s.body!=null){let m=s.body.stream.getReader();C8e(m).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=Ym(),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 xu){if(i=e[Va],i.method!=="GET"&&!r.ignoreMethod)return!1}else wU(typeof e=="string"),i=new xu(e)[Va];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=Ym(),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 xu){if(i=e[Va],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new xu(e)[Va]);let s=Ym(),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=y8e(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);wU(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(!eN(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);wU(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=""),!h8e(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 xu){if(i=e[Va],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new xu(e)[Va]);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=g8e(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(tN.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Yh,matchAll:Yh,add:Yh,addAll:Yh,put:Yh,delete:Yh,keys:Yh});var Ooe=[{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(Ooe);ve.converters.MultiCacheQueryOptions=ve.dictionaryConverter([...Ooe,{key:"cacheName",converter:ve.converters.DOMString}]);ve.converters.Response=ve.interfaceConverter(A8e);ve.converters["sequence"]=ve.sequenceConverter(ve.converters.RequestInfo);Loe.exports={Cache:tN}});var Uoe=A((ojt,Moe)=>{"use strict";var{kConstruct:Lb}=Zv(),{Cache:rN}=Foe(),{webidl:Ii}=oi(),{kEnumerableProperty:Fb}=ot(),nN=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==Lb&&Ii.illegalConstructor(),Ii.util.markAsUncloneable(this)}async match(e,r={}){if(Ii.brandCheck(this,t),Ii.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ii.converters.RequestInfo(e),r=Ii.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new rN(Lb,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new rN(Lb,n).match(e,r);if(s!==void 0)return s}}async has(e){Ii.brandCheck(this,t);let r="CacheStorage.has";return Ii.argumentLengthCheck(arguments,1,r),e=Ii.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ii.brandCheck(this,t);let r="CacheStorage.open";if(Ii.argumentLengthCheck(arguments,1,r),e=Ii.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new rN(Lb,i)}let n=[];return this.#e.set(e,n),new rN(Lb,n)}async delete(e){Ii.brandCheck(this,t);let r="CacheStorage.delete";return Ii.argumentLengthCheck(arguments,1,r),e=Ii.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ii.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(nN.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Fb,has:Fb,open:Fb,delete:Fb,keys:Fb});Moe.exports={CacheStorage:nN}});var Goe=A((cjt,qoe)=>{"use strict";qoe.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var BU=A((ljt,joe)=>{"use strict";function b8e(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(b8e,"isCTLExcludingHtab");function IU(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(IU,"validateCookieName");function SU(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(SU,"validateCookieValue");function Voe(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(Voe,"validateCookiePath");function Hoe(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(Hoe,"isLetterOrDigit");function w8e(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(w8e,"validateCookieDomain");var I8e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],S8e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],iN=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function zoe(t){return typeof t=="number"&&(t=new Date(t)),`${I8e[t.getUTCDay()]}, ${iN[t.getUTCDate()]} ${S8e[t.getUTCMonth()]} ${t.getUTCFullYear()} ${iN[t.getUTCHours()]}:${iN[t.getUTCMinutes()]}:${iN[t.getUTCSeconds()]} GMT`}o(zoe,"toIMFDate");function B8e(t){if(t<0)throw new Error("Invalid cookie max-age")}o(B8e,"validateCookieMaxAge");function x8e(t){if(t.name.length===0)return null;IU(t.name),SU(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"&&(B8e(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(w8e(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(Voe(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${zoe(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("=");IU(s),SU(a),e.push(`${s}=${a}`)}return e.join("; ")}o(x8e,"stringify");joe.exports={isCTLExcludingHtab:b8e,validateCookieName:IU,validateCookiePath:Voe,validateCookieValue:SU,toIMFDate:zoe,stringify:x8e}});var Joe=A((djt,$oe)=>{"use strict";var{maxNameValuePairSize:v8e,maxAttributeValueSize:N8e}=Goe(),{isCTLExcludingHtab:_8e}=BU(),{collectASequenceOfCodePointsFast:sN}=ms(),R8e=require("node:assert");function T8e(t){if(_8e(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=sN(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=sN("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>v8e?null:{name:n,value:i,...Km(r)}}o(T8e,"parseSetCookie");function Km(t,e={}){if(t.length===0)return e;R8e(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=sN(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=sN("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>N8e)return Km(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 Km(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 Km(t,e)}o(Km,"parseUnparsedAttributes");$oe.exports={parseSetCookie:T8e,parseUnparsedAttributes:Km}});var Koe=A((hjt,Yoe)=>{"use strict";var{parseSetCookie:D8e}=Joe(),{stringify:Q8e}=BU(),{webidl:At}=oi(),{Headers:oN}=zh();function k8e(t){At.argumentLengthCheck(arguments,1,"getCookies"),At.brandCheck(t,oN,{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(k8e,"getCookies");function P8e(t,e,r){At.brandCheck(t,oN,{strict:!1});let n="deleteCookie";At.argumentLengthCheck(arguments,2,n),e=At.converters.DOMString(e,n,"name"),r=At.converters.DeleteCookieAttributes(r),Woe(t,{name:e,value:"",expires:new Date(0),...r})}o(P8e,"deleteCookie");function O8e(t){At.argumentLengthCheck(arguments,1,"getSetCookies"),At.brandCheck(t,oN,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>D8e(r)):[]}o(O8e,"getSetCookies");function Woe(t,e){At.argumentLengthCheck(arguments,2,"setCookie"),At.brandCheck(t,oN,{strict:!1}),e=At.converters.Cookie(e);let r=Q8e(e);r&&t.append("Set-Cookie",r)}o(Woe,"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")}]);Yoe.exports={getCookies:k8e,deleteCookie:P8e,getSetCookies:O8e,setCookie:Woe}});var Zm=A((Ajt,Zoe)=>{"use strict";var{webidl:xe}=oi(),{kEnumerableProperty:Cs}=ot(),{kConstruct:Xoe}=Ar(),{MessagePort:L8e}=require("node:worker_threads"),Xm=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Xoe){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(Xoe,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:F8e}=Xm;delete Xm.createFastMessageEvent;var aN=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}},cN=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(Xm.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Cs,origin:Cs,lastEventId:Cs,source:Cs,ports:Cs,initMessageEvent:Cs});Object.defineProperties(aN.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Cs,code:Cs,wasClean:Cs});Object.defineProperties(cN.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Cs,filename:Cs,lineno:Cs,colno:Cs,error:Cs});xe.converters.MessagePort=xe.interfaceConverter(L8e);xe.converters["sequence"]=xe.sequenceConverter(xe.converters.MessagePort);var xU=[{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([...xU,{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([...xU,{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([...xU,{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}]);Zoe.exports={MessageEvent:Xm,CloseEvent:aN,ErrorEvent:cN,createFastMessageEvent:F8e}});var Kh=A((gjt,eae)=>{"use strict";var M8e="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",U8e={enumerable:!0,writable:!1,configurable:!1},q8e={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},G8e={NOT_SENT:0,PROCESSING:1,SENT:2},H8e={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},V8e=2**16-1,z8e={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},j8e=Buffer.allocUnsafe(0),$8e={string:1,typedArray:2,arrayBuffer:3,blob:4};eae.exports={uid:M8e,sentCloseFrameState:G8e,staticPropertyDescriptors:U8e,states:q8e,opcodes:H8e,maxUnsigned16Bit:V8e,parserStates:z8e,emptyBuffer:j8e,sendHints:$8e}});var Mb=A((yjt,tae)=>{"use strict";tae.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((Ejt,uae)=>{"use strict";var{kReadyState:Ub,kController:J8e,kResponse:W8e,kBinaryType:Y8e,kWebSocketURL:K8e}=Mb(),{states:qb,opcodes:Jd}=Kh(),{ErrorEvent:X8e,createFastMessageEvent:Z8e}=Zm(),{isUtf8:e6e}=require("node:buffer"),{collectASequenceOfCodePointsFast:t6e,removeHTTPWhitespace:rae}=ms();function r6e(t){return t[Ub]===qb.CONNECTING}o(r6e,"isConnecting");function n6e(t){return t[Ub]===qb.OPEN}o(n6e,"isEstablished");function i6e(t){return t[Ub]===qb.CLOSING}o(i6e,"isClosing");function s6e(t){return t[Ub]===qb.CLOSED}o(s6e,"isClosed");function vU(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(vU,"fireEvent");function o6e(t,e,r){if(t[Ub]!==qb.OPEN)return;let n;if(e===Jd.TEXT)try{n=lae(r)}catch{iae(t,"Received invalid UTF-8 in text frame.");return}else e===Jd.BINARY&&(t[Y8e]==="blob"?n=new Blob([r]):n=a6e(r));vU("message",t,Z8e,{origin:t[K8e].origin,data:n})}o(o6e,"websocketMessageReceived");function a6e(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(a6e,"toArrayBuffer");function c6e(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(c6e,"isValidSubprotocol");function l6e(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(l6e,"isValidStatusCode");function iae(t,e){let{[J8e]:r,[W8e]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&vU("error",t,(i,s)=>new X8e(i,s),{error:new Error(e),message:e})}o(iae,"failWebsocketConnection");function sae(t){return t===Jd.CLOSE||t===Jd.PING||t===Jd.PONG}o(sae,"isControlFrame");function oae(t){return t===Jd.CONTINUATION}o(oae,"isContinuationFrame");function aae(t){return t===Jd.TEXT||t===Jd.BINARY}o(aae,"isTextBinaryFrame");function u6e(t){return aae(t)||oae(t)||sae(t)}o(u6e,"isValidOpcode");function d6e(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(f6e,"isValidClientWindowBits");var cae=typeof process.versions.icu=="string",nae=cae?new TextDecoder("utf-8",{fatal:!0}):void 0,lae=cae?nae.decode.bind(nae):function(t){if(e6e(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};uae.exports={isConnecting:r6e,isEstablished:n6e,isClosing:i6e,isClosed:s6e,fireEvent:vU,isValidSubprotocol:c6e,isValidStatusCode:l6e,failWebsocketConnection:iae,websocketMessageReceived:o6e,utf8Decode:lae,isControlFrame:sae,isContinuationFrame:oae,isTextBinaryFrame:aae,isValidOpcode:u6e,parseExtensions:d6e,isValidClientWindowBits:f6e}});var uN=A((bjt,dae)=>{"use strict";var{maxUnsigned16Bit:h6e}=Kh(),lN=16386,NU,Hb=null,eg=lN;try{NU=require("node:crypto")}catch{NU={randomFillSync:o(function(e,r,n){for(let i=0;ih6e?(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:A6e,states:Vb,sentCloseFrameState:dN,emptyBuffer:m6e,opcodes:g6e}=Kh(),{kReadyState:zb,kSentClose:fN,kByteParser:hae,kReceivedClose:fae,kResponse:pae}=Mb(),{fireEvent:y6e,failWebsocketConnection:Wd,isClosing:E6e,isClosed:C6e,isEstablished:b6e,parseExtensions:w6e}=Gb(),{channels:tg}=dm(),{CloseEvent:I6e}=Zm(),{makeRequest:S6e}=$m(),{fetching:B6e}=Pb(),{Headers:x6e,getHeadersList:v6e}=zh(),{getDecodeSplit:N6e}=zs(),{WebsocketFrameSend:_6e}=uN(),RU;try{RU=require("node:crypto")}catch{}function R6e(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=S6e({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let f=v6e(new x6e(s.headers));c.headersList=f}let l=RU.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"),B6e({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(f){if(f.type==="error"||f.status!==101){Wd(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!f.headersList.get("Sec-WebSocket-Protocol")){Wd(n,"Server did not respond with sent protocols.");return}if(f.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Wd(n,'Server did not set Upgrade header to "websocket".');return}if(f.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Wd(n,'Server did not set Connection header to "upgrade".');return}let h=f.headersList.get("Sec-WebSocket-Accept"),p=RU.createHash("sha1").update(l+A6e).digest("base64");if(h!==p){Wd(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let m=f.headersList.get("Sec-WebSocket-Extensions"),g;if(m!==null&&(g=w6e(m),!g.has("permessage-deflate"))){Wd(n,"Sec-WebSocket-Extensions header does not match.");return}let E=f.headersList.get("Sec-WebSocket-Protocol");if(E!==null&&!N6e("sec-websocket-protocol",c.headersList).includes(E)){Wd(n,"Protocol was not set in the opening handshake.");return}f.socket.on("data",Aae),f.socket.on("close",mae),f.socket.on("error",gae),tg.open.hasSubscribers&&tg.open.publish({address:f.socket.address(),protocol:E,extensions:m}),i(f,g)}})}o(R6e,"establishWebSocketConnection");function T6e(t,e,r,n){if(!(E6e(t)||C6e(t)))if(!b6e(t))Wd(t,"Connection was closed before it was established."),t[zb]=Vb.CLOSING;else if(t[fN]===dN.NOT_SENT){t[fN]=dN.PROCESSING;let i=new _6e;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=m6e,t[pae].socket.write(i.createFrame(g6e.CLOSE)),t[fN]=dN.SENT,t[zb]=Vb.CLOSING}else t[zb]=Vb.CLOSING}o(T6e,"closeWebSocketConnection");function Aae(t){this.ws[hae].write(t)||this.pause()}o(Aae,"onSocketData");function mae(){let{ws:t}=this,{[pae]:e}=t;e.socket.off("data",Aae),e.socket.off("close",mae),e.socket.off("error",gae);let r=t[fN]===dN.SENT&&t[fae],n=1005,i="",s=t[hae].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[fae]||(n=1006),t[zb]=Vb.CLOSED,y6e("close",t,(a,c)=>new I6e(a,c),{wasClean:r,code:n,reason:i}),tg.close.hasSubscribers&&tg.close.publish({websocket:t,code:n,reason:i})}o(mae,"onSocketClose");function gae(t){let{ws:e}=this;e[zb]=Vb.CLOSING,tg.socketError.hasSubscribers&&tg.socketError.publish(t),this.destroy()}o(gae,"onSocketError");yae.exports={establishWebSocketConnection:R6e,closeWebSocketConnection:T6e}});var Cae=A((Bjt,Eae)=>{"use strict";var{createInflateRaw:D6e,Z_DEFAULT_WINDOWBITS:Q6e}=require("node:zlib"),{isValidClientWindowBits:k6e}=Gb(),{MessageSizeExceededError:P6e}=_t(),O6e=Buffer.from([0,0,255,255]),hN=Symbol("kBuffer"),jb=Symbol("kLength"),DU=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=Q6e;if(this.#t.serverMaxWindowBits){if(!k6e(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=D6e({windowBits:i})}catch(s){n(s);return}this.#e[hN]=[],this.#e[jb]=0,this.#e.on("data",s=>{if(this.#e[jb]+=s.length,this.#n>0&&this.#e[jb]>this.#n){n(new P6e),this.#e.removeAllListeners(),this.#e=null;return}this.#e[hN].push(s)}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(O6e),this.#e.flush(()=>{if(!this.#e)return;let i=Buffer.concat(this.#e[hN],this.#e[jb]);this.#e[hN].length=0,this.#e[jb]=0,n(null,i)})}};Eae.exports={PerMessageDeflate:DU}});var Rae=A((vjt,_ae)=>{"use strict";var{Writable:L6e}=require("node:stream"),F6e=require("node:assert"),{parserStates:bs,opcodes:rg,states:M6e,emptyBuffer:bae,sentCloseFrameState:wae}=Kh(),{kReadyState:U6e,kSentClose:Iae,kResponse:Sae,kReceivedClose:Bae}=Mb(),{channels:pN}=dm(),{isValidStatusCode:q6e,isValidOpcode:G6e,failWebsocketConnection:Zs,websocketMessageReceived:xae,utf8Decode:H6e,isControlFrame:QU,isTextBinaryFrame:kU,isContinuationFrame:V6e}=Gb(),{WebsocketFrameSend:vae}=uN(),{closeWebSocketConnection:Nae}=TU(),{PerMessageDeflate:z6e}=Cae(),{MessageSizeExceededError:PU}=_t();function $b(t,e,r){Nae(t,e,r,Buffer.byteLength(r)),Zs(t,r)}o($b,"failWebsocketConnectionWithCode");var OU=class extends L6e{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 z6e(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&&!QU(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#o?($b(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!==rg.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,d=r[0]&16;if(!G6e(i))return Zs(this.ws,"Invalid opcode received"),e();if(s)return Zs(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Zs(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||d!==0){Zs(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!kU(i)){Zs(this.ws,"Invalid frame type was fragmented.");return}if(kU(i)&&this.#l.length>0){Zs(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){Zs(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&QU(i)){Zs(this.ws,"Control frame either too large or fragmented");return}if(V6e(i)&&this.#l.length===0&&!this.#s.compressed){Zs(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);kU(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){Zs(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 PU?1009:1007;$b(this.ws,s,n.message);return}if(this.writeFragments(i)){if(this.#o>0&&this.#t>this.#o){$b(this.ws,1009,new PU().message);return}if(!this.#s.fin){this.#i=bs.INFO,this.#r=!0,this.run(e);return}xae(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){$b(this.ws,1009,new PU().message);return}!this.#s.fragmented&&this.#s.fin&&xae(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?($b(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){F6e(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!q6e(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=H6e(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===rg.CLOSE){if(n===1)return Zs(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 Nae(this.ws,i,s,s.length),Zs(this.ws,s),!1}if(this.ws[Iae]!==wae.SENT){let i=bae;this.#s.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#s.closeInfo.code,0));let s=new vae(i);this.ws[Sae].socket.write(s.createFrame(rg.CLOSE),a=>{a||(this.ws[Iae]=wae.SENT)})}return this.ws[U6e]=M6e.CLOSING,this.ws[Bae]=!0,!1}else if(r===rg.PING){if(!this.ws[Bae]){let i=new vae(e);this.ws[Sae].socket.write(i.createFrame(rg.PONG)),pN.ping.hasSubscribers&&pN.ping.publish({payload:e})}}else r===rg.PONG&&pN.pong.hasSubscribers&&pN.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};_ae.exports={ByteParser:OU}});var Pae=A((_jt,kae)=>{"use strict";var{WebsocketFrameSend:j6e}=uN(),{opcodes:Tae,sendHints:ng}=Kh(),$6e=GF(),Dae=Buffer[Symbol.species],LU=class{static{o(this,"SendQueue")}#e=new $6e;#t=!1;#n;constructor(e){this.#n=e}add(e,r,n){if(n!==ng.blob){let s=Qae(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=Qae(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 Qae(t,e){return new j6e(J6e(t,e)).createFrame(e===ng.string?Tae.TEXT:Tae.BINARY)}o(Qae,"createFrame");function J6e(t,e){switch(e){case ng.string:return Buffer.from(t);case ng.arrayBuffer:case ng.blob:return new Dae(t);case ng.typedArray:return new Dae(t.buffer,t.byteOffset,t.byteLength)}}o(J6e,"toBuffer");kae.exports={SendQueue:LU}});var zae=A((Tjt,Vae)=>{"use strict";var{webidl:He}=oi(),{URLSerializer:W6e}=ms(),{environmentSettingsObject:Oae}=zs(),{staticPropertyDescriptors:Yd,states:Jb,sentCloseFrameState:Y6e,sendHints:AN}=Kh(),{kWebSocketURL:Lae,kReadyState:FU,kController:Fae,kBinaryType:mN,kResponse:Mae,kSentClose:K6e,kByteParser:X6e}=Mb(),{isConnecting:Z6e,isEstablished:eJe,isClosing:tJe,isValidSubprotocol:rJe,fireEvent:Uae}=Gb(),{establishWebSocketConnection:nJe,closeWebSocketConnection:qae}=TU(),{ByteParser:iJe}=Rae(),{kEnumerableProperty:Fo,isBlobLike:Gae}=ot(),{getGlobalDispatcher:sJe}=Tv(),{types:Hae}=require("node:util"),{ErrorEvent:oJe,CloseEvent:aJe}=Zm(),{SendQueue:cJe}=Pae(),eo=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=Oae.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=>rJe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Lae]=new URL(a.href);let c=Oae.settingsObject;this[Fae]=nJe(a,r,c,this,(l,u)=>this.#s(l,u),i),this[FU]=t.CONNECTING,this[K6e]=Y6e.NOT_SENT,this[mN]="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");qae(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"),Z6e(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!eJe(this)||tJe(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#i.add(e,()=>{this.#t-=n},AN.string)}else Hae.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},AN.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},AN.typedArray)):Gae(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},AN.blob))}get readyState(){return He.brandCheck(this,t),this[FU]}get bufferedAmount(){return He.brandCheck(this,t),this.#t}get url(){return He.brandCheck(this,t),W6e(this[Lae])}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[mN]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[mN]="blob":this[mN]=e}#s(e,r){this[Mae]=e;let n=this[Fae]?.dispatcher?.webSocketOptions,i=n?.maxFragments,s=n?.maxPayloadSize,a=new iJe(this,r,{maxFragments:i,maxPayloadSize:s});a.on("drain",lJe),a.on("error",uJe.bind(this)),e.socket.ws=this,this[X6e]=a,this.#i=new cJe(e.socket),this[FU]=Jb.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),Uae("open",this)}};eo.CONNECTING=eo.prototype.CONNECTING=Jb.CONNECTING;eo.OPEN=eo.prototype.OPEN=Jb.OPEN;eo.CLOSING=eo.prototype.CLOSING=Jb.CLOSING;eo.CLOSED=eo.prototype.CLOSED=Jb.CLOSED;Object.defineProperties(eo.prototype,{CONNECTING:Yd,OPEN:Yd,CLOSING:Yd,CLOSED:Yd,url:Fo,readyState:Fo,bufferedAmount:Fo,onopen:Fo,onerror:Fo,onclose:Fo,close:Fo,onmessage:Fo,binaryType:Fo,send:Fo,extensions:Fo,protocol:Fo,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(eo,{CONNECTING:Yd,OPEN:Yd,CLOSING:Yd,CLOSED:Yd});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(()=>sJe(),"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(Gae(t))return He.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Hae.isArrayBuffer(t))return He.converters.BufferSource(t)}return He.converters.USVString(t)};function lJe(){this.ws[Mae].socket.resume()}o(lJe,"onParserDrain");function uJe(t){let e,r;t instanceof aJe?(e=t.reason,r=t.code):e=t.message,Uae("error",this,()=>new oJe("error",{error:t,message:e})),qae(this,r)}o(uJe,"onParserError");Vae.exports={WebSocket:eo}});var MU=A((Qjt,jae)=>{"use strict";function dJe(t){return t.indexOf("\0")===-1}o(dJe,"isValidLastEventId");function fJe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(fJe,"isASCIINumber");function hJe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(hJe,"delay");jae.exports={isValidLastEventId:dJe,isASCIINumber:fJe,delay:hJe}});var Yae=A((Pjt,Wae)=>{"use strict";var{Transform:pJe}=require("node:stream"),{isASCIINumber:$ae,isValidLastEventId:Jae}=MU(),vu=[239,187,191],UU=10,gN=13,AJe=58,mJe=32,qU=class extends pJe{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]===vu[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===vu[0]&&this.buffer[1]===vu[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===vu[0]&&this.buffer[1]===vu[1]&&this.buffer[2]===vu[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===vu[0]&&this.buffer[1]===vu[1]&&this.buffer[2]===vu[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&$ae(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Jae(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}}};Wae.exports={EventSourceStream:qU}});var ice=A((Ljt,nce)=>{"use strict";var{pipeline:gJe}=require("node:stream"),{fetching:yJe}=Pb(),{makeRequest:EJe}=$m(),{webidl:Nu}=oi(),{EventSourceStream:CJe}=Yae(),{parseMIMEType:bJe}=ms(),{createFastMessageEvent:wJe}=Zm(),{isNetworkError:Kae}=Qb(),{delay:IJe}=MU(),{kEnumerableProperty:Xh}=ot(),{environmentSettingsObject:Xae}=zs(),Zae=!1,ece=3e3,Wb=0,tce=1,Yb=2,SJe="anonymous",BJe="use-credentials",ig=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=Wb;#i=null;#s=null;#l;#a;constructor(e,r={}){super(),Nu.util.markAsUncloneable(this);let n="EventSource constructor";Nu.argumentLengthCheck(arguments,1,n),Zae||(Zae=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Nu.converters.USVString(e,n,"url"),r=Nu.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#l=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:ece};let i=Xae,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=SJe;r.withCredentials&&(a=BJe,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Xae.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=EJe(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=Wb;let e={request:this.#i,dispatcher:this.#l},r=o(n=>{Kae(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#o()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(Kae(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?bJe(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=tce,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new CJe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(wJe(l.type,l.options))},"push")});gJe(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=yJe(e)}async#o(){this.#r!==Yb&&(this.#r=Wb,this.dispatchEvent(new Event("error")),await IJe(this.#a.reconnectionTime),this.#r===Wb&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Nu.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}},rce={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Wb,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:tce,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Yb,writable:!1}};Object.defineProperties(ig,rce);Object.defineProperties(ig.prototype,rce);Object.defineProperties(ig.prototype,{close:Xh,onerror:Xh,onmessage:Xh,onopen:Xh,readyState:Xh,url:Xh,withCredentials:Xh});Nu.converters.EventSourceInitDict=Nu.dictionaryConverter([{key:"withCredentials",converter:Nu.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Nu.converters.any}]);nce.exports={EventSource:ig,defaultReconnectionTime:ece}});var Kd=A((Mjt,Ue)=>{"use strict";var xJe=Tm(),sce=eb(),vJe=Dm(),NJe=rne(),_Je=Qm(),RJe=cM(),TJe=xne(),DJe=Qne(),oce=_t(),EN=ot(),{InvalidArgumentError:yN}=oce,sg=Eie(),QJe=rb(),kJe=HM(),PJe=tse(),OJe=jM(),LJe=RM(),FJe=bv(),{getGlobalDispatcher:ace,setGlobalDispatcher:MJe}=Tv(),UJe=Dv(),qJe=uv(),GJe=dv();Object.assign(sce.prototype,sg);Ue.exports.Dispatcher=sce;Ue.exports.Client=xJe;Ue.exports.Pool=vJe;Ue.exports.BalancedPool=NJe;Ue.exports.Agent=_Je;Ue.exports.ProxyAgent=RJe;Ue.exports.EnvHttpProxyAgent=TJe;Ue.exports.RetryAgent=DJe;Ue.exports.RetryHandler=FJe;Ue.exports.DecoratorHandler=UJe;Ue.exports.RedirectHandler=qJe;Ue.exports.createRedirectInterceptor=GJe;Ue.exports.interceptors={redirect:cse(),retry:use(),dump:fse(),dns:Ase()};Ue.exports.buildConnector=QJe;Ue.exports.errors=oce;Ue.exports.util={parseHeaders:EN.parseHeaders,headerNameToString:EN.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 yN("invalid url");if(r!=null&&typeof r!="object")throw new yN("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new yN("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(EN.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=EN.parseURL(e);let{agent:i,dispatcher:s=ace()}=r;if(i)throw new yN("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=MJe;Ue.exports.getGlobalDispatcher=ace;var HJe=Pb().fetch;Ue.exports.fetch=o(async function(e,r=void 0){try{return await HJe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Ue.exports.Headers=zh().Headers;Ue.exports.Response=Qb().Response;Ue.exports.Request=$m().Request;Ue.exports.FormData=lb().FormData;Ue.exports.File=globalThis.File??require("node:buffer").File;Ue.exports.FileReader=Toe().FileReader;var{setGlobalOrigin:VJe,getGlobalOrigin:zJe}=lF();Ue.exports.setGlobalOrigin=VJe;Ue.exports.getGlobalOrigin=zJe;var{CacheStorage:jJe}=Uoe(),{kConstruct:$Je}=Zv();Ue.exports.caches=new jJe($Je);var{deleteCookie:JJe,getCookies:WJe,getSetCookies:YJe,setCookie:KJe}=Koe();Ue.exports.deleteCookie=JJe;Ue.exports.getCookies=WJe;Ue.exports.getSetCookies=YJe;Ue.exports.setCookie=KJe;var{parseMIMEType:XJe,serializeAMimeType:ZJe}=ms();Ue.exports.parseMIMEType=XJe;Ue.exports.serializeAMimeType=ZJe;var{CloseEvent:eWe,ErrorEvent:tWe,MessageEvent:rWe}=Zm();Ue.exports.WebSocket=zae().WebSocket;Ue.exports.CloseEvent=eWe;Ue.exports.ErrorEvent=tWe;Ue.exports.MessageEvent=rWe;Ue.exports.request=Kb(sg.request);Ue.exports.stream=Kb(sg.stream);Ue.exports.pipeline=Kb(sg.pipeline);Ue.exports.connect=Kb(sg.connect);Ue.exports.upgrade=Kb(sg.upgrade);Ue.exports.MockClient=kJe;Ue.exports.MockPool=OJe;Ue.exports.MockAgent=PJe;Ue.exports.mockErrors=LJe;var{EventSource:nWe}=ice();Ue.exports.EventSource=nWe});var s0=A((l8t,Mce)=>{"use strict";var _We="2.0.0",RWe=Number.MAX_SAFE_INTEGER||9007199254740991,TWe=16,DWe=250,QWe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Mce.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:TWe,MAX_SAFE_BUILD_LENGTH:DWe,MAX_SAFE_INTEGER:RWe,RELEASE_TYPES:QWe,SEMVER_SPEC_VERSION:_We,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var o0=A((u8t,Uce)=>{"use strict";var kWe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Uce.exports=kWe});var dg=A((Lc,qce)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:dq,MAX_SAFE_BUILD_LENGTH:PWe,MAX_LENGTH:OWe}=s0(),LWe=o0();Lc=qce.exports={};var FWe=Lc.re=[],MWe=Lc.safeRe=[],ce=Lc.src=[],UWe=Lc.safeSrc=[],le=Lc.t={},qWe=0,fq="[a-zA-Z0-9-]",GWe=[["\\s",1],["\\d",OWe],[fq,PWe]],HWe=o(t=>{for(let[e,r]of GWe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),$e=o((t,e,r)=>{let n=HWe(e),i=qWe++;LWe(t,i,e),le[t]=i,ce[i]=e,UWe[i]=n,FWe[i]=new RegExp(e,r?"g":void 0),MWe[i]=new RegExp(n,r?"g":void 0)},"createToken");$e("NUMERICIDENTIFIER","0|[1-9]\\d*");$e("NUMERICIDENTIFIERLOOSE","\\d+");$e("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${fq}*`);$e("MAINVERSION",`(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})\\.(${ce[le.NUMERICIDENTIFIER]})`);$e("MAINVERSIONLOOSE",`(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})\\.(${ce[le.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASEIDENTIFIER",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIER]})`);$e("PRERELEASEIDENTIFIERLOOSE",`(?:${ce[le.NONNUMERICIDENTIFIER]}|${ce[le.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASE",`(?:-(${ce[le.PRERELEASEIDENTIFIER]}(?:\\.${ce[le.PRERELEASEIDENTIFIER]})*))`);$e("PRERELEASELOOSE",`(?:-?(${ce[le.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ce[le.PRERELEASEIDENTIFIERLOOSE]})*))`);$e("BUILDIDENTIFIER",`${fq}+`);$e("BUILD",`(?:\\+(${ce[le.BUILDIDENTIFIER]}(?:\\.${ce[le.BUILDIDENTIFIER]})*))`);$e("FULLPLAIN",`v?${ce[le.MAINVERSION]}${ce[le.PRERELEASE]}?${ce[le.BUILD]}?`);$e("FULL",`^${ce[le.FULLPLAIN]}$`);$e("LOOSEPLAIN",`[v=\\s]*${ce[le.MAINVERSIONLOOSE]}${ce[le.PRERELEASELOOSE]}?${ce[le.BUILD]}?`);$e("LOOSE",`^${ce[le.LOOSEPLAIN]}$`);$e("GTLT","((?:<|>)?=?)");$e("XRANGEIDENTIFIERLOOSE",`${ce[le.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$e("XRANGEIDENTIFIER",`${ce[le.NUMERICIDENTIFIER]}|x|X|\\*`);$e("XRANGEPLAIN",`[v=\\s]*(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:\\.(${ce[le.XRANGEIDENTIFIER]})(?:${ce[le.PRERELEASE]})?${ce[le.BUILD]}?)?)?`);$e("XRANGEPLAINLOOSE",`[v=\\s]*(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ce[le.XRANGEIDENTIFIERLOOSE]})(?:${ce[le.PRERELEASELOOSE]})?${ce[le.BUILD]}?)?)?`);$e("XRANGE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAIN]}$`);$e("XRANGELOOSE",`^${ce[le.GTLT]}\\s*${ce[le.XRANGEPLAINLOOSE]}$`);$e("COERCEPLAIN",`(^|[^\\d])(\\d{1,${dq}})(?:\\.(\\d{1,${dq}}))?(?:\\.(\\d{1,${dq}}))?`);$e("COERCE",`${ce[le.COERCEPLAIN]}(?:$|[^\\d])`);$e("COERCEFULL",ce[le.COERCEPLAIN]+`(?:${ce[le.PRERELEASE]})?(?:${ce[le.BUILD]})?(?:$|[^\\d])`);$e("COERCERTL",ce[le.COERCE],!0);$e("COERCERTLFULL",ce[le.COERCEFULL],!0);$e("LONETILDE","(?:~>?)");$e("TILDETRIM",`(\\s*)${ce[le.LONETILDE]}\\s+`,!0);Lc.tildeTrimReplace="$1~";$e("TILDE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAIN]}$`);$e("TILDELOOSE",`^${ce[le.LONETILDE]}${ce[le.XRANGEPLAINLOOSE]}$`);$e("LONECARET","(?:\\^)");$e("CARETTRIM",`(\\s*)${ce[le.LONECARET]}\\s+`,!0);Lc.caretTrimReplace="$1^";$e("CARET",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAIN]}$`);$e("CARETLOOSE",`^${ce[le.LONECARET]}${ce[le.XRANGEPLAINLOOSE]}$`);$e("COMPARATORLOOSE",`^${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]})$|^$`);$e("COMPARATOR",`^${ce[le.GTLT]}\\s*(${ce[le.FULLPLAIN]})$|^$`);$e("COMPARATORTRIM",`(\\s*)${ce[le.GTLT]}\\s*(${ce[le.LOOSEPLAIN]}|${ce[le.XRANGEPLAIN]})`,!0);Lc.comparatorTrimReplace="$1$2$3";$e("HYPHENRANGE",`^\\s*(${ce[le.XRANGEPLAIN]})\\s+-\\s+(${ce[le.XRANGEPLAIN]})\\s*$`);$e("HYPHENRANGELOOSE",`^\\s*(${ce[le.XRANGEPLAINLOOSE]})\\s+-\\s+(${ce[le.XRANGEPLAINLOOSE]})\\s*$`);$e("STAR","(<|>)?=?\\s*\\*");$e("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$e("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var vN=A((f8t,Gce)=>{"use strict";var VWe=Object.freeze({loose:!0}),zWe=Object.freeze({}),jWe=o(t=>t?typeof t!="object"?VWe:t:zWe,"parseOptions");Gce.exports=jWe});var hq=A((p8t,zce)=>{"use strict";var Hce=/^[0-9]+$/,Vce=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tVce(e,t),"rcompareIdentifiers");zce.exports={compareIdentifiers:Vce,rcompareIdentifiers:$We}});var Si=A((m8t,$ce)=>{"use strict";var NN=o0(),{MAX_LENGTH:jce,MAX_SAFE_INTEGER:_N}=s0(),{safeRe:RN,t:TN}=dg(),JWe=vN(),{compareIdentifiers:pq}=hq(),Aq=class t{static{o(this,"SemVer")}constructor(e,r){if(r=JWe(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>jce)throw new TypeError(`version is longer than ${jce} characters`);NN("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?RN[TN.LOOSE]:RN[TN.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&&s<_N)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(NN("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.majore.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(NN("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 pq(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(NN("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 pq(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?RN[TN.PRERELEASELOOSE]:RN[TN.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]),pq(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}};$ce.exports=Aq});var np=A((y8t,Wce)=>{"use strict";var Jce=Si(),WWe=o((t,e,r=!1)=>{if(t instanceof Jce)return t;try{return new Jce(t,e)}catch(n){if(!r)return null;throw n}},"parse");Wce.exports=WWe});var Kce=A((C8t,Yce)=>{"use strict";var YWe=np(),KWe=o((t,e)=>{let r=YWe(t,e);return r?r.version:null},"valid");Yce.exports=KWe});var Zce=A((w8t,Xce)=>{"use strict";var XWe=np(),ZWe=o((t,e)=>{let r=XWe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Xce.exports=ZWe});var rle=A((S8t,tle)=>{"use strict";var ele=Si(),e9e=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new ele(t instanceof ele?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");tle.exports=e9e});var sle=A((x8t,ile)=>{"use strict";var nle=np(),t9e=o((t,e)=>{let r=nle(t,null,!0),n=nle(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");ile.exports=t9e});var ale=A((N8t,ole)=>{"use strict";var r9e=Si(),n9e=o((t,e)=>new r9e(t,e).major,"major");ole.exports=n9e});var lle=A((R8t,cle)=>{"use strict";var i9e=Si(),s9e=o((t,e)=>new i9e(t,e).minor,"minor");cle.exports=s9e});var dle=A((D8t,ule)=>{"use strict";var o9e=Si(),a9e=o((t,e)=>new o9e(t,e).patch,"patch");ule.exports=a9e});var hle=A((k8t,fle)=>{"use strict";var c9e=np(),l9e=o((t,e)=>{let r=c9e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");fle.exports=l9e});var Uo=A((O8t,Ale)=>{"use strict";var ple=Si(),u9e=o((t,e,r)=>new ple(t,r).compare(new ple(e,r)),"compare");Ale.exports=u9e});var gle=A((F8t,mle)=>{"use strict";var d9e=Uo(),f9e=o((t,e,r)=>d9e(e,t,r),"rcompare");mle.exports=f9e});var Ele=A((U8t,yle)=>{"use strict";var h9e=Uo(),p9e=o((t,e)=>h9e(t,e,!0),"compareLoose");yle.exports=p9e});var DN=A((G8t,ble)=>{"use strict";var Cle=Si(),A9e=o((t,e,r)=>{let n=new Cle(t,r),i=new Cle(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");ble.exports=A9e});var Ile=A((V8t,wle)=>{"use strict";var m9e=DN(),g9e=o((t,e)=>t.sort((r,n)=>m9e(r,n,e)),"sort");wle.exports=g9e});var Ble=A((j8t,Sle)=>{"use strict";var y9e=DN(),E9e=o((t,e)=>t.sort((r,n)=>y9e(n,r,e)),"rsort");Sle.exports=E9e});var a0=A((J8t,xle)=>{"use strict";var C9e=Uo(),b9e=o((t,e,r)=>C9e(t,e,r)>0,"gt");xle.exports=b9e});var QN=A((Y8t,vle)=>{"use strict";var w9e=Uo(),I9e=o((t,e,r)=>w9e(t,e,r)<0,"lt");vle.exports=I9e});var mq=A((X8t,Nle)=>{"use strict";var S9e=Uo(),B9e=o((t,e,r)=>S9e(t,e,r)===0,"eq");Nle.exports=B9e});var gq=A((e6t,_le)=>{"use strict";var x9e=Uo(),v9e=o((t,e,r)=>x9e(t,e,r)!==0,"neq");_le.exports=v9e});var kN=A((r6t,Rle)=>{"use strict";var N9e=Uo(),_9e=o((t,e,r)=>N9e(t,e,r)>=0,"gte");Rle.exports=_9e});var PN=A((i6t,Tle)=>{"use strict";var R9e=Uo(),T9e=o((t,e,r)=>R9e(t,e,r)<=0,"lte");Tle.exports=T9e});var yq=A((o6t,Dle)=>{"use strict";var D9e=mq(),Q9e=gq(),k9e=a0(),P9e=kN(),O9e=QN(),L9e=PN(),F9e=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 D9e(t,r,n);case"!=":return Q9e(t,r,n);case">":return k9e(t,r,n);case">=":return P9e(t,r,n);case"<":return O9e(t,r,n);case"<=":return L9e(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Dle.exports=F9e});var kle=A((c6t,Qle)=>{"use strict";var M9e=Si(),U9e=np(),{safeRe:ON,t:LN}=dg(),q9e=o((t,e)=>{if(t instanceof M9e)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?ON[LN.COERCEFULL]:ON[LN.COERCE]);else{let l=e.includePrerelease?ON[LN.COERCERTLFULL]:ON[LN.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 U9e(`${n}.${i}.${s}${a}${c}`,e)},"coerce");Qle.exports=q9e});var Ole=A((u6t,Ple)=>{"use strict";var Eq=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}};Ple.exports=Eq});var qo=A((f6t,Ule)=>{"use strict";var G9e=/\s+/g,Cq=class t{static{o(this,"Range")}constructor(e,r){if(r=V9e(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(G9e," "),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=>!Fle(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&&K9e(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&&W9e)|(this.options.loose&&Y9e))+":"+e,i=Lle.get(n);if(i)return i;let s=this.options.loose,a=s?Vi[Bi.HYPHENRANGELOOSE]:Vi[Bi.HYPHENRANGE];e=e.replace(a,aYe(this.options.includePrerelease)),nr("hyphen replace",e),e=e.replace(Vi[Bi.COMPARATORTRIM],j9e),nr("comparator trim",e),e=e.replace(Vi[Bi.TILDETRIM],$9e),nr("tilde trim",e),e=e.replace(Vi[Bi.CARETTRIM],J9e),nr("caret trim",e);let c=e.split(" ").map(f=>X9e(f,this.options)).join(" ").split(/\s+/).map(f=>oYe(f,this.options));s&&(c=c.filter(f=>(nr("loose invalid filter",f,this.options),!!f.match(Vi[Bi.COMPARATORLOOSE])))),nr("range list",c);let l=new Map,u=c.map(f=>new bq(f,this.options));for(let f of u){if(Fle(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return Lle.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Mle(n,r)&&e.set.some(i=>Mle(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 z9e(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),K9e=o(t=>t.value==="","isAny"),Mle=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"),X9e=o((t,e)=>(t=t.replace(Vi[Bi.BUILD],""),nr("comp",t,e),t=tYe(t,e),nr("caret",t),t=Z9e(t,e),nr("tildes",t),t=nYe(t,e),nr("xrange",t),t=sYe(t,e),nr("stars",t),t),"parseComparator"),zi=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Z9e=o((t,e)=>t.trim().split(/\s+/).map(r=>eYe(r,e)).join(" "),"replaceTildes"),eYe=o((t,e)=>{let r=e.loose?Vi[Bi.TILDELOOSE]:Vi[Bi.TILDE];return t.replace(r,(n,i,s,a,c)=>{nr("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?(nr("replaceTilde pr",c),l=`>=${i}.${s}.${a}-${c} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,nr("tilde return",l),l})},"replaceTilde"),tYe=o((t,e)=>t.trim().split(/\s+/).map(r=>rYe(r,e)).join(" "),"replaceCarets"),rYe=o((t,e)=>{nr("caret",t,e);let r=e.loose?Vi[Bi.CARETLOOSE]:Vi[Bi.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{nr("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?(nr("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`):(nr("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`),nr("caret return",u),u})},"replaceCaret"),nYe=o((t,e)=>(nr("replaceXRanges",t,e),t.split(/\s+/).map(r=>iYe(r,e)).join(" ")),"replaceXRanges"),iYe=o((t,e)=>{t=t.trim();let r=e.loose?Vi[Bi.XRANGELOOSE]:Vi[Bi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{nr("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`),nr("xRange return",n),n})},"replaceXRange"),sYe=o((t,e)=>(nr("replaceStars",t,e),t.trim().replace(Vi[Bi.STAR],"")),"replaceStars"),oYe=o((t,e)=>(nr("replaceGTE0",t,e),t.trim().replace(Vi[e.includePrerelease?Bi.GTE0PRE:Bi.GTE0],"")),"replaceGTE0"),aYe=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"),cYe=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((p6t,jle)=>{"use strict";var l0=Symbol("SemVer ANY"),Sq=class t{static{o(this,"Comparator")}static get ANY(){return l0}constructor(e,r){if(r=qle(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Iq("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,Iq("comp",this)}parse(e){let r=this.options.loose?Gle[Hle.COMPARATORLOOSE]:Gle[Hle.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 Vle(n[2],this.options.loose):this.semver=l0}toString(){return this.value}test(e){if(Iq("Comparator.test",e,this.options.loose),this.semver===l0||e===l0)return!0;if(typeof e=="string")try{e=new Vle(e,this.options)}catch{return!1}return wq(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 zle(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new zle(this.value,r).test(e.semver):(r=qle(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("=")||wq(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||wq(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};jle.exports=Sq;var qle=vN(),{safeRe:Gle,t:Hle}=dg(),wq=yq(),Iq=o0(),Vle=Si(),zle=qo()});var u0=A((m6t,$le)=>{"use strict";var lYe=qo(),uYe=o((t,e,r)=>{try{e=new lYe(e,r)}catch{return!1}return e.test(t)},"satisfies");$le.exports=uYe});var Wle=A((y6t,Jle)=>{"use strict";var dYe=qo(),fYe=o((t,e)=>new dYe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Jle.exports=fYe});var Kle=A((C6t,Yle)=>{"use strict";var hYe=Si(),pYe=qo(),AYe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new pYe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new hYe(n,r))}),n},"maxSatisfying");Yle.exports=AYe});var Zle=A((w6t,Xle)=>{"use strict";var mYe=Si(),gYe=qo(),yYe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new gYe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new mYe(n,r))}),n},"minSatisfying");Xle.exports=yYe});var rue=A((S6t,tue)=>{"use strict";var Bq=Si(),EYe=qo(),eue=a0(),CYe=o((t,e)=>{t=new EYe(t,e);let r=new Bq("0.0.0");if(t.test(r)||(r=new Bq("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new Bq(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||eue(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||eue(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");tue.exports=CYe});var iue=A((x6t,nue)=>{"use strict";var bYe=qo(),wYe=o((t,e)=>{try{return new bYe(t,e).range||"*"}catch{return null}},"validRange");nue.exports=wYe});var FN=A((N6t,cue)=>{"use strict";var IYe=Si(),aue=c0(),{ANY:SYe}=aue,BYe=qo(),xYe=u0(),sue=a0(),oue=QN(),vYe=PN(),NYe=kN(),_Ye=o((t,e,r,n)=>{t=new IYe(t,n),e=new BYe(e,n);let i,s,a,c,l;switch(r){case">":i=sue,s=vYe,a=oue,c=">",l=">=";break;case"<":i=oue,s=NYe,a=sue,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(xYe(t,e,n))return!1;for(let u=0;u{p.semver===SYe&&(p=new aue(">=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");cue.exports=_Ye});var uue=A((R6t,lue)=>{"use strict";var RYe=FN(),TYe=o((t,e,r)=>RYe(t,e,">",r),"gtr");lue.exports=TYe});var fue=A((D6t,due)=>{"use strict";var DYe=FN(),QYe=o((t,e,r)=>DYe(t,e,"<",r),"ltr");due.exports=QYe});var Aue=A((k6t,pue)=>{"use strict";var hue=qo(),kYe=o((t,e,r)=>(t=new hue(t,r),e=new hue(e,r),t.intersects(e,r)),"intersects");pue.exports=kYe});var gue=A((O6t,mue)=>{"use strict";var PYe=u0(),OYe=Uo();mue.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>OYe(d,f,r));for(let d of a)PYe(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 yue=qo(),vq=c0(),{ANY:xq}=vq,d0=u0(),Nq=Uo(),LYe=o((t,e,r={})=>{if(t===e)return!0;t=new yue(t,r),e=new yue(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=MYe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),FYe=[new vq(">=0.0.0-0")],Eue=[new vq(">=0.0.0")],MYe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===xq){if(e.length===1&&e[0].semver===xq)return!0;r.includePrerelease?t=FYe:t=Eue}if(e.length===1&&e[0].semver===xq){if(r.includePrerelease)return!0;e=Eue}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Cue(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=Nq(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 m of e)if(!d0(p,String(m),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=Cue(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"),Cue=o((t,e,r)=>{if(!t)return e;let n=Nq(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=Nq(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");wue.exports=LYe});var Rq=A((M6t,xue)=>{"use strict";var _q=dg(),Sue=s0(),UYe=Si(),Bue=hq(),qYe=np(),GYe=Kce(),HYe=Zce(),VYe=rle(),zYe=sle(),jYe=ale(),$Ye=lle(),JYe=dle(),WYe=hle(),YYe=Uo(),KYe=gle(),XYe=Ele(),ZYe=DN(),eKe=Ile(),tKe=Ble(),rKe=a0(),nKe=QN(),iKe=mq(),sKe=gq(),oKe=kN(),aKe=PN(),cKe=yq(),lKe=kle(),uKe=c0(),dKe=qo(),fKe=u0(),hKe=Wle(),pKe=Kle(),AKe=Zle(),mKe=rue(),gKe=iue(),yKe=FN(),EKe=uue(),CKe=fue(),bKe=Aue(),wKe=gue(),IKe=Iue();xue.exports={parse:qYe,valid:GYe,clean:HYe,inc:VYe,diff:zYe,major:jYe,minor:$Ye,patch:JYe,prerelease:WYe,compare:YYe,rcompare:KYe,compareLoose:XYe,compareBuild:ZYe,sort:eKe,rsort:tKe,gt:rKe,lt:nKe,eq:iKe,neq:sKe,gte:oKe,lte:aKe,cmp:cKe,coerce:lKe,Comparator:uKe,Range:dKe,satisfies:fKe,toComparators:hKe,maxSatisfying:pKe,minSatisfying:AKe,minVersion:mKe,validRange:gKe,outside:yKe,gtr:EKe,ltr:CKe,intersects:bKe,simplifyRange:wKe,subset:IKe,SemVer:UYe,re:_q.re,src:_q.src,tokens:_q.t,SEMVER_SPEC_VERSION:Sue.SEMVER_SPEC_VERSION,RELEASE_TYPES:Sue.RELEASE_TYPES,compareIdentifiers:Bue.compareIdentifiers,rcompareIdentifiers:Bue.rcompareIdentifiers}});var $ue=A((UJt,jue)=>{jue.exports=function(t,e){for(var r=[],n=0;n{"use strict";Kue.exports=Wue;function Wue(t,e,r){t instanceof RegExp&&(t=Jue(t,r)),e instanceof RegExp&&(e=Jue(e,r));var n=Yue(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(Wue,"balanced");function Jue(t,e){var r=e.match(t);return r?r[0]:null}o(Jue,"maybeMatch");Wue.range=Yue;function Yue(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(Yue,"range")});var sde=A((VJt,ide)=>{var HJt=$ue(),Xue=Hq();ide.exports=$Ke;var Zue="\0SLASH"+Math.random()+"\0",ede="\0OPEN"+Math.random()+"\0",jq="\0CLOSE"+Math.random()+"\0",tde="\0COMMA"+Math.random()+"\0",rde="\0PERIOD"+Math.random()+"\0",HKe=1e5,VKe=4e6;function Vq(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Vq,"numeric");function zKe(t){return t.split("\\\\").join(Zue).split("\\{").join(ede).split("\\}").join(jq).split("\\,").join(tde).split("\\.").join(rde)}o(zKe,"escapeBraces");function jKe(t){return t.split(Zue).join("\\").split(ede).join("{").split(jq).join("}").split(tde).join(",").split(rde).join(".")}o(jKe,"unescapeBraces");function nde(t){if(!t)return[""];var e=[],r=Xue("{","}",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=nde(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(nde,"parseCommaParts");function $Ke(t,e){if(!t)return[];e=e||{};var r=e.max==null?HKe:e.max,n=e.maxLength==null?VKe:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),zq(zKe(t),r,n,!0).map(jKe)}o($Ke,"expandTop");function JKe(t){return"{"+t+"}"}o(JKe,"embrace");function WKe(t){return/^-?0\d/.test(t)}o(WKe,"isPadded");function YKe(t,e){return t<=e}o(YKe,"lte");function KKe(t,e){return t>=e}o(KKe,"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 XKe(t,e,r,n){var i=t.split(/\.\./),s=[];if(i[0]===void 0||i[1]===void 0)return s;var a=Vq(i[0]),c=Vq(i[1]),l=Math.max(i[0].length,i[1].length),u=i.length===3&&i[2]!==void 0?Math.max(Math.abs(Vq(i[2])),1):1,d=YKe,f=c0){var y=new Array(E+1).join("0");m<0?g="-"+y+g.slice(1):g=y+g}}if(p+g.length>n)break;s.push(g),p+=g.length}return s}o(XKe,"expandSequence");function zq(t,e,r,n){for(var i=[""],s=[0],a=!1,c=!0,l;;){var u=Xue("{","}",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,m=u.body.indexOf(",")>=0;if(!p&&!m){if(u.post.match(/,(?!,).*\}/)){t=u.pre+"{"+u.body+jq+u.post,n=!0,c=!0,a=!1,s=[];for(var g=0;g=e||B+j.length>r)break e;E.push(j),B+=j.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(zq,"expand")});var dde=A((jJt,ude)=>{ude.exports=no;no.Minimatch=gn;var g0=(function(){try{return require("path")}catch{}})()||{sep:"/"};no.sep=g0.sep;var ip=no.GLOBSTAR=gn.GLOBSTAR={},ZKe=sde(),ode={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},$q="[^/]",Jq=$q+"*?",e7e="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",t7e="(?:(?!(?:\\/|^)\\.).)*?",ade=r7e("().*{}+?[]^$\\!");function r7e(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(r7e,"charSet");var cde=/\/+/;no.filter=n7e;function n7e(t,e){return e=e||{},function(r,n,i){return no(r,t,e)}}o(n7e,"filter");function nf(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(nf,"ext");no.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return no;var e=no,r=o(function(i,s,a){return e(i,s,nf(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,nf(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(nf(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,nf(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(nf(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,nf(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,nf(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,nf(t,s))},r};gn.defaults=function(t){return no.defaults(t).Minimatch};function no(t,e,r){return zN(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new gn(e,r).match(t)}o(no,"minimatch");function gn(t,e){if(!(this instanceof gn))return new gn(t,e);zN(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(gn,"Minimatch");gn.prototype.debug=function(){};gn.prototype.make=i7e;function i7e(){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(cde)}),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(i7e,"make");gn.prototype.parseNegate=s7e;function s7e(){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,zN(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:ZKe(t)}o(lde,"braceExpand");var o7e=1024*64,zN=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>o7e)throw new TypeError("pattern is too long")},"assertValidPattern");gn.prototype.parse=a7e;var VN={};function a7e(t,e){zN(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return ip;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 m(){if(l){switch(l){case"*":n+=Jq,i=!0;break;case"?":n+=$q,i=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(m,"clearStateChar");for(var g=0,E=t.length,y;g-1;j--){var T=c[j],H=n.slice(0,T.reStart),V=n.slice(T.reStart,T.reEnd-8),W=n.slice(T.reEnd-8,T.reEnd),ee=n.slice(T.reEnd);W+=ee;var ae=H.split("(").length-1,Ae=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(cde),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]===ip){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 m=!!h;for(s=n;s{"use strict";var y7e="2.0.0",E7e=Number.MAX_SAFE_INTEGER||9007199254740991,C7e=16,b7e=250,w7e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Ade.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:C7e,MAX_SAFE_BUILD_LENGTH:b7e,MAX_SAFE_INTEGER:E7e,RELEASE_TYPES:w7e,SEMVER_SPEC_VERSION:y7e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var C0=A((AWt,mde)=>{"use strict";var I7e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};mde.exports=I7e});var yg=A((Mc,gde)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Yq,MAX_SAFE_BUILD_LENGTH:S7e,MAX_LENGTH:B7e}=gg(),x7e=C0();Mc=gde.exports={};var v7e=Mc.re=[],N7e=Mc.safeRe=[],ue=Mc.src=[],_7e=Mc.safeSrc=[],de=Mc.t={},R7e=0,Kq="[a-zA-Z0-9-]",T7e=[["\\s",1],["\\d",B7e],[Kq,S7e]],D7e=o(t=>{for(let[e,r]of T7e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Je=o((t,e,r)=>{let n=D7e(e),i=R7e++;x7e(t,i,e),de[t]=i,ue[i]=e,_7e[i]=n,v7e[i]=new RegExp(e,r?"g":void 0),N7e[i]=new RegExp(n,r?"g":void 0)},"createToken");Je("NUMERICIDENTIFIER","0|[1-9]\\d*");Je("NUMERICIDENTIFIERLOOSE","\\d+");Je("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Kq}*`);Je("MAINVERSION",`(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})\\.(${ue[de.NUMERICIDENTIFIER]})`);Je("MAINVERSIONLOOSE",`(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})\\.(${ue[de.NUMERICIDENTIFIERLOOSE]})`);Je("PRERELEASEIDENTIFIER",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIER]})`);Je("PRERELEASEIDENTIFIERLOOSE",`(?:${ue[de.NONNUMERICIDENTIFIER]}|${ue[de.NUMERICIDENTIFIERLOOSE]})`);Je("PRERELEASE",`(?:-(${ue[de.PRERELEASEIDENTIFIER]}(?:\\.${ue[de.PRERELEASEIDENTIFIER]})*))`);Je("PRERELEASELOOSE",`(?:-?(${ue[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ue[de.PRERELEASEIDENTIFIERLOOSE]})*))`);Je("BUILDIDENTIFIER",`${Kq}+`);Je("BUILD",`(?:\\+(${ue[de.BUILDIDENTIFIER]}(?:\\.${ue[de.BUILDIDENTIFIER]})*))`);Je("FULLPLAIN",`v?${ue[de.MAINVERSION]}${ue[de.PRERELEASE]}?${ue[de.BUILD]}?`);Je("FULL",`^${ue[de.FULLPLAIN]}$`);Je("LOOSEPLAIN",`[v=\\s]*${ue[de.MAINVERSIONLOOSE]}${ue[de.PRERELEASELOOSE]}?${ue[de.BUILD]}?`);Je("LOOSE",`^${ue[de.LOOSEPLAIN]}$`);Je("GTLT","((?:<|>)?=?)");Je("XRANGEIDENTIFIERLOOSE",`${ue[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Je("XRANGEIDENTIFIER",`${ue[de.NUMERICIDENTIFIER]}|x|X|\\*`);Je("XRANGEPLAIN",`[v=\\s]*(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:\\.(${ue[de.XRANGEIDENTIFIER]})(?:${ue[de.PRERELEASE]})?${ue[de.BUILD]}?)?)?`);Je("XRANGEPLAINLOOSE",`[v=\\s]*(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ue[de.XRANGEIDENTIFIERLOOSE]})(?:${ue[de.PRERELEASELOOSE]})?${ue[de.BUILD]}?)?)?`);Je("XRANGE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAIN]}$`);Je("XRANGELOOSE",`^${ue[de.GTLT]}\\s*${ue[de.XRANGEPLAINLOOSE]}$`);Je("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Yq}})(?:\\.(\\d{1,${Yq}}))?(?:\\.(\\d{1,${Yq}}))?`);Je("COERCE",`${ue[de.COERCEPLAIN]}(?:$|[^\\d])`);Je("COERCEFULL",ue[de.COERCEPLAIN]+`(?:${ue[de.PRERELEASE]})?(?:${ue[de.BUILD]})?(?:$|[^\\d])`);Je("COERCERTL",ue[de.COERCE],!0);Je("COERCERTLFULL",ue[de.COERCEFULL],!0);Je("LONETILDE","(?:~>?)");Je("TILDETRIM",`(\\s*)${ue[de.LONETILDE]}\\s+`,!0);Mc.tildeTrimReplace="$1~";Je("TILDE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAIN]}$`);Je("TILDELOOSE",`^${ue[de.LONETILDE]}${ue[de.XRANGEPLAINLOOSE]}$`);Je("LONECARET","(?:\\^)");Je("CARETTRIM",`(\\s*)${ue[de.LONECARET]}\\s+`,!0);Mc.caretTrimReplace="$1^";Je("CARET",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAIN]}$`);Je("CARETLOOSE",`^${ue[de.LONECARET]}${ue[de.XRANGEPLAINLOOSE]}$`);Je("COMPARATORLOOSE",`^${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]})$|^$`);Je("COMPARATOR",`^${ue[de.GTLT]}\\s*(${ue[de.FULLPLAIN]})$|^$`);Je("COMPARATORTRIM",`(\\s*)${ue[de.GTLT]}\\s*(${ue[de.LOOSEPLAIN]}|${ue[de.XRANGEPLAIN]})`,!0);Mc.comparatorTrimReplace="$1$2$3";Je("HYPHENRANGE",`^\\s*(${ue[de.XRANGEPLAIN]})\\s+-\\s+(${ue[de.XRANGEPLAIN]})\\s*$`);Je("HYPHENRANGELOOSE",`^\\s*(${ue[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ue[de.XRANGEPLAINLOOSE]})\\s*$`);Je("STAR","(<|>)?=?\\s*\\*");Je("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Je("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var JN=A((gWt,yde)=>{"use strict";var Q7e=Object.freeze({loose:!0}),k7e=Object.freeze({}),P7e=o(t=>t?typeof t!="object"?Q7e:t:k7e,"parseOptions");yde.exports=P7e});var Xq=A((EWt,bde)=>{"use strict";var Ede=/^[0-9]+$/,Cde=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tCde(e,t),"rcompareIdentifiers");bde.exports={compareIdentifiers:Cde,rcompareIdentifiers:O7e}});var li=A((bWt,Ide)=>{"use strict";var WN=C0(),{MAX_LENGTH:wde,MAX_SAFE_INTEGER:YN}=gg(),{safeRe:KN,t:XN}=yg(),L7e=JN(),{compareIdentifiers:Zq}=Xq(),e3=class t{static{o(this,"SemVer")}constructor(e,r){if(r=L7e(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>wde)throw new TypeError(`version is longer than ${wde} characters`);WN("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?KN[XN.LOOSE]:KN[XN.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>YN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>YN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>YN||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(WN("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 Zq(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(WN("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 Zq(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?KN[XN.PRERELEASELOOSE]:KN[XN.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]),Zq(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}};Ide.exports=e3});var af=A((IWt,Bde)=>{"use strict";var Sde=li(),F7e=o((t,e,r=!1)=>{if(t instanceof Sde)return t;try{return new Sde(t,e)}catch(n){if(!r)return null;throw n}},"parse");Bde.exports=F7e});var vde=A((BWt,xde)=>{"use strict";var M7e=af(),U7e=o((t,e)=>{let r=M7e(t,e);return r?r.version:null},"valid");xde.exports=U7e});var _de=A((vWt,Nde)=>{"use strict";var q7e=af(),G7e=o((t,e)=>{let r=q7e(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Nde.exports=G7e});var Dde=A((_Wt,Tde)=>{"use strict";var Rde=li(),H7e=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Rde(t instanceof Rde?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");Tde.exports=H7e});var Pde=A((TWt,kde)=>{"use strict";var Qde=af(),V7e=o((t,e)=>{let r=Qde(t,null,!0),n=Qde(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");kde.exports=V7e});var Lde=A((QWt,Ode)=>{"use strict";var z7e=li(),j7e=o((t,e)=>new z7e(t,e).major,"major");Ode.exports=j7e});var Mde=A((PWt,Fde)=>{"use strict";var $7e=li(),J7e=o((t,e)=>new $7e(t,e).minor,"minor");Fde.exports=J7e});var qde=A((LWt,Ude)=>{"use strict";var W7e=li(),Y7e=o((t,e)=>new W7e(t,e).patch,"patch");Ude.exports=Y7e});var Hde=A((MWt,Gde)=>{"use strict";var K7e=af(),X7e=o((t,e)=>{let r=K7e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");Gde.exports=X7e});var zo=A((qWt,zde)=>{"use strict";var Vde=li(),Z7e=o((t,e,r)=>new Vde(t,r).compare(new Vde(e,r)),"compare");zde.exports=Z7e});var $de=A((HWt,jde)=>{"use strict";var eXe=zo(),tXe=o((t,e,r)=>eXe(e,t,r),"rcompare");jde.exports=tXe});var Wde=A((zWt,Jde)=>{"use strict";var rXe=zo(),nXe=o((t,e)=>rXe(t,e,!0),"compareLoose");Jde.exports=nXe});var ZN=A(($Wt,Kde)=>{"use strict";var Yde=li(),iXe=o((t,e,r)=>{let n=new Yde(t,r),i=new Yde(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");Kde.exports=iXe});var Zde=A((WWt,Xde)=>{"use strict";var sXe=ZN(),oXe=o((t,e)=>t.sort((r,n)=>sXe(r,n,e)),"sort");Xde.exports=oXe});var tfe=A((KWt,efe)=>{"use strict";var aXe=ZN(),cXe=o((t,e)=>t.sort((r,n)=>aXe(n,r,e)),"rsort");efe.exports=cXe});var b0=A((ZWt,rfe)=>{"use strict";var lXe=zo(),uXe=o((t,e,r)=>lXe(t,e,r)>0,"gt");rfe.exports=uXe});var e_=A((t9t,nfe)=>{"use strict";var dXe=zo(),fXe=o((t,e,r)=>dXe(t,e,r)<0,"lt");nfe.exports=fXe});var t3=A((n9t,ife)=>{"use strict";var hXe=zo(),pXe=o((t,e,r)=>hXe(t,e,r)===0,"eq");ife.exports=pXe});var r3=A((s9t,sfe)=>{"use strict";var AXe=zo(),mXe=o((t,e,r)=>AXe(t,e,r)!==0,"neq");sfe.exports=mXe});var t_=A((a9t,ofe)=>{"use strict";var gXe=zo(),yXe=o((t,e,r)=>gXe(t,e,r)>=0,"gte");ofe.exports=yXe});var r_=A((l9t,afe)=>{"use strict";var EXe=zo(),CXe=o((t,e,r)=>EXe(t,e,r)<=0,"lte");afe.exports=CXe});var n3=A((d9t,cfe)=>{"use strict";var bXe=t3(),wXe=r3(),IXe=b0(),SXe=t_(),BXe=e_(),xXe=r_(),vXe=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 bXe(t,r,n);case"!=":return wXe(t,r,n);case">":return IXe(t,r,n);case">=":return SXe(t,r,n);case"<":return BXe(t,r,n);case"<=":return xXe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");cfe.exports=vXe});var ufe=A((h9t,lfe)=>{"use strict";var NXe=li(),_Xe=af(),{safeRe:n_,t:i_}=yg(),RXe=o((t,e)=>{if(t instanceof NXe)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?n_[i_.COERCEFULL]:n_[i_.COERCE]);else{let l=e.includePrerelease?n_[i_.COERCERTLFULL]:n_[i_.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 _Xe(`${n}.${i}.${s}${a}${c}`,e)},"coerce");lfe.exports=RXe});var ffe=A((A9t,dfe)=>{"use strict";var TXe=af(),DXe=gg(),QXe=li(),kXe=o((t,e,r)=>{if(!DXe.RELEASE_TYPES.includes(e))return null;let n=PXe(t,r);return n&&OXe(n,e)},"truncate"),PXe=o((t,e)=>{let r=t instanceof QXe?t.version:t;return TXe(r,e)},"cloneInputVersion"),OXe=o((t,e)=>{if(LXe(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"),LXe=o(t=>t.startsWith("pre"),"isPrerelease");dfe.exports=kXe});var pfe=A((g9t,hfe)=>{"use strict";var i3=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}};hfe.exports=i3});var jo=A((E9t,yfe)=>{"use strict";var FXe=/\s+/g,s3=class t{static{o(this,"Range")}constructor(e,r){if(r=UXe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof o3)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(FXe," "),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=>!mfe(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&&WXe(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(JXe,"");let n=((this.options.includePrerelease&&jXe)|(this.options.loose&&$Xe))+":"+e,i=Afe.get(n);if(i)return i;let s=this.options.loose,a=s?ji[ui.HYPHENRANGELOOSE]:ji[ui.HYPHENRANGE];e=e.replace(a,sZe(this.options.includePrerelease)),ir("hyphen replace",e),e=e.replace(ji[ui.COMPARATORTRIM],HXe),ir("comparator trim",e),e=e.replace(ji[ui.TILDETRIM],VXe),ir("tilde trim",e),e=e.replace(ji[ui.CARETTRIM],zXe),ir("caret trim",e);let c=e.split(" ").map(f=>YXe(f,this.options)).join(" ").split(/\s+/).map(f=>iZe(f,this.options));s&&(c=c.filter(f=>(ir("loose invalid filter",f,this.options),!!f.match(ji[ui.COMPARATORLOOSE])))),ir("range list",c);let l=new Map,u=c.map(f=>new o3(f,this.options));for(let f of u){if(mfe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return Afe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>gfe(n,r)&&e.set.some(i=>gfe(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 qXe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),WXe=o(t=>t.value==="","isAny"),gfe=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"),YXe=o((t,e)=>(t=t.replace(ji[ui.BUILD],""),ir("comp",t,e),t=ZXe(t,e),ir("caret",t),t=KXe(t,e),ir("tildes",t),t=tZe(t,e),ir("xrange",t),t=nZe(t,e),ir("stars",t),t),"parseComparator"),$i=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),KXe=o((t,e)=>t.trim().split(/\s+/).map(r=>XXe(r,e)).join(" "),"replaceTildes"),XXe=o((t,e)=>{let r=e.loose?ji[ui.TILDELOOSE]:ji[ui.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"),ZXe=o((t,e)=>t.trim().split(/\s+/).map(r=>eZe(r,e)).join(" "),"replaceCarets"),eZe=o((t,e)=>{ir("caret",t,e);let r=e.loose?ji[ui.CARETLOOSE]:ji[ui.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"),tZe=o((t,e)=>(ir("replaceXRanges",t,e),t.split(/\s+/).map(r=>rZe(r,e)).join(" ")),"replaceXRanges"),rZe=o((t,e)=>{t=t.trim();let r=e.loose?ji[ui.XRANGELOOSE]:ji[ui.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{ir("xRange",t,n,i,s,a,c,l);let u=$i(s),d=u||$i(a),f=d||$i(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"),nZe=o((t,e)=>(ir("replaceStars",t,e),t.trim().replace(ji[ui.STAR],"")),"replaceStars"),iZe=o((t,e)=>(ir("replaceGTE0",t,e),t.trim().replace(ji[e.includePrerelease?ui.GTE0PRE:ui.GTE0],"")),"replaceGTE0"),sZe=o(t=>(e,r,n,i,s,a,c,l,u,d,f,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(d)?l=`<${+u+1}.0.0-0`:$i(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"),oZe=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 w0=A((b9t,Sfe)=>{"use strict";var I0=Symbol("SemVer ANY"),l3=class t{static{o(this,"Comparator")}static get ANY(){return I0}constructor(e,r){if(r=Efe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c3("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===I0?this.value="":this.value=this.operator+this.semver.version,c3("comp",this)}parse(e){let r=this.options.loose?Cfe[bfe.COMPARATORLOOSE]:Cfe[bfe.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 wfe(n[2],this.options.loose):this.semver=I0}toString(){return this.value}test(e){if(c3("Comparator.test",e,this.options.loose),this.semver===I0||e===I0)return!0;if(typeof e=="string")try{e=new wfe(e,this.options)}catch{return!1}return a3(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 Ife(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Ife(this.value,r).test(e.semver):(r=Efe(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("=")||a3(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||a3(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Sfe.exports=l3;var Efe=JN(),{safeRe:Cfe,t:bfe}=yg(),a3=n3(),c3=C0(),wfe=li(),Ife=jo()});var S0=A((I9t,Bfe)=>{"use strict";var aZe=jo(),cZe=o((t,e,r)=>{try{e=new aZe(e,r)}catch{return!1}return e.test(t)},"satisfies");Bfe.exports=cZe});var vfe=A((B9t,xfe)=>{"use strict";var lZe=jo(),uZe=o((t,e)=>new lZe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");xfe.exports=uZe});var _fe=A((v9t,Nfe)=>{"use strict";var dZe=li(),fZe=jo(),hZe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new fZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new dZe(n,r))}),n},"maxSatisfying");Nfe.exports=hZe});var Tfe=A((_9t,Rfe)=>{"use strict";var pZe=li(),AZe=jo(),mZe=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new AZe(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new pZe(n,r))}),n},"minSatisfying");Rfe.exports=mZe});var kfe=A((T9t,Qfe)=>{"use strict";var u3=li(),gZe=jo(),Dfe=b0(),yZe=o((t,e)=>{t=new gZe(t,e);let r=new u3("0.0.0");if(t.test(r)||(r=new u3("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new u3(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||Dfe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Dfe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");Qfe.exports=yZe});var Ofe=A((Q9t,Pfe)=>{"use strict";var EZe=jo(),CZe=o((t,e)=>{try{return new EZe(t,e).range||"*"}catch{return null}},"validRange");Pfe.exports=CZe});var s_=A((P9t,Ufe)=>{"use strict";var bZe=li(),Mfe=w0(),{ANY:wZe}=Mfe,IZe=jo(),SZe=S0(),Lfe=b0(),Ffe=e_(),BZe=r_(),xZe=t_(),vZe=o((t,e,r,n)=>{t=new bZe(t,n),e=new IZe(e,n);let i,s,a,c,l;switch(r){case">":i=Lfe,s=BZe,a=Ffe,c=">",l=">=";break;case"<":i=Ffe,s=xZe,a=Lfe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(SZe(t,e,n))return!1;for(let u=0;u{p.semver===wZe&&(p=new Mfe(">=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");Ufe.exports=vZe});var Gfe=A((L9t,qfe)=>{"use strict";var NZe=s_(),_Ze=o((t,e,r)=>NZe(t,e,">",r),"gtr");qfe.exports=_Ze});var Vfe=A((M9t,Hfe)=>{"use strict";var RZe=s_(),TZe=o((t,e,r)=>RZe(t,e,"<",r),"ltr");Hfe.exports=TZe});var $fe=A((q9t,jfe)=>{"use strict";var zfe=jo(),DZe=o((t,e,r)=>(t=new zfe(t,r),e=new zfe(e,r),t.intersects(e,r)),"intersects");jfe.exports=DZe});var Wfe=A((H9t,Jfe)=>{"use strict";var QZe=S0(),kZe=zo();Jfe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>kZe(d,f,r));for(let d of a)QZe(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 Yfe=jo(),h3=w0(),{ANY:d3}=h3,f3=S0(),p3=zo(),PZe=o((t,e,r={})=>{if(t===e)return!0;t=new Yfe(t,r),e=new Yfe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=LZe(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),OZe=[new h3(">=0.0.0-0")],Kfe=[new h3(">=0.0.0")],LZe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===d3){if(e.length===1&&e[0].semver===d3)return!0;r.includePrerelease?t=OZe:t=Kfe}if(e.length===1&&e[0].semver===d3){if(r.includePrerelease)return!0;e=Kfe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=Xfe(i,p,r):p.operator==="<"||p.operator==="<="?s=Zfe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=p3(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&&!f3(p,String(i),r)||s&&!f3(p,String(s),r))return null;for(let m of e)if(!f3(p,String(m),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=Xfe(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=Zfe(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"),Xfe=o((t,e,r)=>{if(!t)return e;let n=p3(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Zfe=o((t,e,r)=>{if(!t)return e;let n=p3(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");ehe.exports=PZe});var she=A((j9t,ihe)=>{"use strict";var A3=yg(),rhe=gg(),FZe=li(),nhe=Xq(),MZe=af(),UZe=vde(),qZe=_de(),GZe=Dde(),HZe=Pde(),VZe=Lde(),zZe=Mde(),jZe=qde(),$Ze=Hde(),JZe=zo(),WZe=$de(),YZe=Wde(),KZe=ZN(),XZe=Zde(),ZZe=tfe(),eet=b0(),tet=e_(),ret=t3(),net=r3(),iet=t_(),set=r_(),oet=n3(),aet=ufe(),cet=ffe(),uet=w0(),det=jo(),fet=S0(),het=vfe(),pet=_fe(),Aet=Tfe(),met=kfe(),get=Ofe(),yet=s_(),Eet=Gfe(),Cet=Vfe(),bet=$fe(),wet=Wfe(),Iet=the();ihe.exports={parse:MZe,valid:UZe,clean:qZe,inc:GZe,diff:HZe,major:VZe,minor:zZe,patch:jZe,prerelease:$Ze,compare:JZe,rcompare:WZe,compareLoose:YZe,compareBuild:KZe,sort:XZe,rsort:ZZe,gt:eet,lt:tet,eq:ret,neq:net,gte:iet,lte:set,cmp:oet,coerce:aet,truncate:cet,Comparator:uet,Range:det,satisfies:fet,toComparators:het,maxSatisfying:pet,minSatisfying:Aet,minVersion:met,validRange:get,outside:yet,gtr:Eet,ltr:Cet,intersects:bet,simplifyRange:wet,subset:Iet,SemVer:FZe,re:A3.re,src:A3.src,tokens:A3.t,SEMVER_SPEC_VERSION:rhe.SEMVER_SPEC_VERSION,RELEASE_TYPES:rhe.RELEASE_TYPES,compareIdentifiers:nhe.compareIdentifiers,rcompareIdentifiers:nhe.rcompareIdentifiers}});var $he=A((KKt,jhe)=>{var Bg=1e3,xg=Bg*60,vg=xg*60,hp=vg*24,ott=hp*7,att=hp*365.25;jhe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return ctt(t);if(r==="number"&&isFinite(t))return e.long?utt(t):ltt(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function ctt(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*att;case"weeks":case"week":case"w":return r*ott;case"days":case"day":case"d":return r*hp;case"hours":case"hour":case"hrs":case"hr":case"h":return r*vg;case"minutes":case"minute":case"mins":case"min":case"m":return r*xg;case"seconds":case"second":case"secs":case"sec":case"s":return r*Bg;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(ctt,"parse");function ltt(t){var e=Math.abs(t);return e>=hp?Math.round(t/hp)+"d":e>=vg?Math.round(t/vg)+"h":e>=xg?Math.round(t/xg)+"m":e>=Bg?Math.round(t/Bg)+"s":t+"ms"}o(ltt,"fmtShort");function utt(t){var e=Math.abs(t);return e>=hp?R_(t,e,hp,"day"):e>=vg?R_(t,e,vg,"hour"):e>=xg?R_(t,e,xg,"minute"):e>=Bg?R_(t,e,Bg,"second"):t+" ms"}o(utt,"fmtLong");function R_(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(R_,"plural")});var U3=A((ZKt,Jhe)=>{function dtt(t){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=a,r.humanize=$he(),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 j=r.formatters[v];if(typeof j=="function"){let T=E[B];M=j.call(y,T),E.splice(B,1),B--}return M}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=d,g.useColors=r.useColors(),g.color=r.selectColor(d),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,m=r.enabled(d)),m),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}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{oo.formatArgs=htt;oo.save=ptt;oo.load=Att;oo.useColors=ftt;oo.storage=mtt();oo.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`."))}})();oo.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 ftt(){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(ftt,"useColors");function htt(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+T_.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(htt,"formatArgs");oo.log=console.debug||console.log||(()=>{});function ptt(t){try{t?oo.storage.setItem("debug",t):oo.storage.removeItem("debug")}catch{}}o(ptt,"save");function Att(){let t;try{t=oo.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Att,"load");function mtt(){try{return localStorage}catch{}}o(mtt,"localstorage");T_.exports=U3()(oo);var{formatters:gtt}=T_.exports;gtt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Khe=A((r7t,Yhe)=>{"use strict";Yhe.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 ytt=require("os"),Xhe=require("tty"),Jo=Khe(),{env:Hn}=process,uf;Jo("no-color")||Jo("no-colors")||Jo("color=false")||Jo("color=never")?uf=0:(Jo("color")||Jo("colors")||Jo("color=true")||Jo("color=always"))&&(uf=1);"FORCE_COLOR"in Hn&&(Hn.FORCE_COLOR==="true"?uf=1:Hn.FORCE_COLOR==="false"?uf=0:uf=Hn.FORCE_COLOR.length===0?1:Math.min(parseInt(Hn.FORCE_COLOR,10),3));function q3(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(q3,"translateLevel");function G3(t,e){if(uf===0)return 0;if(Jo("color=16m")||Jo("color=full")||Jo("color=truecolor"))return 3;if(Jo("color=256"))return 2;if(t&&!e&&uf===void 0)return 0;let r=uf||0;if(Hn.TERM==="dumb")return r;if(process.platform==="win32"){let n=ytt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Hn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Hn)||Hn.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Hn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Hn.TEAMCITY_VERSION)?1:0;if(Hn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Hn){let n=parseInt((Hn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Hn.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Hn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Hn.TERM)||"COLORTERM"in Hn?1:r}o(G3,"supportsColor");function Ett(t){let e=G3(t,t&&t.isTTY);return q3(e)}o(Ett,"getSupportLevel");Zhe.exports={supportsColor:Ett,stdout:q3(G3(!0,Xhe.isatty(1))),stderr:q3(G3(!0,Xhe.isatty(2)))}});var tpe=A((di,Q_)=>{var Ctt=require("tty"),D_=require("util");di.init=vtt;di.log=Stt;di.formatArgs=wtt;di.save=Btt;di.load=xtt;di.useColors=btt;di.destroy=D_.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");di.colors=[6,2,3,4,5,1];try{let t=H3();t&&(t.stderr||t).level>=2&&(di.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{}di.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 btt(){return"colors"in di.inspectOpts?!!di.inspectOpts.colors:Ctt.isatty(process.stderr.fd)}o(btt,"useColors");function wtt(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+"+Q_.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Ctt()+e+" "+t[0]}o(Ett,"formatArgs");function Ctt(){return di.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Ctt,"getDate");function btt(...t){return process.stderr.write(D_.format(...t)+` -`)}o(btt,"log");function wtt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(wtt,"save");function Itt(){return process.env.DEBUG}o(Itt,"load");function Stt(t){t.inspectOpts={};let e=Object.keys(di.inspectOpts);for(let r=0;re.trim()).join(" ")};Zhe.O=function(t){return this.inspectOpts.colors=this.useColors,D_.inspect(t,this.inspectOpts)}});var k_=A((r7t,H3)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?H3.exports=Jhe():H3.exports=epe()});var npe=A(Is=>{"use strict";var Btt=Is&&Is.__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]})),xtt=Is&&Is.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),tpe=Is&&Is.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Btt(e,t,r);return xtt(e,t),e};Object.defineProperty(Is,"__esModule",{value:!0});Is.req=Is.json=Is.toBuffer=void 0;var vtt=tpe(require("http")),Ntt=tpe(require("https"));async function rpe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(rpe,"toBuffer");Is.toBuffer=rpe;async function _tt(t){let r=(await rpe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(_tt,"json");Is.json=_tt;function Rtt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Ntt:vtt).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(Rtt,"req");Is.req=Rtt});var ape=A(ao=>{"use strict";var spe=ao&&ao.__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]})),Ttt=ao&&ao.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ope=ao&&ao.__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)&&spe(e,t,r);return Ttt(e,t),e},Dtt=ao&&ao.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&spe(e,t,r)};Object.defineProperty(ao,"__esModule",{value:!0});ao.Agent=void 0;var Qtt=ope(require("net")),ipe=ope(require("http")),ktt=require("https");Dtt(npe(),ao);var Hc=Symbol("AgentBaseInternalState"),V3=class extends ipe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Hc]={}}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 Qtt.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)?ktt.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 ipe.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[Hc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Hc].currentSocket;if(this[Hc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Hc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Hc]&&(this[Hc].defaultPort=e)}get protocol(){return this[Hc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Hc]&&(this[Hc].protocol=e)}};ao.Agent=V3});var cpe=A(_g=>{"use strict";var Ptt=_g&&_g.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_g,"__esModule",{value:!0});_g.parseProxyResponse=void 0;var Ott=Ptt(k_()),P_=(0,Ott.default)("https-proxy-agent:parse-proxy-response");function Ltt(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(),P_("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(d){a(),P_("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+"+Q_.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Itt()+e+" "+t[0]}o(wtt,"formatArgs");function Itt(){return di.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Itt,"getDate");function Stt(...t){return process.stderr.write(D_.format(...t)+` +`)}o(Stt,"log");function Btt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(Btt,"save");function xtt(){return process.env.DEBUG}o(xtt,"load");function vtt(t){t.inspectOpts={};let e=Object.keys(di.inspectOpts);for(let r=0;re.trim()).join(" ")};epe.O=function(t){return this.inspectOpts.colors=this.useColors,D_.inspect(t,this.inspectOpts)}});var k_=A((o7t,V3)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?V3.exports=Whe():V3.exports=tpe()});var ipe=A(Is=>{"use strict";var Ntt=Is&&Is.__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]})),_tt=Is&&Is.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rpe=Is&&Is.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Ntt(e,t,r);return _tt(e,t),e};Object.defineProperty(Is,"__esModule",{value:!0});Is.req=Is.json=Is.toBuffer=void 0;var Rtt=rpe(require("http")),Ttt=rpe(require("https"));async function npe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(npe,"toBuffer");Is.toBuffer=npe;async function Dtt(t){let r=(await npe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Dtt,"json");Is.json=Dtt;function Qtt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Ttt:Rtt).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(Qtt,"req");Is.req=Qtt});var cpe=A(ao=>{"use strict";var ope=ao&&ao.__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=ao&&ao.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ape=ao&&ao.__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)&&ope(e,t,r);return ktt(e,t),e},Ptt=ao&&ao.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&ope(e,t,r)};Object.defineProperty(ao,"__esModule",{value:!0});ao.Agent=void 0;var Ott=ape(require("net")),spe=ape(require("http")),Ltt=require("https");Ptt(ipe(),ao);var Hc=Symbol("AgentBaseInternalState"),z3=class extends spe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Hc]={}}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 Ott.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)?Ltt.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)try{return c.addRequest(e,i)}catch(l){return n(l)}this[Hc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Hc].currentSocket;if(this[Hc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Hc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Hc]&&(this[Hc].defaultPort=e)}get protocol(){return this[Hc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Hc]&&(this[Hc].protocol=e)}};ao.Agent=z3});var lpe=A(Ng=>{"use strict";var Ftt=Ng&&Ng.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ng,"__esModule",{value:!0});Ng.parseProxyResponse=void 0;var Mtt=Ftt(k_()),P_=(0,Mtt.default)("https-proxy-agent:parse-proxy-response");function Utt(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(),P_("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(d){a(),P_("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 \r `);if(h===-1){P_("have not received end of HTTP headers yet..."),s();return}let p=f.slice(0,h).toString("ascii").split(`\r -`),m=p.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=m.split(" "),E=+g[1],y=g.slice(2).join(" "),C={};for(let w of p){if(!w)continue;let B=w.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let Q=w.slice(0,B).toLowerCase(),M=w.slice(B+1).trimStart(),v=C[Q];typeof v=="string"?C[Q]=[v,M]:Array.isArray(v)?v.push(M):C[Q]=M}P_("got proxy server response: %o %o",m,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(Ltt,"parseProxyResponse");_g.parseProxyResponse=Ltt});var ppe=A(Wo=>{"use strict";var Ftt=Wo&&Wo.__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]})),Mtt=Wo&&Wo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fpe=Wo&&Wo.__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)&&Ftt(e,t,r);return Mtt(e,t),e},hpe=Wo&&Wo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.HttpsProxyAgent=void 0;var O_=fpe(require("net")),lpe=fpe(require("tls")),Utt=hpe(require("assert")),qtt=hpe(k_()),Gtt=ape(),Htt=require("url"),Vtt=cpe(),P0=(0,qtt.default)("https-proxy-agent"),upe=o(t=>t.servername===void 0&&t.host&&!O_.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),L_=class extends Gtt.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Htt.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?dpe(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=lpe.connect(upe(this.connectOpts))):(P0("Creating `net.Socket`: %o",this.connectOpts),i=O_.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=O_.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r +`),m=p.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=m.split(" "),E=+g[1],y=g.slice(2).join(" "),C={};for(let w of p){if(!w)continue;let B=w.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let Q=w.slice(0,B).toLowerCase(),M=w.slice(B+1).trimStart(),v=C[Q];typeof v=="string"?C[Q]=[v,M]:Array.isArray(v)?v.push(M):C[Q]=M}P_("got proxy server response: %o %o",m,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(Utt,"parseProxyResponse");Ng.parseProxyResponse=Utt});var Ape=A(Wo=>{"use strict";var qtt=Wo&&Wo.__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]})),Gtt=Wo&&Wo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hpe=Wo&&Wo.__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)&&qtt(e,t,r);return Gtt(e,t),e},ppe=Wo&&Wo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.HttpsProxyAgent=void 0;var O_=hpe(require("net")),upe=hpe(require("tls")),Htt=ppe(require("assert")),Vtt=ppe(k_()),ztt=cpe(),jtt=require("url"),$tt=lpe(),P0=(0,Vtt.default)("https-proxy-agent"),dpe=o(t=>t.servername===void 0&&t.host&&!O_.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),L_=class extends ztt.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new jtt.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?fpe(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=upe.connect(dpe(this.connectOpts))):(P0("Creating `net.Socket`: %o",this.connectOpts),i=O_.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=O_.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,Vtt.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",ztt),r.secureEndpoint?(P0("Upgrading socket connection to TLS"),lpe.connect({...dpe(upe(r),"host","path","port"),socket:i})):i;i.destroy();let f=new O_.Socket({writable:!1});return f.readable=!0,e.once("socket",h=>{P0("Replaying proxy buffer for failed request"),(0,Utt.default)(h.listenerCount("data")>0),h.push(d),h.push(null)}),f}};L_.protocols=["http","https"];Wo.HttpsProxyAgent=L_;function ztt(t){t.resume()}o(ztt,"resume");function dpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(dpe,"omit")});var gpe=A(Ss=>{"use strict";var jtt=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]})),$tt=Ss&&Ss.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ape=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)&&jtt(e,t,r);return $tt(e,t),e};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.req=Ss.json=Ss.toBuffer=void 0;var Jtt=Ape(require("http")),Wtt=Ape(require("https"));async function mpe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(mpe,"toBuffer");Ss.toBuffer=mpe;async function Ytt(t){let r=(await mpe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Ytt,"json");Ss.json=Ytt;function Ktt(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Wtt:Jtt).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(Ktt,"req");Ss.req=Ktt});var bpe=A(co=>{"use strict";var Epe=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]})),Xtt=co&&co.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Cpe=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)&&Epe(e,t,r);return Xtt(e,t),e},Ztt=co&&co.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Epe(e,t,r)};Object.defineProperty(co,"__esModule",{value:!0});co.Agent=void 0;var ert=Cpe(require("net")),ype=Cpe(require("http")),trt=require("https");Ztt(gpe(),co);var Vc=Symbol("AgentBaseInternalState"),z3=class extends ype.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Vc]={}}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 ert.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))?trt.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 ype.Agent)return c.addRequest(e,i);this[Vc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Vc].currentSocket;if(this[Vc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Vc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Vc]&&(this[Vc].defaultPort=e)}get protocol(){return this[Vc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Vc]&&(this[Vc].protocol=e)}};co.Agent=z3});var Spe=A(Yo=>{"use strict";var rrt=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]})),nrt=Yo&&Yo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ipe=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)&&rrt(e,t,r);return nrt(e,t),e},irt=Yo&&Yo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.HttpProxyAgent=void 0;var srt=Ipe(require("net")),ort=Ipe(require("tls")),art=irt(k_()),crt=require("events"),lrt=bpe(),wpe=require("url"),Rg=(0,art.default)("http-proxy-agent"),F_=class extends lrt.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new wpe.URL(e):e,this.proxyHeaders=r?.headers??{},Rg("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?urt(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 wpe.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;Rg("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Rg("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r +`;let l=(0,$tt.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",Jtt),r.secureEndpoint?(P0("Upgrading socket connection to TLS"),upe.connect({...fpe(dpe(r),"host","path","port"),socket:i})):i;i.destroy();let f=new O_.Socket({writable:!1});return f.readable=!0,e.once("socket",h=>{P0("Replaying proxy buffer for failed request"),(0,Htt.default)(h.listenerCount("data")>0),h.push(d),h.push(null)}),f}};L_.protocols=["http","https"];Wo.HttpsProxyAgent=L_;function Jtt(t){t.resume()}o(Jtt,"resume");function fpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(fpe,"omit")});var ype=A(Ss=>{"use strict";var Wtt=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]})),Ytt=Ss&&Ss.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mpe=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)&&Wtt(e,t,r);return Ytt(e,t),e};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.req=Ss.json=Ss.toBuffer=void 0;var Ktt=mpe(require("http")),Xtt=mpe(require("https"));async function gpe(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(gpe,"toBuffer");Ss.toBuffer=gpe;async function Ztt(t){let r=(await gpe(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Ztt,"json");Ss.json=Ztt;function ert(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Xtt:Ktt).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(ert,"req");Ss.req=ert});var wpe=A(co=>{"use strict";var Cpe=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]})),trt=co&&co.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bpe=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)&&Cpe(e,t,r);return trt(e,t),e},rrt=co&&co.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Cpe(e,t,r)};Object.defineProperty(co,"__esModule",{value:!0});co.Agent=void 0;var nrt=bpe(require("net")),Epe=bpe(require("http")),irt=require("https");rrt(ype(),co);var Vc=Symbol("AgentBaseInternalState"),j3=class extends Epe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Vc]={}}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 nrt.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))?irt.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 Epe.Agent)return c.addRequest(e,i);this[Vc].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Vc].currentSocket;if(this[Vc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Vc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Vc]&&(this[Vc].defaultPort=e)}get protocol(){return this[Vc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Vc]&&(this[Vc].protocol=e)}};co.Agent=j3});var Bpe=A(Yo=>{"use strict";var srt=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]})),ort=Yo&&Yo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Spe=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)&&srt(e,t,r);return ort(e,t),e},art=Yo&&Yo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.HttpProxyAgent=void 0;var crt=Spe(require("net")),lrt=Spe(require("tls")),urt=art(k_()),drt=require("events"),frt=wpe(),Ipe=require("url"),_g=(0,urt.default)("http-proxy-agent"),F_=class extends frt.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new Ipe.URL(e):e,this.proxyHeaders=r?.headers??{},_g("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?hrt(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 Ipe.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;_g("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(_g("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),Rg("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Rg("Creating `tls.Socket`: %o",this.connectOpts),s=ort.connect(this.connectOpts)):(Rg("Creating `net.Socket`: %o",this.connectOpts),s=srt.connect(this.connectOpts)),await(0,crt.once)(s,"connect"),s}};F_.protocols=["http","https"];Yo.HttpProxyAgent=F_;function urt(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(urt,"omit")});var jpe=A(X_=>{"use strict";Object.defineProperty(X_,"__esModule",{value:!0});X_.state=void 0;X_.state={instrumenterImplementation:void 0}});var lAe=A(nR=>{"use strict";Object.defineProperty(nR,"__esModule",{value:!0});nR.state=void 0;nR.state={operationRequestMap:new WeakMap}});var qge=A(Jg=>{"use strict";Object.defineProperty(Jg,"__esModule",{value:!0});var Rat=require("os"),Tat=require("util");function Dat(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Dat,"_interopDefaultLegacy");var Qat=Dat(Tat);function kat(t,...e){process.stderr.write(`${Qat.default.format(t,...e)}${Rat.EOL}`)}o(kat,"log");var Tge=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Qge,IV=[],SV=[],wT=[];Tge&&BV(Tge);var kge=Object.assign(t=>Pge(t),{enable:BV,enabled:xV,disable:Pat,log:kat});function BV(t){Qge=t,IV=[],SV=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?SV.push(new RegExp(`^${n.substr(1)}$`)):IV.push(new RegExp(`^${n}$`));for(let n of wT)n.enabled=xV(n.namespace)}o(BV,"enable");function xV(t){if(t.endsWith("*"))return!0;for(let e of SV)if(e.test(t))return!1;for(let e of IV)if(e.test(t))return!0;return!1}o(xV,"enabled");function Pat(){let t=Qge||"";return BV(""),t}o(Pat,"disable");function Pge(t){let e=Object.assign(r,{enabled:xV(t),destroy:Oat,log:kge.log,namespace:t,extend:Lat});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),wT.push(e),e}o(Pge,"createDebugger");function Oat(){let t=wT.indexOf(this);return t>=0?(wT.splice(t,1),!0):!1}o(Oat,"destroy");function Lat(t){let e=Pge(`${this.namespace}:${t}`);return e.log=this.log,e}o(Lat,"extend");var ww=kge,Oge=new Set,CT=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,IT,ST=ww("azure");ST.log=(...t)=>{ww.log(...t)};var vV=["verbose","info","warning","error"];CT&&(Uge(CT)?Lge(CT):console.error(`AZURE_LOG_LEVEL set to unknown log level '${CT}'; logging is not enabled. Acceptable values: ${vV.join(", ")}.`));function Lge(t){if(t&&!Uge(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${vV.join(",")}`);IT=t;let e=[];for(let r of Oge)Mge(r)&&e.push(r.namespace);ww.enable(e.join(","))}o(Lge,"setLogLevel");function Fat(){return IT}o(Fat,"getLogLevel");var Dge={verbose:400,info:300,warning:200,error:100};function Mat(t){let e=ST.extend(t);return Fge(ST,e),{error:bT(e,"error"),warning:bT(e,"warning"),info:bT(e,"info"),verbose:bT(e,"verbose")}}o(Mat,"createClientLogger");function Fge(t,e){e.log=(...r)=>{t.log(...r)}}o(Fge,"patchLogMethod");function bT(t,e){let r=Object.assign(t.extend(e),{level:e});if(Fge(t,r),Mge(r)){let n=ww.disable();ww.enable(n+","+r.namespace)}return Oge.add(r),r}o(bT,"createLogger");function Mge(t){return!!(IT&&Dge[t.level]<=Dge[IT])}o(Mge,"shouldEnable");function Uge(t){return vV.includes(t)}o(Uge,"isAzureLogLevel");Jg.AzureLogger=ST;Jg.createClientLogger=Mat;Jg.getLogLevel=Fat;Jg.setLogLevel=Lge});var RV=A(Sw=>{"use strict";Object.defineProperty(Sw,"__esModule",{value:!0});var Wg=new WeakMap,BT=new WeakMap,Iw=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Wg.set(this,[]),BT.set(this,!1)}get aborted(){if(!BT.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return BT.get(this)}static get none(){return new t}addEventListener(e,r){if(!Wg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Wg.get(this).push(r)}removeEventListener(e,r){if(!Wg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Wg.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 Gge(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Wg.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),BT.set(t,!0)}o(Gge,"abortSignal");var NV=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},_V=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Iw,!!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(){Gge(this._signal)}static timeout(e){let r=new Iw,n=setTimeout(Gge,e,r);return typeof n.unref=="function"&&n.unref(),r}};Sw.AbortController=_V;Sw.AbortError=NV;Sw.AbortSignal=Iw});var $ge=A(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});var Uat=RV(),LV=require("crypto");function Hge(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new Uat.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(Hge,"createAbortablePromise");var qat="The delay was aborted.";function Gat(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return Hge(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??qat})}o(Gat,"delay");function Hat(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Hat,"getRandomIntegerInclusive");function Vge(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Vge,"isObject");function zge(t){if(Vge(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(zge,"isError");function Vat(t){if(zge(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(Vat,"getErrorMessage");async function zat(t,e,r){let n=Buffer.from(t,"base64");return LV.createHmac("sha256",n).update(e).digest(r)}o(zat,"computeSha256Hmac");async function jat(t,e){return LV.createHash("sha256").update(t).digest(e)}o(jat,"computeSha256Hash");function FV(t){return typeof t<"u"&&t!==null}o(FV,"isDefined");function $at(t,e){if(!FV(t)||typeof t!="object")return!1;for(let r of e)if(!jge(t,r))return!1;return!0}o($at,"isObjectWithProperties");function jge(t,e){return FV(t)&&typeof t=="object"&&e in t}o(jge,"objectHasProperty");function Jat(){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(Jat,"generateUUID");var TV,OV=typeof((TV=globalThis?.crypto)===null||TV===void 0?void 0:TV.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):LV.randomUUID;OV||(OV=Jat);function Wat(){return OV()}o(Wat,"randomUUID");var DV,QV,kV,PV,Yat=typeof window<"u"&&typeof window.document<"u",Kat=typeof self=="object"&&typeof self?.importScripts=="function"&&(((DV=self.constructor)===null||DV===void 0?void 0:DV.name)==="DedicatedWorkerGlobalScope"||((QV=self.constructor)===null||QV===void 0?void 0:QV.name)==="ServiceWorkerGlobalScope"||((kV=self.constructor)===null||kV===void 0?void 0:kV.name)==="SharedWorkerGlobalScope"),Xat=typeof process<"u"&&!!process.version&&!!(!((PV=process.versions)===null||PV===void 0)&&PV.node),Zat=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",ect=typeof Bun<"u"&&typeof Bun.version<"u",tct=typeof navigator<"u"&&navigator?.product==="ReactNative";function rct(t,e){switch(e){case"utf-8":return oct(t);case"base64":return ict(t);case"base64url":return sct(t)}}o(rct,"uint8ArrayToString");function nct(t,e){switch(e){case"utf-8":return act(t);case"base64":return cct(t);case"base64url":return lct(t)}}o(nct,"stringToUint8Array");function ict(t){return Buffer.from(t).toString("base64")}o(ict,"uint8ArrayToBase64");function sct(t){return Buffer.from(t).toString("base64url")}o(sct,"uint8ArrayToBase64Url");function oct(t){return Buffer.from(t).toString("utf-8")}o(oct,"uint8ArrayToUtf8String");function act(t){return Buffer.from(t)}o(act,"utf8StringToUint8Array");function cct(t){return Buffer.from(t,"base64")}o(cct,"base64ToUint8Array");function lct(t){return Buffer.from(t,"base64url")}o(lct,"base64UrlToUint8Array");Mr.computeSha256Hash=jat;Mr.computeSha256Hmac=zat;Mr.createAbortablePromise=Hge;Mr.delay=Gat;Mr.getErrorMessage=Vat;Mr.getRandomIntegerInclusive=Hat;Mr.isBrowser=Yat;Mr.isBun=ect;Mr.isDefined=FV;Mr.isDeno=Zat;Mr.isError=zge;Mr.isNode=Xat;Mr.isObject=Vge;Mr.isObjectWithProperties=$at;Mr.isReactNative=tct;Mr.isWebWorker=Kat;Mr.objectHasProperty=jge;Mr.randomUUID=Wat;Mr.stringToUint8Array=nct;Mr.uint8ArrayToString=rct});var pye=A(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});var uct=qge(),Jge=RV(),dct=$ge(),Tp=uct.createClientLogger("core-lro"),Yge=2e3,Kge=["succeeded","canceled","failed"];function Xge(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(Xge,"deserializeState");function Wge(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(Wge,"setStateError");function fct(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(fct,"appendReadableErrorMessage");function hct(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=fct(e,n.message);return{code:r,message:e}}o(hct,"simplifyError");function Zge(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}=hct(u);d=`. ${h}. ${p}`}let f=`The long-running operation has failed${d}`;r.setError(e,new Error(f)),r.setFailed(e),Tp.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,pct({response:c,state:e,processResult:s}))}o(Zge,"processOperationStatus");function pct(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(pct,"buildResult");async function eye(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};Tp.verbose("LRO: Operation description:",f);let h=r.initState(f),p=i({response:d,state:h,operationLocation:c});return Zge({state:h,status:p,stateProxy:r,response:d,setErrorAsResult:a,processResult:n}),h}o(eye,"initOperation");async function Act(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(Wge({state:r,stateProxy:n,isOperationError:c})),d=s(u,r);if(Tp.verbose(`LRO: Status: +`)+4,e.outputData[0].data=e._header+n.substring(i),_g("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(_g("Creating `tls.Socket`: %o",this.connectOpts),s=lrt.connect(this.connectOpts)):(_g("Creating `net.Socket`: %o",this.connectOpts),s=crt.connect(this.connectOpts)),await(0,drt.once)(s,"connect"),s}};F_.protocols=["http","https"];Yo.HttpProxyAgent=F_;function hrt(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(hrt,"omit")});var $pe=A(X_=>{"use strict";Object.defineProperty(X_,"__esModule",{value:!0});X_.state=void 0;X_.state={instrumenterImplementation:void 0}});var uAe=A(nR=>{"use strict";Object.defineProperty(nR,"__esModule",{value:!0});nR.state=void 0;nR.state={operationRequestMap:new WeakMap}});var Gge=A($g=>{"use strict";Object.defineProperty($g,"__esModule",{value:!0});var Qat=require("os"),kat=require("util");function Pat(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Pat,"_interopDefaultLegacy");var Oat=Pat(kat);function Lat(t,...e){process.stderr.write(`${Oat.default.format(t,...e)}${Qat.EOL}`)}o(Lat,"log");var Dge=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,kge,SV=[],BV=[],wT=[];Dge&&xV(Dge);var Pge=Object.assign(t=>Oge(t),{enable:xV,enabled:vV,disable:Fat,log:Lat});function xV(t){kge=t,SV=[],BV=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?BV.push(new RegExp(`^${n.substr(1)}$`)):SV.push(new RegExp(`^${n}$`));for(let n of wT)n.enabled=vV(n.namespace)}o(xV,"enable");function vV(t){if(t.endsWith("*"))return!0;for(let e of BV)if(e.test(t))return!1;for(let e of SV)if(e.test(t))return!0;return!1}o(vV,"enabled");function Fat(){let t=kge||"";return xV(""),t}o(Fat,"disable");function Oge(t){let e=Object.assign(r,{enabled:vV(t),destroy:Mat,log:Pge.log,namespace:t,extend:Uat});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),wT.push(e),e}o(Oge,"createDebugger");function Mat(){let t=wT.indexOf(this);return t>=0?(wT.splice(t,1),!0):!1}o(Mat,"destroy");function Uat(t){let e=Oge(`${this.namespace}:${t}`);return e.log=this.log,e}o(Uat,"extend");var ww=Pge,Lge=new Set,CT=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,IT,ST=ww("azure");ST.log=(...t)=>{ww.log(...t)};var NV=["verbose","info","warning","error"];CT&&(qge(CT)?Fge(CT):console.error(`AZURE_LOG_LEVEL set to unknown log level '${CT}'; logging is not enabled. Acceptable values: ${NV.join(", ")}.`));function Fge(t){if(t&&!qge(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${NV.join(",")}`);IT=t;let e=[];for(let r of Lge)Uge(r)&&e.push(r.namespace);ww.enable(e.join(","))}o(Fge,"setLogLevel");function qat(){return IT}o(qat,"getLogLevel");var Qge={verbose:400,info:300,warning:200,error:100};function Gat(t){let e=ST.extend(t);return Mge(ST,e),{error:bT(e,"error"),warning:bT(e,"warning"),info:bT(e,"info"),verbose:bT(e,"verbose")}}o(Gat,"createClientLogger");function Mge(t,e){e.log=(...r)=>{t.log(...r)}}o(Mge,"patchLogMethod");function bT(t,e){let r=Object.assign(t.extend(e),{level:e});if(Mge(t,r),Uge(r)){let n=ww.disable();ww.enable(n+","+r.namespace)}return Lge.add(r),r}o(bT,"createLogger");function Uge(t){return!!(IT&&Qge[t.level]<=Qge[IT])}o(Uge,"shouldEnable");function qge(t){return NV.includes(t)}o(qge,"isAzureLogLevel");$g.AzureLogger=ST;$g.createClientLogger=Gat;$g.getLogLevel=qat;$g.setLogLevel=Fge});var TV=A(Sw=>{"use strict";Object.defineProperty(Sw,"__esModule",{value:!0});var Jg=new WeakMap,BT=new WeakMap,Iw=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Jg.set(this,[]),BT.set(this,!1)}get aborted(){if(!BT.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return BT.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 Hge(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"})}),BT.set(t,!0)}o(Hge,"abortSignal");var _V=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},RV=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Iw,!!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(){Hge(this._signal)}static timeout(e){let r=new Iw,n=setTimeout(Hge,e,r);return typeof n.unref=="function"&&n.unref(),r}};Sw.AbortController=RV;Sw.AbortError=_V;Sw.AbortSignal=Iw});var Jge=A(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});var Hat=TV(),FV=require("crypto");function Vge(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new Hat.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(Vge,"createAbortablePromise");var Vat="The delay was aborted.";function zat(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return Vge(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??Vat})}o(zat,"delay");function jat(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(jat,"getRandomIntegerInclusive");function zge(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(zge,"isObject");function jge(t){if(zge(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(jge,"isError");function $at(t){if(jge(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($at,"getErrorMessage");async function Jat(t,e,r){let n=Buffer.from(t,"base64");return FV.createHmac("sha256",n).update(e).digest(r)}o(Jat,"computeSha256Hmac");async function Wat(t,e){return FV.createHash("sha256").update(t).digest(e)}o(Wat,"computeSha256Hash");function MV(t){return typeof t<"u"&&t!==null}o(MV,"isDefined");function Yat(t,e){if(!MV(t)||typeof t!="object")return!1;for(let r of e)if(!$ge(t,r))return!1;return!0}o(Yat,"isObjectWithProperties");function $ge(t,e){return MV(t)&&typeof t=="object"&&e in t}o($ge,"objectHasProperty");function Kat(){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(Kat,"generateUUID");var DV,LV=typeof((DV=globalThis?.crypto)===null||DV===void 0?void 0:DV.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):FV.randomUUID;LV||(LV=Kat);function Xat(){return LV()}o(Xat,"randomUUID");var QV,kV,PV,OV,Zat=typeof window<"u"&&typeof window.document<"u",ect=typeof self=="object"&&typeof self?.importScripts=="function"&&(((QV=self.constructor)===null||QV===void 0?void 0:QV.name)==="DedicatedWorkerGlobalScope"||((kV=self.constructor)===null||kV===void 0?void 0:kV.name)==="ServiceWorkerGlobalScope"||((PV=self.constructor)===null||PV===void 0?void 0:PV.name)==="SharedWorkerGlobalScope"),tct=typeof process<"u"&&!!process.version&&!!(!((OV=process.versions)===null||OV===void 0)&&OV.node),rct=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",nct=typeof Bun<"u"&&typeof Bun.version<"u",ict=typeof navigator<"u"&&navigator?.product==="ReactNative";function sct(t,e){switch(e){case"utf-8":return lct(t);case"base64":return act(t);case"base64url":return cct(t)}}o(sct,"uint8ArrayToString");function oct(t,e){switch(e){case"utf-8":return uct(t);case"base64":return dct(t);case"base64url":return fct(t)}}o(oct,"stringToUint8Array");function act(t){return Buffer.from(t).toString("base64")}o(act,"uint8ArrayToBase64");function cct(t){return Buffer.from(t).toString("base64url")}o(cct,"uint8ArrayToBase64Url");function lct(t){return Buffer.from(t).toString("utf-8")}o(lct,"uint8ArrayToUtf8String");function uct(t){return Buffer.from(t)}o(uct,"utf8StringToUint8Array");function dct(t){return Buffer.from(t,"base64")}o(dct,"base64ToUint8Array");function fct(t){return Buffer.from(t,"base64url")}o(fct,"base64UrlToUint8Array");Mr.computeSha256Hash=Wat;Mr.computeSha256Hmac=Jat;Mr.createAbortablePromise=Vge;Mr.delay=zat;Mr.getErrorMessage=$at;Mr.getRandomIntegerInclusive=jat;Mr.isBrowser=Zat;Mr.isBun=nct;Mr.isDefined=MV;Mr.isDeno=rct;Mr.isError=jge;Mr.isNode=tct;Mr.isObject=zge;Mr.isObjectWithProperties=Yat;Mr.isReactNative=ict;Mr.isWebWorker=ect;Mr.objectHasProperty=$ge;Mr.randomUUID=Xat;Mr.stringToUint8Array=oct;Mr.uint8ArrayToString=sct});var Aye=A(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});var hct=Gge(),Wge=TV(),pct=Jge(),Tp=hct.createClientLogger("core-lro"),Kge=2e3,Xge=["succeeded","canceled","failed"];function Zge(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(Zge,"deserializeState");function Yge(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(Yge,"setStateError");function Act(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Act,"appendReadableErrorMessage");function mct(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=Act(e,n.message);return{code:r,message:e}}o(mct,"simplifyError");function eye(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}=mct(u);d=`. ${h}. ${p}`}let f=`The long-running operation has failed${d}`;r.setError(e,new Error(f)),r.setFailed(e),Tp.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,gct({response:c,state:e,processResult:s}))}o(eye,"processOperationStatus");function gct(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(gct,"buildResult");async function tye(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};Tp.verbose("LRO: Operation description:",f);let h=r.initState(f),p=i({response:d,state:h,operationLocation:c});return eye({state:h,status:p,stateProxy:r,response:d,setErrorAsResult:a,processResult:n}),h}o(tye,"initOperation");async function yct(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(Yge({state:r,stateProxy:n,isOperationError:c})),d=s(u,r);if(Tp.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${d} - Polling status: ${Kge.includes(d)?"Stopped":"Running"}`),d==="succeeded"){let f=a(u,r);if(f!==void 0)return{response:await e(f).catch(Wge({state:r,stateProxy:n,isOperationError:c})),status:d}}return{response:u,status:d}}o(Act,"pollOperationHelper");async function tye(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:m,isDone:g,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:w}=await Act({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:i});if(Zge({status:w,response:C,state:r,stateProxy:n,isDone:g,processResult:f,getError:h,setErrorAsResult:E}),!Kge.includes(w)){let B=d?.(C);B&&m(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(tye,"pollOperation");function rye(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(rye,"getOperationLocationPollingUrl");function nye(t){return t.headers.location}o(nye,"getLocationHeader");function iye(t){return t.headers["operation-location"]}o(iye,"getOperationLocationHeader");function sye(t){return t.headers["azure-asyncoperation"]}o(sye,"getAzureAsyncOperationHeader");function mct(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(mct,"findResourceLocation");function oye(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=iye(e),a=sye(e),c=rye({operationLocation:s,azureAsyncOperation:a}),l=nye(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:mct({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(oye,"inferLroMode");function aye(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 qV(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 Tp.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(aye,"transformStatus");function gct(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return aye({status:r,statusCode:t.statusCode})}o(gct,"getStatus");function yct(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 aye({status:s,statusCode:t.statusCode})}o(yct,"getProvisioningState");function qV(t){return t===202?"running":t<300?"succeeded":"failed"}o(qV,"toOperationStatus");function cye({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Ect(new Date(e)):r*1e3}}o(cye,"parseRetryAfter");function lye(t){let e=t.flatResponse.error;if(!e){Tp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Tp.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(lye,"getErrorFromResponse");function Ect(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=oye({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:uye,setErrorAsResult:s})}o(Cct,"initHttpOperation");function dye({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return rye({operationLocation:iye(t),azureAsyncOperation:sye(t)});case"ResourceLocation":return nye(t);default:return}}o(dye,"getOperationLocation");function GV({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 qV(t.statusCode);case"Body":return yct(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(GV,"getOperationStatus");function fye({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(fye,"getResourceLocation");function hye(t){return t.name==="RestError"}o(hye,"isOperationError");async function bct(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return tye({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:u},d)=>i(u,d):({flatResponse:u})=>u,getError:lye,updateState:s,getPollingInterval:cye,getOperationLocation:dye,getOperationStatus:GV,isOperationError:hye,getResourceLocation:fye,options:n,poll:o(async(u,d)=>e.sendPollRequest(u,d),"poll"),setErrorAsResult:l})}o(bct,"pollHttpOperation");var wct=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 Ict(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:m,intervalInMs:g=Yge,restoreFrom:E}=f||{},y=wct(),C=m?(()=>{let V=!1;return(W,ee)=>{ee?m(W):V||m(W),V=!0}})():void 0,w=E?Xge(E):await eye({init:u,stateProxy:y,processResult:h,getOperationStatus:r,withOperationLocation:C,setErrorAsResult:!l}),B,Q=new Jge.AbortController,M=new Map,v=o(async()=>M.forEach(V=>V(w)),"handleProgressEvents"),j="Operation was canceled",T=g,G={getOperationState:o(()=>w,"getOperationState"),getResult:o(()=>w.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(w.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{Q.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:w}),"toString"),onProgress:o(V=>{let W=Symbol();return M.set(W,V),()=>M.delete(W)},"onProgress"),pollUntilDone:o(V=>B??(B=(async()=>{let{abortSignal:W}=V||{},{signal:ee}=W?new Jge.AbortController([W,Q.signal]):Q;if(!G.isDone())for(await G.poll({abortSignal:ee});!G.isDone();)await dct.delay(T,{abortSignal:ee}),await G.poll({abortSignal:ee});if(l)return G.getResult();switch(w.status){case"succeeded":return G.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(()=>{B=void 0})),"pollUntilDone"),async poll(V){if(l){if(G.isDone())return}else switch(w.status){case"succeeded":return;case"canceled":throw new Error(j);case"failed":throw w.error}if(await tye({poll:d,state:w,stateProxy:y,getOperationLocation:e,isOperationError:i,withOperationLocation:C,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:h,getError:c,updateState:p,options:V,setDelay:o(W=>{T=W},"setDelay"),setErrorAsResult:!l}),await v(),!l)switch(w.status){case"canceled":throw new Error(j);case"failed":throw w.error}}};return G}}o(Ict,"buildCreatePoller");async function Sct(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Ict({getStatusFromInitialResponse:uye,getStatusFromPollResponse:GV,isOperationError:hye,getOperationLocation:dye,getResourceLocation:fye,getPollingInterval:cye,getError:lye,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),d=oye({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(Sct,"createHttpPoller");var Bct=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"),MV=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=Bct();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Cct({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 bct({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 Tp.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},xT=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},vT=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 vT("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 xT("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()}},UV=class extends NT{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=Yge,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},d=i?Xge(i):{},f=new MV(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))}};Dp.LroEngine=UV;Dp.Poller=NT;Dp.PollerCancelledError=vT;Dp.PollerStoppedError=xT;Dp.createHttpPoller=Sct});var Qye=A((pmr,jct)=>{jct.exports={name:"@actions/cache",version:"6.1.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 Pye=A((Amr,kye)=>{var $ct=Qye();kye.exports={version:$ct.version}});var qT=A(ey=>{"use strict";Object.defineProperty(ey,"__esModule",{value:!0});ey.isJsonObject=ey.typeofJsonValue=void 0;function tlt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(tlt,"typeofJsonValue");ey.typeofJsonValue=tlt;function rlt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(rlt,"isJsonObject");ey.isJsonObject=rlt});var HT=A(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.base64encode=ty.base64decode=void 0;var Ju="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(nlt,"base64decode");ty.base64decode=nlt;function ilt(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(ilt,"base64encode");ty.base64encode=ilt});var qye=A(VT=>{"use strict";Object.defineProperty(VT,"__esModule",{value:!0});VT.utf8read=void 0;var XV=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function slt(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(XV(n)),i=0);return r.length?(i&&r.push(XV(n.slice(0,i))),r.join("")):XV(n.slice(0,i))}o(slt,"utf8read");VT.utf8read=slt});var Dw=A(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.WireType=ml.mergeBinaryOptions=ml.UnknownFieldHandler=void 0;var olt;(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")})(olt=ml.UnknownFieldHandler||(ml.UnknownFieldHandler={}));function alt(t,e){return Object.assign(Object.assign({},t),e)}o(alt,"mergeBinaryOptions");ml.mergeBinaryOptions=alt;var clt;(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"})(clt=ml.WireType||(ml.WireType={}))});var jT=A(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.varint32read=Ts.varint32write=Ts.int64toString=Ts.int64fromString=Ts.varint64write=Ts.varint64read=void 0;function llt(){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(ult,"varint64write");Ts.varint64write=ult;var zT=65536*65536;function dlt(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>=zT&&(i=i+(n/zT|0),n=n%zT)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(dlt,"int64fromString");Ts.int64fromString=dlt;function flt(t,e){if(e>>>0<=2097151)return""+(zT*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(flt,"int64toString");Ts.int64toString=flt;function hlt(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(hlt,"varint32write");Ts.varint32write=hlt;function plt(){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(plt,"varint32read");Ts.varint32read=plt});var If=A(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.PbLong=wf.PbULong=wf.detectBi=void 0;var Qw=jT(),$t;function Gye(){let t=new DataView(new ArrayBuffer(8));$t=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(Gye,"detectBi");wf.detectBi=Gye;Gye();function Hye(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(Hye,"assertBi");var Vye=/^-?[0-9]+$/,JT=4294967296,$T=2147483648,WT=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*JT+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},kw=class t extends WT{static{o(this,"PbULong")}static from(e){if($t)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=$t.C(e);case"number":if(e===0)return this.ZERO;e=$t.C(e);case"bigint":if(!e)return this.ZERO;if(e<$t.UMIN)throw new Error("signed value for ulong");if(e>$t.UMAX)throw new Error("ulong too large");return $t.V.setBigUint64(0,e,!0),new t($t.V.getInt32(0,!0),$t.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Vye.test(e))throw new Error("string is no integer");let[r,n,i]=Qw.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/JT)}throw new Error("unknown value "+typeof e)}toString(){return $t?this.toBigInt().toString():Qw.int64toString(this.lo,this.hi)}toBigInt(){return Hye($t),$t.V.setInt32(0,this.lo,!0),$t.V.setInt32(4,this.hi,!0),$t.V.getBigUint64(0,!0)}};wf.PbULong=kw;kw.ZERO=new kw(0,0);var Pw=class t extends WT{static{o(this,"PbLong")}static from(e){if($t)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=$t.C(e);case"number":if(e===0)return this.ZERO;e=$t.C(e);case"bigint":if(!e)return this.ZERO;if(e<$t.MIN)throw new Error("signed long too small");if(e>$t.MAX)throw new Error("signed long too large");return $t.V.setBigInt64(0,e,!0),new t($t.V.getInt32(0,!0),$t.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Vye.test(e))throw new Error("string is no integer");let[r,n,i]=Qw.int64fromString(e);if(r){if(i>$T||i==$T&&n!=0)throw new Error("signed long too small")}else if(i>=$T)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/JT):new t(-e,-e/JT).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&$T)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if($t)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Qw.int64toString(e.lo,e.hi)}return Qw.int64toString(this.lo,this.hi)}toBigInt(){return Hye($t),$t.V.setInt32(0,this.lo,!0),$t.V.setInt32(4,this.hi,!0),$t.V.getBigInt64(0,!0)}};wf.PbLong=Pw;Pw.ZERO=new Pw(0,0)});var ZV=A(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});ny.BinaryReader=ny.binaryReadOptions=void 0;var ry=Dw(),Ow=If(),zye=jT(),jye={readUnknownField:!0,readerFactory:o(t=>new YT(t),"readerFactory")};function Alt(t){return t?Object.assign(Object.assign({},jye),t):jye}o(Alt,"binaryReadOptions");ny.binaryReadOptions=Alt;var YT=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=zye.varint64read,this.uint32=zye.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 Ow.PbLong(...this.varint64())}uint64(){return new Ow.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 Ow.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 Ow.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Ow.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=YT});var iy=A(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.assertFloat32=na.assertUInt32=na.assertInt32=na.assertNever=na.assert=void 0;function mlt(t,e){if(!t)throw new Error(e)}o(mlt,"assert");na.assert=mlt;function glt(t,e){throw new Error(e??"Unexpected object: "+t)}o(glt,"assertNever");na.assertNever=glt;var ylt=34028234663852886e22,Elt=-34028234663852886e22,Clt=4294967295,blt=2147483647,wlt=-2147483648;function Ilt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>blt||tClt||t<0)throw new Error("invalid uint 32: "+t)}o(Slt,"assertUInt32");na.assertUInt32=Slt;function Blt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>ylt||t{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});oy.BinaryWriter=oy.binaryWriteOptions=void 0;var Lw=If(),Fw=jT(),sy=iy(),$ye={writeUnknownFields:!0,writerFactory:o(()=>new KT,"writerFactory")};function xlt(t){return t?Object.assign(Object.assign({},$ye),t):$ye}o(xlt,"binaryWriteOptions");oy.binaryWriteOptions=xlt;var KT=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),Fw.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,Fw.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Lw.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=Lw.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Lw.PbLong.from(e);return Fw.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Lw.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return Fw.varint64write(i,s,this.buf),this}uint64(e){let r=Lw.PbULong.from(e);return Fw.varint64write(r.lo,r.hi,this.buf),this}};oy.BinaryWriter=KT});var tz=A(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.mergeJsonOptions=Sf.jsonWriteOptions=Sf.jsonReadOptions=void 0;var Jye={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},Wye={ignoreUnknownFields:!1};function vlt(t){return t?Object.assign(Object.assign({},Wye),t):Wye}o(vlt,"jsonReadOptions");Sf.jsonReadOptions=vlt;function Nlt(t){return t?Object.assign(Object.assign({},Jye),t):Jye}o(Nlt,"jsonWriteOptions");Sf.jsonWriteOptions=Nlt;function _lt(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(_lt,"mergeJsonOptions");Sf.mergeJsonOptions=_lt});var Mw=A(XT=>{"use strict";Object.defineProperty(XT,"__esModule",{value:!0});XT.MESSAGE_TYPE=void 0;XT.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var rz=A(ZT=>{"use strict";Object.defineProperty(ZT,"__esModule",{value:!0});ZT.lowerCamelCase=void 0;function Rlt(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 Yye=rz(),Tlt;(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"})(Tlt=Rn.ScalarType||(Rn.ScalarType={}));var Dlt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(Dlt=Rn.LongType||(Rn.LongType={}));var Kye;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(Kye=Rn.RepeatType||(Rn.RepeatType={}));function Qlt(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:Yye.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:Yye.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:Kye.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(Qlt,"normalizeFieldInfo");Rn.normalizeFieldInfo=Qlt;function klt(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(klt,"readFieldOptions");Rn.readFieldOptions=klt;function Plt(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(Plt,"readFieldOption");Rn.readFieldOption=Plt;function Olt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(Olt,"readMessageOption");Rn.readMessageOption=Olt});var nz=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 Llt(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(Llt,"isOneofGroup");Ds.isOneofGroup=Llt;function Flt(t,e){return t[e]}o(Flt,"getOneofValue");Ds.getOneofValue=Flt;function Mlt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(Mlt,"setOneofValue");Ds.setOneofValue=Mlt;function Ult(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(Ult,"setUnknownOneofValue");Ds.setUnknownOneofValue=Ult;function qlt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(qlt,"clearOneofValue");Ds.clearOneofValue=qlt;function Glt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(Glt,"getSelectedOneofValue");Ds.getSelectedOneofValue=Glt});var sz=A(e2=>{"use strict";Object.defineProperty(e2,"__esModule",{value:!0});e2.ReflectionTypeCheck=void 0;var Ur=nc(),Hlt=nz(),iz=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(!Hlt.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,Ur.ScalarType.INT32,i):this.scalar(e,Ur.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),Ur.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 Ur.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,Ur.LongType.STRING)}}};e2.ReflectionTypeCheck=iz});var r2=A(t2=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});t2.reflectionLongConvert=void 0;var Xye=nc();function Vlt(t,e){switch(e){case Xye.LongType.BIGINT:return t.toBigInt();case Xye.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(Vlt,"reflectionLongConvert");t2.reflectionLongConvert=Vlt});var az=A(s2=>{"use strict";Object.defineProperty(s2,"__esModule",{value:!0});s2.ReflectionJsonReader=void 0;var Zye=qT(),zlt=HT(),Tn=nc(),n2=If(),kp=iy(),i2=r2(),oz=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=Zye.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(Zye.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 m=f;c.K==Tn.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,c.K,Tn.LongType.STRING,c.name).toString(),d[m]=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"&&kp.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 kp.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:(kp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}kp.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 Tn.ScalarType.DOUBLE:case Tn.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==Tn.ScalarType.FLOAT&&kp.assertFloat32(a),a;case Tn.ScalarType.INT32:case Tn.ScalarType.FIXED32:case Tn.ScalarType.SFIXED32:case Tn.ScalarType.SINT32:case Tn.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==Tn.ScalarType.UINT32?kp.assertUInt32(c):kp.assertInt32(c),c;case Tn.ScalarType.INT64:case Tn.ScalarType.SFIXED64:case Tn.ScalarType.SINT64:if(e===null)return i2.reflectionLongConvert(n2.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return i2.reflectionLongConvert(n2.PbLong.from(e),n);case Tn.ScalarType.FIXED64:case Tn.ScalarType.UINT64:if(e===null)return i2.reflectionLongConvert(n2.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return i2.reflectionLongConvert(n2.PbULong.from(e),n);case Tn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Tn.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 Tn.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return zlt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};s2.ReflectionJsonReader=oz});var lz=A(o2=>{"use strict";Object.defineProperty(o2,"__esModule",{value:!0});o2.ReflectionJsonWriter=void 0;var jlt=HT(),eEe=If(),Zi=nc(),Cr=iy(),cz=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);Cr.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){Cr.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);Cr.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);Cr.assert(d!==void 0),s[l.toString()]=d}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Cr.assert(u===void 0||typeof u=="number");let d=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);Cr.assert(d!==void 0),s[l.toString()]=d}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){Cr.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){Cr.assert(i);return}if(!(r===0&&!s&&!i))return Cr.assert(typeof r=="number"),Cr.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){Cr.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:(Cr.assertInt32(r),r);case Zi.ScalarType.FIXED32:case Zi.ScalarType.UINT32:return r===0?a?0:void 0:(Cr.assertUInt32(r),r);case Zi.ScalarType.FLOAT:Cr.assertFloat32(r);case Zi.ScalarType.DOUBLE:return r===0?a?0:void 0:(Cr.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:(Cr.assert(typeof r=="string"),r);case Zi.ScalarType.BOOL:return r===!1?a?!1:void 0:(Cr.assert(typeof r=="boolean"),r);case Zi.ScalarType.UINT64:case Zi.ScalarType.FIXED64:Cr.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=eEe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Zi.ScalarType.INT64:case Zi.ScalarType.SFIXED64:case Zi.ScalarType.SINT64:Cr.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=eEe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Zi.ScalarType.BYTES:return Cr.assert(r instanceof Uint8Array),r.byteLength?jlt.base64encode(r):a?"":void 0}}};o2.ReflectionJsonWriter=cz});var c2=A(a2=>{"use strict";Object.defineProperty(a2,"__esModule",{value:!0});a2.reflectionScalarDefault=void 0;var ic=nc(),tEe=r2(),rEe=If();function $lt(t,e=ic.LongType.STRING){switch(t){case ic.ScalarType.BOOL:return!1;case ic.ScalarType.UINT64:case ic.ScalarType.FIXED64:return tEe.reflectionLongConvert(rEe.PbULong.ZERO,e);case ic.ScalarType.INT64:case ic.ScalarType.SFIXED64:case ic.ScalarType.SINT64:return tEe.reflectionLongConvert(rEe.PbLong.ZERO,e);case ic.ScalarType.DOUBLE:case ic.ScalarType.FLOAT:return 0;case ic.ScalarType.BYTES:return new Uint8Array(0);case ic.ScalarType.STRING:return"";default:return 0}}o($lt,"reflectionScalarDefault");a2.reflectionScalarDefault=$lt});var dz=A(l2=>{"use strict";Object.defineProperty(l2,"__esModule",{value:!0});l2.ReflectionBinaryReader=void 0;var nEe=Dw(),tn=nc(),Uw=r2(),iEe=c2(),uz=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(u2,"__esModule",{value:!0});u2.ReflectionBinaryWriter=void 0;var Ao=Dw(),Zt=nc(),ay=iy(),qw=If(),fz=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"?Zt.ScalarType.INT32:s.T;if(l)if(ay.assert(Array.isArray(a)),l==Zt.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?Ao.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Ao.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Zt.ScalarType.INT32:case Zt.ScalarType.FIXED32:case Zt.ScalarType.UINT32:case Zt.ScalarType.SFIXED32:case Zt.ScalarType.SINT32:a=Number.parseInt(i);break;case Zt.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,Zt.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,Ao.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!==Zt.ScalarType.BYTES&&r!==Zt.ScalarType.STRING),e.tag(n,Ao.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(d2,"__esModule",{value:!0});d2.reflectionCreate=void 0;var Jlt=c2(),Wlt=Mw();function Ylt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},Wlt.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]=Jlt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(Ylt,"reflectionCreate");d2.reflectionCreate=Ylt});var Az=A(f2=>{"use strict";Object.defineProperty(f2,"__esModule",{value:!0});f2.reflectionMergePartial=void 0;function Klt(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(p2,"__esModule",{value:!0});p2.reflectionEquals=void 0;var mz=nc();function Xlt(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"?mz.ScalarType.INT32:n.T;if(!(n.repeat?sEe(c,s,a):aEe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?oEe(n.V.T(),h2(s),h2(a)):sEe(n.V.kind=="enum"?mz.ScalarType.INT32:n.V.T,h2(s),h2(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?oEe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(Xlt,"reflectionEquals");p2.reflectionEquals=Xlt;var h2=Object.values;function aEe(t,e,r){if(e===r)return!0;if(t!==mz.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(A2,"__esModule",{value:!0});A2.MessageType=void 0;var Zlt=Mw(),eut=nc(),tut=sz(),rut=az(),nut=lz(),iut=dz(),sut=hz(),out=pz(),yz=Az(),aut=qT(),cEe=tz(),cut=gz(),lut=ez(),uut=ZV(),lEe=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),dut=lEe[Zlt.MESSAGE_TYPE]={},Ez=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(eut.normalizeFieldInfo),this.options=n??{},dut.value=this,this.messagePrototype=Object.create(null,lEe),this.refTypeCheck=new tut.ReflectionTypeCheck(this),this.refJsonReader=new rut.ReflectionJsonReader(this),this.refJsonWriter=new nut.ReflectionJsonWriter(this),this.refBinReader=new iut.ReflectionBinaryReader(this),this.refBinWriter=new sut.ReflectionBinaryWriter(this)}create(e){let r=out.reflectionCreate(this);return e!==void 0&&yz.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return yz.reflectionMergePartial(this,r,e),r}equals(e,r){return cut.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){yz.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=uut.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,cEe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,cEe.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=lut.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 ${aut.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}};A2.MessageType=Ez});var dEe=A(m2=>{"use strict";Object.defineProperty(m2,"__esModule",{value:!0});m2.containsMessageType=void 0;var fut=Mw();function hut(t){return t[fut.MESSAGE_TYPE]!=null}o(hut,"containsMessageType");m2.containsMessageType=hut});var hEe=A(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.listEnumNumbers=gl.listEnumNames=gl.listEnumValues=gl.isEnumObject=void 0;function fEe(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(fEe,"isEnumObject");gl.isEnumObject=fEe;function Cz(t){if(!fEe(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(Cz,"listEnumValues");gl.listEnumValues=Cz;function put(t){return Cz(t).map(e=>e.name)}o(put,"listEnumNames");gl.listEnumNames=put;function Aut(t){return Cz(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(Aut,"listEnumNumbers");gl.listEnumNumbers=Aut});var rn=A(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});var pEe=qT();Object.defineProperty(Te,"typeofJsonValue",{enumerable:!0,get:o(function(){return pEe.typeofJsonValue},"get")});Object.defineProperty(Te,"isJsonObject",{enumerable:!0,get:o(function(){return pEe.isJsonObject},"get")});var AEe=HT();Object.defineProperty(Te,"base64decode",{enumerable:!0,get:o(function(){return AEe.base64decode},"get")});Object.defineProperty(Te,"base64encode",{enumerable:!0,get:o(function(){return AEe.base64encode},"get")});var mut=qye();Object.defineProperty(Te,"utf8read",{enumerable:!0,get:o(function(){return mut.utf8read},"get")});var bz=Dw();Object.defineProperty(Te,"WireType",{enumerable:!0,get:o(function(){return bz.WireType},"get")});Object.defineProperty(Te,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return bz.mergeBinaryOptions},"get")});Object.defineProperty(Te,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return bz.UnknownFieldHandler},"get")});var mEe=ZV();Object.defineProperty(Te,"BinaryReader",{enumerable:!0,get:o(function(){return mEe.BinaryReader},"get")});Object.defineProperty(Te,"binaryReadOptions",{enumerable:!0,get:o(function(){return mEe.binaryReadOptions},"get")});var gEe=ez();Object.defineProperty(Te,"BinaryWriter",{enumerable:!0,get:o(function(){return gEe.BinaryWriter},"get")});Object.defineProperty(Te,"binaryWriteOptions",{enumerable:!0,get:o(function(){return gEe.binaryWriteOptions},"get")});var yEe=If();Object.defineProperty(Te,"PbLong",{enumerable:!0,get:o(function(){return yEe.PbLong},"get")});Object.defineProperty(Te,"PbULong",{enumerable:!0,get:o(function(){return yEe.PbULong},"get")});var wz=tz();Object.defineProperty(Te,"jsonReadOptions",{enumerable:!0,get:o(function(){return wz.jsonReadOptions},"get")});Object.defineProperty(Te,"jsonWriteOptions",{enumerable:!0,get:o(function(){return wz.jsonWriteOptions},"get")});Object.defineProperty(Te,"mergeJsonOptions",{enumerable:!0,get:o(function(){return wz.mergeJsonOptions},"get")});var gut=Mw();Object.defineProperty(Te,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return gut.MESSAGE_TYPE},"get")});var yut=uEe();Object.defineProperty(Te,"MessageType",{enumerable:!0,get:o(function(){return yut.MessageType},"get")});var Pp=nc();Object.defineProperty(Te,"ScalarType",{enumerable:!0,get:o(function(){return Pp.ScalarType},"get")});Object.defineProperty(Te,"LongType",{enumerable:!0,get:o(function(){return Pp.LongType},"get")});Object.defineProperty(Te,"RepeatType",{enumerable:!0,get:o(function(){return Pp.RepeatType},"get")});Object.defineProperty(Te,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Pp.normalizeFieldInfo},"get")});Object.defineProperty(Te,"readFieldOptions",{enumerable:!0,get:o(function(){return Pp.readFieldOptions},"get")});Object.defineProperty(Te,"readFieldOption",{enumerable:!0,get:o(function(){return Pp.readFieldOption},"get")});Object.defineProperty(Te,"readMessageOption",{enumerable:!0,get:o(function(){return Pp.readMessageOption},"get")});var Eut=sz();Object.defineProperty(Te,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return Eut.ReflectionTypeCheck},"get")});var Cut=pz();Object.defineProperty(Te,"reflectionCreate",{enumerable:!0,get:o(function(){return Cut.reflectionCreate},"get")});var but=c2();Object.defineProperty(Te,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return but.reflectionScalarDefault},"get")});var wut=Az();Object.defineProperty(Te,"reflectionMergePartial",{enumerable:!0,get:o(function(){return wut.reflectionMergePartial},"get")});var Iut=gz();Object.defineProperty(Te,"reflectionEquals",{enumerable:!0,get:o(function(){return Iut.reflectionEquals},"get")});var Sut=dz();Object.defineProperty(Te,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return Sut.ReflectionBinaryReader},"get")});var But=hz();Object.defineProperty(Te,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return But.ReflectionBinaryWriter},"get")});var xut=az();Object.defineProperty(Te,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return xut.ReflectionJsonReader},"get")});var vut=lz();Object.defineProperty(Te,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return vut.ReflectionJsonWriter},"get")});var Nut=dEe();Object.defineProperty(Te,"containsMessageType",{enumerable:!0,get:o(function(){return Nut.containsMessageType},"get")});var Gw=nz();Object.defineProperty(Te,"isOneofGroup",{enumerable:!0,get:o(function(){return Gw.isOneofGroup},"get")});Object.defineProperty(Te,"setOneofValue",{enumerable:!0,get:o(function(){return Gw.setOneofValue},"get")});Object.defineProperty(Te,"getOneofValue",{enumerable:!0,get:o(function(){return Gw.getOneofValue},"get")});Object.defineProperty(Te,"clearOneofValue",{enumerable:!0,get:o(function(){return Gw.clearOneofValue},"get")});Object.defineProperty(Te,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Gw.getSelectedOneofValue},"get")});var g2=hEe();Object.defineProperty(Te,"listEnumValues",{enumerable:!0,get:o(function(){return g2.listEnumValues},"get")});Object.defineProperty(Te,"listEnumNames",{enumerable:!0,get:o(function(){return g2.listEnumNames},"get")});Object.defineProperty(Te,"listEnumNumbers",{enumerable:!0,get:o(function(){return g2.listEnumNumbers},"get")});Object.defineProperty(Te,"isEnumObject",{enumerable:!0,get:o(function(){return g2.isEnumObject},"get")});var _ut=rz();Object.defineProperty(Te,"lowerCamelCase",{enumerable:!0,get:o(function(){return _ut.lowerCamelCase},"get")});var Hw=iy();Object.defineProperty(Te,"assert",{enumerable:!0,get:o(function(){return Hw.assert},"get")});Object.defineProperty(Te,"assertNever",{enumerable:!0,get:o(function(){return Hw.assertNever},"get")});Object.defineProperty(Te,"assertInt32",{enumerable:!0,get:o(function(){return Hw.assertInt32},"get")});Object.defineProperty(Te,"assertUInt32",{enumerable:!0,get:o(function(){return Hw.assertUInt32},"get")});Object.defineProperty(Te,"assertFloat32",{enumerable:!0,get:o(function(){return Hw.assertFloat32},"get")})});var Iz=A(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.readServiceOption=yl.readMethodOption=yl.readMethodOptions=yl.normalizeMethodInfo=void 0;var Rut=rn();function Tut(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:Rut.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(Tut,"normalizeMethodInfo");yl.normalizeMethodInfo=Tut;function Dut(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(Dut,"readMethodOptions");yl.readMethodOptions=Dut;function Qut(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(Qut,"readMethodOption");yl.readMethodOption=Qut;function kut(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(kut,"readServiceOption");yl.readServiceOption=kut});var EEe=A(y2=>{"use strict";Object.defineProperty(y2,"__esModule",{value:!0});y2.ServiceType=void 0;var Put=Iz(),Sz=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>Put.normalizeMethodInfo(i,this)),this.options=n??{}}};y2.ServiceType=Sz});var xz=A(E2=>{"use strict";Object.defineProperty(E2,"__esModule",{value:!0});E2.RpcError=void 0;var Bz=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(` -`)}};E2.RpcError=Bz});var vz=A(b2=>{"use strict";Object.defineProperty(b2,"__esModule",{value:!0});b2.mergeRpcOptions=void 0;var CEe=rn();function Out(t,e){if(!e)return t;let r={};C2(t,r),C2(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=CEe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=CEe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},C2(t.meta,r.meta),C2(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(Out,"mergeRpcOptions");b2.mergeRpcOptions=Out;function C2(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(C2,"copy")});var _z=A(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.Deferred=Op.DeferredState=void 0;var El;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(El=Op.DeferredState||(Op.DeferredState={}));var Nz=class{static{o(this,"Deferred")}constructor(e=!0){this._state=El.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!==El.PENDING)throw new Error(`cannot resolve ${El[this.state].toLowerCase()}`);this._resolve(e),this._state=El.RESOLVED}reject(e){if(this.state!==El.PENDING)throw new Error(`cannot reject ${El[this.state].toLowerCase()}`);this._reject(e),this._state=El.REJECTED}resolvePending(e){this._state===El.PENDING&&this.resolve(e)}rejectPending(e){this._state===El.PENDING&&this.reject(e)}};Op.Deferred=Nz});var Tz=A(w2=>{"use strict";Object.defineProperty(w2,"__esModule",{value:!0});w2.RpcOutputStreamController=void 0;var bEe=_z(),Lp=rn(),Rz=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){Lp.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){Lp.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){Lp.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(){Lp.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;Lp.assert(e,"bad state"),Lp.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 bEe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Lp.assert(n.state==bEe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};w2.RpcOutputStreamController=Rz});var Qz=A(cy=>{"use strict";var Lut=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 Dz=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 Lut(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=Dz});var Pz=A(ly=>{"use strict";var Fut=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 kz=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 Fut(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=kz});var Lz=A(uy=>{"use strict";var Mut=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 Oz=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 Mut(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=Oz});var Mz=A(dy=>{"use strict";var Uut=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 Fz=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 Uut(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=Fz});var IEe=A(py=>{"use strict";var qut=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 ia=xz(),I2=rn(),wEe=Tz(),Gut=vz(),Hut=Qz(),Vut=Pz(),zut=Lz(),jut=Mz(),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 ia.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ia.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(I2.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),I2.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return qut(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)I2.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ia.RpcError||(I2.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 ia.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 ia.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ia.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 ia.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 ia.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Gut.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 Hut.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 wEe.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 Vut.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 zut.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 wEe.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 jut.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 ia.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ia.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 ia.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 ia.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 SEe=A(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.stackDuplexStreamingInterceptors=sa.stackClientStreamingInterceptors=sa.stackServerStreamingInterceptors=sa.stackUnaryInterceptors=sa.stackIntercept=void 0;var $ut=rn();function Vw(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,m)=>d.interceptUnary(f,h,p,m),"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,m)=>d.interceptServerStreaming(f,h,p,m),"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)}$ut.assertNever(t)}o(Vw,"stackIntercept");sa.stackIntercept=Vw;function Jut(t,e,r,n){return Vw("unary",t,e,n,r)}o(Jut,"stackUnaryInterceptors");sa.stackUnaryInterceptors=Jut;function Wut(t,e,r,n){return Vw("serverStreaming",t,e,n,r)}o(Wut,"stackServerStreamingInterceptors");sa.stackServerStreamingInterceptors=Wut;function Yut(t,e,r){return Vw("clientStreaming",t,e,r)}o(Yut,"stackClientStreamingInterceptors");sa.stackClientStreamingInterceptors=Yut;function Kut(t,e,r){return Vw("duplex",t,e,r)}o(Kut,"stackDuplexStreamingInterceptors");sa.stackDuplexStreamingInterceptors=Kut});var BEe=A(S2=>{"use strict";Object.defineProperty(S2,"__esModule",{value:!0});S2.ServerCallContextController=void 0;var Uz=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)}}};S2.ServerCallContextController=Uz});var vEe=A(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});var Xut=EEe();Object.defineProperty(qr,"ServiceType",{enumerable:!0,get:o(function(){return Xut.ServiceType},"get")});var qz=Iz();Object.defineProperty(qr,"readMethodOptions",{enumerable:!0,get:o(function(){return qz.readMethodOptions},"get")});Object.defineProperty(qr,"readMethodOption",{enumerable:!0,get:o(function(){return qz.readMethodOption},"get")});Object.defineProperty(qr,"readServiceOption",{enumerable:!0,get:o(function(){return qz.readServiceOption},"get")});var Zut=xz();Object.defineProperty(qr,"RpcError",{enumerable:!0,get:o(function(){return Zut.RpcError},"get")});var edt=vz();Object.defineProperty(qr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return edt.mergeRpcOptions},"get")});var tdt=Tz();Object.defineProperty(qr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return tdt.RpcOutputStreamController},"get")});var rdt=IEe();Object.defineProperty(qr,"TestTransport",{enumerable:!0,get:o(function(){return rdt.TestTransport},"get")});var xEe=_z();Object.defineProperty(qr,"Deferred",{enumerable:!0,get:o(function(){return xEe.Deferred},"get")});Object.defineProperty(qr,"DeferredState",{enumerable:!0,get:o(function(){return xEe.DeferredState},"get")});var ndt=Mz();Object.defineProperty(qr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return ndt.DuplexStreamingCall},"get")});var idt=Lz();Object.defineProperty(qr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return idt.ClientStreamingCall},"get")});var sdt=Pz();Object.defineProperty(qr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return sdt.ServerStreamingCall},"get")});var odt=Qz();Object.defineProperty(qr,"UnaryCall",{enumerable:!0,get:o(function(){return odt.UnaryCall},"get")});var zw=SEe();Object.defineProperty(qr,"stackIntercept",{enumerable:!0,get:o(function(){return zw.stackIntercept},"get")});Object.defineProperty(qr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return zw.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(qr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return zw.stackClientStreamingInterceptors},"get")});Object.defineProperty(qr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return zw.stackServerStreamingInterceptors},"get")});Object.defineProperty(qr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return zw.stackUnaryInterceptors},"get")});var adt=BEe();Object.defineProperty(qr,"ServerCallContextController",{enumerable:!0,get:o(function(){return adt.ServerCallContextController},"get")})});var gy=A((Myr,HEe)=>{"use strict";var Edt="2.0.0",Cdt=Number.MAX_SAFE_INTEGER||9007199254740991,bdt=16,wdt=250,Idt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];HEe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:bdt,MAX_SAFE_BUILD_LENGTH:wdt,MAX_SAFE_INTEGER:Cdt,RELEASE_TYPES:Idt,SEMVER_SPEC_VERSION:Edt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Jw=A((Uyr,VEe)=>{"use strict";var Sdt=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};VEe.exports=Sdt});var yy=A((bl,zEe)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:yj,MAX_SAFE_BUILD_LENGTH:Bdt,MAX_LENGTH:xdt}=gy(),vdt=Jw();bl=zEe.exports={};var Ndt=bl.re=[],_dt=bl.safeRe=[],fe=bl.src=[],Rdt=bl.safeSrc=[],he=bl.t={},Tdt=0,Ej="[a-zA-Z0-9-]",Ddt=[["\\s",1],["\\d",xdt],[Ej,Bdt]],Qdt=o(t=>{for(let[e,r]of Ddt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ke=o((t,e,r)=>{let n=Qdt(e),i=Tdt++;vdt(t,i,e),he[t]=i,fe[i]=e,Rdt[i]=n,Ndt[i]=new RegExp(e,r?"g":void 0),_dt[i]=new RegExp(n,r?"g":void 0)},"createToken");Ke("NUMERICIDENTIFIER","0|[1-9]\\d*");Ke("NUMERICIDENTIFIERLOOSE","\\d+");Ke("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ej}*`);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",`${Ej}+`);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,${yj}})(?:\\.(\\d{1,${yj}}))?(?:\\.(\\d{1,${yj}}))?`);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);bl.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);bl.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);bl.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((Gyr,jEe)=>{"use strict";var kdt=Object.freeze({loose:!0}),Pdt=Object.freeze({}),Odt=o(t=>t?typeof t!="object"?kdt:t:Pdt,"parseOptions");jEe.exports=Odt});var Cj=A((Vyr,WEe)=>{"use strict";var $Ee=/^[0-9]+$/,JEe=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tJEe(e,t),"rcompareIdentifiers");WEe.exports={compareIdentifiers:JEe,rcompareIdentifiers:Ldt}});var fi=A((jyr,KEe)=>{"use strict";var D2=Jw(),{MAX_LENGTH:YEe,MAX_SAFE_INTEGER:Q2}=gy(),{safeRe:k2,t:P2}=yy(),Fdt=T2(),{compareIdentifiers:bj}=Cj(),Mdt=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let n=0;nYEe)throw new TypeError(`version is longer than ${YEe} characters`);D2("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?k2[P2.LOOSE]:k2[P2.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>Q2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Q2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Q2||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(D2("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 bj(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(D2("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 bj(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?k2[P2.PRERELEASELOOSE]:k2[P2.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]),Mdt(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}};KEe.exports=wj});var xf=A((Jyr,ZEe)=>{"use strict";var XEe=fi(),Udt=o((t,e,r=!1)=>{if(t instanceof XEe)return t;try{return new XEe(t,e)}catch(n){if(!r)return null;throw n}},"parse");ZEe.exports=Udt});var tCe=A((Yyr,eCe)=>{"use strict";var qdt=xf(),Gdt=o((t,e)=>{let r=qdt(t,e);return r?r.version:null},"valid");eCe.exports=Gdt});var nCe=A((Xyr,rCe)=>{"use strict";var Hdt=xf(),Vdt=o((t,e)=>{let r=Hdt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");rCe.exports=Vdt});var oCe=A((eEr,sCe)=>{"use strict";var iCe=fi(),zdt=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new iCe(t instanceof iCe?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");sCe.exports=zdt});var lCe=A((rEr,cCe)=>{"use strict";var aCe=xf(),jdt=o((t,e)=>{let r=aCe(t,null,!0),n=aCe(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");cCe.exports=jdt});var dCe=A((iEr,uCe)=>{"use strict";var $dt=fi(),Jdt=o((t,e)=>new $dt(t,e).major,"major");uCe.exports=Jdt});var hCe=A((oEr,fCe)=>{"use strict";var Wdt=fi(),Ydt=o((t,e)=>new Wdt(t,e).minor,"minor");fCe.exports=Ydt});var ACe=A((cEr,pCe)=>{"use strict";var Kdt=fi(),Xdt=o((t,e)=>new Kdt(t,e).patch,"patch");pCe.exports=Xdt});var gCe=A((uEr,mCe)=>{"use strict";var Zdt=xf(),eft=o((t,e)=>{let r=Zdt(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");mCe.exports=eft});var oa=A((fEr,ECe)=>{"use strict";var yCe=fi(),tft=o((t,e,r)=>new yCe(t,r).compare(new yCe(e,r)),"compare");ECe.exports=tft});var bCe=A((pEr,CCe)=>{"use strict";var rft=oa(),nft=o((t,e,r)=>rft(e,t,r),"rcompare");CCe.exports=nft});var ICe=A((mEr,wCe)=>{"use strict";var ift=oa(),sft=o((t,e)=>ift(t,e,!0),"compareLoose");wCe.exports=sft});var O2=A((yEr,BCe)=>{"use strict";var SCe=fi(),oft=o((t,e,r)=>{let n=new SCe(t,r),i=new SCe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");BCe.exports=oft});var vCe=A((CEr,xCe)=>{"use strict";var aft=O2(),cft=o((t,e)=>t.sort((r,n)=>aft(r,n,e)),"sort");xCe.exports=cft});var _Ce=A((wEr,NCe)=>{"use strict";var lft=O2(),uft=o((t,e)=>t.sort((r,n)=>lft(n,r,e)),"rsort");NCe.exports=uft});var Ww=A((SEr,RCe)=>{"use strict";var dft=oa(),fft=o((t,e,r)=>dft(t,e,r)>0,"gt");RCe.exports=fft});var L2=A((xEr,TCe)=>{"use strict";var hft=oa(),pft=o((t,e,r)=>hft(t,e,r)<0,"lt");TCe.exports=pft});var Ij=A((NEr,DCe)=>{"use strict";var Aft=oa(),mft=o((t,e,r)=>Aft(t,e,r)===0,"eq");DCe.exports=mft});var Sj=A((REr,QCe)=>{"use strict";var gft=oa(),yft=o((t,e,r)=>gft(t,e,r)!==0,"neq");QCe.exports=yft});var F2=A((DEr,kCe)=>{"use strict";var Eft=oa(),Cft=o((t,e,r)=>Eft(t,e,r)>=0,"gte");kCe.exports=Cft});var M2=A((kEr,PCe)=>{"use strict";var bft=oa(),wft=o((t,e,r)=>bft(t,e,r)<=0,"lte");PCe.exports=wft});var Bj=A((OEr,OCe)=>{"use strict";var Ift=Ij(),Sft=Sj(),Bft=Ww(),xft=F2(),vft=L2(),Nft=M2(),_ft=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 Ift(t,r,n);case"!=":return Sft(t,r,n);case">":return Bft(t,r,n);case">=":return xft(t,r,n);case"<":return vft(t,r,n);case"<=":return Nft(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");OCe.exports=_ft});var FCe=A((FEr,LCe)=>{"use strict";var Rft=fi(),Tft=xf(),{safeRe:U2,t:q2}=yy(),Dft=o((t,e)=>{if(t instanceof Rft)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?U2[q2.COERCEFULL]:U2[q2.COERCE]);else{let l=e.includePrerelease?U2[q2.COERCERTLFULL]:U2[q2.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 Tft(`${n}.${i}.${s}${a}${c}`,e)},"coerce");LCe.exports=Dft});var UCe=A((UEr,MCe)=>{"use strict";var Qft=xf(),kft=gy(),Pft=fi(),Oft=o((t,e,r)=>{if(!kft.RELEASE_TYPES.includes(e))return null;let n=Lft(t,r);return n&&Fft(n,e)},"truncate"),Lft=o((t,e)=>{let r=t instanceof Pft?t.version:t;return Qft(r,e)},"cloneInputVersion"),Fft=o((t,e)=>{if(Mft(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"),Mft=o(t=>t.startsWith("pre"),"isPrerelease");MCe.exports=Oft});var GCe=A((GEr,qCe)=>{"use strict";var xj=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}};qCe.exports=xj});var aa=A((VEr,jCe)=>{"use strict";var Uft=/\s+/g,vj=class t{static{o(this,"Range")}constructor(e,r){if(r=Gft(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Nj)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(Uft," "),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=>!VCe(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&&Kft(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(Yft,"");let n=((this.options.includePrerelease&&Jft)|(this.options.loose&&Wft))+":"+e,i=HCe.get(n);if(i)return i;let s=this.options.loose,a=s?es[hi.HYPHENRANGELOOSE]:es[hi.HYPHENRANGE];e=e.replace(a,cht(this.options.includePrerelease)),sr("hyphen replace",e),e=e.replace(es[hi.COMPARATORTRIM],zft),sr("comparator trim",e),e=e.replace(es[hi.TILDETRIM],jft),sr("tilde trim",e),e=e.replace(es[hi.CARETTRIM],$ft),sr("caret trim",e);let c=e.split(" ").map(f=>Xft(f,this.options)).join(" ").split(/\s+/).map(f=>aht(f,this.options));s&&(c=c.filter(f=>(sr("loose invalid filter",f,this.options),!!f.match(es[hi.COMPARATORLOOSE])))),sr("range list",c);let l=new Map,u=c.map(f=>new Nj(f,this.options));for(let f of u){if(VCe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return HCe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>zCe(n,r)&&e.set.some(i=>zCe(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 Hft(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Kft=o(t=>t.value==="","isAny"),zCe=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"),Xft=o((t,e)=>(t=t.replace(es[hi.BUILD],""),sr("comp",t,e),t=rht(t,e),sr("caret",t),t=eht(t,e),sr("tildes",t),t=iht(t,e),sr("xrange",t),t=oht(t,e),sr("stars",t),t),"parseComparator"),Dn=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Zft=o((t,e,r)=>Dn(t)&&!Dn(e)||Dn(e)&&r&&!Dn(r),"invalidXRangeOrder"),eht=o((t,e)=>t.trim().split(/\s+/).map(r=>tht(r,e)).join(" "),"replaceTildes"),tht=o((t,e)=>{let r=e.loose?es[hi.TILDELOOSE]:es[hi.TILDE],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{sr("tilde",t,i,s,a,c,l);let u;return Dn(s)?u="":Dn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Dn(c)?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:l?(sr("replaceTilde pr",l),u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`):u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`,sr("tilde return",u),u})},"replaceTilde"),rht=o((t,e)=>t.trim().split(/\s+/).map(r=>nht(r,e)).join(" "),"replaceCarets"),nht=o((t,e)=>{sr("caret",t,e);let r=e.loose?es[hi.CARETLOOSE]:es[hi.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 Dn(s)?u="":Dn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Dn(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} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),sr("caret return",u),u})},"replaceCaret"),iht=o((t,e)=>(sr("replaceXRanges",t,e),t.split(/\s+/).map(r=>sht(r,e)).join(" ")),"replaceXRanges"),sht=o((t,e)=>{t=t.trim();let r=e.loose?es[hi.XRANGELOOSE]:es[hi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{if(sr("xRange",t,n,i,s,a,c,l),Zft(s,a,c))return t;let u=Dn(s),d=u||Dn(a),f=d||Dn(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"),oht=o((t,e)=>(sr("replaceStars",t,e),t.trim().replace(es[hi.STAR],"")),"replaceStars"),aht=o((t,e)=>(sr("replaceGTE0",t,e),t.trim().replace(es[e.includePrerelease?hi.GTE0PRE:hi.GTE0],"")),"replaceGTE0"),cht=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(Dn(n)?r="":Dn(i)?r=`>=${n}.0.0${t?"-0":""}`:Dn(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Dn(u)?l="":Dn(d)?l=`<${+u+1}.0.0-0`:Dn(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"),lht=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 Yw=A((jEr,XCe)=>{"use strict";var Kw=Symbol("SemVer ANY"),Tj=class t{static{o(this,"Comparator")}static get ANY(){return Kw}constructor(e,r){if(r=$Ce(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Rj("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Kw?this.value="":this.value=this.operator+this.semver.version,Rj("comp",this)}parse(e){let r=this.options.loose?JCe[WCe.COMPARATORLOOSE]:JCe[WCe.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 YCe(n[2],this.options.loose):this.semver=Kw}toString(){return this.value}test(e){if(Rj("Comparator.test",e,this.options.loose),this.semver===Kw||e===Kw)return!0;if(typeof e=="string")try{e=new YCe(e,this.options)}catch{return!1}return _j(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 KCe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new KCe(this.value,r).test(e.semver):(r=$Ce(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("=")||_j(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||_j(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};XCe.exports=Tj;var $Ce=T2(),{safeRe:JCe,t:WCe}=yy(),_j=Bj(),Rj=Jw(),YCe=fi(),KCe=aa()});var Xw=A((JEr,ZCe)=>{"use strict";var uht=aa(),dht=o((t,e,r)=>{try{e=new uht(e,r)}catch{return!1}return e.test(t)},"satisfies");ZCe.exports=dht});var tbe=A((YEr,ebe)=>{"use strict";var fht=aa(),hht=o((t,e)=>new fht(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");ebe.exports=hht});var nbe=A((XEr,rbe)=>{"use strict";var pht=fi(),Aht=aa(),mht=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new Aht(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new pht(n,r))}),n},"maxSatisfying");rbe.exports=mht});var sbe=A((eCr,ibe)=>{"use strict";var ght=fi(),yht=aa(),Eht=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new yht(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");ibe.exports=Eht});var cbe=A((rCr,abe)=>{"use strict";var Dj=fi(),Cht=aa(),obe=Ww(),bht=o((t,e)=>{t=new Cht(t,e);let r=new Dj("0.0.0");if(t.test(r)||(r=new Dj("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new Dj(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||obe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||obe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");abe.exports=bht});var ube=A((iCr,lbe)=>{"use strict";var wht=aa(),Iht=o((t,e)=>{try{return new wht(t,e).range||"*"}catch{return null}},"validRange");lbe.exports=Iht});var G2=A((oCr,pbe)=>{"use strict";var Sht=fi(),hbe=Yw(),{ANY:Bht}=hbe,xht=aa(),vht=Xw(),dbe=Ww(),fbe=L2(),Nht=M2(),_ht=F2(),Rht=o((t,e,r,n)=>{t=new Sht(t,n),e=new xht(e,n);let i,s,a,c,l;switch(r){case">":i=dbe,s=Nht,a=fbe,c=">",l=">=";break;case"<":i=fbe,s=_ht,a=dbe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(vht(t,e,n))return!1;for(let u=0;u{p.semver===Bht&&(p=new hbe(">=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");pbe.exports=Rht});var mbe=A((cCr,Abe)=>{"use strict";var Tht=G2(),Dht=o((t,e,r)=>Tht(t,e,">",r),"gtr");Abe.exports=Dht});var ybe=A((uCr,gbe)=>{"use strict";var Qht=G2(),kht=o((t,e,r)=>Qht(t,e,"<",r),"ltr");gbe.exports=kht});var bbe=A((fCr,Cbe)=>{"use strict";var Ebe=aa(),Pht=o((t,e,r)=>(t=new Ebe(t,r),e=new Ebe(e,r),t.intersects(e,r)),"intersects");Cbe.exports=Pht});var Ibe=A((pCr,wbe)=>{"use strict";var Oht=Xw(),Lht=oa();wbe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>Lht(d,f,r));for(let d of a)Oht(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 Sbe=aa(),Pj=Yw(),{ANY:Qj}=Pj,kj=Xw(),Oj=oa(),Fht=o((t,e,r={})=>{if(t===e)return!0;t=new Sbe(t,r),e=new Sbe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=Uht(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Mht=[new Pj(">=0.0.0-0")],Bbe=[new Pj(">=0.0.0")],Uht=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Qj){if(e.length===1&&e[0].semver===Qj)return!0;r.includePrerelease?t=Mht:t=Bbe}if(e.length===1&&e[0].semver===Qj){if(r.includePrerelease)return!0;e=Bbe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=xbe(i,p,r):p.operator==="<"||p.operator==="<="?s=vbe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=Oj(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&&!kj(p,String(i),r)||s&&!kj(p,String(s),r))return null;for(let m of e)if(!kj(p,String(m),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=xbe(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=vbe(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"),xbe=o((t,e,r)=>{if(!t)return e;let n=Oj(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),vbe=o((t,e,r)=>{if(!t)return e;let n=Oj(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Nbe.exports=Fht});var oc=A((gCr,Dbe)=>{"use strict";var Lj=yy(),Rbe=gy(),qht=fi(),Tbe=Cj(),Ght=xf(),Hht=tCe(),Vht=nCe(),zht=oCe(),jht=lCe(),$ht=dCe(),Jht=hCe(),Wht=ACe(),Yht=gCe(),Kht=oa(),Xht=bCe(),Zht=ICe(),ept=O2(),tpt=vCe(),rpt=_Ce(),npt=Ww(),ipt=L2(),spt=Ij(),opt=Sj(),apt=F2(),cpt=M2(),lpt=Bj(),upt=FCe(),dpt=UCe(),fpt=Yw(),hpt=aa(),ppt=Xw(),Apt=tbe(),mpt=nbe(),gpt=sbe(),ypt=cbe(),Ept=ube(),Cpt=G2(),bpt=mbe(),wpt=ybe(),Ipt=bbe(),Spt=Ibe(),Bpt=_be();Dbe.exports={parse:Ght,valid:Hht,clean:Vht,inc:zht,diff:jht,major:$ht,minor:Jht,patch:Wht,prerelease:Yht,compare:Kht,rcompare:Xht,compareLoose:Zht,compareBuild:ept,sort:tpt,rsort:rpt,gt:npt,lt:ipt,eq:spt,neq:opt,gte:apt,lte:cpt,cmp:lpt,coerce:upt,truncate:dpt,Comparator:fpt,Range:hpt,satisfies:ppt,toComparators:Apt,maxSatisfying:mpt,minSatisfying:gpt,minVersion:ypt,validRange:Ept,outside:Cpt,gtr:bpt,ltr:wpt,intersects:Ipt,simplifyRange:Spt,subset:Bpt,SemVer:qht,re:Lj.re,src:Lj.src,tokens:Lj.t,SEMVER_SPEC_VERSION:Rbe.SEMVER_SPEC_VERSION,RELEASE_TYPES:Rbe.RELEASE_TYPES,compareIdentifiers:Tbe.compareIdentifiers,rcompareIdentifiers:Tbe.rcompareIdentifiers}});var Ybe=A((CCr,Yu)=>{var zt=require("fs"),z2=require("os"),Qn=require("path"),Qbe=require("crypto"),wl={fs:zt.constants,os:z2.constants},kbe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Fbe=/XXXXXX/,xpt=3,Mbe=(wl.O_CREAT||wl.fs.O_CREAT)|(wl.O_EXCL||wl.fs.O_EXCL)|(wl.O_RDWR||wl.fs.O_RDWR),vpt=z2.platform()==="win32",Npt=wl.EBADF||wl.os.errno.EBADF,_pt=wl.ENOENT||wl.os.errno.ENOENT,Ube=448,qbe=384,Rpt="exit",Ey=[],Gbe=zt.rmdirSync.bind(zt),Hbe=!1;function Tpt(t,e){return zt.rm(t,{recursive:!0},e)}o(Tpt,"rimraf");function Vbe(t){return zt.rmSync(t,{recursive:!0})}o(Vbe,"FN_RIMRAF_SYNC");function qj(t,e){let r=Cy(t,e),n=r[0],i=r[1];qpt(n,function(s,a){if(s)return i(s);let c=a.tries;o((function l(){try{let u=jbe(a);zt.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(qj,"tmpName");function Gj(t){let e=Cy(t),r=e[0],n=Gpt(r),i=n.tries;do{let s=jbe(n);try{zt.statSync(s)}catch{return s}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(Gj,"tmpNameSync");function Dpt(t,e){let r=Cy(t,e),n=r[0],i=r[1];qj(n,o(function(a,c){if(a)return i(a);zt.open(c,Mbe,n.mode||qbe,o(function(u,d){if(u)return i(u);if(n.discardDescriptor)return zt.close(d,o(function(h){return i(h,c,void 0,Mj(c,-1,n,!1))},"_discardCallback"));{let f=n.discardDescriptor||n.detachDescriptor;i(null,c,d,Mj(c,f?-1:d,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Dpt,"file");function Qpt(t){let e=Cy(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,i=Gj(r),s=zt.openSync(i,Mbe,r.mode||qbe);return r.discardDescriptor&&(zt.closeSync(s),s=void 0),{name:i,fd:s,removeCallback:Mj(i,n?-1:s,r,!0)}}o(Qpt,"fileSync");function kpt(t,e){let r=Cy(t,e),n=r[0],i=r[1];qj(n,o(function(a,c){if(a)return i(a);zt.mkdir(c,n.mode||Ube,o(function(u){if(u)return i(u);i(null,c,zbe(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(kpt,"dir");function Ppt(t){let e=Cy(t),r=e[0],n=Gj(r);return zt.mkdirSync(n,r.mode||Ube),{name:n,removeCallback:zbe(n,r,!0)}}o(Ppt,"dirSync");function Opt(t,e){let r=o(function(n){if(n&&!Uj(n))return e(n);e()},"_handler");0<=t[0]?zt.close(t[0],function(){zt.unlink(t[1],r)}):zt.unlink(t[1],r)}o(Opt,"_removeFileAsync");function Lpt(t){let e=null;try{0<=t[0]&&zt.closeSync(t[0])}catch(r){if(!Hpt(r)&&!Uj(r))throw r}finally{try{zt.unlinkSync(t[1])}catch(r){Uj(r)||(e=r)}}if(e!==null)throw e}o(Lpt,"_removeFileSync");function Mj(t,e,r,n){let i=V2(Lpt,[e,t],n),s=V2(Opt,[e,t],n,i);return r.keep||Ey.unshift(i),n?i:s}o(Mj,"_prepareTmpFileRemoveCallback");function zbe(t,e,r){let n=e.unsafeCleanup?Tpt:zt.rmdir.bind(zt),i=e.unsafeCleanup?Vbe:Gbe,s=V2(i,t,r),a=V2(n,t,r,s);return e.keep||Ey.unshift(s),r?s:a}o(zbe,"_prepareTmpDirRemoveCallback");function V2(t,e,r,n){let i=!1;return o(function s(a){if(!i){let c=n||s,l=Ey.indexOf(c);return l>=0&&Ey.splice(l,1),i=!0,r||t===Gbe||t===Vbe?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(V2,"_prepareRemoveCallback");function Fpt(){if(Hbe)for(;Ey.length;)try{Ey[0]()}catch{}}o(Fpt,"_garbageCollector");function Pbe(t){let e=[],r=null;try{r=Qbe.randomBytes(t)}catch{r=Qbe.pseudoRandomBytes(t)}for(let n=0;n"u"}o(Qs,"_isUndefined");function Cy(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(Cy,"_parseArguments");function Mpt(t,e,r){let n=Qn.isAbsolute(t)?t:Qn.join(e,t);zt.stat(n,function(i){i?zt.realpath(Qn.dirname(n),function(s,a){if(s)return r(s);r(null,Qn.join(a,Qn.basename(n)))}):zt.realpath(n,r)})}o(Mpt,"_resolvePath");function Upt(t,e){let r=Qn.isAbsolute(t)?t:Qn.join(e,t);try{return zt.statSync(r),zt.realpathSync(r)}catch{let i=zt.realpathSync(Qn.dirname(r));return Qn.join(i,Qn.basename(r))}}o(Upt,"_resolvePathSync");function jbe(t){let e=t.tmpdir;if(!Qs(t.name))return Qn.join(e,t.dir,t.name);if(!Qs(t.template))return Qn.join(e,t.dir,t.template).replace(Fbe,Pbe(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",Pbe(12),t.postfix?"-"+t.postfix:""].join("");return Qn.join(e,t.dir,r)}o(jbe,"_generateTmpName");function Fj(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(Fj,"_assertPath");function $be(t){if(!Qs(t.name)){let e=t.name;if(Qn.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Qn.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(Fbe))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||xpt:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Qs(t.prefix)?"":Fj("prefix",t.prefix),t.postfix=Qs(t.postfix)?"":Fj("postfix",t.postfix),t.template=Qs(t.template)?void 0:Fj("template",t.template)}o($be,"_assertOptionsBase");function Obe(t,e,r,n){if(Qs(e))return n(null);Mpt(e,r,function(i,s){if(i)return n(i);let a=Qn.relative(r,s);if(a.startsWith("..")||Qn.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(Obe,"_getRelativePath");function Lbe(t,e,r){if(Qs(e))return;let n=Upt(e,r),i=Qn.relative(r,n);if(i.startsWith("..")||Qn.isAbsolute(i))throw new Error(`${t} option must be relative to "${r}", found "${i}".`);return i}o(Lbe,"_getRelativePathSync");function qpt(t,e){zpt(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{$be(t,n)}catch(i){return e(i)}Obe("dir",t.dir,n,function(i,s){if(i)return e(i);t.dir=Qs(s)?"":s,Obe("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(qpt,"_assertAndSanitizeOptions");function Gpt(t){let e=t.tmpdir=Wbe(t);$be(t,e);let r=Lbe("dir",t.dir,e);return t.dir=Qs(r)?"":r,t.template=Lbe("template",t.template,e),t}o(Gpt,"_assertAndSanitizeOptionsSync");function Hpt(t){return Jbe(t,-Npt,"EBADF")}o(Hpt,"_isEBADF");function Uj(t){return Jbe(t,-_pt,"ENOENT")}o(Uj,"_isENOENT");function Jbe(t,e,r){return vpt?t.code===r:t.code===r&&t.errno===e}o(Jbe,"_isExpectedError");function Vpt(){Hbe=!0}o(Vpt,"setGracefulCleanup");function zpt(t,e){return zt.realpath(t&&t.tmpdir||z2.tmpdir(),e)}o(zpt,"_getTmpDir");function Wbe(t){return zt.realpathSync(t&&t.tmpdir||z2.tmpdir())}o(Wbe,"_getTmpDirSync");process.addListener(Rpt,Fpt);Object.defineProperty(Yu.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return Wbe()},"get")});Yu.exports.dir=kpt;Yu.exports.dirSync=Ppt;Yu.exports.file=Dpt;Yu.exports.fileSync=Qpt;Yu.exports.tmpName=qj;Yu.exports.tmpNameSync=Gj;Yu.exports.setGracefulCleanup=Vpt});var ts=A(yo=>{"use strict";yo.__esModule=!0;yo.extend=e0e;yo.indexOf=Ypt;yo.escapeExpression=Kpt;yo.isEmpty=Xpt;yo.createFrame=Zpt;yo.blockParams=eAt;yo.appendContextPath=tAt;var jpt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},$pt=/[&<>"'`=]/g,Jpt=/[&<>"'`=]/;function Wpt(t){return jpt[t]}o(Wpt,"escapeChar");function e0e(t){for(var e=1;e{"use strict";j2.__esModule=!0;var jj=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function $j(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 Jj=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(Jj.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=Jj.createFrame(r.data);s.contextPath=Jj.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(e,r)})};n0e.exports=$2.default});var o0e=A((J2,s0e)=>{"use strict";J2.__esModule=!0;function rAt(t){return t&&t.__esModule?t:{default:t}}o(rAt,"_interopRequireDefault");var Zw=ts(),nAt=Eo(),iAt=rAt(nAt);J2.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new iAt.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=Zw.appendContextPath(r.data.contextPath,r.ids[0])+"."),Zw.isFunction(e)&&(e=e.call(this)),r.data&&(c=Zw.createFrame(r.data));function u(m,g,E){c&&(c.key=m,c.index=g,c.first=g===0,c.last=!!E,l&&(c.contextPath=l+m)),a=a+n(e[m],{data:c,blockParams:Zw.blockParams([e[m],m],[l+m,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(Zw.isArray(e))for(var d=e.length;s{"use strict";W2.__esModule=!0;function sAt(t){return t&&t.__esModule?t:{default:t}}o(sAt,"_interopRequireDefault");var oAt=Eo(),aAt=sAt(oAt);W2.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new aAt.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};a0e.exports=W2.default});var f0e=A((Y2,d0e)=>{"use strict";Y2.__esModule=!0;function cAt(t){return t&&t.__esModule?t:{default:t}}o(cAt,"_interopRequireDefault");var l0e=ts(),lAt=Eo(),u0e=cAt(lAt);Y2.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new u0e.default("#if requires exactly one argument");return l0e.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||l0e.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new u0e.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};d0e.exports=Y2.default});var p0e=A((K2,h0e)=>{"use strict";K2.__esModule=!0;K2.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";X2.__esModule=!0;X2.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};A0e.exports=X2.default});var y0e=A((Z2,g0e)=>{"use strict";Z2.__esModule=!0;function uAt(t){return t&&t.__esModule?t:{default:t}}o(uAt,"_interopRequireDefault");var eI=ts(),dAt=Eo(),fAt=uAt(dAt);Z2.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new fAt.default("#with requires exactly one argument");eI.isFunction(e)&&(e=e.call(this));var n=r.fn;if(eI.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=eI.createFrame(r.data),i.contextPath=eI.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:eI.blockParams([e],[i&&i.contextPath])})})};g0e.exports=Z2.default});var Wj=A(eD=>{"use strict";eD.__esModule=!0;eD.registerDefaultHelpers=vAt;eD.moveHelperToHooks=NAt;function Gp(t){return t&&t.__esModule?t:{default:t}}o(Gp,"_interopRequireDefault");var hAt=i0e(),pAt=Gp(hAt),AAt=o0e(),mAt=Gp(AAt),gAt=c0e(),yAt=Gp(gAt),EAt=f0e(),CAt=Gp(EAt),bAt=p0e(),wAt=Gp(bAt),IAt=m0e(),SAt=Gp(IAt),BAt=y0e(),xAt=Gp(BAt);function vAt(t){pAt.default(t),mAt.default(t),yAt.default(t),CAt.default(t),wAt.default(t),SAt.default(t),xAt.default(t)}o(vAt,"registerDefaultHelpers");function NAt(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(NAt,"moveHelperToHooks")});var C0e=A((tD,E0e)=>{"use strict";tD.__esModule=!0;var _At=ts();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=_At.extend({},l,r.partials);var u=e(a,c);return n.partials=l,u},"ret")),r.partials[i.args[0]]=i.fn,s})};E0e.exports=tD.default});var b0e=A(Yj=>{"use strict";Yj.__esModule=!0;Yj.registerDefaultDecorators=QAt;function RAt(t){return t&&t.__esModule?t:{default:t}}o(RAt,"_interopRequireDefault");var TAt=C0e(),DAt=RAt(TAt);function QAt(t){DAt.default(t)}o(QAt,"registerDefaultDecorators")});var Kj=A((rD,w0e)=>{"use strict";rD.__esModule=!0;var kAt=ts(),by={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=kAt.indexOf(by.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=by.lookupLevel(e),typeof console<"u"&&by.lookupLevel(by.level)<=e){var r=by.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s{"use strict";tI.__esModule=!0;tI.createProtoAccessControl=FAt;tI.resultIsAllowed=MAt;tI.resetLoggedProperties=qAt;function PAt(t){return t&&t.__esModule?t:{default:t}}o(PAt,"_interopRequireDefault");var I0e=ts(),OAt=Kj(),LAt=PAt(OAt),nD=Object.create(null);function FAt(t){var e=Object.create(null);e.__proto__=!1,I0e.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,I0e.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(FAt,"createProtoAccessControl");function MAt(t,e,r){return S0e(typeof t=="function"?e.methods:e.properties,r)}o(MAt,"resultIsAllowed");function S0e(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(UAt(e),!1)}o(S0e,"checkWhiteList");function UAt(t){nD[t]!==!0&&(nD[t]=!0,LAt.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent. + Polling status: ${Xge.includes(d)?"Stopped":"Running"}`),d==="succeeded"){let f=a(u,r);if(f!==void 0)return{response:await e(f).catch(Yge({state:r,stateProxy:n,isOperationError:c})),status:d}}return{response:u,status:d}}o(yct,"pollOperationHelper");async function rye(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:m,isDone:g,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:w}=await yct({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:i});if(eye({status:w,response:C,state:r,stateProxy:n,isDone:g,processResult:f,getError:h,setErrorAsResult:E}),!Xge.includes(w)){let B=d?.(C);B&&m(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(rye,"pollOperation");function nye(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(nye,"getOperationLocationPollingUrl");function iye(t){return t.headers.location}o(iye,"getLocationHeader");function sye(t){return t.headers["operation-location"]}o(sye,"getOperationLocationHeader");function oye(t){return t.headers["azure-asyncoperation"]}o(oye,"getAzureAsyncOperationHeader");function Ect(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(Ect,"findResourceLocation");function aye(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=sye(e),a=oye(e),c=nye({operationLocation:s,azureAsyncOperation:a}),l=iye(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:Ect({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(aye,"inferLroMode");function cye(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 GV(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 Tp.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(cye,"transformStatus");function Cct(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return cye({status:r,statusCode:t.statusCode})}o(Cct,"getStatus");function bct(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 cye({status:s,statusCode:t.statusCode})}o(bct,"getProvisioningState");function GV(t){return t===202?"running":t<300?"succeeded":"failed"}o(GV,"toOperationStatus");function lye({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?wct(new Date(e)):r*1e3}}o(lye,"parseRetryAfter");function uye(t){let e=t.flatResponse.error;if(!e){Tp.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Tp.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(uye,"getErrorFromResponse");function wct(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=aye({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:dye,setErrorAsResult:s})}o(Ict,"initHttpOperation");function fye({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return nye({operationLocation:sye(t),azureAsyncOperation:oye(t)});case"ResourceLocation":return iye(t);default:return}}o(fye,"getOperationLocation");function HV({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return Cct(t);case"ResourceLocation":return GV(t.statusCode);case"Body":return bct(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(HV,"getOperationStatus");function hye({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(hye,"getResourceLocation");function pye(t){return t.name==="RestError"}o(pye,"isOperationError");async function Sct(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return rye({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:u},d)=>i(u,d):({flatResponse:u})=>u,getError:uye,updateState:s,getPollingInterval:lye,getOperationLocation:fye,getOperationStatus:HV,isOperationError:pye,getResourceLocation:hye,options:n,poll:o(async(u,d)=>e.sendPollRequest(u,d),"poll"),setErrorAsResult:l})}o(Sct,"pollHttpOperation");var Bct=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 xct(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:m,intervalInMs:g=Kge,restoreFrom:E}=f||{},y=Bct(),C=m?(()=>{let V=!1;return(W,ee)=>{ee?m(W):V||m(W),V=!0}})():void 0,w=E?Zge(E):await tye({init:u,stateProxy:y,processResult:h,getOperationStatus:r,withOperationLocation:C,setErrorAsResult:!l}),B,Q=new Wge.AbortController,M=new Map,v=o(async()=>M.forEach(V=>V(w)),"handleProgressEvents"),j="Operation was canceled",T=g,H={getOperationState:o(()=>w,"getOperationState"),getResult:o(()=>w.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(w.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{Q.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:w}),"toString"),onProgress:o(V=>{let W=Symbol();return M.set(W,V),()=>M.delete(W)},"onProgress"),pollUntilDone:o(V=>B??(B=(async()=>{let{abortSignal:W}=V||{},{signal:ee}=W?new Wge.AbortController([W,Q.signal]):Q;if(!H.isDone())for(await H.poll({abortSignal:ee});!H.isDone();)await pct.delay(T,{abortSignal:ee}),await H.poll({abortSignal:ee});if(l)return H.getResult();switch(w.status){case"succeeded":return H.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(()=>{B=void 0})),"pollUntilDone"),async poll(V){if(l){if(H.isDone())return}else switch(w.status){case"succeeded":return;case"canceled":throw new Error(j);case"failed":throw w.error}if(await rye({poll:d,state:w,stateProxy:y,getOperationLocation:e,isOperationError:i,withOperationLocation:C,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:h,getError:c,updateState:p,options:V,setDelay:o(W=>{T=W},"setDelay"),setErrorAsResult:!l}),await v(),!l)switch(w.status){case"canceled":throw new Error(j);case"failed":throw w.error}}};return H}}o(xct,"buildCreatePoller");async function vct(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return xct({getStatusFromInitialResponse:dye,getStatusFromPollResponse:HV,isOperationError:pye,getOperationLocation:fye,getResourceLocation:hye,getPollingInterval:lye,getError:uye,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),d=aye({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(vct,"createHttpPoller");var Nct=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"),UV=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=Nct();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Ict({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 Sct({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 Tp.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},xT=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},vT=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 vT("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 xT("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()}},qV=class extends NT{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=Kge,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},d=i?Zge(i):{},f=new UV(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))}};Dp.LroEngine=qV;Dp.Poller=NT;Dp.PollerCancelledError=vT;Dp.PollerStoppedError=xT;Dp.createHttpPoller=vct});var kye=A((ymr,Wct)=>{Wct.exports={name:"@actions/cache",version:"6.1.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 Oye=A((Emr,Pye)=>{var Yct=kye();Pye.exports={version:Yct.version}});var qT=A(Zg=>{"use strict";Object.defineProperty(Zg,"__esModule",{value:!0});Zg.isJsonObject=Zg.typeofJsonValue=void 0;function ilt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(ilt,"typeofJsonValue");Zg.typeofJsonValue=ilt;function slt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(slt,"isJsonObject");Zg.isJsonObject=slt});var HT=A(ey=>{"use strict";Object.defineProperty(ey,"__esModule",{value:!0});ey.base64encode=ey.base64decode=void 0;var Ju="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(olt,"base64decode");ey.base64decode=olt;function alt(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(alt,"base64encode");ey.base64encode=alt});var Gye=A(VT=>{"use strict";Object.defineProperty(VT,"__esModule",{value:!0});VT.utf8read=void 0;var ZV=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function clt(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(ZV(n)),i=0);return r.length?(i&&r.push(ZV(n.slice(0,i))),r.join("")):ZV(n.slice(0,i))}o(clt,"utf8read");VT.utf8read=clt});var Dw=A(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.WireType=ml.mergeBinaryOptions=ml.UnknownFieldHandler=void 0;var llt;(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")})(llt=ml.UnknownFieldHandler||(ml.UnknownFieldHandler={}));function ult(t,e){return Object.assign(Object.assign({},t),e)}o(ult,"mergeBinaryOptions");ml.mergeBinaryOptions=ult;var dlt;(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"})(dlt=ml.WireType||(ml.WireType={}))});var jT=A(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.varint32read=Ts.varint32write=Ts.int64toString=Ts.int64fromString=Ts.varint64write=Ts.varint64read=void 0;function flt(){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(hlt,"varint64write");Ts.varint64write=hlt;var zT=65536*65536;function plt(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>=zT&&(i=i+(n/zT|0),n=n%zT)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(plt,"int64fromString");Ts.int64fromString=plt;function Alt(t,e){if(e>>>0<=2097151)return""+(zT*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(Alt,"int64toString");Ts.int64toString=Alt;function mlt(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(mlt,"varint32write");Ts.varint32write=mlt;function glt(){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(glt,"varint32read");Ts.varint32read=glt});var If=A(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.PbLong=wf.PbULong=wf.detectBi=void 0;var Qw=jT(),$t;function Hye(){let t=new DataView(new ArrayBuffer(8));$t=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(Hye,"detectBi");wf.detectBi=Hye;Hye();function Vye(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(Vye,"assertBi");var zye=/^-?[0-9]+$/,JT=4294967296,$T=2147483648,WT=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*JT+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},kw=class t extends WT{static{o(this,"PbULong")}static from(e){if($t)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=$t.C(e);case"number":if(e===0)return this.ZERO;e=$t.C(e);case"bigint":if(!e)return this.ZERO;if(e<$t.UMIN)throw new Error("signed value for ulong");if(e>$t.UMAX)throw new Error("ulong too large");return $t.V.setBigUint64(0,e,!0),new t($t.V.getInt32(0,!0),$t.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]=Qw.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/JT)}throw new Error("unknown value "+typeof e)}toString(){return $t?this.toBigInt().toString():Qw.int64toString(this.lo,this.hi)}toBigInt(){return Vye($t),$t.V.setInt32(0,this.lo,!0),$t.V.setInt32(4,this.hi,!0),$t.V.getBigUint64(0,!0)}};wf.PbULong=kw;kw.ZERO=new kw(0,0);var Pw=class t extends WT{static{o(this,"PbLong")}static from(e){if($t)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=$t.C(e);case"number":if(e===0)return this.ZERO;e=$t.C(e);case"bigint":if(!e)return this.ZERO;if(e<$t.MIN)throw new Error("signed long too small");if(e>$t.MAX)throw new Error("signed long too large");return $t.V.setBigInt64(0,e,!0),new t($t.V.getInt32(0,!0),$t.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]=Qw.int64fromString(e);if(r){if(i>$T||i==$T&&n!=0)throw new Error("signed long too small")}else if(i>=$T)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/JT):new t(-e,-e/JT).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&$T)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if($t)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Qw.int64toString(e.lo,e.hi)}return Qw.int64toString(this.lo,this.hi)}toBigInt(){return Vye($t),$t.V.setInt32(0,this.lo,!0),$t.V.setInt32(4,this.hi,!0),$t.V.getBigInt64(0,!0)}};wf.PbLong=Pw;Pw.ZERO=new Pw(0,0)});var ez=A(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.BinaryReader=ry.binaryReadOptions=void 0;var ty=Dw(),Ow=If(),jye=jT(),$ye={readUnknownField:!0,readerFactory:o(t=>new YT(t),"readerFactory")};function ylt(t){return t?Object.assign(Object.assign({},$ye),t):$ye}o(ylt,"binaryReadOptions");ry.binaryReadOptions=ylt;var YT=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=jye.varint64read,this.uint32=jye.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 ty.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case ty.WireType.Bit64:this.pos+=4;case ty.WireType.Bit32:this.pos+=4;break;case ty.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case ty.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==ty.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 Ow.PbLong(...this.varint64())}uint64(){return new Ow.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 Ow.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 Ow.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Ow.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())}};ry.BinaryReader=YT});var ny=A(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.assertFloat32=na.assertUInt32=na.assertInt32=na.assertNever=na.assert=void 0;function Elt(t,e){if(!t)throw new Error(e)}o(Elt,"assert");na.assert=Elt;function Clt(t,e){throw new Error(e??"Unexpected object: "+t)}o(Clt,"assertNever");na.assertNever=Clt;var blt=34028234663852886e22,wlt=-34028234663852886e22,Ilt=4294967295,Slt=2147483647,Blt=-2147483648;function xlt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>Slt||tIlt||t<0)throw new Error("invalid uint 32: "+t)}o(vlt,"assertUInt32");na.assertUInt32=vlt;function Nlt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>blt||t{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.BinaryWriter=sy.binaryWriteOptions=void 0;var Lw=If(),Fw=jT(),iy=ny(),Jye={writeUnknownFields:!0,writerFactory:o(()=>new KT,"writerFactory")};function _lt(t){return t?Object.assign(Object.assign({},Jye),t):Jye}o(_lt,"binaryWriteOptions");sy.binaryWriteOptions=_lt;var KT=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),Fw.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,Fw.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Lw.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=Lw.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Lw.PbLong.from(e);return Fw.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Lw.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return Fw.varint64write(i,s,this.buf),this}uint64(e){let r=Lw.PbULong.from(e);return Fw.varint64write(r.lo,r.hi,this.buf),this}};sy.BinaryWriter=KT});var rz=A(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.mergeJsonOptions=Sf.jsonWriteOptions=Sf.jsonReadOptions=void 0;var Wye={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},Yye={ignoreUnknownFields:!1};function Rlt(t){return t?Object.assign(Object.assign({},Yye),t):Yye}o(Rlt,"jsonReadOptions");Sf.jsonReadOptions=Rlt;function Tlt(t){return t?Object.assign(Object.assign({},Wye),t):Wye}o(Tlt,"jsonWriteOptions");Sf.jsonWriteOptions=Tlt;function Dlt(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(Dlt,"mergeJsonOptions");Sf.mergeJsonOptions=Dlt});var Mw=A(XT=>{"use strict";Object.defineProperty(XT,"__esModule",{value:!0});XT.MESSAGE_TYPE=void 0;XT.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var nz=A(ZT=>{"use strict";Object.defineProperty(ZT,"__esModule",{value:!0});ZT.lowerCamelCase=void 0;function Qlt(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 Kye=nz(),klt;(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"})(klt=Rn.ScalarType||(Rn.ScalarType={}));var Plt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(Plt=Rn.LongType||(Rn.LongType={}));var Xye;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(Xye=Rn.RepeatType||(Rn.RepeatType={}));function Olt(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:Kye.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:Kye.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:Xye.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(Olt,"normalizeFieldInfo");Rn.normalizeFieldInfo=Olt;function Llt(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(Llt,"readFieldOptions");Rn.readFieldOptions=Llt;function Flt(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(Flt,"readFieldOption");Rn.readFieldOption=Flt;function Mlt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(Mlt,"readMessageOption");Rn.readMessageOption=Mlt});var iz=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 Ult(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(Ult,"isOneofGroup");Ds.isOneofGroup=Ult;function qlt(t,e){return t[e]}o(qlt,"getOneofValue");Ds.getOneofValue=qlt;function Glt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(Glt,"setOneofValue");Ds.setOneofValue=Glt;function Hlt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(Hlt,"setUnknownOneofValue");Ds.setUnknownOneofValue=Hlt;function Vlt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(Vlt,"clearOneofValue");Ds.clearOneofValue=Vlt;function zlt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(zlt,"getSelectedOneofValue");Ds.getSelectedOneofValue=zlt});var oz=A(e2=>{"use strict";Object.defineProperty(e2,"__esModule",{value:!0});e2.ReflectionTypeCheck=void 0;var Ur=nc(),jlt=iz(),sz=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(!jlt.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,Ur.ScalarType.INT32,i):this.scalar(e,Ur.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),Ur.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 Ur.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,Ur.LongType.STRING)}}};e2.ReflectionTypeCheck=sz});var r2=A(t2=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});t2.reflectionLongConvert=void 0;var Zye=nc();function $lt(t,e){switch(e){case Zye.LongType.BIGINT:return t.toBigInt();case Zye.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o($lt,"reflectionLongConvert");t2.reflectionLongConvert=$lt});var cz=A(s2=>{"use strict";Object.defineProperty(s2,"__esModule",{value:!0});s2.ReflectionJsonReader=void 0;var eEe=qT(),Jlt=HT(),Tn=nc(),n2=If(),kp=ny(),i2=r2(),az=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=eEe.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(eEe.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 m=f;c.K==Tn.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,c.K,Tn.LongType.STRING,c.name).toString(),d[m]=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"&&kp.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 kp.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:(kp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}kp.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 Tn.ScalarType.DOUBLE:case Tn.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==Tn.ScalarType.FLOAT&&kp.assertFloat32(a),a;case Tn.ScalarType.INT32:case Tn.ScalarType.FIXED32:case Tn.ScalarType.SFIXED32:case Tn.ScalarType.SINT32:case Tn.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==Tn.ScalarType.UINT32?kp.assertUInt32(c):kp.assertInt32(c),c;case Tn.ScalarType.INT64:case Tn.ScalarType.SFIXED64:case Tn.ScalarType.SINT64:if(e===null)return i2.reflectionLongConvert(n2.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return i2.reflectionLongConvert(n2.PbLong.from(e),n);case Tn.ScalarType.FIXED64:case Tn.ScalarType.UINT64:if(e===null)return i2.reflectionLongConvert(n2.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return i2.reflectionLongConvert(n2.PbULong.from(e),n);case Tn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Tn.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 Tn.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return Jlt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};s2.ReflectionJsonReader=az});var uz=A(o2=>{"use strict";Object.defineProperty(o2,"__esModule",{value:!0});o2.ReflectionJsonWriter=void 0;var Wlt=HT(),tEe=If(),Zi=nc(),Cr=ny(),lz=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);Cr.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){Cr.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);Cr.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);Cr.assert(d!==void 0),s[l.toString()]=d}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Cr.assert(u===void 0||typeof u=="number");let d=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);Cr.assert(d!==void 0),s[l.toString()]=d}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){Cr.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){Cr.assert(i);return}if(!(r===0&&!s&&!i))return Cr.assert(typeof r=="number"),Cr.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){Cr.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:(Cr.assertInt32(r),r);case Zi.ScalarType.FIXED32:case Zi.ScalarType.UINT32:return r===0?a?0:void 0:(Cr.assertUInt32(r),r);case Zi.ScalarType.FLOAT:Cr.assertFloat32(r);case Zi.ScalarType.DOUBLE:return r===0?a?0:void 0:(Cr.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:(Cr.assert(typeof r=="string"),r);case Zi.ScalarType.BOOL:return r===!1?a?!1:void 0:(Cr.assert(typeof r=="boolean"),r);case Zi.ScalarType.UINT64:case Zi.ScalarType.FIXED64:Cr.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=tEe.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Zi.ScalarType.INT64:case Zi.ScalarType.SFIXED64:case Zi.ScalarType.SINT64:Cr.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=tEe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Zi.ScalarType.BYTES:return Cr.assert(r instanceof Uint8Array),r.byteLength?Wlt.base64encode(r):a?"":void 0}}};o2.ReflectionJsonWriter=lz});var c2=A(a2=>{"use strict";Object.defineProperty(a2,"__esModule",{value:!0});a2.reflectionScalarDefault=void 0;var ic=nc(),rEe=r2(),nEe=If();function Ylt(t,e=ic.LongType.STRING){switch(t){case ic.ScalarType.BOOL:return!1;case ic.ScalarType.UINT64:case ic.ScalarType.FIXED64:return rEe.reflectionLongConvert(nEe.PbULong.ZERO,e);case ic.ScalarType.INT64:case ic.ScalarType.SFIXED64:case ic.ScalarType.SINT64:return rEe.reflectionLongConvert(nEe.PbLong.ZERO,e);case ic.ScalarType.DOUBLE:case ic.ScalarType.FLOAT:return 0;case ic.ScalarType.BYTES:return new Uint8Array(0);case ic.ScalarType.STRING:return"";default:return 0}}o(Ylt,"reflectionScalarDefault");a2.reflectionScalarDefault=Ylt});var fz=A(l2=>{"use strict";Object.defineProperty(l2,"__esModule",{value:!0});l2.ReflectionBinaryReader=void 0;var iEe=Dw(),tn=nc(),Uw=r2(),sEe=c2(),dz=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(u2,"__esModule",{value:!0});u2.ReflectionBinaryWriter=void 0;var Ao=Dw(),Zt=nc(),oy=ny(),qw=If(),hz=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"?Zt.ScalarType.INT32:s.T;if(l)if(oy.assert(Array.isArray(a)),l==Zt.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?oy.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){oy.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":oy.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?Ao.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Ao.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Zt.ScalarType.INT32:case Zt.ScalarType.FIXED32:case Zt.ScalarType.UINT32:case Zt.ScalarType.SFIXED32:case Zt.ScalarType.SINT32:a=Number.parseInt(i);break;case Zt.ScalarType.BOOL:oy.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,Zt.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,Ao.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;oy.assert(r!==Zt.ScalarType.BYTES&&r!==Zt.ScalarType.STRING),e.tag(n,Ao.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(d2,"__esModule",{value:!0});d2.reflectionCreate=void 0;var Klt=c2(),Xlt=Mw();function Zlt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},Xlt.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]=Klt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(Zlt,"reflectionCreate");d2.reflectionCreate=Zlt});var mz=A(f2=>{"use strict";Object.defineProperty(f2,"__esModule",{value:!0});f2.reflectionMergePartial=void 0;function eut(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(p2,"__esModule",{value:!0});p2.reflectionEquals=void 0;var gz=nc();function tut(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"?gz.ScalarType.INT32:n.T;if(!(n.repeat?oEe(c,s,a):cEe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?aEe(n.V.T(),h2(s),h2(a)):oEe(n.V.kind=="enum"?gz.ScalarType.INT32:n.V.T,h2(s),h2(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(tut,"reflectionEquals");p2.reflectionEquals=tut;var h2=Object.values;function cEe(t,e,r){if(e===r)return!0;if(t!==gz.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(A2,"__esModule",{value:!0});A2.MessageType=void 0;var rut=Mw(),nut=nc(),iut=oz(),sut=cz(),out=uz(),aut=fz(),cut=pz(),lut=Az(),Ez=mz(),uut=qT(),lEe=rz(),dut=yz(),fut=tz(),hut=ez(),uEe=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),put=uEe[rut.MESSAGE_TYPE]={},Cz=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(nut.normalizeFieldInfo),this.options=n??{},put.value=this,this.messagePrototype=Object.create(null,uEe),this.refTypeCheck=new iut.ReflectionTypeCheck(this),this.refJsonReader=new sut.ReflectionJsonReader(this),this.refJsonWriter=new out.ReflectionJsonWriter(this),this.refBinReader=new aut.ReflectionBinaryReader(this),this.refBinWriter=new cut.ReflectionBinaryWriter(this)}create(e){let r=lut.reflectionCreate(this);return e!==void 0&&Ez.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Ez.reflectionMergePartial(this,r,e),r}equals(e,r){return dut.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){Ez.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=hut.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,lEe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,lEe.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=fut.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 ${uut.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}};A2.MessageType=Cz});var fEe=A(m2=>{"use strict";Object.defineProperty(m2,"__esModule",{value:!0});m2.containsMessageType=void 0;var Aut=Mw();function mut(t){return t[Aut.MESSAGE_TYPE]!=null}o(mut,"containsMessageType");m2.containsMessageType=mut});var pEe=A(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.listEnumNumbers=gl.listEnumNames=gl.listEnumValues=gl.isEnumObject=void 0;function hEe(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(hEe,"isEnumObject");gl.isEnumObject=hEe;function bz(t){if(!hEe(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");gl.listEnumValues=bz;function gut(t){return bz(t).map(e=>e.name)}o(gut,"listEnumNames");gl.listEnumNames=gut;function yut(t){return bz(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(yut,"listEnumNumbers");gl.listEnumNumbers=yut});var rn=A(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});var AEe=qT();Object.defineProperty(Te,"typeofJsonValue",{enumerable:!0,get:o(function(){return AEe.typeofJsonValue},"get")});Object.defineProperty(Te,"isJsonObject",{enumerable:!0,get:o(function(){return AEe.isJsonObject},"get")});var mEe=HT();Object.defineProperty(Te,"base64decode",{enumerable:!0,get:o(function(){return mEe.base64decode},"get")});Object.defineProperty(Te,"base64encode",{enumerable:!0,get:o(function(){return mEe.base64encode},"get")});var Eut=Gye();Object.defineProperty(Te,"utf8read",{enumerable:!0,get:o(function(){return Eut.utf8read},"get")});var wz=Dw();Object.defineProperty(Te,"WireType",{enumerable:!0,get:o(function(){return wz.WireType},"get")});Object.defineProperty(Te,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return wz.mergeBinaryOptions},"get")});Object.defineProperty(Te,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return wz.UnknownFieldHandler},"get")});var gEe=ez();Object.defineProperty(Te,"BinaryReader",{enumerable:!0,get:o(function(){return gEe.BinaryReader},"get")});Object.defineProperty(Te,"binaryReadOptions",{enumerable:!0,get:o(function(){return gEe.binaryReadOptions},"get")});var yEe=tz();Object.defineProperty(Te,"BinaryWriter",{enumerable:!0,get:o(function(){return yEe.BinaryWriter},"get")});Object.defineProperty(Te,"binaryWriteOptions",{enumerable:!0,get:o(function(){return yEe.binaryWriteOptions},"get")});var EEe=If();Object.defineProperty(Te,"PbLong",{enumerable:!0,get:o(function(){return EEe.PbLong},"get")});Object.defineProperty(Te,"PbULong",{enumerable:!0,get:o(function(){return EEe.PbULong},"get")});var Iz=rz();Object.defineProperty(Te,"jsonReadOptions",{enumerable:!0,get:o(function(){return Iz.jsonReadOptions},"get")});Object.defineProperty(Te,"jsonWriteOptions",{enumerable:!0,get:o(function(){return Iz.jsonWriteOptions},"get")});Object.defineProperty(Te,"mergeJsonOptions",{enumerable:!0,get:o(function(){return Iz.mergeJsonOptions},"get")});var Cut=Mw();Object.defineProperty(Te,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return Cut.MESSAGE_TYPE},"get")});var but=dEe();Object.defineProperty(Te,"MessageType",{enumerable:!0,get:o(function(){return but.MessageType},"get")});var Pp=nc();Object.defineProperty(Te,"ScalarType",{enumerable:!0,get:o(function(){return Pp.ScalarType},"get")});Object.defineProperty(Te,"LongType",{enumerable:!0,get:o(function(){return Pp.LongType},"get")});Object.defineProperty(Te,"RepeatType",{enumerable:!0,get:o(function(){return Pp.RepeatType},"get")});Object.defineProperty(Te,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Pp.normalizeFieldInfo},"get")});Object.defineProperty(Te,"readFieldOptions",{enumerable:!0,get:o(function(){return Pp.readFieldOptions},"get")});Object.defineProperty(Te,"readFieldOption",{enumerable:!0,get:o(function(){return Pp.readFieldOption},"get")});Object.defineProperty(Te,"readMessageOption",{enumerable:!0,get:o(function(){return Pp.readMessageOption},"get")});var wut=oz();Object.defineProperty(Te,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return wut.ReflectionTypeCheck},"get")});var Iut=Az();Object.defineProperty(Te,"reflectionCreate",{enumerable:!0,get:o(function(){return Iut.reflectionCreate},"get")});var Sut=c2();Object.defineProperty(Te,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return Sut.reflectionScalarDefault},"get")});var But=mz();Object.defineProperty(Te,"reflectionMergePartial",{enumerable:!0,get:o(function(){return But.reflectionMergePartial},"get")});var xut=yz();Object.defineProperty(Te,"reflectionEquals",{enumerable:!0,get:o(function(){return xut.reflectionEquals},"get")});var vut=fz();Object.defineProperty(Te,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return vut.ReflectionBinaryReader},"get")});var Nut=pz();Object.defineProperty(Te,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return Nut.ReflectionBinaryWriter},"get")});var _ut=cz();Object.defineProperty(Te,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return _ut.ReflectionJsonReader},"get")});var Rut=uz();Object.defineProperty(Te,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Rut.ReflectionJsonWriter},"get")});var Tut=fEe();Object.defineProperty(Te,"containsMessageType",{enumerable:!0,get:o(function(){return Tut.containsMessageType},"get")});var Gw=iz();Object.defineProperty(Te,"isOneofGroup",{enumerable:!0,get:o(function(){return Gw.isOneofGroup},"get")});Object.defineProperty(Te,"setOneofValue",{enumerable:!0,get:o(function(){return Gw.setOneofValue},"get")});Object.defineProperty(Te,"getOneofValue",{enumerable:!0,get:o(function(){return Gw.getOneofValue},"get")});Object.defineProperty(Te,"clearOneofValue",{enumerable:!0,get:o(function(){return Gw.clearOneofValue},"get")});Object.defineProperty(Te,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Gw.getSelectedOneofValue},"get")});var g2=pEe();Object.defineProperty(Te,"listEnumValues",{enumerable:!0,get:o(function(){return g2.listEnumValues},"get")});Object.defineProperty(Te,"listEnumNames",{enumerable:!0,get:o(function(){return g2.listEnumNames},"get")});Object.defineProperty(Te,"listEnumNumbers",{enumerable:!0,get:o(function(){return g2.listEnumNumbers},"get")});Object.defineProperty(Te,"isEnumObject",{enumerable:!0,get:o(function(){return g2.isEnumObject},"get")});var Dut=nz();Object.defineProperty(Te,"lowerCamelCase",{enumerable:!0,get:o(function(){return Dut.lowerCamelCase},"get")});var Hw=ny();Object.defineProperty(Te,"assert",{enumerable:!0,get:o(function(){return Hw.assert},"get")});Object.defineProperty(Te,"assertNever",{enumerable:!0,get:o(function(){return Hw.assertNever},"get")});Object.defineProperty(Te,"assertInt32",{enumerable:!0,get:o(function(){return Hw.assertInt32},"get")});Object.defineProperty(Te,"assertUInt32",{enumerable:!0,get:o(function(){return Hw.assertUInt32},"get")});Object.defineProperty(Te,"assertFloat32",{enumerable:!0,get:o(function(){return Hw.assertFloat32},"get")})});var Sz=A(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.readServiceOption=yl.readMethodOption=yl.readMethodOptions=yl.normalizeMethodInfo=void 0;var Qut=rn();function kut(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:Qut.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(kut,"normalizeMethodInfo");yl.normalizeMethodInfo=kut;function Put(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(Put,"readMethodOptions");yl.readMethodOptions=Put;function Out(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(Out,"readMethodOption");yl.readMethodOption=Out;function Lut(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(Lut,"readServiceOption");yl.readServiceOption=Lut});var CEe=A(y2=>{"use strict";Object.defineProperty(y2,"__esModule",{value:!0});y2.ServiceType=void 0;var Fut=Sz(),Bz=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>Fut.normalizeMethodInfo(i,this)),this.options=n??{}}};y2.ServiceType=Bz});var vz=A(E2=>{"use strict";Object.defineProperty(E2,"__esModule",{value:!0});E2.RpcError=void 0;var xz=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(` +`)}};E2.RpcError=xz});var Nz=A(b2=>{"use strict";Object.defineProperty(b2,"__esModule",{value:!0});b2.mergeRpcOptions=void 0;var bEe=rn();function Mut(t,e){if(!e)return t;let r={};C2(t,r),C2(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=bEe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=bEe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},C2(t.meta,r.meta),C2(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(Mut,"mergeRpcOptions");b2.mergeRpcOptions=Mut;function C2(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(C2,"copy")});var Rz=A(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.Deferred=Op.DeferredState=void 0;var El;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(El=Op.DeferredState||(Op.DeferredState={}));var _z=class{static{o(this,"Deferred")}constructor(e=!0){this._state=El.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!==El.PENDING)throw new Error(`cannot resolve ${El[this.state].toLowerCase()}`);this._resolve(e),this._state=El.RESOLVED}reject(e){if(this.state!==El.PENDING)throw new Error(`cannot reject ${El[this.state].toLowerCase()}`);this._reject(e),this._state=El.REJECTED}resolvePending(e){this._state===El.PENDING&&this.resolve(e)}rejectPending(e){this._state===El.PENDING&&this.reject(e)}};Op.Deferred=_z});var Dz=A(w2=>{"use strict";Object.defineProperty(w2,"__esModule",{value:!0});w2.RpcOutputStreamController=void 0;var wEe=Rz(),Lp=rn(),Tz=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){Lp.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){Lp.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){Lp.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(){Lp.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;Lp.assert(e,"bad state"),Lp.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 wEe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Lp.assert(n.state==wEe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};w2.RpcOutputStreamController=Tz});var kz=A(ay=>{"use strict";var Uut=ay&&ay.__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(ay,"__esModule",{value:!0});ay.UnaryCall=void 0;var Qz=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 Uut(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}})}};ay.UnaryCall=Qz});var Oz=A(cy=>{"use strict";var qut=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.ServerStreamingCall=void 0;var Pz=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 qut(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}})}};cy.ServerStreamingCall=Pz});var Fz=A(ly=>{"use strict";var Gut=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.ClientStreamingCall=void 0;var Lz=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 Gut(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}})}};ly.ClientStreamingCall=Lz});var Uz=A(uy=>{"use strict";var Hut=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.DuplexStreamingCall=void 0;var Mz=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 Hut(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}})}};uy.DuplexStreamingCall=Mz});var SEe=A(hy=>{"use strict";var Vut=hy&&hy.__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(hy,"__esModule",{value:!0});hy.TestTransport=void 0;var ia=vz(),I2=rn(),IEe=Dz(),zut=Nz(),jut=kz(),$ut=Oz(),Jut=Fz(),Wut=Uz(),fy=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 dy?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof dy?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 ia.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ia.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(I2.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),I2.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Vut(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)I2.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ia.RpcError||(I2.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 ia.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 ia.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ia.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 ia.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 ia.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return zut.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 jut.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 IEe.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 $ut.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 dy(this.data,r.abort),new Jut.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 IEe.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 dy(this.data,r.abort),new Wut.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};hy.TestTransport=fy;fy.defaultHeaders={responseHeader:"test"};fy.defaultStatus={code:"OK",detail:"all good"};fy.defaultTrailers={responseTrailer:"test"};function Jn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ia.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ia.RpcError("user cancel","CANCELLED"))})}})}o(Jn,"delay");var dy=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 ia.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 ia.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 BEe=A(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.stackDuplexStreamingInterceptors=sa.stackClientStreamingInterceptors=sa.stackServerStreamingInterceptors=sa.stackUnaryInterceptors=sa.stackIntercept=void 0;var Yut=rn();function Vw(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,m)=>d.interceptUnary(f,h,p,m),"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,m)=>d.interceptServerStreaming(f,h,p,m),"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)}Yut.assertNever(t)}o(Vw,"stackIntercept");sa.stackIntercept=Vw;function Kut(t,e,r,n){return Vw("unary",t,e,n,r)}o(Kut,"stackUnaryInterceptors");sa.stackUnaryInterceptors=Kut;function Xut(t,e,r,n){return Vw("serverStreaming",t,e,n,r)}o(Xut,"stackServerStreamingInterceptors");sa.stackServerStreamingInterceptors=Xut;function Zut(t,e,r){return Vw("clientStreaming",t,e,r)}o(Zut,"stackClientStreamingInterceptors");sa.stackClientStreamingInterceptors=Zut;function edt(t,e,r){return Vw("duplex",t,e,r)}o(edt,"stackDuplexStreamingInterceptors");sa.stackDuplexStreamingInterceptors=edt});var xEe=A(S2=>{"use strict";Object.defineProperty(S2,"__esModule",{value:!0});S2.ServerCallContextController=void 0;var qz=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)}}};S2.ServerCallContextController=qz});var NEe=A(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});var tdt=CEe();Object.defineProperty(qr,"ServiceType",{enumerable:!0,get:o(function(){return tdt.ServiceType},"get")});var Gz=Sz();Object.defineProperty(qr,"readMethodOptions",{enumerable:!0,get:o(function(){return Gz.readMethodOptions},"get")});Object.defineProperty(qr,"readMethodOption",{enumerable:!0,get:o(function(){return Gz.readMethodOption},"get")});Object.defineProperty(qr,"readServiceOption",{enumerable:!0,get:o(function(){return Gz.readServiceOption},"get")});var rdt=vz();Object.defineProperty(qr,"RpcError",{enumerable:!0,get:o(function(){return rdt.RpcError},"get")});var ndt=Nz();Object.defineProperty(qr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return ndt.mergeRpcOptions},"get")});var idt=Dz();Object.defineProperty(qr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return idt.RpcOutputStreamController},"get")});var sdt=SEe();Object.defineProperty(qr,"TestTransport",{enumerable:!0,get:o(function(){return sdt.TestTransport},"get")});var vEe=Rz();Object.defineProperty(qr,"Deferred",{enumerable:!0,get:o(function(){return vEe.Deferred},"get")});Object.defineProperty(qr,"DeferredState",{enumerable:!0,get:o(function(){return vEe.DeferredState},"get")});var odt=Uz();Object.defineProperty(qr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return odt.DuplexStreamingCall},"get")});var adt=Fz();Object.defineProperty(qr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return adt.ClientStreamingCall},"get")});var cdt=Oz();Object.defineProperty(qr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return cdt.ServerStreamingCall},"get")});var ldt=kz();Object.defineProperty(qr,"UnaryCall",{enumerable:!0,get:o(function(){return ldt.UnaryCall},"get")});var zw=BEe();Object.defineProperty(qr,"stackIntercept",{enumerable:!0,get:o(function(){return zw.stackIntercept},"get")});Object.defineProperty(qr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return zw.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(qr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return zw.stackClientStreamingInterceptors},"get")});Object.defineProperty(qr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return zw.stackServerStreamingInterceptors},"get")});Object.defineProperty(qr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return zw.stackUnaryInterceptors},"get")});var udt=xEe();Object.defineProperty(qr,"ServerCallContextController",{enumerable:!0,get:o(function(){return udt.ServerCallContextController},"get")})});var my=A((Hyr,VEe)=>{"use strict";var wdt="2.0.0",Idt=Number.MAX_SAFE_INTEGER||9007199254740991,Sdt=16,Bdt=250,xdt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];VEe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Sdt,MAX_SAFE_BUILD_LENGTH:Bdt,MAX_SAFE_INTEGER:Idt,RELEASE_TYPES:xdt,SEMVER_SPEC_VERSION:wdt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Jw=A((Vyr,zEe)=>{"use strict";var vdt=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};zEe.exports=vdt});var gy=A((bl,jEe)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Ej,MAX_SAFE_BUILD_LENGTH:Ndt,MAX_LENGTH:_dt}=my(),Rdt=Jw();bl=jEe.exports={};var Tdt=bl.re=[],Ddt=bl.safeRe=[],fe=bl.src=[],Qdt=bl.safeSrc=[],he=bl.t={},kdt=0,Cj="[a-zA-Z0-9-]",Pdt=[["\\s",1],["\\d",_dt],[Cj,Ndt]],Odt=o(t=>{for(let[e,r]of Pdt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ke=o((t,e,r)=>{let n=Odt(e),i=kdt++;Rdt(t,i,e),he[t]=i,fe[i]=e,Qdt[i]=n,Tdt[i]=new RegExp(e,r?"g":void 0),Ddt[i]=new RegExp(n,r?"g":void 0)},"createToken");Ke("NUMERICIDENTIFIER","0|[1-9]\\d*");Ke("NUMERICIDENTIFIERLOOSE","\\d+");Ke("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Cj}*`);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",`${Cj}+`);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,${Ej}})(?:\\.(\\d{1,${Ej}}))?(?:\\.(\\d{1,${Ej}}))?`);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);bl.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);bl.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);bl.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((jyr,$Ee)=>{"use strict";var Ldt=Object.freeze({loose:!0}),Fdt=Object.freeze({}),Mdt=o(t=>t?typeof t!="object"?Ldt:t:Fdt,"parseOptions");$Ee.exports=Mdt});var bj=A((Jyr,YEe)=>{"use strict";var JEe=/^[0-9]+$/,WEe=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tWEe(e,t),"rcompareIdentifiers");YEe.exports={compareIdentifiers:WEe,rcompareIdentifiers:Udt}});var fi=A((Yyr,XEe)=>{"use strict";var D2=Jw(),{MAX_LENGTH:KEe,MAX_SAFE_INTEGER:Q2}=my(),{safeRe:k2,t:P2}=gy(),qdt=T2(),{compareIdentifiers:wj}=bj(),Gdt=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let n=0;nKEe)throw new TypeError(`version is longer than ${KEe} characters`);D2("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?k2[P2.LOOSE]:k2[P2.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>Q2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Q2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Q2||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(D2("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 wj(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(D2("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 wj(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?k2[P2.PRERELEASELOOSE]:k2[P2.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]),Gdt(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}};XEe.exports=Ij});var xf=A((Xyr,eCe)=>{"use strict";var ZEe=fi(),Hdt=o((t,e,r=!1)=>{if(t instanceof ZEe)return t;try{return new ZEe(t,e)}catch(n){if(!r)return null;throw n}},"parse");eCe.exports=Hdt});var rCe=A((eEr,tCe)=>{"use strict";var Vdt=xf(),zdt=o((t,e)=>{let r=Vdt(t,e);return r?r.version:null},"valid");tCe.exports=zdt});var iCe=A((rEr,nCe)=>{"use strict";var jdt=xf(),$dt=o((t,e)=>{let r=jdt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");nCe.exports=$dt});var aCe=A((iEr,oCe)=>{"use strict";var sCe=fi(),Jdt=o((t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new sCe(t instanceof sCe?t.version:t,r).inc(e,n,i).version}catch{return null}},"inc");oCe.exports=Jdt});var uCe=A((oEr,lCe)=>{"use strict";var cCe=xf(),Wdt=o((t,e)=>{let r=cCe(t,null,!0),n=cCe(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");lCe.exports=Wdt});var fCe=A((cEr,dCe)=>{"use strict";var Ydt=fi(),Kdt=o((t,e)=>new Ydt(t,e).major,"major");dCe.exports=Kdt});var pCe=A((uEr,hCe)=>{"use strict";var Xdt=fi(),Zdt=o((t,e)=>new Xdt(t,e).minor,"minor");hCe.exports=Zdt});var mCe=A((fEr,ACe)=>{"use strict";var eft=fi(),tft=o((t,e)=>new eft(t,e).patch,"patch");ACe.exports=tft});var yCe=A((pEr,gCe)=>{"use strict";var rft=xf(),nft=o((t,e)=>{let r=rft(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");gCe.exports=nft});var oa=A((mEr,CCe)=>{"use strict";var ECe=fi(),ift=o((t,e,r)=>new ECe(t,r).compare(new ECe(e,r)),"compare");CCe.exports=ift});var wCe=A((yEr,bCe)=>{"use strict";var sft=oa(),oft=o((t,e,r)=>sft(e,t,r),"rcompare");bCe.exports=oft});var SCe=A((CEr,ICe)=>{"use strict";var aft=oa(),cft=o((t,e)=>aft(t,e,!0),"compareLoose");ICe.exports=cft});var O2=A((wEr,xCe)=>{"use strict";var BCe=fi(),lft=o((t,e,r)=>{let n=new BCe(t,r),i=new BCe(e,r);return n.compare(i)||n.compareBuild(i)},"compareBuild");xCe.exports=lft});var NCe=A((SEr,vCe)=>{"use strict";var uft=O2(),dft=o((t,e)=>t.sort((r,n)=>uft(r,n,e)),"sort");vCe.exports=dft});var RCe=A((xEr,_Ce)=>{"use strict";var fft=O2(),hft=o((t,e)=>t.sort((r,n)=>fft(n,r,e)),"rsort");_Ce.exports=hft});var Ww=A((NEr,TCe)=>{"use strict";var pft=oa(),Aft=o((t,e,r)=>pft(t,e,r)>0,"gt");TCe.exports=Aft});var L2=A((REr,DCe)=>{"use strict";var mft=oa(),gft=o((t,e,r)=>mft(t,e,r)<0,"lt");DCe.exports=gft});var Sj=A((DEr,QCe)=>{"use strict";var yft=oa(),Eft=o((t,e,r)=>yft(t,e,r)===0,"eq");QCe.exports=Eft});var Bj=A((kEr,kCe)=>{"use strict";var Cft=oa(),bft=o((t,e,r)=>Cft(t,e,r)!==0,"neq");kCe.exports=bft});var F2=A((OEr,PCe)=>{"use strict";var wft=oa(),Ift=o((t,e,r)=>wft(t,e,r)>=0,"gte");PCe.exports=Ift});var M2=A((FEr,OCe)=>{"use strict";var Sft=oa(),Bft=o((t,e,r)=>Sft(t,e,r)<=0,"lte");OCe.exports=Bft});var xj=A((UEr,LCe)=>{"use strict";var xft=Sj(),vft=Bj(),Nft=Ww(),_ft=F2(),Rft=L2(),Tft=M2(),Dft=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 xft(t,r,n);case"!=":return vft(t,r,n);case">":return Nft(t,r,n);case">=":return _ft(t,r,n);case"<":return Rft(t,r,n);case"<=":return Tft(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");LCe.exports=Dft});var MCe=A((GEr,FCe)=>{"use strict";var Qft=fi(),kft=xf(),{safeRe:U2,t:q2}=gy(),Pft=o((t,e)=>{if(t instanceof Qft)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?U2[q2.COERCEFULL]:U2[q2.COERCE]);else{let l=e.includePrerelease?U2[q2.COERCERTLFULL]:U2[q2.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 kft(`${n}.${i}.${s}${a}${c}`,e)},"coerce");FCe.exports=Pft});var qCe=A((VEr,UCe)=>{"use strict";var Oft=xf(),Lft=my(),Fft=fi(),Mft=o((t,e,r)=>{if(!Lft.RELEASE_TYPES.includes(e))return null;let n=Uft(t,r);return n&&qft(n,e)},"truncate"),Uft=o((t,e)=>{let r=t instanceof Fft?t.version:t;return Oft(r,e)},"cloneInputVersion"),qft=o((t,e)=>{if(Gft(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"),Gft=o(t=>t.startsWith("pre"),"isPrerelease");UCe.exports=Mft});var HCe=A((jEr,GCe)=>{"use strict";var vj=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}};GCe.exports=vj});var aa=A((JEr,$Ce)=>{"use strict";var Hft=/\s+/g,Nj=class t{static{o(this,"Range")}constructor(e,r){if(r=zft(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof _j)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(Hft," "),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=>!zCe(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&&eht(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(Zft,"");let n=((this.options.includePrerelease&&Kft)|(this.options.loose&&Xft))+":"+e,i=VCe.get(n);if(i)return i;let s=this.options.loose,a=s?es[hi.HYPHENRANGELOOSE]:es[hi.HYPHENRANGE];e=e.replace(a,dht(this.options.includePrerelease)),sr("hyphen replace",e),e=e.replace(es[hi.COMPARATORTRIM],Jft),sr("comparator trim",e),e=e.replace(es[hi.TILDETRIM],Wft),sr("tilde trim",e),e=e.replace(es[hi.CARETTRIM],Yft),sr("caret trim",e);let c=e.split(" ").map(f=>tht(f,this.options)).join(" ").split(/\s+/).map(f=>uht(f,this.options));s&&(c=c.filter(f=>(sr("loose invalid filter",f,this.options),!!f.match(es[hi.COMPARATORLOOSE])))),sr("range list",c);let l=new Map,u=c.map(f=>new _j(f,this.options));for(let f of u){if(zCe(f))return[f];l.set(f.value,f)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return VCe.set(n,d),d}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>jCe(n,r)&&e.set.some(i=>jCe(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 jft(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),eht=o(t=>t.value==="","isAny"),jCe=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"),tht=o((t,e)=>(t=t.replace(es[hi.BUILD],""),sr("comp",t,e),t=sht(t,e),sr("caret",t),t=nht(t,e),sr("tildes",t),t=aht(t,e),sr("xrange",t),t=lht(t,e),sr("stars",t),t),"parseComparator"),Dn=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),rht=o((t,e,r)=>Dn(t)&&!Dn(e)||Dn(e)&&r&&!Dn(r),"invalidXRangeOrder"),nht=o((t,e)=>t.trim().split(/\s+/).map(r=>iht(r,e)).join(" "),"replaceTildes"),iht=o((t,e)=>{let r=e.loose?es[hi.TILDELOOSE]:es[hi.TILDE],n=e.includePrerelease?"-0":"";return t.replace(r,(i,s,a,c,l)=>{sr("tilde",t,i,s,a,c,l);let u;return Dn(s)?u="":Dn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Dn(c)?u=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:l?(sr("replaceTilde pr",l),u=`>=${s}.${a}.${c}-${l} <${s}.${+a+1}.0-0`):u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`,sr("tilde return",u),u})},"replaceTilde"),sht=o((t,e)=>t.trim().split(/\s+/).map(r=>oht(r,e)).join(" "),"replaceCarets"),oht=o((t,e)=>{sr("caret",t,e);let r=e.loose?es[hi.CARETLOOSE]:es[hi.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 Dn(s)?u="":Dn(a)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:Dn(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} <${s}.${a}.${+c+1}-0`:u=`>=${s}.${a}.${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),sr("caret return",u),u})},"replaceCaret"),aht=o((t,e)=>(sr("replaceXRanges",t,e),t.split(/\s+/).map(r=>cht(r,e)).join(" ")),"replaceXRanges"),cht=o((t,e)=>{t=t.trim();let r=e.loose?es[hi.XRANGELOOSE]:es[hi.XRANGE];return t.replace(r,(n,i,s,a,c,l)=>{if(sr("xRange",t,n,i,s,a,c,l),rht(s,a,c))return t;let u=Dn(s),d=u||Dn(a),f=d||Dn(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"),lht=o((t,e)=>(sr("replaceStars",t,e),t.trim().replace(es[hi.STAR],"")),"replaceStars"),uht=o((t,e)=>(sr("replaceGTE0",t,e),t.trim().replace(es[e.includePrerelease?hi.GTE0PRE:hi.GTE0],"")),"replaceGTE0"),dht=o(t=>(e,r,n,i,s,a,c,l,u,d,f,h)=>(Dn(n)?r="":Dn(i)?r=`>=${n}.0.0${t?"-0":""}`:Dn(s)?r=`>=${n}.${i}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Dn(u)?l="":Dn(d)?l=`<${+u+1}.0.0-0`:Dn(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"),fht=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 Yw=A((YEr,ZCe)=>{"use strict";var Kw=Symbol("SemVer ANY"),Dj=class t{static{o(this,"Comparator")}static get ANY(){return Kw}constructor(e,r){if(r=JCe(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Tj("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Kw?this.value="":this.value=this.operator+this.semver.version,Tj("comp",this)}parse(e){let r=this.options.loose?WCe[YCe.COMPARATORLOOSE]:WCe[YCe.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 KCe(n[2],this.options.loose):this.semver=Kw}toString(){return this.value}test(e){if(Tj("Comparator.test",e,this.options.loose),this.semver===Kw||e===Kw)return!0;if(typeof e=="string")try{e=new KCe(e,this.options)}catch{return!1}return Rj(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 XCe(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new XCe(this.value,r).test(e.semver):(r=JCe(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("=")||Rj(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Rj(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};ZCe.exports=Dj;var JCe=T2(),{safeRe:WCe,t:YCe}=gy(),Rj=xj(),Tj=Jw(),KCe=fi(),XCe=aa()});var Xw=A((XEr,ebe)=>{"use strict";var hht=aa(),pht=o((t,e,r)=>{try{e=new hht(e,r)}catch{return!1}return e.test(t)},"satisfies");ebe.exports=pht});var rbe=A((eCr,tbe)=>{"use strict";var Aht=aa(),mht=o((t,e)=>new Aht(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");tbe.exports=mht});var ibe=A((rCr,nbe)=>{"use strict";var ght=fi(),yht=aa(),Eht=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new yht(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},"maxSatisfying");nbe.exports=Eht});var obe=A((iCr,sbe)=>{"use strict";var Cht=fi(),bht=aa(),wht=o((t,e,r)=>{let n=null,i=null,s=null;try{s=new bht(e,r)}catch{return null}return t.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Cht(n,r))}),n},"minSatisfying");sbe.exports=wht});var lbe=A((oCr,cbe)=>{"use strict";var Qj=fi(),Iht=aa(),abe=Ww(),Sht=o((t,e)=>{t=new Iht(t,e);let r=new Qj("0.0.0");if(t.test(r)||(r=new Qj("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new Qj(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||abe(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||abe(r,s))&&(r=s)}return r&&t.test(r)?r:null},"minVersion");cbe.exports=Sht});var dbe=A((cCr,ube)=>{"use strict";var Bht=aa(),xht=o((t,e)=>{try{return new Bht(t,e).range||"*"}catch{return null}},"validRange");ube.exports=xht});var G2=A((uCr,Abe)=>{"use strict";var vht=fi(),pbe=Yw(),{ANY:Nht}=pbe,_ht=aa(),Rht=Xw(),fbe=Ww(),hbe=L2(),Tht=M2(),Dht=F2(),Qht=o((t,e,r,n)=>{t=new vht(t,n),e=new _ht(e,n);let i,s,a,c,l;switch(r){case">":i=fbe,s=Tht,a=hbe,c=">",l=">=";break;case"<":i=hbe,s=Dht,a=fbe,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Rht(t,e,n))return!1;for(let u=0;u{p.semver===Nht&&(p=new pbe(">=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");Abe.exports=Qht});var gbe=A((fCr,mbe)=>{"use strict";var kht=G2(),Pht=o((t,e,r)=>kht(t,e,">",r),"gtr");mbe.exports=Pht});var Ebe=A((pCr,ybe)=>{"use strict";var Oht=G2(),Lht=o((t,e,r)=>Oht(t,e,"<",r),"ltr");ybe.exports=Lht});var wbe=A((mCr,bbe)=>{"use strict";var Cbe=aa(),Fht=o((t,e,r)=>(t=new Cbe(t,r),e=new Cbe(e,r),t.intersects(e,r)),"intersects");bbe.exports=Fht});var Sbe=A((yCr,Ibe)=>{"use strict";var Mht=Xw(),Uht=oa();Ibe.exports=(t,e,r)=>{let n=[],i=null,s=null,a=t.sort((d,f)=>Uht(d,f,r));for(let d of a)Mht(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 Bbe=aa(),Oj=Yw(),{ANY:kj}=Oj,Pj=Xw(),Lj=oa(),qht=o((t,e,r={})=>{if(t===e)return!0;t=new Bbe(t,r),e=new Bbe(e,r);let n=!1;e:for(let i of t.set){for(let s of e.set){let a=Hht(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Ght=[new Oj(">=0.0.0-0")],xbe=[new Oj(">=0.0.0")],Hht=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===kj){if(e.length===1&&e[0].semver===kj)return!0;r.includePrerelease?t=Ght:t=xbe}if(e.length===1&&e[0].semver===kj){if(r.includePrerelease)return!0;e=xbe}let n=new Set,i,s;for(let p of t)p.operator===">"||p.operator===">="?i=vbe(i,p,r):p.operator==="<"||p.operator==="<="?s=Nbe(s,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(i&&s){if(a=Lj(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&&!Pj(p,String(i),r)||s&&!Pj(p,String(s),r))return null;for(let m of e)if(!Pj(p,String(m),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=vbe(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=Nbe(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"),vbe=o((t,e,r)=>{if(!t)return e;let n=Lj(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Nbe=o((t,e,r)=>{if(!t)return e;let n=Lj(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");_be.exports=qht});var oc=A((bCr,Qbe)=>{"use strict";var Fj=gy(),Tbe=my(),Vht=fi(),Dbe=bj(),zht=xf(),jht=rCe(),$ht=iCe(),Jht=aCe(),Wht=uCe(),Yht=fCe(),Kht=pCe(),Xht=mCe(),Zht=yCe(),ept=oa(),tpt=wCe(),rpt=SCe(),npt=O2(),ipt=NCe(),spt=RCe(),opt=Ww(),apt=L2(),cpt=Sj(),lpt=Bj(),upt=F2(),dpt=M2(),fpt=xj(),hpt=MCe(),ppt=qCe(),Apt=Yw(),mpt=aa(),gpt=Xw(),ypt=rbe(),Ept=ibe(),Cpt=obe(),bpt=lbe(),wpt=dbe(),Ipt=G2(),Spt=gbe(),Bpt=Ebe(),xpt=wbe(),vpt=Sbe(),Npt=Rbe();Qbe.exports={parse:zht,valid:jht,clean:$ht,inc:Jht,diff:Wht,major:Yht,minor:Kht,patch:Xht,prerelease:Zht,compare:ept,rcompare:tpt,compareLoose:rpt,compareBuild:npt,sort:ipt,rsort:spt,gt:opt,lt:apt,eq:cpt,neq:lpt,gte:upt,lte:dpt,cmp:fpt,coerce:hpt,truncate:ppt,Comparator:Apt,Range:mpt,satisfies:gpt,toComparators:ypt,maxSatisfying:Ept,minSatisfying:Cpt,minVersion:bpt,validRange:wpt,outside:Ipt,gtr:Spt,ltr:Bpt,intersects:xpt,simplifyRange:vpt,subset:Npt,SemVer:Vht,re:Fj.re,src:Fj.src,tokens:Fj.t,SEMVER_SPEC_VERSION:Tbe.SEMVER_SPEC_VERSION,RELEASE_TYPES:Tbe.RELEASE_TYPES,compareIdentifiers:Dbe.compareIdentifiers,rcompareIdentifiers:Dbe.rcompareIdentifiers}});var Kbe=A((SCr,Yu)=>{var zt=require("fs"),z2=require("os"),Qn=require("path"),kbe=require("crypto"),wl={fs:zt.constants,os:z2.constants},Pbe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Mbe=/XXXXXX/,_pt=3,Ube=(wl.O_CREAT||wl.fs.O_CREAT)|(wl.O_EXCL||wl.fs.O_EXCL)|(wl.O_RDWR||wl.fs.O_RDWR),Rpt=z2.platform()==="win32",Tpt=wl.EBADF||wl.os.errno.EBADF,Dpt=wl.ENOENT||wl.os.errno.ENOENT,qbe=448,Gbe=384,Qpt="exit",yy=[],Hbe=zt.rmdirSync.bind(zt),Vbe=!1;function kpt(t,e){return zt.rm(t,{recursive:!0},e)}o(kpt,"rimraf");function zbe(t){return zt.rmSync(t,{recursive:!0})}o(zbe,"FN_RIMRAF_SYNC");function Gj(t,e){let r=Ey(t,e),n=r[0],i=r[1];Vpt(n,function(s,a){if(s)return i(s);let c=a.tries;o((function l(){try{let u=$be(a);zt.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(Gj,"tmpName");function Hj(t){let e=Ey(t),r=e[0],n=zpt(r),i=n.tries;do{let s=$be(n);try{zt.statSync(s)}catch{return s}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(Hj,"tmpNameSync");function Ppt(t,e){let r=Ey(t,e),n=r[0],i=r[1];Gj(n,o(function(a,c){if(a)return i(a);zt.open(c,Ube,n.mode||Gbe,o(function(u,d){if(u)return i(u);if(n.discardDescriptor)return zt.close(d,o(function(h){return i(h,c,void 0,Uj(c,-1,n,!1))},"_discardCallback"));{let f=n.discardDescriptor||n.detachDescriptor;i(null,c,d,Uj(c,f?-1:d,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Ppt,"file");function Opt(t){let e=Ey(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,i=Hj(r),s=zt.openSync(i,Ube,r.mode||Gbe);return r.discardDescriptor&&(zt.closeSync(s),s=void 0),{name:i,fd:s,removeCallback:Uj(i,n?-1:s,r,!0)}}o(Opt,"fileSync");function Lpt(t,e){let r=Ey(t,e),n=r[0],i=r[1];Gj(n,o(function(a,c){if(a)return i(a);zt.mkdir(c,n.mode||qbe,o(function(u){if(u)return i(u);i(null,c,jbe(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Lpt,"dir");function Fpt(t){let e=Ey(t),r=e[0],n=Hj(r);return zt.mkdirSync(n,r.mode||qbe),{name:n,removeCallback:jbe(n,r,!0)}}o(Fpt,"dirSync");function Mpt(t,e){let r=o(function(n){if(n&&!qj(n))return e(n);e()},"_handler");0<=t[0]?zt.close(t[0],function(){zt.unlink(t[1],r)}):zt.unlink(t[1],r)}o(Mpt,"_removeFileAsync");function Upt(t){let e=null;try{0<=t[0]&&zt.closeSync(t[0])}catch(r){if(!jpt(r)&&!qj(r))throw r}finally{try{zt.unlinkSync(t[1])}catch(r){qj(r)||(e=r)}}if(e!==null)throw e}o(Upt,"_removeFileSync");function Uj(t,e,r,n){let i=V2(Upt,[e,t],n),s=V2(Mpt,[e,t],n,i);return r.keep||yy.unshift(i),n?i:s}o(Uj,"_prepareTmpFileRemoveCallback");function jbe(t,e,r){let n=e.unsafeCleanup?kpt:zt.rmdir.bind(zt),i=e.unsafeCleanup?zbe:Hbe,s=V2(i,t,r),a=V2(n,t,r,s);return e.keep||yy.unshift(s),r?s:a}o(jbe,"_prepareTmpDirRemoveCallback");function V2(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===Hbe||t===zbe?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(V2,"_prepareRemoveCallback");function qpt(){if(Vbe)for(;yy.length;)try{yy[0]()}catch{}}o(qpt,"_garbageCollector");function Obe(t){let e=[],r=null;try{r=kbe.randomBytes(t)}catch{r=kbe.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 Gpt(t,e,r){let n=Qn.isAbsolute(t)?t:Qn.join(e,t);zt.stat(n,function(i){i?zt.realpath(Qn.dirname(n),function(s,a){if(s)return r(s);r(null,Qn.join(a,Qn.basename(n)))}):zt.realpath(n,r)})}o(Gpt,"_resolvePath");function Hpt(t,e){let r=Qn.isAbsolute(t)?t:Qn.join(e,t);try{return zt.statSync(r),zt.realpathSync(r)}catch{let i=zt.realpathSync(Qn.dirname(r));return Qn.join(i,Qn.basename(r))}}o(Hpt,"_resolvePathSync");function $be(t){let e=t.tmpdir;if(!Qs(t.name))return Qn.join(e,t.dir,t.name);if(!Qs(t.template))return Qn.join(e,t.dir,t.template).replace(Mbe,Obe(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",Obe(12),t.postfix?"-"+t.postfix:""].join("");return Qn.join(e,t.dir,r)}o($be,"_generateTmpName");function Mj(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(Mj,"_assertPath");function Jbe(t){if(!Qs(t.name)){let e=t.name;if(Qn.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Qn.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(Mbe))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||_pt:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Qs(t.prefix)?"":Mj("prefix",t.prefix),t.postfix=Qs(t.postfix)?"":Mj("postfix",t.postfix),t.template=Qs(t.template)?void 0:Mj("template",t.template)}o(Jbe,"_assertOptionsBase");function Lbe(t,e,r,n){if(Qs(e))return n(null);Gpt(e,r,function(i,s){if(i)return n(i);let a=Qn.relative(r,s);if(a.startsWith("..")||Qn.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(Lbe,"_getRelativePath");function Fbe(t,e,r){if(Qs(e))return;let n=Hpt(e,r),i=Qn.relative(r,n);if(i.startsWith("..")||Qn.isAbsolute(i))throw new Error(`${t} option must be relative to "${r}", found "${i}".`);return i}o(Fbe,"_getRelativePathSync");function Vpt(t,e){Jpt(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{Jbe(t,n)}catch(i){return e(i)}Lbe("dir",t.dir,n,function(i,s){if(i)return e(i);t.dir=Qs(s)?"":s,Lbe("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Vpt,"_assertAndSanitizeOptions");function zpt(t){let e=t.tmpdir=Ybe(t);Jbe(t,e);let r=Fbe("dir",t.dir,e);return t.dir=Qs(r)?"":r,t.template=Fbe("template",t.template,e),t}o(zpt,"_assertAndSanitizeOptionsSync");function jpt(t){return Wbe(t,-Tpt,"EBADF")}o(jpt,"_isEBADF");function qj(t){return Wbe(t,-Dpt,"ENOENT")}o(qj,"_isENOENT");function Wbe(t,e,r){return Rpt?t.code===r:t.code===r&&t.errno===e}o(Wbe,"_isExpectedError");function $pt(){Vbe=!0}o($pt,"setGracefulCleanup");function Jpt(t,e){return zt.realpath(t&&t.tmpdir||z2.tmpdir(),e)}o(Jpt,"_getTmpDir");function Ybe(t){return zt.realpathSync(t&&t.tmpdir||z2.tmpdir())}o(Ybe,"_getTmpDirSync");process.addListener(Qpt,qpt);Object.defineProperty(Yu.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return Ybe()},"get")});Yu.exports.dir=Lpt;Yu.exports.dirSync=Fpt;Yu.exports.file=Ppt;Yu.exports.fileSync=Opt;Yu.exports.tmpName=Gj;Yu.exports.tmpNameSync=Hj;Yu.exports.setGracefulCleanup=$pt});var ts=A(yo=>{"use strict";yo.__esModule=!0;yo.extend=t0e;yo.indexOf=Zpt;yo.escapeExpression=eAt;yo.isEmpty=tAt;yo.createFrame=rAt;yo.blockParams=nAt;yo.appendContextPath=iAt;var Wpt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Ypt=/[&<>"'`=]/g,Kpt=/[&<>"'`=]/;function Xpt(t){return Wpt[t]}o(Xpt,"escapeChar");function t0e(t){for(var e=1;e{"use strict";j2.__esModule=!0;var $j=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Jj(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<$j.length;l++)this[$j[l]]=c[$j[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Jj);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=s,this.endColumn=a))}catch{}}o(Jj,"Exception");Jj.prototype=new Error;j2.default=Jj;n0e.exports=j2.default});var s0e=A(($2,i0e)=>{"use strict";$2.__esModule=!0;var Wj=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(Wj.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=Wj.createFrame(r.data);s.contextPath=Wj.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(e,r)})};i0e.exports=$2.default});var a0e=A((J2,o0e)=>{"use strict";J2.__esModule=!0;function sAt(t){return t&&t.__esModule?t:{default:t}}o(sAt,"_interopRequireDefault");var Zw=ts(),oAt=Eo(),aAt=sAt(oAt);J2.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new aAt.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=Zw.appendContextPath(r.data.contextPath,r.ids[0])+"."),Zw.isFunction(e)&&(e=e.call(this)),r.data&&(c=Zw.createFrame(r.data));function u(m,g,E){c&&(c.key=m,c.index=g,c.first=g===0,c.last=!!E,l&&(c.contextPath=l+m)),a=a+n(e[m],{data:c,blockParams:Zw.blockParams([e[m],m],[l+m,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(Zw.isArray(e))for(var d=e.length;s{"use strict";W2.__esModule=!0;function cAt(t){return t&&t.__esModule?t:{default:t}}o(cAt,"_interopRequireDefault");var lAt=Eo(),uAt=cAt(lAt);W2.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new uAt.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};c0e.exports=W2.default});var h0e=A((Y2,f0e)=>{"use strict";Y2.__esModule=!0;function dAt(t){return t&&t.__esModule?t:{default:t}}o(dAt,"_interopRequireDefault");var u0e=ts(),fAt=Eo(),d0e=dAt(fAt);Y2.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new d0e.default("#if requires exactly one argument");return u0e.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||u0e.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new d0e.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};f0e.exports=Y2.default});var A0e=A((K2,p0e)=>{"use strict";K2.__esModule=!0;K2.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";X2.__esModule=!0;X2.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};m0e.exports=X2.default});var E0e=A((Z2,y0e)=>{"use strict";Z2.__esModule=!0;function hAt(t){return t&&t.__esModule?t:{default:t}}o(hAt,"_interopRequireDefault");var eI=ts(),pAt=Eo(),AAt=hAt(pAt);Z2.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new AAt.default("#with requires exactly one argument");eI.isFunction(e)&&(e=e.call(this));var n=r.fn;if(eI.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=eI.createFrame(r.data),i.contextPath=eI.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:eI.blockParams([e],[i&&i.contextPath])})})};y0e.exports=Z2.default});var Yj=A(eD=>{"use strict";eD.__esModule=!0;eD.registerDefaultHelpers=RAt;eD.moveHelperToHooks=TAt;function Gp(t){return t&&t.__esModule?t:{default:t}}o(Gp,"_interopRequireDefault");var mAt=s0e(),gAt=Gp(mAt),yAt=a0e(),EAt=Gp(yAt),CAt=l0e(),bAt=Gp(CAt),wAt=h0e(),IAt=Gp(wAt),SAt=A0e(),BAt=Gp(SAt),xAt=g0e(),vAt=Gp(xAt),NAt=E0e(),_At=Gp(NAt);function RAt(t){gAt.default(t),EAt.default(t),bAt.default(t),IAt.default(t),BAt.default(t),vAt.default(t),_At.default(t)}o(RAt,"registerDefaultHelpers");function TAt(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(TAt,"moveHelperToHooks")});var b0e=A((tD,C0e)=>{"use strict";tD.__esModule=!0;var DAt=ts();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=DAt.extend({},l,r.partials);var u=e(a,c);return n.partials=l,u},"ret")),r.partials[i.args[0]]=i.fn,s})};C0e.exports=tD.default});var w0e=A(Kj=>{"use strict";Kj.__esModule=!0;Kj.registerDefaultDecorators=OAt;function QAt(t){return t&&t.__esModule?t:{default:t}}o(QAt,"_interopRequireDefault");var kAt=b0e(),PAt=QAt(kAt);function OAt(t){PAt.default(t)}o(OAt,"registerDefaultDecorators")});var Xj=A((rD,I0e)=>{"use strict";rD.__esModule=!0;var LAt=ts(),Cy={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=LAt.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";tI.__esModule=!0;tI.createProtoAccessControl=qAt;tI.resultIsAllowed=GAt;tI.resetLoggedProperties=VAt;function FAt(t){return t&&t.__esModule?t:{default:t}}o(FAt,"_interopRequireDefault");var S0e=ts(),MAt=Xj(),UAt=FAt(MAt),nD=Object.create(null);function qAt(t){var e=Object.create(null);e.__proto__=!1,S0e.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,S0e.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(qAt,"createProtoAccessControl");function GAt(t,e,r){return B0e(typeof t=="function"?e.methods:e.properties,r)}o(GAt,"resultIsAllowed");function B0e(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(HAt(e),!1)}o(B0e,"checkWhiteList");function HAt(t){nD[t]!==!0&&(nD[t]=!0,UAt.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(UAt,"logUnexpecedPropertyAccessOnce");function qAt(){Object.keys(nD).forEach(function(t){delete nD[t]})}o(qAt,"resetLoggedProperties")});var sD=A(Il=>{"use strict";Il.__esModule=!0;Il.HandlebarsEnvironment=t$;function B0e(t){return t&&t.__esModule?t:{default:t}}o(B0e,"_interopRequireDefault");var Hp=ts(),GAt=Eo(),Zj=B0e(GAt),HAt=Wj(),VAt=b0e(),zAt=Kj(),iD=B0e(zAt),jAt=Xj(),$At="4.7.9";Il.VERSION=$At;var JAt=8;Il.COMPILER_REVISION=JAt;var WAt=7;Il.LAST_COMPATIBLE_COMPILER_REVISION=WAt;var YAt={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"};Il.REVISION_CHANGES=YAt;var e$="[object Object]";function t$(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},HAt.registerDefaultHelpers(this),VAt.registerDefaultDecorators(this)}o(t$,"HandlebarsEnvironment");t$.prototype={constructor:t$,logger:iD.default,log:iD.default.log,registerHelper:o(function(e,r){if(Hp.toString.call(e)===e$){if(r)throw new Zj.default("Arg not supported with multiple helpers");Hp.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(Hp.toString.call(e)===e$)Hp.extend(this.partials,e);else{if(typeof r>"u")throw new Zj.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(Hp.toString.call(e)===e$){if(r)throw new Zj.default("Arg not supported with multiple decorators");Hp.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){jAt.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var KAt=iD.default.log;Il.log=KAt;Il.createFrame=Hp.createFrame;Il.logger=iD.default});var v0e=A((oD,x0e)=>{"use strict";oD.__esModule=!0;function r$(t){this.string=t}o(r$,"SafeString");r$.prototype.toString=r$.prototype.toHTML=function(){return""+this.string};oD.default=r$;x0e.exports=oD.default});var N0e=A(n$=>{"use strict";n$.__esModule=!0;n$.wrapHelper=XAt;function XAt(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(XAt,"wrapHelper")});var k0e=A(vf=>{"use strict";vf.__esModule=!0;vf.checkRevision=imt;vf.template=smt;vf.wrapProgram=aD;vf.resolvePartial=omt;vf.invokePartial=amt;vf.noop=D0e;function ZAt(t){return t&&t.__esModule?t:{default:t}}o(ZAt,"_interopRequireDefault");function emt(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(emt,"_interopRequireWildcard");var tmt=ts(),wy=emt(tmt),rmt=Eo(),Ku=ZAt(rmt),Xu=sD(),_0e=Wj(),nmt=N0e(),R0e=Xj();function imt(t){var e=t&&t[0]||1,r=Xu.COMPILER_REVISION;if(!(e>=Xu.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Xu.COMPILER_REVISION))if(e{"use strict";Il.__esModule=!0;Il.HandlebarsEnvironment=r$;function x0e(t){return t&&t.__esModule?t:{default:t}}o(x0e,"_interopRequireDefault");var Hp=ts(),zAt=Eo(),e$=x0e(zAt),jAt=Yj(),$At=w0e(),JAt=Xj(),iD=x0e(JAt),WAt=Zj(),YAt="4.7.9";Il.VERSION=YAt;var KAt=8;Il.COMPILER_REVISION=KAt;var XAt=7;Il.LAST_COMPATIBLE_COMPILER_REVISION=XAt;var ZAt={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"};Il.REVISION_CHANGES=ZAt;var t$="[object Object]";function r$(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},jAt.registerDefaultHelpers(this),$At.registerDefaultDecorators(this)}o(r$,"HandlebarsEnvironment");r$.prototype={constructor:r$,logger:iD.default,log:iD.default.log,registerHelper:o(function(e,r){if(Hp.toString.call(e)===t$){if(r)throw new e$.default("Arg not supported with multiple helpers");Hp.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(Hp.toString.call(e)===t$)Hp.extend(this.partials,e);else{if(typeof r>"u")throw new e$.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(Hp.toString.call(e)===t$){if(r)throw new e$.default("Arg not supported with multiple decorators");Hp.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){WAt.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var emt=iD.default.log;Il.log=emt;Il.createFrame=Hp.createFrame;Il.logger=iD.default});var N0e=A((oD,v0e)=>{"use strict";oD.__esModule=!0;function n$(t){this.string=t}o(n$,"SafeString");n$.prototype.toString=n$.prototype.toHTML=function(){return""+this.string};oD.default=n$;v0e.exports=oD.default});var _0e=A(i$=>{"use strict";i$.__esModule=!0;i$.wrapHelper=tmt;function tmt(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(tmt,"wrapHelper")});var P0e=A(vf=>{"use strict";vf.__esModule=!0;vf.checkRevision=amt;vf.template=cmt;vf.wrapProgram=aD;vf.resolvePartial=lmt;vf.invokePartial=umt;vf.noop=Q0e;function rmt(t){return t&&t.__esModule?t:{default:t}}o(rmt,"_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 imt=ts(),by=nmt(imt),smt=Eo(),Ku=rmt(smt),Xu=sD(),R0e=Yj(),omt=_0e(),T0e=Zj();function amt(t){var e=t&&t[0]||1,r=Xu.COMPILER_REVISION;if(!(e>=Xu.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Xu.COMPILER_REVISION))if(e{"use strict";lD.__esModule=!0;lD.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}};P0e.exports=lD.default});var U0e=A((uD,M0e)=>{"use strict";uD.__esModule=!0;function o$(t){return t&&t.__esModule?t:{default:t}}o(o$,"_interopRequireDefault");function a$(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(a$,"_interopRequireWildcard");var umt=sD(),O0e=a$(umt),dmt=v0e(),fmt=o$(dmt),hmt=Eo(),pmt=o$(hmt),Amt=ts(),s$=a$(Amt),mmt=k0e(),L0e=a$(mmt),gmt=i$(),ymt=o$(gmt);function F0e(){var t=new O0e.HandlebarsEnvironment;return s$.extend(t,O0e),t.SafeString=fmt.default,t.Exception=pmt.default,t.Utils=s$,t.escapeExpression=s$.escapeExpression,t.VM=L0e,t.template=function(e){return L0e.template(e,t)},t}o(F0e,"create");var rI=F0e();rI.create=F0e;ymt.default(rI);rI.default=rI;uD.default=rI;M0e.exports=uD.default});var c$=A((dD,G0e)=>{"use strict";dD.__esModule=!0;var q0e={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&&!q0e.helpers.scopedId(e)&&!e.depth},"simpleId")}};dD.default=q0e;G0e.exports=dD.default});var V0e=A((fD,H0e)=>{"use strict";fD.__esModule=!0;var Emt=(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,m=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(Y){a.length=a.length-2*Y,c.length=c.length-Y,l.length=l.length-Y}o(C,"popStack");function w(){var Y;return Y=s.lexer.lex()||1,typeof Y!="number"&&(Y=s.symbols_[Y]||Y),Y}o(w,"lex");for(var B,Q,M,v,j,T,G={},V,W,ee,ae;;){if(M=a[a.length-1],this.defaultActions[M]?v=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=w()),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)+`: +`)}return u}else throw new Ku.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(n,"invokePartialWrapper");var i={strict:o(function(c,l,u){if(!c||!(l in c))throw new Ku.default('"'+l+'" not defined in '+c,{loc:u});return i.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var u=c[l];if(u==null||Object.prototype.hasOwnProperty.call(c,l)||T0e.resultIsAllowed(u,i.protoAccessControl,l))return u},"lookupProperty"),lookup:o(function(c,l){for(var u=c.length,d=0;d{"use strict";lD.__esModule=!0;lD.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}};O0e.exports=lD.default});var q0e=A((uD,U0e)=>{"use strict";uD.__esModule=!0;function a$(t){return t&&t.__esModule?t:{default:t}}o(a$,"_interopRequireDefault");function c$(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(c$,"_interopRequireWildcard");var hmt=sD(),L0e=c$(hmt),pmt=N0e(),Amt=a$(pmt),mmt=Eo(),gmt=a$(mmt),ymt=ts(),o$=c$(ymt),Emt=P0e(),F0e=c$(Emt),Cmt=s$(),bmt=a$(Cmt);function M0e(){var t=new L0e.HandlebarsEnvironment;return o$.extend(t,L0e),t.SafeString=Amt.default,t.Exception=gmt.default,t.Utils=o$,t.escapeExpression=o$.escapeExpression,t.VM=F0e,t.template=function(e){return F0e.template(e,t)},t}o(M0e,"create");var rI=M0e();rI.create=M0e;bmt.default(rI);rI.default=rI;uD.default=rI;U0e.exports=uD.default});var l$=A((dD,H0e)=>{"use strict";dD.__esModule=!0;var G0e={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&&!G0e.helpers.scopedId(e)&&!e.depth},"simpleId")}};dD.default=G0e;H0e.exports=dD.default});var z0e=A((fD,V0e)=>{"use strict";fD.__esModule=!0;var wmt=(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,m=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(Y){a.length=a.length-2*Y,c.length=c.length-Y,l.length=l.length-Y}o(C,"popStack");function w(){var Y;return Y=s.lexer.lex()||1,typeof Y!="number"&&(Y=s.symbols_[Y]||Y),Y}o(w,"lex");for(var B,Q,M,v,j,T,H={},V,W,ee,ae;;){if(M=a[a.length-1],this.defaultActions[M]?v=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=w()),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)+`: `+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(W=this.productions_[v[1]][1],G.$=c[c.length-W],G._$={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&&(G._$.range=[l[l.length-(W||1)].range[0],l[l.length-1].range[1]]),T=this.performAction.call(G,d,h,f,this.yy,v[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_[v[1]][0]),c.push(G.$),l.push(G._$),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()+` +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(W=this.productions_[v[1]][1],H.$=c[c.length-W],H._$={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&&(H._$.range=[l[l.length-(W||1)].range[0],l[l.length-1].range[1]]),T=this.performAction.call(H,d,h,f,this.yy,v[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_[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})();fD.default=Emt;H0e.exports=fD.default});var mD=A((AD,$0e)=>{"use strict";AD.__esModule=!0;function Cmt(t){return t&&t.__esModule?t:{default:t}}o(Cmt,"_interopRequireDefault");var bmt=Eo(),l$=Cmt(bmt);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 l$.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 l$.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";gD.__esModule=!0;function wmt(t){return t&&t.__esModule?t:{default:t}}o(wmt,"_interopRequireDefault");var Imt=mD(),Smt=wmt(Imt);function Sl(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Sl,"WhitespaceControl");Sl.prototype=new Smt.default;Sl.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";ca.__esModule=!0;ca.SourceLocation=vmt;ca.id=Nmt;ca.stripFlags=_mt;ca.stripComment=Rmt;ca.preparePath=Tmt;ca.prepareMustache=Dmt;ca.prepareRawBlock=Qmt;ca.prepareBlock=kmt;ca.prepareProgram=Pmt;ca.preparePartialBlock=Omt;function Bmt(t){return t&&t.__esModule?t:{default:t}}o(Bmt,"_interopRequireDefault");var xmt=Eo(),f$=Bmt(xmt);function h$(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new f$.default(t.path.original+" doesn't match "+e,r)}}o(h$,"validateClose");function vmt(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(vmt,"SourceLocation");function Nmt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Nmt,"id");function _mt(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(_mt,"stripFlags");function Rmt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Rmt,"stripComment");function Tmt(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,c=e.length;a0)throw new f$.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(Tmt,"preparePath");function Dmt(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(Dmt,"prepareMustache");function Qmt(t,e,r,n){h$(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(Qmt,"prepareRawBlock");function kmt(t,e,r,n,i,s){n&&n.path&&h$(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new f$.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(kmt,"prepareBlock");function Pmt(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(Pmt,"prepareProgram");function Omt(t,e,r,n){return h$(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(Omt,"preparePartialBlock")});var X0e=A(iI=>{"use strict";iI.__esModule=!0;iI.parseWithoutProcessing=K0e;iI.parse=zmt;function Lmt(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(Lmt,"_interopRequireWildcard");function m$(t){return t&&t.__esModule?t:{default:t}}o(m$,"_interopRequireDefault");var Fmt=V0e(),p$=m$(Fmt),Mmt=W0e(),Umt=m$(Mmt),qmt=Y0e(),Gmt=Lmt(qmt),Hmt=Eo(),nI=m$(Hmt),Vmt=ts();iI.parser=p$.default;var yD={};Vmt.extend(yD,Gmt);function K0e(t,e){if(t.type==="Program")return jmt(t),t;p$.default.yy=yD,yD.locInfo=function(n){return new yD.SourceLocation(e&&e.srcName,n)};var r=p$.default.parse(t);return r}o(K0e,"parseWithoutProcessing");function zmt(t,e){var r=K0e(t,e),n=new Umt.default(e);return n.accept(r)}o(zmt,"parse");function jmt(t){A$(t)}o(jmt,"validateInputAst");function A$(t){if(t!=null){if(Array.isArray(t)){t.forEach(A$);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!$mt(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($mt,"isValidDepth")});var rwe=A(cI=>{"use strict";cI.__esModule=!0;cI.Compiler=g$;cI.precompile=Kmt;cI.compile=Xmt;function ewe(t){return t&&t.__esModule?t:{default:t}}o(ewe,"_interopRequireDefault");var Jmt=Eo(),oI=ewe(Jmt),aI=ts(),Wmt=c$(),sI=ewe(Wmt),Ymt=[].slice;function g$(){}o(g$,"Compiler");g$.prototype={compiler:g$,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new oI.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){Z0e(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 oI.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,sI.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=sI.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 Kmt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new oI.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(Kmt,"precompile");function Xmt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new oI.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=aI.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(Xmt,"compile");function twe(t,e){if(t===e)return!0;if(aI.isArray(t)&&aI.isArray(e)&&t.length===e.length){for(var r=0;r{var nwe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");y$.encode=function(t){if(0<=t&&t{var swe=iwe(),E$=5,owe=1<>1;return e?-r:r}o(egt,"fromVLQSigned");C$.encode=o(function(e){var r="",n,i=Zmt(e);do n=i&awe,i>>>=E$,i>0&&(n|=cwe),r+=swe.encode(n);while(i>0);return r},"base64VLQ_encode");C$.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=swe.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&cwe),l&=awe,s=s+(l<{function tgt(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(tgt,"getArg");Ni.getArg=tgt;var lwe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,rgt=/^data:.+\,.+$/;function lI(t){var e=t.match(lwe);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(lI,"urlParse");Ni.urlParse=lI;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");Ni.urlGenerate=Iy;function w$(t){var e=t,r=lI(t);if(r){if(!r.path)return t;e=r.path}for(var n=Ni.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(w$,"normalize");Ni.normalize=w$;function uwe(t,e){t===""&&(t="."),e===""&&(e=".");var r=lI(e),n=lI(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Iy(r);if(r||e.match(rgt))return e;if(n&&!n.host&&!n.path)return n.host=e,Iy(n);var i=e.charAt(0)==="/"?e:w$(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Iy(n)):i}o(uwe,"join");Ni.join=uwe;Ni.isAbsolute=function(t){return t.charAt(0)==="/"||lwe.test(t)};function ngt(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(ngt,"relative");Ni.relative=ngt;var dwe=(function(){var t=Object.create(null);return!("__proto__"in t)})();function fwe(t){return t}o(fwe,"identity");function igt(t){return hwe(t)?"$"+t:t}o(igt,"toSetString");Ni.toSetString=dwe?fwe:igt;function sgt(t){return hwe(t)?t.slice(1):t}o(sgt,"fromSetString");Ni.fromSetString=dwe?fwe:sgt;function hwe(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(hwe,"isProtoString");function ogt(t,e,r){var n=Sy(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:Sy(t.name,e.name)}o(ogt,"compareByOriginalPositions");Ni.compareByOriginalPositions=ogt;function agt(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=Sy(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:Sy(t.name,e.name)}o(agt,"compareByGeneratedPositionsDeflated");Ni.compareByGeneratedPositionsDeflated=agt;function Sy(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(Sy,"strcmp");function cgt(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=Sy(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Sy(t.name,e.name)}o(cgt,"compareByGeneratedPositionsInflated");Ni.compareByGeneratedPositionsInflated=cgt;function lgt(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(lgt,"parseSourceMapInput");Ni.parseSourceMapInput=lgt;function ugt(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=lI(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=uwe(Iy(n),e)}return w$(e)}o(ugt,"computeSourceURL");Ni.computeSourceURL=ugt});var B$=A(pwe=>{var I$=By(),S$=Object.prototype.hasOwnProperty,zp=typeof Map<"u";function Zu(){this._array=[],this._set=zp?new Map:Object.create(null)}o(Zu,"ArraySet");Zu.fromArray=o(function(e,r){for(var n=new Zu,i=0,s=e.length;i=0)return r}else{var n=I$.toSetString(e);if(S$.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Zu.prototype.at=o(function(e){if(e>=0&&e{var Awe=By();function dgt(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||Awe.compareByGeneratedPositionsInflated(t,e)<=0}o(dgt,"generatedPositionAfter");function ED(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(ED,"MappingList");ED.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");ED.prototype.add=o(function(e){dgt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");ED.prototype.toArray=o(function(){return this._sorted||(this._array.sort(Awe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");mwe.MappingList=ED});var x$=A(ywe=>{var uI=b$(),En=By(),CD=B$().ArraySet,fgt=gwe().MappingList;function la(t){t||(t={}),this._file=En.getArg(t,"file",null),this._sourceRoot=En.getArg(t,"sourceRoot",null),this._skipValidation=En.getArg(t,"skipValidation",!1),this._sources=new CD,this._names=new CD,this._mappings=new fgt,this._sourcesContents=null}o(la,"SourceMapGenerator");la.prototype._version=3;la.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new la({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=En.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=En.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");la.prototype.addMapping=o(function(e){var r=En.getArg(e,"generated"),n=En.getArg(e,"original",null),i=En.getArg(e,"source",null),s=En.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");la.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=En.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[En.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[En.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");la.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=En.relative(s,i));var a=new CD,c=new CD;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=En.join(n,l.source)),s!=null&&(l.source=En.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=En.join(n,l)),s!=null&&(l=En.relative(s,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");la.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");la.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,m=h.length;p0){if(!En.compareByGeneratedPositionsInflated(u,h[p-1]))continue;l+=","}l+=uI.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=uI.encode(f-a),a=f,l+=uI.encode(u.originalLine-1-i),i=u.originalLine-1,l+=uI.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=uI.encode(d-s),s=d)),c+=l}return c},"SourceMapGenerator_serializeMappings");la.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=En.relative(r,n));var i=En.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)},"SourceMapGenerator_generateSourcesContent");la.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");la.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");ywe.SourceMapGenerator=la});var Ewe=A(jp=>{jp.GREATEST_LOWER_BOUND=1;jp.LEAST_UPPER_BOUND=2;function v$(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?v$(a,e,r,n,i,s):s==jp.LEAST_UPPER_BOUND?e1?v$(t,a,r,n,i,s):s==jp.LEAST_UPPER_BOUND?a:t<0?-1:t}o(v$,"recursiveSearch");jp.search=o(function(e,r,n,i){if(r.length===0)return-1;var s=v$(-1,r.length,e,r,n,i||jp.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 bwe=A(Cwe=>{function N$(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(N$,"swap");function hgt(t,e){return Math.round(t+Math.random()*(e-t))}o(hgt,"randomIntInRange");function _$(t,e,r,n){if(r{var Ee=By(),R$=Ewe(),xy=B$().ArraySet,pgt=b$(),dI=bwe().quickSort;function or(t,e){var r=t;return typeof t=="string"&&(r=Ee.parseSourceMapInput(t)),r.sections!=null?new ac(r,e):new pi(r,e)}o(or,"SourceMapConsumer");or.fromSourceMap=function(t,e){return pi.fromSourceMap(t,e)};or.prototype._version=3;or.prototype.__generatedMappings=null;Object.defineProperty(or.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});or.prototype.__originalMappings=null;Object.defineProperty(or.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});or.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");or.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");or.GENERATED_ORDER=1;or.ORIGINAL_ORDER=2;or.GREATEST_LOWER_BOUND=1;or.LEAST_UPPER_BOUND=2;or.prototype.eachMapping=o(function(e,r,n){var i=r||null,s=n||or.GENERATED_ORDER,a;switch(s){case or.GENERATED_ORDER:a=this._generatedMappings;break;case or.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");or.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,R$.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");bD.SourceMapConsumer=or;function pi(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=xy.fromArray(s.map(String),!0),this._sources=xy.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(pi,"BasicSourceMapConsumer");pi.prototype=Object.create(or.prototype);pi.prototype.consumer=or;pi.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])),m.push(g),typeof g.originalLine=="number"&&p.push(g)}dI(m,Ee.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,dI(p,Ee.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");pi.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 R$.search(e,r,s,a)},"SourceMapConsumer_findMapping");pi.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");pi.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");pi.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");pi.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",or.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");bD.BasicSourceMapConsumer=pi;function ac(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 xy,this._names=new xy;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 Agt=x$().SourceMapGenerator,wD=By(),mgt=/(\r?\n)/,ggt=10,vy="$$$isSourceNode$$$";function Co(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(Co,"SourceNode");Co.fromStringWithSourceMap=o(function(e,r,n){var i=new Co,s=e.split(mgt),a=0,c=o(function(){var h=m(),p=m()||"";return h+p;function m(){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");Co.prototype.walk=o(function(e){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{ID.SourceMapGenerator=x$().SourceMapGenerator;ID.SourceMapConsumer=Iwe().SourceMapConsumer;ID.SourceNode=Bwe().SourceNode});var Rwe=A((SD,_we)=>{"use strict";SD.__esModule=!0;var D$=ts(),$p=void 0;try{(typeof define!="function"||!define.amd)&&(vwe=xwe(),$p=vwe.SourceNode)}catch{}var vwe;$p||($p=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),$p.prototype={add:o(function(e){D$.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){D$.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 T$(t,e,r){if(D$.isArray(t)){for(var n=[],i=0,s=t.length;i{"use strict";BD.__esModule=!0;function Qwe(t){return t&&t.__esModule?t:{default:t}}o(Qwe,"_interopRequireDefault");var Twe=sD(),ygt=Eo(),Q$=Qwe(ygt),Egt=ts(),Cgt=Rwe(),Dwe=Qwe(Cgt);function Ny(t){this.value=t}o(Ny,"Literal");function _y(){}o(_y,"JavaScriptCompiler");_y.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=Twe.COMPILER_REVISION,r=Twe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return Egt.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;l@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],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})();fD.default=wmt;V0e.exports=fD.default});var mD=A((AD,J0e)=>{"use strict";AD.__esModule=!0;function Imt(t){return t&&t.__esModule?t:{default:t}}o(Imt,"_interopRequireDefault");var Smt=Eo(),u$=Imt(Smt);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 u$.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 u$.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";gD.__esModule=!0;function Bmt(t){return t&&t.__esModule?t:{default:t}}o(Bmt,"_interopRequireDefault");var xmt=mD(),vmt=Bmt(xmt);function Sl(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Sl,"WhitespaceControl");Sl.prototype=new vmt.default;Sl.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";ca.__esModule=!0;ca.SourceLocation=Rmt;ca.id=Tmt;ca.stripFlags=Dmt;ca.stripComment=Qmt;ca.preparePath=kmt;ca.prepareMustache=Pmt;ca.prepareRawBlock=Omt;ca.prepareBlock=Lmt;ca.prepareProgram=Fmt;ca.preparePartialBlock=Mmt;function Nmt(t){return t&&t.__esModule?t:{default:t}}o(Nmt,"_interopRequireDefault");var _mt=Eo(),h$=Nmt(_mt);function p$(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new h$.default(t.path.original+" doesn't match "+e,r)}}o(p$,"validateClose");function Rmt(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(Rmt,"SourceLocation");function Tmt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Tmt,"id");function Dmt(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(Dmt,"stripFlags");function Qmt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Qmt,"stripComment");function kmt(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,c=e.length;a0)throw new h$.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(kmt,"preparePath");function Pmt(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(Pmt,"prepareMustache");function Omt(t,e,r,n){p$(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(Omt,"prepareRawBlock");function Lmt(t,e,r,n,i,s){n&&n.path&&p$(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new h$.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(Lmt,"prepareBlock");function Fmt(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(Fmt,"prepareProgram");function Mmt(t,e,r,n){return p$(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(Mmt,"preparePartialBlock")});var Z0e=A(iI=>{"use strict";iI.__esModule=!0;iI.parseWithoutProcessing=X0e;iI.parse=Jmt;function Umt(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(Umt,"_interopRequireWildcard");function g$(t){return t&&t.__esModule?t:{default:t}}o(g$,"_interopRequireDefault");var qmt=z0e(),A$=g$(qmt),Gmt=Y0e(),Hmt=g$(Gmt),Vmt=K0e(),zmt=Umt(Vmt),jmt=Eo(),nI=g$(jmt),$mt=ts();iI.parser=A$.default;var yD={};$mt.extend(yD,zmt);function X0e(t,e){if(t.type==="Program")return Wmt(t),t;A$.default.yy=yD,yD.locInfo=function(n){return new yD.SourceLocation(e&&e.srcName,n)};var r=A$.default.parse(t);return r}o(X0e,"parseWithoutProcessing");function Jmt(t,e){var r=X0e(t,e),n=new Hmt.default(e);return n.accept(r)}o(Jmt,"parse");function Wmt(t){m$(t)}o(Wmt,"validateInputAst");function m$(t){if(t!=null){if(Array.isArray(t)){t.forEach(m$);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!Ymt(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(Ymt,"isValidDepth")});var nwe=A(cI=>{"use strict";cI.__esModule=!0;cI.Compiler=y$;cI.precompile=egt;cI.compile=tgt;function twe(t){return t&&t.__esModule?t:{default:t}}o(twe,"_interopRequireDefault");var Kmt=Eo(),oI=twe(Kmt),aI=ts(),Xmt=l$(),sI=twe(Xmt),Zmt=[].slice;function y$(){}o(y$,"Compiler");y$.prototype={compiler:y$,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new oI.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){ewe(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 oI.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,sI.default.helpers.simpleId(s))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=sI.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 egt(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new oI.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(egt,"precompile");function tgt(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new oI.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=aI.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(tgt,"compile");function rwe(t,e){if(t===e)return!0;if(aI.isArray(t)&&aI.isArray(e)&&t.length===e.length){for(var r=0;r{var iwe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");E$.encode=function(t){if(0<=t&&t{var owe=swe(),C$=5,awe=1<>1;return e?-r:r}o(ngt,"fromVLQSigned");b$.encode=o(function(e){var r="",n,i=rgt(e);do n=i&cwe,i>>>=C$,i>0&&(n|=lwe),r+=owe.encode(n);while(i>0);return r},"base64VLQ_encode");b$.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=owe.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&lwe),l&=cwe,s=s+(l<{function igt(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(igt,"getArg");Ni.getArg=igt;var uwe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,sgt=/^data:.+\,.+$/;function lI(t){var e=t.match(uwe);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(lI,"urlParse");Ni.urlParse=lI;function wy(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(wy,"urlGenerate");Ni.urlGenerate=wy;function I$(t){var e=t,r=lI(t);if(r){if(!r.path)return t;e=r.path}for(var n=Ni.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,wy(r)):e}o(I$,"normalize");Ni.normalize=I$;function dwe(t,e){t===""&&(t="."),e===""&&(e=".");var r=lI(e),n=lI(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),wy(r);if(r||e.match(sgt))return e;if(n&&!n.host&&!n.path)return n.host=e,wy(n);var i=e.charAt(0)==="/"?e:I$(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,wy(n)):i}o(dwe,"join");Ni.join=dwe;Ni.isAbsolute=function(t){return t.charAt(0)==="/"||uwe.test(t)};function ogt(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(ogt,"relative");Ni.relative=ogt;var fwe=(function(){var t=Object.create(null);return!("__proto__"in t)})();function hwe(t){return t}o(hwe,"identity");function agt(t){return pwe(t)?"$"+t:t}o(agt,"toSetString");Ni.toSetString=fwe?hwe:agt;function cgt(t){return pwe(t)?t.slice(1):t}o(cgt,"fromSetString");Ni.fromSetString=fwe?hwe:cgt;function pwe(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(pwe,"isProtoString");function lgt(t,e,r){var n=Iy(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:Iy(t.name,e.name)}o(lgt,"compareByOriginalPositions");Ni.compareByOriginalPositions=lgt;function ugt(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=Iy(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:Iy(t.name,e.name)}o(ugt,"compareByGeneratedPositionsDeflated");Ni.compareByGeneratedPositionsDeflated=ugt;function Iy(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(Iy,"strcmp");function dgt(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=Iy(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Iy(t.name,e.name)}o(dgt,"compareByGeneratedPositionsInflated");Ni.compareByGeneratedPositionsInflated=dgt;function fgt(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(fgt,"parseSourceMapInput");Ni.parseSourceMapInput=fgt;function hgt(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=lI(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=dwe(wy(n),e)}return I$(e)}o(hgt,"computeSourceURL");Ni.computeSourceURL=hgt});var x$=A(Awe=>{var S$=Sy(),B$=Object.prototype.hasOwnProperty,zp=typeof Map<"u";function Zu(){this._array=[],this._set=zp?new Map:Object.create(null)}o(Zu,"ArraySet");Zu.fromArray=o(function(e,r){for(var n=new Zu,i=0,s=e.length;i=0)return r}else{var n=S$.toSetString(e);if(B$.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Zu.prototype.at=o(function(e){if(e>=0&&e{var mwe=Sy();function pgt(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||mwe.compareByGeneratedPositionsInflated(t,e)<=0}o(pgt,"generatedPositionAfter");function ED(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(ED,"MappingList");ED.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");ED.prototype.add=o(function(e){pgt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");ED.prototype.toArray=o(function(){return this._sorted||(this._array.sort(mwe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");gwe.MappingList=ED});var v$=A(Ewe=>{var uI=w$(),En=Sy(),CD=x$().ArraySet,Agt=ywe().MappingList;function la(t){t||(t={}),this._file=En.getArg(t,"file",null),this._sourceRoot=En.getArg(t,"sourceRoot",null),this._skipValidation=En.getArg(t,"skipValidation",!1),this._sources=new CD,this._names=new CD,this._mappings=new Agt,this._sourcesContents=null}o(la,"SourceMapGenerator");la.prototype._version=3;la.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new la({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=En.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=En.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");la.prototype.addMapping=o(function(e){var r=En.getArg(e,"generated"),n=En.getArg(e,"original",null),i=En.getArg(e,"source",null),s=En.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");la.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=En.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[En.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[En.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");la.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=En.relative(s,i));var a=new CD,c=new CD;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=En.join(n,l.source)),s!=null&&(l.source=En.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=En.join(n,l)),s!=null&&(l=En.relative(s,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");la.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");la.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,m=h.length;p0){if(!En.compareByGeneratedPositionsInflated(u,h[p-1]))continue;l+=","}l+=uI.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=uI.encode(f-a),a=f,l+=uI.encode(u.originalLine-1-i),i=u.originalLine-1,l+=uI.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=uI.encode(d-s),s=d)),c+=l}return c},"SourceMapGenerator_serializeMappings");la.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=En.relative(r,n));var i=En.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)},"SourceMapGenerator_generateSourcesContent");la.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");la.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");Ewe.SourceMapGenerator=la});var Cwe=A(jp=>{jp.GREATEST_LOWER_BOUND=1;jp.LEAST_UPPER_BOUND=2;function N$(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?N$(a,e,r,n,i,s):s==jp.LEAST_UPPER_BOUND?e1?N$(t,a,r,n,i,s):s==jp.LEAST_UPPER_BOUND?a:t<0?-1:t}o(N$,"recursiveSearch");jp.search=o(function(e,r,n,i){if(r.length===0)return-1;var s=N$(-1,r.length,e,r,n,i||jp.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 wwe=A(bwe=>{function _$(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(_$,"swap");function mgt(t,e){return Math.round(t+Math.random()*(e-t))}o(mgt,"randomIntInRange");function R$(t,e,r,n){if(r{var Ee=Sy(),T$=Cwe(),By=x$().ArraySet,ggt=w$(),dI=wwe().quickSort;function or(t,e){var r=t;return typeof t=="string"&&(r=Ee.parseSourceMapInput(t)),r.sections!=null?new ac(r,e):new pi(r,e)}o(or,"SourceMapConsumer");or.fromSourceMap=function(t,e){return pi.fromSourceMap(t,e)};or.prototype._version=3;or.prototype.__generatedMappings=null;Object.defineProperty(or.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});or.prototype.__originalMappings=null;Object.defineProperty(or.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});or.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");or.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");or.GENERATED_ORDER=1;or.ORIGINAL_ORDER=2;or.GREATEST_LOWER_BOUND=1;or.LEAST_UPPER_BOUND=2;or.prototype.eachMapping=o(function(e,r,n){var i=r||null,s=n||or.GENERATED_ORDER,a;switch(s){case or.GENERATED_ORDER:a=this._generatedMappings;break;case or.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");or.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,T$.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");bD.SourceMapConsumer=or;function pi(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(pi,"BasicSourceMapConsumer");pi.prototype=Object.create(or.prototype);pi.prototype.consumer=or;pi.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])),m.push(g),typeof g.originalLine=="number"&&p.push(g)}dI(m,Ee.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,dI(p,Ee.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");pi.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 T$.search(e,r,s,a)},"SourceMapConsumer_findMapping");pi.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");pi.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");pi.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");pi.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",or.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");bD.BasicSourceMapConsumer=pi;function ac(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 ygt=v$().SourceMapGenerator,wD=Sy(),Egt=/(\r?\n)/,Cgt=10,xy="$$$isSourceNode$$$";function Co(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(Co,"SourceNode");Co.fromStringWithSourceMap=o(function(e,r,n){var i=new Co,s=e.split(Egt),a=0,c=o(function(){var h=m(),p=m()||"";return h+p;function m(){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");Co.prototype.walk=o(function(e){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{ID.SourceMapGenerator=v$().SourceMapGenerator;ID.SourceMapConsumer=Swe().SourceMapConsumer;ID.SourceNode=xwe().SourceNode});var Twe=A((SD,Rwe)=>{"use strict";SD.__esModule=!0;var Q$=ts(),$p=void 0;try{(typeof define!="function"||!define.amd)&&(Nwe=vwe(),$p=Nwe.SourceNode)}catch{}var Nwe;$p||($p=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),$p.prototype={add:o(function(e){Q$.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){Q$.isArray(e)&&(e=e.join("")),this.src=e+this.src},"prepend"),toStringWithSourceMap:o(function(){return{code:this.toString()}},"toStringWithSourceMap"),toString:o(function(){return this.src},"toString")});function D$(t,e,r){if(Q$.isArray(t)){for(var n=[],i=0,s=t.length;i{"use strict";BD.__esModule=!0;function kwe(t){return t&&t.__esModule?t:{default:t}}o(kwe,"_interopRequireDefault");var Dwe=sD(),bgt=Eo(),k$=kwe(bgt),wgt=ts(),Igt=Twe(),Qwe=kwe(Igt);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=Dwe.COMPILER_REVISION,r=Dwe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return wgt.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 d=this.createFunctionContext(i);if(this.isChild)return d;var f={compiler:this.compilerInfo(),main:d};this.decorators&&(f.main_d=this.decorators,f.useDecorators=!0);var h=this.context,p=h.programs,m=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,159 +84,159 @@ 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(bgt(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";xD.__esModule=!0;function fI(t){return t&&t.__esModule?t:{default:t}}o(fI,"_interopRequireDefault");var wgt=U0e(),Igt=fI(wgt),Sgt=c$(),Bgt=fI(Sgt),k$=X0e(),P$=rwe(),xgt=Pwe(),vgt=fI(xgt),Ngt=mD(),_gt=fI(Ngt),Rgt=i$(),Tgt=fI(Rgt),Dgt=Igt.default.create;function Owe(){var t=Dgt();return t.compile=function(e,r){return P$.compile(e,r,t)},t.precompile=function(e,r){return P$.precompile(e,r,t)},t.AST=Bgt.default,t.Compiler=P$.Compiler,t.JavaScriptCompiler=vgt.default,t.Parser=k$.parser,t.parse=k$.parse,t.parseWithoutProcessing=k$.parseWithoutProcessing,t}o(Owe,"create");var Ry=Owe();Ry.create=Owe;Tgt.default(Ry);Ry.Visitor=_gt.default;Ry.default=Ry;xD.default=Ry;Lwe.exports=xD.default});var Mwe=A(vD=>{"use strict";vD.__esModule=!0;vD.print=Ogt;vD.PrintVisitor=Gr;function Qgt(t){return t&&t.__esModule?t:{default:t}}o(Qgt,"_interopRequireDefault");var kgt=mD(),Pgt=Qgt(kgt);function Ogt(t){return new Gr().accept(t)}o(Ogt,"print");function Gr(){this.padding=0}o(Gr,"PrintVisitor");Gr.prototype=new Pgt.default;Gr.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};Gr.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+" }}")};Gr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Gr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Gr.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i{"use strict";Object.defineProperty(QD,"__esModule",{value:!0});QD.getProxyUrl=Ugt;QD.checkBypass=Xwe;function Ugt(t){let e=t.protocol==="https:";if(Xwe(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 DD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DD(`http://${r}`)}else return}o(Ugt,"getProxyUrl");function Xwe(t){if(!t.hostname)return!1;let e=t.hostname;if(qgt(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(Xwe,"checkBypass");function qgt(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(qgt,"isLoopbackAddress");var DD=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 tIe=A(br=>{"use strict";var Ggt=br&&br.__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]})),Hgt=br&&br.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),LD=br&&br.__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;ion(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 on(this,void 0,void 0,function*(){return new Promise(e=>on(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};br.HttpClientResponse=OD;function Kgt(t){return new URL(t).protocol==="https:"}o(Kgt,"isHttps");var H$=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 on(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return on(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return on(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return on(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return on(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return on(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return on(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return on(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return on(this,arguments,void 0,function*(r,n={}){n[rs.Accept]=this._getExistingOrDefaultHeader(n,rs.Accept,ed.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return on(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,ed.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ed.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return on(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,ed.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ed.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return on(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,ed.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ed.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return on(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&&Jgt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===ua.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&&jgt.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||!$gt.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 OD(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=G$.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?eIe:q$;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({},mI(this.requestOptions.headers),mI(e||{})):mI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=mI(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=mI(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=G$.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||q$.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?kD.httpsOverHttps:kD.httpsOverHttp:l=u?kD.httpOverHttps:kD.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new eIe.Agent(c):new q$.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 Vgt.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 on(this,void 0,void 0,function*(){e=Math.min(Wgt,e);let r=Ygt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return on(this,void 0,void 0,function*(){return new Promise((n,i)=>on(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===ua.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 PD(d,s);f.result=a.result,i(f)}else n(a)}))})}};br.HttpClient=H$;var mI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var IIe=A((z0r,yI)=>{"use strict";var qD=o(function(){},"NullObject");qD.prototype=Object.create(null);var MD=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,UD=/\\([\v\u0020-\u00ff])/gu,CIe=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Jp={type:"",parameters:new qD};Object.freeze(Jp.parameters);Object.freeze(Jp);function bIe(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(CIe.test(r)===!1)throw new TypeError("invalid media type");let n={type:r.toLowerCase(),parameters:new qD};if(e===-1)return n;let i,s,a;for(MD.lastIndex=e;s=MD.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),UD.test(a)&&(a=a.replace(UD,"$1"))),n.parameters[i]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return n}o(bIe,"parse");function wIe(t){if(typeof t!="string")return Jp;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(CIe.test(r)===!1)return Jp;let n={type:r.toLowerCase(),parameters:new qD};if(e===-1)return n;let i,s,a;for(MD.lastIndex=e;s=MD.exec(t);){if(s.index!==e)return Jp;e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),UD.test(a)&&(a=a.replace(UD,"$1"))),n.parameters[i]=a}return e!==t.length?Jp:n}o(wIe,"safeParse");yI.exports.default={parse:bIe,safeParse:wIe};yI.exports.parse=bIe;yI.exports.safeParse=wIe;yI.exports.defaultContentType=Jp});var WD=A(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.isJsonObject=Fy.typeofJsonValue=void 0;function fEt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(fEt,"typeofJsonValue");Fy.typeofJsonValue=fEt;function hEt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(hEt,"isJsonObject");Fy.isJsonObject=hEt});var KD=A(My=>{"use strict";Object.defineProperty(My,"__esModule",{value:!0});My.base64encode=My.base64decode=void 0;var id="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(pEt,"base64decode");My.base64decode=pEt;function AEt(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=id[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=id[i|n>>6],e+=id[n&63],r=0;break}return r&&(e+=id[i],e+="=",r==1&&(e+="=")),e}o(AEt,"base64encode");My.base64encode=AEt});var oSe=A(XD=>{"use strict";Object.defineProperty(XD,"__esModule",{value:!0});XD.utf8read=void 0;var m8=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function mEt(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(m8(n)),i=0);return r.length?(i&&r.push(m8(n.slice(0,i))),r.join("")):m8(n.slice(0,i))}o(mEt,"utf8read");XD.utf8read=mEt});var NI=A(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.WireType=Bl.mergeBinaryOptions=Bl.UnknownFieldHandler=void 0;var gEt;(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")})(gEt=Bl.UnknownFieldHandler||(Bl.UnknownFieldHandler={}));function yEt(t,e){return Object.assign(Object.assign({},t),e)}o(yEt,"mergeBinaryOptions");Bl.mergeBinaryOptions=yEt;var EEt;(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"})(EEt=Bl.WireType||(Bl.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 CEt(){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(bEt,"varint64write");Os.varint64write=bEt;var ZD=65536*65536;function wEt(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(wEt,"int64fromString");Os.int64fromString=wEt;function IEt(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(IEt,"int64toString");Os.int64toString=IEt;function SEt(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(SEt,"varint32write");Os.varint32write=SEt;function BEt(){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(BEt,"varint32read");Os.varint32read=BEt});var Df=A(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.PbLong=Tf.PbULong=Tf.detectBi=void 0;var _I=eQ(),Jt;function aSe(){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(aSe,"detectBi");Tf.detectBi=aSe;aSe();function cSe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(cSe,"assertBi");var lSe=/^-?[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}},RI=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(),!lSe.test(e))throw new Error("string is no integer");let[r,n,i]=_I.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():_I.int64toString(this.lo,this.hi)}toBigInt(){return cSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigUint64(0,!0)}};Tf.PbULong=RI;RI.ZERO=new RI(0,0);var TI=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(),!lSe.test(e))throw new Error("string is no integer");let[r,n,i]=_I.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"-"+_I.int64toString(e.lo,e.hi)}return _I.int64toString(this.lo,this.hi)}toBigInt(){return cSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigInt64(0,!0)}};Tf.PbLong=TI;TI.ZERO=new TI(0,0)});var g8=A(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.BinaryReader=qy.binaryReadOptions=void 0;var Uy=NI(),DI=Df(),uSe=eQ(),dSe={readUnknownField:!0,readerFactory:o(t=>new iQ(t),"readerFactory")};function xEt(t){return t?Object.assign(Object.assign({},dSe),t):dSe}o(xEt,"binaryReadOptions");qy.binaryReadOptions=xEt;var iQ=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=uSe.varint64read,this.uint32=uSe.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 Uy.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Uy.WireType.Bit64:this.pos+=4;case Uy.WireType.Bit32:this.pos+=4;break;case Uy.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Uy.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Uy.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 DI.PbLong(...this.varint64())}uint64(){return new DI.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 DI.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 DI.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new DI.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())}};qy.BinaryReader=iQ});var Gy=A(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.assertFloat32=fa.assertUInt32=fa.assertInt32=fa.assertNever=fa.assert=void 0;function vEt(t,e){if(!t)throw new Error(e)}o(vEt,"assert");fa.assert=vEt;function NEt(t,e){throw new Error(e??"Unexpected object: "+t)}o(NEt,"assertNever");fa.assertNever=NEt;var _Et=34028234663852886e22,REt=-34028234663852886e22,TEt=4294967295,DEt=2147483647,QEt=-2147483648;function kEt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>DEt||tTEt||t<0)throw new Error("invalid uint 32: "+t)}o(PEt,"assertUInt32");fa.assertUInt32=PEt;function OEt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>_Et||t{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});Vy.BinaryWriter=Vy.binaryWriteOptions=void 0;var QI=Df(),kI=eQ(),Hy=Gy(),fSe={writeUnknownFields:!0,writerFactory:o(()=>new sQ,"writerFactory")};function LEt(t){return t?Object.assign(Object.assign({},fSe),t):fSe}o(LEt,"binaryWriteOptions");Vy.binaryWriteOptions=LEt;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(Hy.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Hy.assertInt32(e),kI.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){Hy.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){Hy.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Hy.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Hy.assertInt32(e),e=(e<<1^e>>31)>>>0,kI.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=QI.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=QI.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=QI.PbLong.from(e);return kI.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=QI.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return kI.varint64write(i,s,this.buf),this}uint64(e){let r=QI.PbULong.from(e);return kI.varint64write(r.lo,r.hi,this.buf),this}};Vy.BinaryWriter=sQ});var E8=A(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.mergeJsonOptions=Qf.jsonWriteOptions=Qf.jsonReadOptions=void 0;var hSe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},pSe={ignoreUnknownFields:!1};function FEt(t){return t?Object.assign(Object.assign({},pSe),t):pSe}o(FEt,"jsonReadOptions");Qf.jsonReadOptions=FEt;function MEt(t){return t?Object.assign(Object.assign({},hSe),t):hSe}o(MEt,"jsonWriteOptions");Qf.jsonWriteOptions=MEt;function UEt(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(UEt,"mergeJsonOptions");Qf.mergeJsonOptions=UEt});var PI=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 C8=A(aQ=>{"use strict";Object.defineProperty(aQ,"__esModule",{value:!0});aQ.lowerCamelCase=void 0;function qEt(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.readMessageOption=kn.readFieldOption=kn.readFieldOptions=kn.normalizeFieldInfo=kn.RepeatType=kn.LongType=kn.ScalarType=void 0;var ASe=C8(),GEt;(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"})(GEt=kn.ScalarType||(kn.ScalarType={}));var HEt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(HEt=kn.LongType||(kn.LongType={}));var mSe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(mSe=kn.RepeatType||(kn.RepeatType={}));function VEt(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:ASe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:ASe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:mSe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(VEt,"normalizeFieldInfo");kn.normalizeFieldInfo=VEt;function zEt(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(zEt,"readFieldOptions");kn.readFieldOptions=zEt;function jEt(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(jEt,"readFieldOption");kn.readFieldOption=jEt;function $Et(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o($Et,"readMessageOption");kn.readMessageOption=$Et});var b8=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 JEt(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(JEt,"isOneofGroup");Ls.isOneofGroup=JEt;function WEt(t,e){return t[e]}o(WEt,"getOneofValue");Ls.getOneofValue=WEt;function YEt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(YEt,"setOneofValue");Ls.setOneofValue=YEt;function KEt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(KEt,"setUnknownOneofValue");Ls.setUnknownOneofValue=KEt;function XEt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(XEt,"clearOneofValue");Ls.clearOneofValue=XEt;function ZEt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(ZEt,"getSelectedOneofValue");Ls.getSelectedOneofValue=ZEt});var I8=A(cQ=>{"use strict";Object.defineProperty(cQ,"__esModule",{value:!0});cQ.ReflectionTypeCheck=void 0;var Hr=cc(),eCt=b8(),w8=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(!eCt.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,Hr.ScalarType.INT32,i):this.scalar(e,Hr.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),Hr.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 Hr.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,Hr.LongType.STRING)}}};cQ.ReflectionTypeCheck=w8});var uQ=A(lQ=>{"use strict";Object.defineProperty(lQ,"__esModule",{value:!0});lQ.reflectionLongConvert=void 0;var gSe=cc();function tCt(t,e){switch(e){case gSe.LongType.BIGINT:return t.toBigInt();case gSe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(tCt,"reflectionLongConvert");lQ.reflectionLongConvert=tCt});var B8=A(hQ=>{"use strict";Object.defineProperty(hQ,"__esModule",{value:!0});hQ.ReflectionJsonReader=void 0;var ySe=WD(),rCt=KD(),Pn=cc(),dQ=Df(),Xp=Gy(),fQ=uQ(),S8=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=ySe.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(ySe.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 m=f;c.K==Pn.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,c.K,Pn.LongType.STRING,c.name).toString(),d[m]=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"&&Xp.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 Xp.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:(Xp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Xp.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 Pn.ScalarType.DOUBLE:case Pn.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==Pn.ScalarType.FLOAT&&Xp.assertFloat32(a),a;case Pn.ScalarType.INT32:case Pn.ScalarType.FIXED32:case Pn.ScalarType.SFIXED32:case Pn.ScalarType.SINT32:case Pn.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==Pn.ScalarType.UINT32?Xp.assertUInt32(c):Xp.assertInt32(c),c;case Pn.ScalarType.INT64:case Pn.ScalarType.SFIXED64:case Pn.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 Pn.ScalarType.FIXED64:case Pn.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 Pn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Pn.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 Pn.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=S8});var v8=A(pQ=>{"use strict";Object.defineProperty(pQ,"__esModule",{value:!0});pQ.ReflectionJsonWriter=void 0;var nCt=KD(),ESe=Df(),ss=cc(),wr=Gy(),x8=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=ESe.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=ESe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ss.ScalarType.BYTES:return wr.assert(r instanceof Uint8Array),r.byteLength?nCt.base64encode(r):a?"":void 0}}};pQ.ReflectionJsonWriter=x8});var mQ=A(AQ=>{"use strict";Object.defineProperty(AQ,"__esModule",{value:!0});AQ.reflectionScalarDefault=void 0;var lc=cc(),CSe=uQ(),bSe=Df();function iCt(t,e=lc.LongType.STRING){switch(t){case lc.ScalarType.BOOL:return!1;case lc.ScalarType.UINT64:case lc.ScalarType.FIXED64:return CSe.reflectionLongConvert(bSe.PbULong.ZERO,e);case lc.ScalarType.INT64:case lc.ScalarType.SFIXED64:case lc.ScalarType.SINT64:return CSe.reflectionLongConvert(bSe.PbLong.ZERO,e);case lc.ScalarType.DOUBLE:case lc.ScalarType.FLOAT:return 0;case lc.ScalarType.BYTES:return new Uint8Array(0);case lc.ScalarType.STRING:return"";default:return 0}}o(iCt,"reflectionScalarDefault");AQ.reflectionScalarDefault=iCt});var _8=A(gQ=>{"use strict";Object.defineProperty(gQ,"__esModule",{value:!0});gQ.ReflectionBinaryReader=void 0;var wSe=NI(),cn=cc(),OI=uQ(),ISe=mQ(),N8=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=NI(),er=cc(),zy=Gy(),LI=Df(),R8=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(zy.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?zy.assert(s.opt):this.scalar(r,d,s.no,a,c||s.opt);break;case"message":if(l){zy.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":zy.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 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:zy.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,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;zy.assert(r!==er.ScalarType.BYTES&&r!==er.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 sCt=mQ(),oCt=PI();function aCt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},oCt.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]=sCt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(aCt,"reflectionCreate");EQ.reflectionCreate=aCt});var Q8=A(CQ=>{"use strict";Object.defineProperty(CQ,"__esModule",{value:!0});CQ.reflectionMergePartial=void 0;function cCt(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(wQ,"__esModule",{value:!0});wQ.reflectionEquals=void 0;var k8=cc();function lCt(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"?k8.ScalarType.INT32:n.T;if(!(n.repeat?SSe(c,s,a):xSe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?BSe(n.V.T(),bQ(s),bQ(a)):SSe(n.V.kind=="enum"?k8.ScalarType.INT32:n.V.T,bQ(s),bQ(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?BSe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(lCt,"reflectionEquals");wQ.reflectionEquals=lCt;var bQ=Object.values;function xSe(t,e,r){if(e===r)return!0;if(t!==k8.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(IQ,"__esModule",{value:!0});IQ.MessageType=void 0;var uCt=PI(),dCt=cc(),fCt=I8(),hCt=B8(),pCt=v8(),ACt=_8(),mCt=T8(),gCt=D8(),O8=Q8(),yCt=WD(),vSe=E8(),ECt=P8(),CCt=y8(),bCt=g8(),wCt=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),L8=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(dCt.normalizeFieldInfo),this.options=n??{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},wCt),{[uCt.MESSAGE_TYPE]:{value:this}})),this.refTypeCheck=new fCt.ReflectionTypeCheck(this),this.refJsonReader=new hCt.ReflectionJsonReader(this),this.refJsonWriter=new pCt.ReflectionJsonWriter(this),this.refBinReader=new ACt.ReflectionBinaryReader(this),this.refBinWriter=new mCt.ReflectionBinaryWriter(this)}create(e){let r=gCt.reflectionCreate(this);return e!==void 0&&O8.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return O8.reflectionMergePartial(this,r,e),r}equals(e,r){return ECt.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){O8.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=bCt.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,vSe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,vSe.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=CCt.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 ${yCt.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}};IQ.MessageType=L8});var _Se=A(SQ=>{"use strict";Object.defineProperty(SQ,"__esModule",{value:!0});SQ.containsMessageType=void 0;var ICt=PI();function SCt(t){return t[ICt.MESSAGE_TYPE]!=null}o(SCt,"containsMessageType");SQ.containsMessageType=SCt});var TSe=A(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.listEnumNumbers=xl.listEnumNames=xl.listEnumValues=xl.isEnumObject=void 0;function RSe(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(RSe,"isEnumObject");xl.isEnumObject=RSe;function F8(t){if(!RSe(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(F8,"listEnumValues");xl.listEnumValues=F8;function BCt(t){return F8(t).map(e=>e.name)}o(BCt,"listEnumNames");xl.listEnumNames=BCt;function xCt(t){return F8(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(xCt,"listEnumNumbers");xl.listEnumNumbers=xCt});var ar=A(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var DSe=WD();Object.defineProperty(De,"typeofJsonValue",{enumerable:!0,get:o(function(){return DSe.typeofJsonValue},"get")});Object.defineProperty(De,"isJsonObject",{enumerable:!0,get:o(function(){return DSe.isJsonObject},"get")});var QSe=KD();Object.defineProperty(De,"base64decode",{enumerable:!0,get:o(function(){return QSe.base64decode},"get")});Object.defineProperty(De,"base64encode",{enumerable:!0,get:o(function(){return QSe.base64encode},"get")});var vCt=oSe();Object.defineProperty(De,"utf8read",{enumerable:!0,get:o(function(){return vCt.utf8read},"get")});var M8=NI();Object.defineProperty(De,"WireType",{enumerable:!0,get:o(function(){return M8.WireType},"get")});Object.defineProperty(De,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return M8.mergeBinaryOptions},"get")});Object.defineProperty(De,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return M8.UnknownFieldHandler},"get")});var kSe=g8();Object.defineProperty(De,"BinaryReader",{enumerable:!0,get:o(function(){return kSe.BinaryReader},"get")});Object.defineProperty(De,"binaryReadOptions",{enumerable:!0,get:o(function(){return kSe.binaryReadOptions},"get")});var PSe=y8();Object.defineProperty(De,"BinaryWriter",{enumerable:!0,get:o(function(){return PSe.BinaryWriter},"get")});Object.defineProperty(De,"binaryWriteOptions",{enumerable:!0,get:o(function(){return PSe.binaryWriteOptions},"get")});var OSe=Df();Object.defineProperty(De,"PbLong",{enumerable:!0,get:o(function(){return OSe.PbLong},"get")});Object.defineProperty(De,"PbULong",{enumerable:!0,get:o(function(){return OSe.PbULong},"get")});var U8=E8();Object.defineProperty(De,"jsonReadOptions",{enumerable:!0,get:o(function(){return U8.jsonReadOptions},"get")});Object.defineProperty(De,"jsonWriteOptions",{enumerable:!0,get:o(function(){return U8.jsonWriteOptions},"get")});Object.defineProperty(De,"mergeJsonOptions",{enumerable:!0,get:o(function(){return U8.mergeJsonOptions},"get")});var NCt=PI();Object.defineProperty(De,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return NCt.MESSAGE_TYPE},"get")});var _Ct=NSe();Object.defineProperty(De,"MessageType",{enumerable:!0,get:o(function(){return _Ct.MessageType},"get")});var Zp=cc();Object.defineProperty(De,"ScalarType",{enumerable:!0,get:o(function(){return Zp.ScalarType},"get")});Object.defineProperty(De,"LongType",{enumerable:!0,get:o(function(){return Zp.LongType},"get")});Object.defineProperty(De,"RepeatType",{enumerable:!0,get:o(function(){return Zp.RepeatType},"get")});Object.defineProperty(De,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Zp.normalizeFieldInfo},"get")});Object.defineProperty(De,"readFieldOptions",{enumerable:!0,get:o(function(){return Zp.readFieldOptions},"get")});Object.defineProperty(De,"readFieldOption",{enumerable:!0,get:o(function(){return Zp.readFieldOption},"get")});Object.defineProperty(De,"readMessageOption",{enumerable:!0,get:o(function(){return Zp.readMessageOption},"get")});var RCt=I8();Object.defineProperty(De,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return RCt.ReflectionTypeCheck},"get")});var TCt=D8();Object.defineProperty(De,"reflectionCreate",{enumerable:!0,get:o(function(){return TCt.reflectionCreate},"get")});var DCt=mQ();Object.defineProperty(De,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return DCt.reflectionScalarDefault},"get")});var QCt=Q8();Object.defineProperty(De,"reflectionMergePartial",{enumerable:!0,get:o(function(){return QCt.reflectionMergePartial},"get")});var kCt=P8();Object.defineProperty(De,"reflectionEquals",{enumerable:!0,get:o(function(){return kCt.reflectionEquals},"get")});var PCt=_8();Object.defineProperty(De,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return PCt.ReflectionBinaryReader},"get")});var OCt=T8();Object.defineProperty(De,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return OCt.ReflectionBinaryWriter},"get")});var LCt=B8();Object.defineProperty(De,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return LCt.ReflectionJsonReader},"get")});var FCt=v8();Object.defineProperty(De,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return FCt.ReflectionJsonWriter},"get")});var MCt=_Se();Object.defineProperty(De,"containsMessageType",{enumerable:!0,get:o(function(){return MCt.containsMessageType},"get")});var FI=b8();Object.defineProperty(De,"isOneofGroup",{enumerable:!0,get:o(function(){return FI.isOneofGroup},"get")});Object.defineProperty(De,"setOneofValue",{enumerable:!0,get:o(function(){return FI.setOneofValue},"get")});Object.defineProperty(De,"getOneofValue",{enumerable:!0,get:o(function(){return FI.getOneofValue},"get")});Object.defineProperty(De,"clearOneofValue",{enumerable:!0,get:o(function(){return FI.clearOneofValue},"get")});Object.defineProperty(De,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return FI.getSelectedOneofValue},"get")});var BQ=TSe();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 UCt=C8();Object.defineProperty(De,"lowerCamelCase",{enumerable:!0,get:o(function(){return UCt.lowerCamelCase},"get")});var MI=Gy();Object.defineProperty(De,"assert",{enumerable:!0,get:o(function(){return MI.assert},"get")});Object.defineProperty(De,"assertNever",{enumerable:!0,get:o(function(){return MI.assertNever},"get")});Object.defineProperty(De,"assertInt32",{enumerable:!0,get:o(function(){return MI.assertInt32},"get")});Object.defineProperty(De,"assertUInt32",{enumerable:!0,get:o(function(){return MI.assertUInt32},"get")});Object.defineProperty(De,"assertFloat32",{enumerable:!0,get:o(function(){return MI.assertFloat32},"get")})});var e6=A(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.readServiceOption=Tl.readMethodOption=Tl.readMethodOptions=Tl.normalizeMethodInfo=void 0;var qCt=ar();function GCt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:qCt.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(GCt,"normalizeMethodInfo");Tl.normalizeMethodInfo=GCt;function HCt(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(HCt,"readMethodOptions");Tl.readMethodOptions=HCt;function VCt(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(VCt,"readMethodOption");Tl.readMethodOption=VCt;function zCt(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(zCt,"readServiceOption");Tl.readServiceOption=zCt});var qSe=A(xQ=>{"use strict";Object.defineProperty(xQ,"__esModule",{value:!0});xQ.ServiceType=void 0;var jCt=e6(),t6=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>jCt.normalizeMethodInfo(i,this)),this.options=n??{}}};xQ.ServiceType=t6});var n6=A(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.RpcError=void 0;var r6=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=r6});var i6=A(_Q=>{"use strict";Object.defineProperty(_Q,"__esModule",{value:!0});_Q.mergeRpcOptions=void 0;var GSe=ar();function $Ct(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=GSe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=GSe.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($Ct,"mergeRpcOptions");_Q.mergeRpcOptions=$Ct;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 o6=A(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0});eA.Deferred=eA.DeferredState=void 0;var Dl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Dl=eA.DeferredState||(eA.DeferredState={}));var s6=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Dl.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!==Dl.PENDING)throw new Error(`cannot resolve ${Dl[this.state].toLowerCase()}`);this._resolve(e),this._state=Dl.RESOLVED}reject(e){if(this.state!==Dl.PENDING)throw new Error(`cannot reject ${Dl[this.state].toLowerCase()}`);this._reject(e),this._state=Dl.REJECTED}resolvePending(e){this._state===Dl.PENDING&&this.resolve(e)}rejectPending(e){this._state===Dl.PENDING&&this.reject(e)}};eA.Deferred=s6});var c6=A(RQ=>{"use strict";Object.defineProperty(RQ,"__esModule",{value:!0});RQ.RpcOutputStreamController=void 0;var HSe=o6(),tA=ar(),a6=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){tA.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){tA.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){tA.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(){tA.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;tA.assert(e,"bad state"),tA.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 HSe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r)if(r.p){let n=r.p;tA.assert(n.state==HSe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};RQ.RpcOutputStreamController=a6});var u6=A(Jy=>{"use strict";var JCt=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 l6=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 JCt(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=l6});var f6=A(Wy=>{"use strict";var WCt=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 d6=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 WCt(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=d6});var p6=A(Yy=>{"use strict";var YCt=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.ClientStreamingCall=void 0;var h6=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 YCt(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}})}};Yy.ClientStreamingCall=h6});var m6=A(Ky=>{"use strict";var KCt=Ky&&Ky.__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(Ky,"__esModule",{value:!0});Ky.DuplexStreamingCall=void 0;var A6=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 KCt(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}})}};Ky.DuplexStreamingCall=A6});var zSe=A(eE=>{"use strict";var XCt=eE&&eE.__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(eE,"__esModule",{value:!0});eE.TestTransport=void 0;var ha=n6(),TQ=ar(),VSe=c6(),ZCt=i6(),ebt=u6(),tbt=f6(),rbt=p6(),nbt=m6(),Zy=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 Xy?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Xy?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 ha.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ha.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(TQ.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),TQ.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return XCt(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)TQ.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ha.RpcError||(TQ.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 ha.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 ha.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ha.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 ha.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 ha.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return ZCt.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(d=>{}).then(Yn(this.responseDelay,n.abort)).then(d=>this.promiseSingleResponse(e)),l=c.catch(d=>{}).then(Yn(this.afterResponseDelay,n.abort)).then(d=>this.promiseStatus()),u=c.catch(d=>{}).then(Yn(this.afterResponseDelay,n.abort)).then(d=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new ebt.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 VSe.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()),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(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 Xy(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(Yn(this.headerDelay,r.abort)),a=new VSe.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 Xy(this.data,r.abort),new nbt.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};eE.TestTransport=Zy;Zy.defaultHeaders={responseHeader:"test"};Zy.defaultStatus={code:"OK",detail:"all good"};Zy.defaultTrailers={responseTrailer:"test"};function Yn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ha.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ha.RpcError("user cancel","CANCELLED"))})}})}o(Yn,"delay");var Xy=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 ha.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 ha.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 jSe=A(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.stackDuplexStreamingInterceptors=pa.stackClientStreamingInterceptors=pa.stackServerStreamingInterceptors=pa.stackUnaryInterceptors=pa.stackIntercept=void 0;var ibt=ar();function qI(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,m)=>d.interceptUnary(f,h,p,m),"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,m)=>d.interceptServerStreaming(f,h,p,m),"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)}ibt.assertNever(t)}o(qI,"stackIntercept");pa.stackIntercept=qI;function sbt(t,e,r,n){return qI("unary",t,e,n,r)}o(sbt,"stackUnaryInterceptors");pa.stackUnaryInterceptors=sbt;function obt(t,e,r,n){return qI("serverStreaming",t,e,n,r)}o(obt,"stackServerStreamingInterceptors");pa.stackServerStreamingInterceptors=obt;function abt(t,e,r){return qI("clientStreaming",t,e,r)}o(abt,"stackClientStreamingInterceptors");pa.stackClientStreamingInterceptors=abt;function cbt(t,e,r){return qI("duplex",t,e,r)}o(cbt,"stackDuplexStreamingInterceptors");pa.stackDuplexStreamingInterceptors=cbt});var $Se=A(DQ=>{"use strict";Object.defineProperty(DQ,"__esModule",{value:!0});DQ.ServerCallContextController=void 0;var g6=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=g6});var WSe=A(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});var lbt=qSe();Object.defineProperty(Vr,"ServiceType",{enumerable:!0,get:o(function(){return lbt.ServiceType},"get")});var y6=e6();Object.defineProperty(Vr,"readMethodOptions",{enumerable:!0,get:o(function(){return y6.readMethodOptions},"get")});Object.defineProperty(Vr,"readMethodOption",{enumerable:!0,get:o(function(){return y6.readMethodOption},"get")});Object.defineProperty(Vr,"readServiceOption",{enumerable:!0,get:o(function(){return y6.readServiceOption},"get")});var ubt=n6();Object.defineProperty(Vr,"RpcError",{enumerable:!0,get:o(function(){return ubt.RpcError},"get")});var dbt=i6();Object.defineProperty(Vr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return dbt.mergeRpcOptions},"get")});var fbt=c6();Object.defineProperty(Vr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return fbt.RpcOutputStreamController},"get")});var hbt=zSe();Object.defineProperty(Vr,"TestTransport",{enumerable:!0,get:o(function(){return hbt.TestTransport},"get")});var JSe=o6();Object.defineProperty(Vr,"Deferred",{enumerable:!0,get:o(function(){return JSe.Deferred},"get")});Object.defineProperty(Vr,"DeferredState",{enumerable:!0,get:o(function(){return JSe.DeferredState},"get")});var pbt=m6();Object.defineProperty(Vr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return pbt.DuplexStreamingCall},"get")});var Abt=p6();Object.defineProperty(Vr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return Abt.ClientStreamingCall},"get")});var mbt=f6();Object.defineProperty(Vr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return mbt.ServerStreamingCall},"get")});var gbt=u6();Object.defineProperty(Vr,"UnaryCall",{enumerable:!0,get:o(function(){return gbt.UnaryCall},"get")});var GI=jSe();Object.defineProperty(Vr,"stackIntercept",{enumerable:!0,get:o(function(){return GI.stackIntercept},"get")});Object.defineProperty(Vr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return GI.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Vr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return GI.stackClientStreamingInterceptors},"get")});Object.defineProperty(Vr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return GI.stackServerStreamingInterceptors},"get")});Object.defineProperty(Vr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return GI.stackUnaryInterceptors},"get")});var ybt=$Se();Object.defineProperty(Vr,"ServerCallContextController",{enumerable:!0,get:o(function(){return ybt.ServerCallContextController},"get")})});var eBe=A((nxr,Cbt)=>{Cbt.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 rBe=A((ixr,tBe)=>{var bbt=eBe();tBe.exports={version:bbt.version}});var hBe=A((Qxr,fBe)=>{var wbt=typeof process=="object"&&process&&process.platform==="win32";fBe.exports=wbt?{sep:"\\"}:{sep:"/"}});var j6=A((kxr,CBe)=>{var pBe=Hq();CBe.exports=Bbt;var ABe="\0SLASH"+Math.random()+"\0",mBe="\0OPEN"+Math.random()+"\0",z6="\0CLOSE"+Math.random()+"\0",gBe="\0COMMA"+Math.random()+"\0",yBe="\0PERIOD"+Math.random()+"\0";function V6(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(V6,"numeric");function Ibt(t){return t.split("\\\\").join(ABe).split("\\{").join(mBe).split("\\}").join(z6).split("\\,").join(gBe).split("\\.").join(yBe)}o(Ibt,"escapeBraces");function Sbt(t){return t.split(ABe).join("\\").split(mBe).join("{").split(z6).join("}").split(gBe).join(",").split(yBe).join(".")}o(Sbt,"unescapeBraces");function EBe(t){if(!t)return[""];var e=[],r=pBe("{","}",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=EBe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(EBe,"parseCommaParts");function Bbt(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),HI(Ibt(t),!0).map(Sbt)):[]}o(Bbt,"expandTop");function xbt(t){return"{"+t+"}"}o(xbt,"embrace");function vbt(t){return/^-?0\d/.test(t)}o(vbt,"isPadded");function Nbt(t,e){return t<=e}o(Nbt,"lte");function _bt(t,e){return t>=e}o(_bt,"gte");function HI(t,e){var r=[],n=pBe("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?HI(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+z6+n.post,HI(t)):[t];var h;if(d)h=n.body.split(/\.\./);else if(h=EBe(n.body),h.length===1&&(h=HI(h[0],!1).map(xbt),h.length===1))return s.map(function(G){return n.pre+h[0]+G});var p;if(d){var m=V6(h[0]),g=V6(h[1]),E=Math.max(h[0].length,h[1].length),y=h.length==3?Math.abs(V6(h[2])):1,C=Nbt,w=g0){var j=new Array(v+1).join("0");Q<0?M="-"+j+M.slice(1):M=j+M}}p.push(M)}}else{p=[];for(var T=0;T{var So=K6.exports=(t,e,r={})=>(OQ(e),!r.nocomment&&e.charAt(0)==="#"?!1:new iE(e,r).match(t));K6.exports=So;var W6=hBe();So.sep=W6.sep;var dc=Symbol("globstar **");So.GLOBSTAR=dc;var Rbt=j6(),bBe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Y6="[^/]",$6=Y6+"*?",Tbt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Dbt="(?:(?!(?:\\/|^)\\.).)*?",SBe=o(t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),"charSet"),wBe=SBe("().*{}+?[]^$\\!"),Qbt=SBe("[.("),IBe=/\/+/;So.filter=(t,e={})=>(r,n,i)=>So(r,t,e);var Pf=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");So.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return So;let e=So,r=o((n,i,s)=>e(n,i,Pf(t,s)),"m");return r.Minimatch=class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s){super(i,Pf(t,s))}},r.Minimatch.defaults=n=>e.defaults(Pf(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,Pf(t,i)),r.defaults=n=>e.defaults(Pf(t,n)),r.makeRe=(n,i)=>e.makeRe(n,Pf(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,Pf(t,i)),r.match=(n,i,s)=>e.match(n,i,Pf(t,s)),r};So.braceExpand=(t,e)=>BBe(t,e);var BBe=o((t,e={})=>(OQ(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Rbt(t)),"braceExpand"),kbt=1024*64,OQ=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>kbt)throw new TypeError("pattern is too long")},"assertValidPattern"),J6=Symbol("subparse");So.makeRe=(t,e)=>new iE(t,e||{}).makeRe();So.match=(t,e,r={})=>{let n=new iE(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var Pbt=o(t=>t.replace(/\\(.)/g,"$1"),"globUnescape"),Obt=o(t=>t.replace(/\\([^-\]])/g,"$1"),"charUnescape"),Lbt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Fbt=o(t=>t.replace(/[[\]\\]/g,"\\$&"),"braExpEscape"),iE=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(IBe)),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;ithis.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";xD.__esModule=!0;function fI(t){return t&&t.__esModule?t:{default:t}}o(fI,"_interopRequireDefault");var Bgt=q0e(),xgt=fI(Bgt),vgt=l$(),Ngt=fI(vgt),P$=Z0e(),O$=nwe(),_gt=Owe(),Rgt=fI(_gt),Tgt=mD(),Dgt=fI(Tgt),Qgt=s$(),kgt=fI(Qgt),Pgt=xgt.default.create;function Lwe(){var t=Pgt();return t.compile=function(e,r){return O$.compile(e,r,t)},t.precompile=function(e,r){return O$.precompile(e,r,t)},t.AST=Ngt.default,t.Compiler=O$.Compiler,t.JavaScriptCompiler=Rgt.default,t.Parser=P$.parser,t.parse=P$.parse,t.parseWithoutProcessing=P$.parseWithoutProcessing,t}o(Lwe,"create");var _y=Lwe();_y.create=Lwe;kgt.default(_y);_y.Visitor=Dgt.default;_y.default=_y;xD.default=_y;Fwe.exports=xD.default});var Uwe=A(vD=>{"use strict";vD.__esModule=!0;vD.print=Mgt;vD.PrintVisitor=Gr;function Ogt(t){return t&&t.__esModule?t:{default:t}}o(Ogt,"_interopRequireDefault");var Lgt=mD(),Fgt=Ogt(Lgt);function Mgt(t){return new Gr().accept(t)}o(Mgt,"print");function Gr(){this.padding=0}o(Gr,"PrintVisitor");Gr.prototype=new Fgt.default;Gr.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};Gr.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+" }}")};Gr.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Gr.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Gr.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i{"use strict";Object.defineProperty(QD,"__esModule",{value:!0});QD.getProxyUrl=Hgt;QD.checkBypass=Zwe;function Hgt(t){let e=t.protocol==="https:";if(Zwe(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 DD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DD(`http://${r}`)}else return}o(Hgt,"getProxyUrl");function Zwe(t){if(!t.hostname)return!1;let e=t.hostname;if(Vgt(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(Zwe,"checkBypass");function Vgt(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(Vgt,"isLoopbackAddress");var DD=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 rIe=A(br=>{"use strict";var zgt=br&&br.__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]})),jgt=br&&br.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),LD=br&&br.__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;ion(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 on(this,void 0,void 0,function*(){return new Promise(e=>on(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};br.HttpClientResponse=OD;function eyt(t){return new URL(t).protocol==="https:"}o(eyt,"isHttps");var V$=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 on(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return on(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return on(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return on(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return on(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return on(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return on(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return on(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return on(this,arguments,void 0,function*(r,n={}){n[rs.Accept]=this._getExistingOrDefaultHeader(n,rs.Accept,ed.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return on(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,ed.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ed.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return on(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,ed.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ed.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return on(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[rs.Accept]=this._getExistingOrDefaultHeader(s,rs.Accept,ed.ApplicationJson),s[rs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ed.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return on(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&&Kgt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===ua.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&&Wgt.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||!Ygt.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 OD(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=H$.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?tIe:G$;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({},mI(this.requestOptions.headers),mI(e||{})):mI(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=mI(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=mI(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=H$.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||G$.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?kD.httpsOverHttps:kD.httpsOverHttp:l=u?kD.httpOverHttps:kD.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new tIe.Agent(c):new G$.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 $gt.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 on(this,void 0,void 0,function*(){e=Math.min(Xgt,e);let r=Zgt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return on(this,void 0,void 0,function*(){return new Promise((n,i)=>on(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===ua.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 PD(d,s);f.result=a.result,i(f)}else n(a)}))})}};br.HttpClient=V$;var mI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var SIe=A((W0r,yI)=>{"use strict";var qD=o(function(){},"NullObject");qD.prototype=Object.create(null);var MD=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,UD=/\\([\v\u0020-\u00ff])/gu,bIe=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Jp={type:"",parameters:new qD};Object.freeze(Jp.parameters);Object.freeze(Jp);function wIe(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(bIe.test(r)===!1)throw new TypeError("invalid media type");let n={type:r.toLowerCase(),parameters:new qD};if(e===-1)return n;let i,s,a;for(MD.lastIndex=e;s=MD.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),UD.test(a)&&(a=a.replace(UD,"$1"))),n.parameters[i]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return n}o(wIe,"parse");function IIe(t){if(typeof t!="string")return Jp;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(bIe.test(r)===!1)return Jp;let n={type:r.toLowerCase(),parameters:new qD};if(e===-1)return n;let i,s,a;for(MD.lastIndex=e;s=MD.exec(t);){if(s.index!==e)return Jp;e+=s[0].length,i=s[1].toLowerCase(),a=s[2],a[0]==='"'&&(a=a.slice(1,a.length-1),UD.test(a)&&(a=a.replace(UD,"$1"))),n.parameters[i]=a}return e!==t.length?Jp:n}o(IIe,"safeParse");yI.exports.default={parse:wIe,safeParse:IIe};yI.exports.parse=wIe;yI.exports.safeParse=IIe;yI.exports.defaultContentType=Jp});var WD=A(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.isJsonObject=Ly.typeofJsonValue=void 0;function AEt(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(AEt,"typeofJsonValue");Ly.typeofJsonValue=AEt;function mEt(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(mEt,"isJsonObject");Ly.isJsonObject=mEt});var KD=A(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.base64encode=Fy.base64decode=void 0;var id="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(gEt,"base64decode");Fy.base64decode=gEt;function yEt(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=id[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=id[i|n>>6],e+=id[n&63],r=0;break}return r&&(e+=id[i],e+="=",r==1&&(e+="=")),e}o(yEt,"base64encode");Fy.base64encode=yEt});var aSe=A(XD=>{"use strict";Object.defineProperty(XD,"__esModule",{value:!0});XD.utf8read=void 0;var g8=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function EEt(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(g8(n)),i=0);return r.length?(i&&r.push(g8(n.slice(0,i))),r.join("")):g8(n.slice(0,i))}o(EEt,"utf8read");XD.utf8read=EEt});var NI=A(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.WireType=Bl.mergeBinaryOptions=Bl.UnknownFieldHandler=void 0;var CEt;(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")})(CEt=Bl.UnknownFieldHandler||(Bl.UnknownFieldHandler={}));function bEt(t,e){return Object.assign(Object.assign({},t),e)}o(bEt,"mergeBinaryOptions");Bl.mergeBinaryOptions=bEt;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=Bl.WireType||(Bl.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 IEt(){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(SEt,"varint64write");Os.varint64write=SEt;var ZD=65536*65536;function BEt(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(BEt,"int64fromString");Os.int64fromString=BEt;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 vEt(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(vEt,"varint32write");Os.varint32write=vEt;function NEt(){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(NEt,"varint32read");Os.varint32read=NEt});var Df=A(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.PbLong=Tf.PbULong=Tf.detectBi=void 0;var _I=eQ(),Jt;function cSe(){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(cSe,"detectBi");Tf.detectBi=cSe;cSe();function lSe(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(lSe,"assertBi");var uSe=/^-?[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}},RI=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(),!uSe.test(e))throw new Error("string is no integer");let[r,n,i]=_I.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():_I.int64toString(this.lo,this.hi)}toBigInt(){return lSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigUint64(0,!0)}};Tf.PbULong=RI;RI.ZERO=new RI(0,0);var TI=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(),!uSe.test(e))throw new Error("string is no integer");let[r,n,i]=_I.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"-"+_I.int64toString(e.lo,e.hi)}return _I.int64toString(this.lo,this.hi)}toBigInt(){return lSe(Jt),Jt.V.setInt32(0,this.lo,!0),Jt.V.setInt32(4,this.hi,!0),Jt.V.getBigInt64(0,!0)}};Tf.PbLong=TI;TI.ZERO=new TI(0,0)});var y8=A(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.BinaryReader=Uy.binaryReadOptions=void 0;var My=NI(),DI=Df(),dSe=eQ(),fSe={readUnknownField:!0,readerFactory:o(t=>new iQ(t),"readerFactory")};function _Et(t){return t?Object.assign(Object.assign({},fSe),t):fSe}o(_Et,"binaryReadOptions");Uy.binaryReadOptions=_Et;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 DI.PbLong(...this.varint64())}uint64(){return new DI.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 DI.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 DI.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new DI.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(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.assertFloat32=fa.assertUInt32=fa.assertInt32=fa.assertNever=fa.assert=void 0;function REt(t,e){if(!t)throw new Error(e)}o(REt,"assert");fa.assert=REt;function TEt(t,e){throw new Error(e??"Unexpected object: "+t)}o(TEt,"assertNever");fa.assertNever=TEt;var DEt=34028234663852886e22,QEt=-34028234663852886e22,kEt=4294967295,PEt=2147483647,OEt=-2147483648;function LEt(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>PEt||tkEt||t<0)throw new Error("invalid uint 32: "+t)}o(FEt,"assertUInt32");fa.assertUInt32=FEt;function MEt(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>DEt||t{"use strict";Object.defineProperty(Hy,"__esModule",{value:!0});Hy.BinaryWriter=Hy.binaryWriteOptions=void 0;var QI=Df(),kI=eQ(),Gy=qy(),hSe={writeUnknownFields:!0,writerFactory:o(()=>new sQ,"writerFactory")};function UEt(t){return t?Object.assign(Object.assign({},hSe),t):hSe}o(UEt,"binaryWriteOptions");Hy.binaryWriteOptions=UEt;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),kI.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,kI.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=QI.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=QI.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=QI.PbLong.from(e);return kI.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=QI.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return kI.varint64write(i,s,this.buf),this}uint64(e){let r=QI.PbULong.from(e);return kI.varint64write(r.lo,r.hi,this.buf),this}};Hy.BinaryWriter=sQ});var C8=A(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.mergeJsonOptions=Qf.jsonWriteOptions=Qf.jsonReadOptions=void 0;var pSe={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},ASe={ignoreUnknownFields:!1};function qEt(t){return t?Object.assign(Object.assign({},ASe),t):ASe}o(qEt,"jsonReadOptions");Qf.jsonReadOptions=qEt;function GEt(t){return t?Object.assign(Object.assign({},pSe),t):pSe}o(GEt,"jsonWriteOptions");Qf.jsonWriteOptions=GEt;function HEt(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(HEt,"mergeJsonOptions");Qf.mergeJsonOptions=HEt});var PI=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 VEt(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.readMessageOption=kn.readFieldOption=kn.readFieldOptions=kn.normalizeFieldInfo=kn.RepeatType=kn.LongType=kn.ScalarType=void 0;var mSe=b8(),zEt;(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"})(zEt=kn.ScalarType||(kn.ScalarType={}));var jEt;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(jEt=kn.LongType||(kn.LongType={}));var gSe;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(gSe=kn.RepeatType||(kn.RepeatType={}));function $Et(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:mSe.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:mSe.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:gSe.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o($Et,"normalizeFieldInfo");kn.normalizeFieldInfo=$Et;function JEt(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(JEt,"readFieldOptions");kn.readFieldOptions=JEt;function WEt(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(WEt,"readFieldOption");kn.readFieldOption=WEt;function YEt(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(YEt,"readMessageOption");kn.readMessageOption=YEt});var w8=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 KEt(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(KEt,"isOneofGroup");Ls.isOneofGroup=KEt;function XEt(t,e){return t[e]}o(XEt,"getOneofValue");Ls.getOneofValue=XEt;function ZEt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(ZEt,"setOneofValue");Ls.setOneofValue=ZEt;function eCt(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(eCt,"setUnknownOneofValue");Ls.setUnknownOneofValue=eCt;function tCt(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(tCt,"clearOneofValue");Ls.clearOneofValue=tCt;function rCt(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(rCt,"getSelectedOneofValue");Ls.getSelectedOneofValue=rCt});var S8=A(cQ=>{"use strict";Object.defineProperty(cQ,"__esModule",{value:!0});cQ.ReflectionTypeCheck=void 0;var Hr=cc(),nCt=w8(),I8=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(!nCt.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,Hr.ScalarType.INT32,i):this.scalar(e,Hr.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),Hr.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 Hr.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,Hr.LongType.STRING)}}};cQ.ReflectionTypeCheck=I8});var uQ=A(lQ=>{"use strict";Object.defineProperty(lQ,"__esModule",{value:!0});lQ.reflectionLongConvert=void 0;var ySe=cc();function iCt(t,e){switch(e){case ySe.LongType.BIGINT:return t.toBigInt();case ySe.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(iCt,"reflectionLongConvert");lQ.reflectionLongConvert=iCt});var x8=A(hQ=>{"use strict";Object.defineProperty(hQ,"__esModule",{value:!0});hQ.ReflectionJsonReader=void 0;var ESe=WD(),sCt=KD(),Pn=cc(),dQ=Df(),Xp=qy(),fQ=uQ(),B8=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=ESe.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(ESe.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 m=f;c.K==Pn.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,c.K,Pn.LongType.STRING,c.name).toString(),d[m]=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"&&Xp.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 Xp.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:(Xp.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Xp.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 Pn.ScalarType.DOUBLE:case Pn.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==Pn.ScalarType.FLOAT&&Xp.assertFloat32(a),a;case Pn.ScalarType.INT32:case Pn.ScalarType.FIXED32:case Pn.ScalarType.SFIXED32:case Pn.ScalarType.SINT32:case Pn.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==Pn.ScalarType.UINT32?Xp.assertUInt32(c):Xp.assertInt32(c),c;case Pn.ScalarType.INT64:case Pn.ScalarType.SFIXED64:case Pn.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 Pn.ScalarType.FIXED64:case Pn.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 Pn.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Pn.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 Pn.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return sCt.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};hQ.ReflectionJsonReader=B8});var N8=A(pQ=>{"use strict";Object.defineProperty(pQ,"__esModule",{value:!0});pQ.ReflectionJsonWriter=void 0;var oCt=KD(),CSe=Df(),ss=cc(),wr=qy(),v8=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=CSe.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=CSe.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ss.ScalarType.BYTES:return wr.assert(r instanceof Uint8Array),r.byteLength?oCt.base64encode(r):a?"":void 0}}};pQ.ReflectionJsonWriter=v8});var mQ=A(AQ=>{"use strict";Object.defineProperty(AQ,"__esModule",{value:!0});AQ.reflectionScalarDefault=void 0;var lc=cc(),bSe=uQ(),wSe=Df();function aCt(t,e=lc.LongType.STRING){switch(t){case lc.ScalarType.BOOL:return!1;case lc.ScalarType.UINT64:case lc.ScalarType.FIXED64:return bSe.reflectionLongConvert(wSe.PbULong.ZERO,e);case lc.ScalarType.INT64:case lc.ScalarType.SFIXED64:case lc.ScalarType.SINT64:return bSe.reflectionLongConvert(wSe.PbLong.ZERO,e);case lc.ScalarType.DOUBLE:case lc.ScalarType.FLOAT:return 0;case lc.ScalarType.BYTES:return new Uint8Array(0);case lc.ScalarType.STRING:return"";default:return 0}}o(aCt,"reflectionScalarDefault");AQ.reflectionScalarDefault=aCt});var R8=A(gQ=>{"use strict";Object.defineProperty(gQ,"__esModule",{value:!0});gQ.ReflectionBinaryReader=void 0;var ISe=NI(),cn=cc(),OI=uQ(),SSe=mQ(),_8=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=NI(),er=cc(),Vy=qy(),LI=Df(),T8=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(Vy.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?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 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: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,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,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!==er.ScalarType.BYTES&&r!==er.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 cCt=mQ(),lCt=PI();function uCt(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},lCt.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]=cCt.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(uCt,"reflectionCreate");EQ.reflectionCreate=uCt});var k8=A(CQ=>{"use strict";Object.defineProperty(CQ,"__esModule",{value:!0});CQ.reflectionMergePartial=void 0;function dCt(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(wQ,"__esModule",{value:!0});wQ.reflectionEquals=void 0;var P8=cc();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"?P8.ScalarType.INT32:n.T;if(!(n.repeat?BSe(c,s,a):vSe(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?xSe(n.V.T(),bQ(s),bQ(a)):BSe(n.V.kind=="enum"?P8.ScalarType.INT32:n.V.T,bQ(s),bQ(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?xSe(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(fCt,"reflectionEquals");wQ.reflectionEquals=fCt;var bQ=Object.values;function vSe(t,e,r){if(e===r)return!0;if(t!==P8.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(IQ,"__esModule",{value:!0});IQ.MessageType=void 0;var hCt=PI(),pCt=cc(),ACt=S8(),mCt=x8(),gCt=N8(),yCt=R8(),ECt=D8(),CCt=Q8(),L8=k8(),bCt=WD(),NSe=C8(),wCt=O8(),ICt=E8(),SCt=y8(),BCt=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),F8=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(pCt.normalizeFieldInfo),this.options=n??{},this.messagePrototype=Object.create(null,Object.assign(Object.assign({},BCt),{[hCt.MESSAGE_TYPE]:{value:this}})),this.refTypeCheck=new ACt.ReflectionTypeCheck(this),this.refJsonReader=new mCt.ReflectionJsonReader(this),this.refJsonWriter=new gCt.ReflectionJsonWriter(this),this.refBinReader=new yCt.ReflectionBinaryReader(this),this.refBinWriter=new ECt.ReflectionBinaryWriter(this)}create(e){let r=CCt.reflectionCreate(this);return e!==void 0&&L8.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return L8.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){L8.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=SCt.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,NSe.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,NSe.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=ICt.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 ${bCt.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}};IQ.MessageType=F8});var RSe=A(SQ=>{"use strict";Object.defineProperty(SQ,"__esModule",{value:!0});SQ.containsMessageType=void 0;var xCt=PI();function vCt(t){return t[xCt.MESSAGE_TYPE]!=null}o(vCt,"containsMessageType");SQ.containsMessageType=vCt});var DSe=A(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.listEnumNumbers=xl.listEnumNames=xl.listEnumValues=xl.isEnumObject=void 0;function TSe(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(TSe,"isEnumObject");xl.isEnumObject=TSe;function M8(t){if(!TSe(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(M8,"listEnumValues");xl.listEnumValues=M8;function NCt(t){return M8(t).map(e=>e.name)}o(NCt,"listEnumNames");xl.listEnumNames=NCt;function _Ct(t){return M8(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(_Ct,"listEnumNumbers");xl.listEnumNumbers=_Ct});var ar=A(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var QSe=WD();Object.defineProperty(De,"typeofJsonValue",{enumerable:!0,get:o(function(){return QSe.typeofJsonValue},"get")});Object.defineProperty(De,"isJsonObject",{enumerable:!0,get:o(function(){return QSe.isJsonObject},"get")});var kSe=KD();Object.defineProperty(De,"base64decode",{enumerable:!0,get:o(function(){return kSe.base64decode},"get")});Object.defineProperty(De,"base64encode",{enumerable:!0,get:o(function(){return kSe.base64encode},"get")});var RCt=aSe();Object.defineProperty(De,"utf8read",{enumerable:!0,get:o(function(){return RCt.utf8read},"get")});var U8=NI();Object.defineProperty(De,"WireType",{enumerable:!0,get:o(function(){return U8.WireType},"get")});Object.defineProperty(De,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return U8.mergeBinaryOptions},"get")});Object.defineProperty(De,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return U8.UnknownFieldHandler},"get")});var PSe=y8();Object.defineProperty(De,"BinaryReader",{enumerable:!0,get:o(function(){return PSe.BinaryReader},"get")});Object.defineProperty(De,"binaryReadOptions",{enumerable:!0,get:o(function(){return PSe.binaryReadOptions},"get")});var OSe=E8();Object.defineProperty(De,"BinaryWriter",{enumerable:!0,get:o(function(){return OSe.BinaryWriter},"get")});Object.defineProperty(De,"binaryWriteOptions",{enumerable:!0,get:o(function(){return OSe.binaryWriteOptions},"get")});var LSe=Df();Object.defineProperty(De,"PbLong",{enumerable:!0,get:o(function(){return LSe.PbLong},"get")});Object.defineProperty(De,"PbULong",{enumerable:!0,get:o(function(){return LSe.PbULong},"get")});var q8=C8();Object.defineProperty(De,"jsonReadOptions",{enumerable:!0,get:o(function(){return q8.jsonReadOptions},"get")});Object.defineProperty(De,"jsonWriteOptions",{enumerable:!0,get:o(function(){return q8.jsonWriteOptions},"get")});Object.defineProperty(De,"mergeJsonOptions",{enumerable:!0,get:o(function(){return q8.mergeJsonOptions},"get")});var TCt=PI();Object.defineProperty(De,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return TCt.MESSAGE_TYPE},"get")});var DCt=_Se();Object.defineProperty(De,"MessageType",{enumerable:!0,get:o(function(){return DCt.MessageType},"get")});var Zp=cc();Object.defineProperty(De,"ScalarType",{enumerable:!0,get:o(function(){return Zp.ScalarType},"get")});Object.defineProperty(De,"LongType",{enumerable:!0,get:o(function(){return Zp.LongType},"get")});Object.defineProperty(De,"RepeatType",{enumerable:!0,get:o(function(){return Zp.RepeatType},"get")});Object.defineProperty(De,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Zp.normalizeFieldInfo},"get")});Object.defineProperty(De,"readFieldOptions",{enumerable:!0,get:o(function(){return Zp.readFieldOptions},"get")});Object.defineProperty(De,"readFieldOption",{enumerable:!0,get:o(function(){return Zp.readFieldOption},"get")});Object.defineProperty(De,"readMessageOption",{enumerable:!0,get:o(function(){return Zp.readMessageOption},"get")});var QCt=S8();Object.defineProperty(De,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return QCt.ReflectionTypeCheck},"get")});var kCt=Q8();Object.defineProperty(De,"reflectionCreate",{enumerable:!0,get:o(function(){return kCt.reflectionCreate},"get")});var PCt=mQ();Object.defineProperty(De,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return PCt.reflectionScalarDefault},"get")});var OCt=k8();Object.defineProperty(De,"reflectionMergePartial",{enumerable:!0,get:o(function(){return OCt.reflectionMergePartial},"get")});var LCt=O8();Object.defineProperty(De,"reflectionEquals",{enumerable:!0,get:o(function(){return LCt.reflectionEquals},"get")});var FCt=R8();Object.defineProperty(De,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return FCt.ReflectionBinaryReader},"get")});var MCt=D8();Object.defineProperty(De,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return MCt.ReflectionBinaryWriter},"get")});var UCt=x8();Object.defineProperty(De,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return UCt.ReflectionJsonReader},"get")});var qCt=N8();Object.defineProperty(De,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return qCt.ReflectionJsonWriter},"get")});var GCt=RSe();Object.defineProperty(De,"containsMessageType",{enumerable:!0,get:o(function(){return GCt.containsMessageType},"get")});var FI=w8();Object.defineProperty(De,"isOneofGroup",{enumerable:!0,get:o(function(){return FI.isOneofGroup},"get")});Object.defineProperty(De,"setOneofValue",{enumerable:!0,get:o(function(){return FI.setOneofValue},"get")});Object.defineProperty(De,"getOneofValue",{enumerable:!0,get:o(function(){return FI.getOneofValue},"get")});Object.defineProperty(De,"clearOneofValue",{enumerable:!0,get:o(function(){return FI.clearOneofValue},"get")});Object.defineProperty(De,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return FI.getSelectedOneofValue},"get")});var BQ=DSe();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 HCt=b8();Object.defineProperty(De,"lowerCamelCase",{enumerable:!0,get:o(function(){return HCt.lowerCamelCase},"get")});var MI=qy();Object.defineProperty(De,"assert",{enumerable:!0,get:o(function(){return MI.assert},"get")});Object.defineProperty(De,"assertNever",{enumerable:!0,get:o(function(){return MI.assertNever},"get")});Object.defineProperty(De,"assertInt32",{enumerable:!0,get:o(function(){return MI.assertInt32},"get")});Object.defineProperty(De,"assertUInt32",{enumerable:!0,get:o(function(){return MI.assertUInt32},"get")});Object.defineProperty(De,"assertFloat32",{enumerable:!0,get:o(function(){return MI.assertFloat32},"get")})});var t6=A(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.readServiceOption=Tl.readMethodOption=Tl.readMethodOptions=Tl.normalizeMethodInfo=void 0;var VCt=ar();function zCt(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:VCt.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(zCt,"normalizeMethodInfo");Tl.normalizeMethodInfo=zCt;function jCt(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(jCt,"readMethodOptions");Tl.readMethodOptions=jCt;function $Ct(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($Ct,"readMethodOption");Tl.readMethodOption=$Ct;function JCt(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(JCt,"readServiceOption");Tl.readServiceOption=JCt});var GSe=A(xQ=>{"use strict";Object.defineProperty(xQ,"__esModule",{value:!0});xQ.ServiceType=void 0;var WCt=t6(),r6=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>WCt.normalizeMethodInfo(i,this)),this.options=n??{}}};xQ.ServiceType=r6});var i6=A(vQ=>{"use strict";Object.defineProperty(vQ,"__esModule",{value:!0});vQ.RpcError=void 0;var n6=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=n6});var s6=A(_Q=>{"use strict";Object.defineProperty(_Q,"__esModule",{value:!0});_Q.mergeRpcOptions=void 0;var HSe=ar();function YCt(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=HSe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=HSe.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(YCt,"mergeRpcOptions");_Q.mergeRpcOptions=YCt;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 a6=A(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0});eA.Deferred=eA.DeferredState=void 0;var Dl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Dl=eA.DeferredState||(eA.DeferredState={}));var o6=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Dl.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!==Dl.PENDING)throw new Error(`cannot resolve ${Dl[this.state].toLowerCase()}`);this._resolve(e),this._state=Dl.RESOLVED}reject(e){if(this.state!==Dl.PENDING)throw new Error(`cannot reject ${Dl[this.state].toLowerCase()}`);this._reject(e),this._state=Dl.REJECTED}resolvePending(e){this._state===Dl.PENDING&&this.resolve(e)}rejectPending(e){this._state===Dl.PENDING&&this.reject(e)}};eA.Deferred=o6});var l6=A(RQ=>{"use strict";Object.defineProperty(RQ,"__esModule",{value:!0});RQ.RpcOutputStreamController=void 0;var VSe=a6(),tA=ar(),c6=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){tA.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){tA.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){tA.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(){tA.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;tA.assert(e,"bad state"),tA.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 VSe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r)if(r.p){let n=r.p;tA.assert(n.state==VSe.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};RQ.RpcOutputStreamController=c6});var d6=A($y=>{"use strict";var KCt=$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(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($y,"__esModule",{value:!0});$y.UnaryCall=void 0;var u6=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 KCt(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}})}};$y.UnaryCall=u6});var h6=A(Jy=>{"use strict";var XCt=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.ServerStreamingCall=void 0;var f6=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 XCt(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}})}};Jy.ServerStreamingCall=f6});var A6=A(Wy=>{"use strict";var ZCt=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.ClientStreamingCall=void 0;var p6=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 ZCt(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}})}};Wy.ClientStreamingCall=p6});var g6=A(Yy=>{"use strict";var ebt=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 m6=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 ebt(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=m6});var jSe=A(Zy=>{"use strict";var tbt=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 ha=i6(),TQ=ar(),zSe=l6(),rbt=s6(),nbt=d6(),ibt=h6(),sbt=A6(),obt=g6(),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 ha.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ha.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(TQ.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),TQ.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return tbt(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)TQ.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ha.RpcError||(TQ.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 ha.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 ha.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ha.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 ha.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 ha.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return rbt.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(d=>{}).then(Yn(this.responseDelay,n.abort)).then(d=>this.promiseSingleResponse(e)),l=c.catch(d=>{}).then(Yn(this.afterResponseDelay,n.abort)).then(d=>this.promiseStatus()),u=c.catch(d=>{}).then(Yn(this.afterResponseDelay,n.abort)).then(d=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new nbt.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 zSe.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()),d=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,d),this.lastInput={single:r},new ibt.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(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 Ky(this.data,r.abort),new sbt.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 zSe.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 Ky(this.data,r.abort),new obt.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 Yn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ha.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ha.RpcError("user cancel","CANCELLED"))})}})}o(Yn,"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 ha.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 ha.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 $Se=A(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.stackDuplexStreamingInterceptors=pa.stackClientStreamingInterceptors=pa.stackServerStreamingInterceptors=pa.stackUnaryInterceptors=pa.stackIntercept=void 0;var abt=ar();function qI(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,m)=>d.interceptUnary(f,h,p,m),"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,m)=>d.interceptServerStreaming(f,h,p,m),"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)}abt.assertNever(t)}o(qI,"stackIntercept");pa.stackIntercept=qI;function cbt(t,e,r,n){return qI("unary",t,e,n,r)}o(cbt,"stackUnaryInterceptors");pa.stackUnaryInterceptors=cbt;function lbt(t,e,r,n){return qI("serverStreaming",t,e,n,r)}o(lbt,"stackServerStreamingInterceptors");pa.stackServerStreamingInterceptors=lbt;function ubt(t,e,r){return qI("clientStreaming",t,e,r)}o(ubt,"stackClientStreamingInterceptors");pa.stackClientStreamingInterceptors=ubt;function dbt(t,e,r){return qI("duplex",t,e,r)}o(dbt,"stackDuplexStreamingInterceptors");pa.stackDuplexStreamingInterceptors=dbt});var JSe=A(DQ=>{"use strict";Object.defineProperty(DQ,"__esModule",{value:!0});DQ.ServerCallContextController=void 0;var y6=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=y6});var YSe=A(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});var fbt=GSe();Object.defineProperty(Vr,"ServiceType",{enumerable:!0,get:o(function(){return fbt.ServiceType},"get")});var E6=t6();Object.defineProperty(Vr,"readMethodOptions",{enumerable:!0,get:o(function(){return E6.readMethodOptions},"get")});Object.defineProperty(Vr,"readMethodOption",{enumerable:!0,get:o(function(){return E6.readMethodOption},"get")});Object.defineProperty(Vr,"readServiceOption",{enumerable:!0,get:o(function(){return E6.readServiceOption},"get")});var hbt=i6();Object.defineProperty(Vr,"RpcError",{enumerable:!0,get:o(function(){return hbt.RpcError},"get")});var pbt=s6();Object.defineProperty(Vr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return pbt.mergeRpcOptions},"get")});var Abt=l6();Object.defineProperty(Vr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return Abt.RpcOutputStreamController},"get")});var mbt=jSe();Object.defineProperty(Vr,"TestTransport",{enumerable:!0,get:o(function(){return mbt.TestTransport},"get")});var WSe=a6();Object.defineProperty(Vr,"Deferred",{enumerable:!0,get:o(function(){return WSe.Deferred},"get")});Object.defineProperty(Vr,"DeferredState",{enumerable:!0,get:o(function(){return WSe.DeferredState},"get")});var gbt=g6();Object.defineProperty(Vr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return gbt.DuplexStreamingCall},"get")});var ybt=A6();Object.defineProperty(Vr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return ybt.ClientStreamingCall},"get")});var Ebt=h6();Object.defineProperty(Vr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return Ebt.ServerStreamingCall},"get")});var Cbt=d6();Object.defineProperty(Vr,"UnaryCall",{enumerable:!0,get:o(function(){return Cbt.UnaryCall},"get")});var GI=$Se();Object.defineProperty(Vr,"stackIntercept",{enumerable:!0,get:o(function(){return GI.stackIntercept},"get")});Object.defineProperty(Vr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return GI.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Vr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return GI.stackClientStreamingInterceptors},"get")});Object.defineProperty(Vr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return GI.stackServerStreamingInterceptors},"get")});Object.defineProperty(Vr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return GI.stackUnaryInterceptors},"get")});var bbt=JSe();Object.defineProperty(Vr,"ServerCallContextController",{enumerable:!0,get:o(function(){return bbt.ServerCallContextController},"get")})});var tBe=A((axr,Ibt)=>{Ibt.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 nBe=A((cxr,rBe)=>{var Sbt=tBe();rBe.exports={version:Sbt.version}});var pBe=A((Lxr,hBe)=>{var Bbt=typeof process=="object"&&process&&process.platform==="win32";hBe.exports=Bbt?{sep:"\\"}:{sep:"/"}});var $6=A((Fxr,bBe)=>{var ABe=Hq();bBe.exports=Nbt;var mBe="\0SLASH"+Math.random()+"\0",gBe="\0OPEN"+Math.random()+"\0",j6="\0CLOSE"+Math.random()+"\0",yBe="\0COMMA"+Math.random()+"\0",EBe="\0PERIOD"+Math.random()+"\0";function z6(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(z6,"numeric");function xbt(t){return t.split("\\\\").join(mBe).split("\\{").join(gBe).split("\\}").join(j6).split("\\,").join(yBe).split("\\.").join(EBe)}o(xbt,"escapeBraces");function vbt(t){return t.split(mBe).join("\\").split(gBe).join("{").split(j6).join("}").split(yBe).join(",").split(EBe).join(".")}o(vbt,"unescapeBraces");function CBe(t){if(!t)return[""];var e=[],r=ABe("{","}",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=CBe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(CBe,"parseCommaParts");function Nbt(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),HI(xbt(t),!0).map(vbt)):[]}o(Nbt,"expandTop");function _bt(t){return"{"+t+"}"}o(_bt,"embrace");function Rbt(t){return/^-?0\d/.test(t)}o(Rbt,"isPadded");function Tbt(t,e){return t<=e}o(Tbt,"lte");function Dbt(t,e){return t>=e}o(Dbt,"gte");function HI(t,e){var r=[],n=ABe("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?HI(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+j6+n.post,HI(t)):[t];var h;if(d)h=n.body.split(/\.\./);else if(h=CBe(n.body),h.length===1&&(h=HI(h[0],!1).map(_bt),h.length===1))return s.map(function(H){return n.pre+h[0]+H});var p;if(d){var m=z6(h[0]),g=z6(h[1]),E=Math.max(h[0].length,h[1].length),y=h.length==3?Math.abs(z6(h[2])):1,C=Tbt,w=g0){var j=new Array(v+1).join("0");Q<0?M="-"+j+M.slice(1):M=j+M}}p.push(M)}}else{p=[];for(var T=0;T{var So=X6.exports=(t,e,r={})=>(OQ(e),!r.nocomment&&e.charAt(0)==="#"?!1:new nE(e,r).match(t));X6.exports=So;var Y6=pBe();So.sep=Y6.sep;var dc=Symbol("globstar **");So.GLOBSTAR=dc;var Qbt=$6(),wBe={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},K6="[^/]",J6=K6+"*?",kbt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Pbt="(?:(?!(?:\\/|^)\\.).)*?",BBe=o(t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),"charSet"),IBe=BBe("().*{}+?[]^$\\!"),Obt=BBe("[.("),SBe=/\/+/;So.filter=(t,e={})=>(r,n,i)=>So(r,t,e);var Pf=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");So.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return So;let e=So,r=o((n,i,s)=>e(n,i,Pf(t,s)),"m");return r.Minimatch=class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s){super(i,Pf(t,s))}},r.Minimatch.defaults=n=>e.defaults(Pf(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,Pf(t,i)),r.defaults=n=>e.defaults(Pf(t,n)),r.makeRe=(n,i)=>e.makeRe(n,Pf(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,Pf(t,i)),r.match=(n,i,s)=>e.match(n,i,Pf(t,s)),r};So.braceExpand=(t,e)=>xBe(t,e);var xBe=o((t,e={})=>(OQ(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Qbt(t)),"braceExpand"),Lbt=1024*64,OQ=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Lbt)throw new TypeError("pattern is too long")},"assertValidPattern"),W6=Symbol("subparse");So.makeRe=(t,e)=>new nE(t,e||{}).makeRe();So.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 Fbt=o(t=>t.replace(/\\(.)/g,"$1"),"globUnescape"),Mbt=o(t=>t.replace(/\\([^-\]])/g,"$1"),"charUnescape"),Ubt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),qbt=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(SBe)),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 m;if(typeof u=="string"?(m=d===u,this.debug("string match",u,d,m)):(m=d.match(u),this.debug("pattern match",u,d,m)),!m)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 BBe(this.pattern,this.options)}parse(e,r){OQ(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return dc;if(e==="")return"";let i="",s=!1,a=!1,c=[],l=[],u,d=!1,f=-1,h=-1,p,m,g,E=e.charAt(0)===".",y=n.dot||E,C=o(()=>E?"":y?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","patternStart"),w=o(v=>v.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","subPatternStart"),B=o(()=>{if(u){switch(u){case"*":i+=$6,s=!0;break;case"?":i+=Y6,s=!0;break;default:i+="\\"+u;break}this.debug("clearStateChar %j %j",u,i),u=!1}},"clearStateChar");for(let v=0,j;v(V||(V="\\"),G+G+V+"|")),this.debug(`tail=%j - %s`,v,v,m,i);let j=m.type==="*"?$6:m.type==="?"?Y6:"\\"+m.type;s=!0,i=i.slice(0,m.reStart)+j+"\\("+v}B(),a&&(i+="\\\\");let Q=Qbt[i.charAt(0)];for(let v=l.length-1;v>-1;v--){let j=l[v],T=i.slice(0,j.reStart),G=i.slice(j.reStart,j.reEnd-8),V=i.slice(j.reEnd),W=i.slice(j.reEnd-8,j.reEnd)+V,ee=T.split(")").length,ae=T.split("(").length-ee,Ae=V;for(let z=0;z(a=a.map(c=>typeof c=="string"?Lbt(c):c===dc?dc:c._src).reduce((c,l)=>(c[c.length-1]===dc&&l===dc||c.push(l),c),[]),a.forEach((c,l)=>{c!==dc||a[l-1]===dc||(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]=dc))}),a.filter(c=>c!==dc).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;W6.sep!=="/"&&(e=e.split(W6.sep).join("/")),e=e.split(IBe),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{RBe.exports=_Be;var Z6=require("fs"),{EventEmitter:Mbt}=require("events"),{Minimatch:X6}=xBe(),{resolve:Ubt}=require("path");function qbt(t,e){return new Promise((r,n)=>{Z6.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(qbt,"readdir");function vBe(t,e){return new Promise((r,n)=>{(e?Z6.stat:Z6.lstat)(t,(s,a)=>{s?s.code==="ENOENT"?r(e?vBe(t,!1):null):r(null):r(a)})})}o(vBe,"stat");async function*NBe(t,e,r,n,i,s){let a=await qbt(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 vBe(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*NBe(u,e,r,n,i,!1)):yield{relative:d,absolute:f,stats:h}}}o(NBe,"exploreWalkAsync");async function*Gbt(t,e,r,n){yield*NBe("",t,e,r,n,!0)}o(Gbt,"explore");function Hbt(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(Hbt,"readOptions");var LQ=class extends Mbt{static{o(this,"ReaddirGlob")}constructor(e,r,n){if(super(),typeof r=="function"&&(n=r,r=null),this.options=Hbt(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 X6(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 X6(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 X6(s,{dot:!0}))}this.iterator=Gbt(Ubt(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 _Be(t,e,r){return new LQ(t,e,r)}o(_Be,"readdirGlob");_Be.ReaddirGlob=LQ});var QBe=A((FQ,DBe)=>{(function(t,e){typeof FQ=="object"&&typeof DBe<"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(I,...b){return(...S)=>I(...b,...S)}o(e,"apply");function r(I){return function(...b){var S=b.pop();return I.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(I){setTimeout(I,0)}o(a,"fallback");function c(I){return(b,...S)=>I(()=>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(I){return p(I)?function(...b){let S=b.pop(),N=I.apply(this,b);return f(N,S)}:r(function(b,S){var N;try{N=I.apply(this,b)}catch(k){return S(k)}if(N&&typeof N.then=="function")return f(N,S);S(null,N)})}o(d,"asyncify");function f(I,b){return I.then(S=>{h(b,null,S)},S=>{h(b,S&&(S instanceof Error||S.message)?S:new Error(S))})}o(f,"handlePromise");function h(I,b,S){try{I(b,S)}catch(N){u(k=>{throw k},N)}}o(h,"invokeCallback");function p(I){return I[Symbol.toStringTag]==="AsyncFunction"}o(p,"isAsync");function m(I){return I[Symbol.toStringTag]==="AsyncGenerator"}o(m,"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)?d(I):I}o(E,"wrapAsync");function y(I,b){if(b||(b=I.length),!b)throw new Error("arity is undefined");function S(...N){return typeof N[b-1]=="function"?I.apply(this,N):new Promise((k,O)=>{N[b-1]=(U,...H)=>{if(U)return O(U);k(H.length>1?H:H[0])},I.apply(this,N)})}return o(S,"awaitable"),S}o(y,"awaitify");function C(I){return o(function(S,...N){return y(function(O){var U=this;return I(S,(H,J)=>{E(H).apply(U,N.concat(J))},O)})},"applyEach")}o(C,"applyEach$1");function w(I,b,S,N){b=b||[];var k=[],O=0,U=E(S);return I(b,(H,J,Se)=>{var Ct=O++;U(H,(Rt,It)=>{k[Ct]=It,Se(Rt)})},H=>{N(H,k)})}o(w,"_asyncMap");function B(I){return I&&typeof I.length=="number"&&I.length>=0&&I.length%1===0}o(B,"isArrayLike");var M={};function v(I){function b(...S){if(I!==null){var N=I;I=null,N.apply(this,S)}}return o(b,"wrapper"),Object.assign(b,I),b}o(v,"once");function j(I){return I[Symbol.iterator]&&I[Symbol.iterator]()}o(j,"getIterator");function T(I){var b=-1,S=I.length;return o(function(){return++b=b||U||k||(U=!0,I.next().then(({value:It,done:To})=>{if(!(O||k)){if(U=!1,To){k=!0,H<=0&&N(null);return}H++,S(It,J,Ct),J++,Se()}}).catch(Rt))}o(Se,"replenish");function Ct(It,To){if(H-=1,!O){if(It)return Rt(It);if(It===!1){k=!0,O=!0;return}if(To===M||k&&H<=0)return k=!0,N(null);Se()}}o(Ct,"iterateeCallback");function Rt(It){O||(U=!1,k=!0,N(It))}o(Rt,"handleError"),Se()}o(ae,"asyncEachOfLimit");var Ae=o(I=>(b,S,N)=>{if(N=v(N),I<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!b)return N(null);if(m(b))return ae(b,I,S,N);if(g(b))return ae(b[Symbol.asyncIterator](),I,S,N);var k=W(b),O=!1,U=!1,H=0,J=!1;function Se(Rt,It){if(!U)if(H-=1,Rt)O=!0,N(Rt);else if(Rt===!1)O=!0,U=!0;else{if(It===M||O&&H<=0)return O=!0,N(null);J||Ct()}}o(Se,"iterateeCallback");function Ct(){for(J=!0;H1?k:k[0])}return o(S,"callback"),S[As]=new Promise((N,k)=>{I=N,b=k}),S}o(Qa,"promiseCallback");function Td(I,b,S){typeof b!="number"&&(S=b,b=null),S=v(S||Qa());var N=Object.keys(I).length;if(!N)return S(null);b||(b=N);var k={},O=0,U=!1,H=!1,J=Object.create(null),Se=[],Ct=[],Rt={};Object.keys(I).forEach(we=>{var Oe=I[we];if(!Array.isArray(Oe)){It(we,[Oe]),Ct.push(we);return}var St=Oe.slice(0,Oe.length-1),pr=St.length;if(pr===0){It(we,Oe),Ct.push(we);return}Rt[we]=pr,St.forEach(Mn=>{if(!I[Mn])throw new Error("async.auto task `"+we+"` has a non-existent dependency `"+Mn+"` in "+St.join(", "));om(Mn,()=>{pr--,pr===0&&It(we,Oe)})})}),Tt(),To();function It(we,Oe){Se.push(()=>KC(we,Oe))}o(It,"enqueueTask");function To(){if(!U){if(Se.length===0&&O===0)return S(null,k);for(;Se.length&&OSt()),To()}o(Bh,"taskComplete");function KC(we,Oe){if(!H){var St=ee((Mn,...Do)=>{if(O--,Mn===!1){U=!0;return}if(Do.length<2&&([Do]=Do),Mn){var am={};if(Object.keys(k).forEach(xh=>{am[xh]=k[xh]}),am[we]=Do,H=!0,J=Object.create(null),U)return;S(Mn,am)}else k[we]=Do,Bh(we)});O++;var pr=E(Oe[Oe.length-1]);Oe.length>1?pr(k,St):pr(St)}}o(KC,"runTask");function Tt(){for(var we,Oe=0;Ct.length;)we=Ct.pop(),Oe++,Pe(we).forEach(St=>{--Rt[St]===0&&Ct.push(St)});if(Oe!==N)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}o(Tt,"checkForDeadlocks");function Pe(we){var Oe=[];return Object.keys(I).forEach(St=>{let pr=I[St];Array.isArray(pr)&&pr.indexOf(we)>=0&&Oe.push(St)}),Oe}return o(Pe,"getDependents"),S[As]}o(Td,"auto");var Dd=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,du=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,YB=/,/,HC=/(=.+)?(\s*)$/;function VC(I){let b="",S=0,N=I.indexOf("*/");for(;S>> no match, partial?`,e,f,r,h),f===c))}var m;if(typeof u=="string"?(m=d===u,this.debug("string match",u,d,m)):(m=d.match(u),this.debug("pattern match",u,d,m)),!m)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 xBe(this.pattern,this.options)}parse(e,r){OQ(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return dc;if(e==="")return"";let i="",s=!1,a=!1,c=[],l=[],u,d=!1,f=-1,h=-1,p,m,g,E=e.charAt(0)===".",y=n.dot||E,C=o(()=>E?"":y?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","patternStart"),w=o(v=>v.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)","subPatternStart"),B=o(()=>{if(u){switch(u){case"*":i+=J6,s=!0;break;case"?":i+=K6,s=!0;break;default:i+="\\"+u;break}this.debug("clearStateChar %j %j",u,i),u=!1}},"clearStateChar");for(let v=0,j;v(V||(V="\\"),H+H+V+"|")),this.debug(`tail=%j + %s`,v,v,m,i);let j=m.type==="*"?J6:m.type==="?"?K6:"\\"+m.type;s=!0,i=i.slice(0,m.reStart)+j+"\\("+v}B(),a&&(i+="\\\\");let Q=Obt[i.charAt(0)];for(let v=l.length-1;v>-1;v--){let j=l[v],T=i.slice(0,j.reStart),H=i.slice(j.reStart,j.reEnd-8),V=i.slice(j.reEnd),W=i.slice(j.reEnd-8,j.reEnd)+V,ee=T.split(")").length,ae=T.split("(").length-ee,Ae=V;for(let z=0;z(a=a.map(c=>typeof c=="string"?Ubt(c):c===dc?dc:c._src).reduce((c,l)=>(c[c.length-1]===dc&&l===dc||c.push(l),c),[]),a.forEach((c,l)=>{c!==dc||a[l-1]===dc||(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]=dc))}),a.filter(c=>c!==dc).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;Y6.sep!=="/"&&(e=e.split(Y6.sep).join("/")),e=e.split(SBe),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{TBe.exports=RBe;var eJ=require("fs"),{EventEmitter:Gbt}=require("events"),{Minimatch:Z6}=vBe(),{resolve:Hbt}=require("path");function Vbt(t,e){return new Promise((r,n)=>{eJ.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(Vbt,"readdir");function NBe(t,e){return new Promise((r,n)=>{(e?eJ.stat:eJ.lstat)(t,(s,a)=>{s?s.code==="ENOENT"?r(e?NBe(t,!1):null):r(null):r(a)})})}o(NBe,"stat");async function*_Be(t,e,r,n,i,s){let a=await Vbt(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 NBe(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*_Be(u,e,r,n,i,!1)):yield{relative:d,absolute:f,stats:h}}}o(_Be,"exploreWalkAsync");async function*zbt(t,e,r,n){yield*_Be("",t,e,r,n,!0)}o(zbt,"explore");function jbt(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(jbt,"readOptions");var LQ=class extends Gbt{static{o(this,"ReaddirGlob")}constructor(e,r,n){if(super(),typeof r=="function"&&(n=r,r=null),this.options=jbt(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 Z6(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 Z6(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 Z6(s,{dot:!0}))}this.iterator=zbt(Hbt(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 RBe(t,e,r){return new LQ(t,e,r)}o(RBe,"readdirGlob");RBe.ReaddirGlob=LQ});var kBe=A((FQ,QBe)=>{(function(t,e){typeof FQ=="object"&&typeof QBe<"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(I,...b){return(...S)=>I(...b,...S)}o(e,"apply");function r(I){return function(...b){var S=b.pop();return I.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(I){setTimeout(I,0)}o(a,"fallback");function c(I){return(b,...S)=>I(()=>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(I){return p(I)?function(...b){let S=b.pop(),N=I.apply(this,b);return f(N,S)}:r(function(b,S){var N;try{N=I.apply(this,b)}catch(k){return S(k)}if(N&&typeof N.then=="function")return f(N,S);S(null,N)})}o(d,"asyncify");function f(I,b){return I.then(S=>{h(b,null,S)},S=>{h(b,S&&(S instanceof Error||S.message)?S:new Error(S))})}o(f,"handlePromise");function h(I,b,S){try{I(b,S)}catch(N){u(k=>{throw k},N)}}o(h,"invokeCallback");function p(I){return I[Symbol.toStringTag]==="AsyncFunction"}o(p,"isAsync");function m(I){return I[Symbol.toStringTag]==="AsyncGenerator"}o(m,"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)?d(I):I}o(E,"wrapAsync");function y(I,b){if(b||(b=I.length),!b)throw new Error("arity is undefined");function S(...N){return typeof N[b-1]=="function"?I.apply(this,N):new Promise((k,O)=>{N[b-1]=(U,...G)=>{if(U)return O(U);k(G.length>1?G:G[0])},I.apply(this,N)})}return o(S,"awaitable"),S}o(y,"awaitify");function C(I){return o(function(S,...N){return y(function(O){var U=this;return I(S,(G,J)=>{E(G).apply(U,N.concat(J))},O)})},"applyEach")}o(C,"applyEach$1");function w(I,b,S,N){b=b||[];var k=[],O=0,U=E(S);return I(b,(G,J,Se)=>{var Ct=O++;U(G,(Rt,It)=>{k[Ct]=It,Se(Rt)})},G=>{N(G,k)})}o(w,"_asyncMap");function B(I){return I&&typeof I.length=="number"&&I.length>=0&&I.length%1===0}o(B,"isArrayLike");var M={};function v(I){function b(...S){if(I!==null){var N=I;I=null,N.apply(this,S)}}return o(b,"wrapper"),Object.assign(b,I),b}o(v,"once");function j(I){return I[Symbol.iterator]&&I[Symbol.iterator]()}o(j,"getIterator");function T(I){var b=-1,S=I.length;return o(function(){return++b=b||U||k||(U=!0,I.next().then(({value:It,done:To})=>{if(!(O||k)){if(U=!1,To){k=!0,G<=0&&N(null);return}G++,S(It,J,Ct),J++,Se()}}).catch(Rt))}o(Se,"replenish");function Ct(It,To){if(G-=1,!O){if(It)return Rt(It);if(It===!1){k=!0,O=!0;return}if(To===M||k&&G<=0)return k=!0,N(null);Se()}}o(Ct,"iterateeCallback");function Rt(It){O||(U=!1,k=!0,N(It))}o(Rt,"handleError"),Se()}o(ae,"asyncEachOfLimit");var Ae=o(I=>(b,S,N)=>{if(N=v(N),I<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!b)return N(null);if(m(b))return ae(b,I,S,N);if(g(b))return ae(b[Symbol.asyncIterator](),I,S,N);var k=W(b),O=!1,U=!1,G=0,J=!1;function Se(Rt,It){if(!U)if(G-=1,Rt)O=!0,N(Rt);else if(Rt===!1)O=!0,U=!0;else{if(It===M||O&&G<=0)return O=!0,N(null);J||Ct()}}o(Se,"iterateeCallback");function Ct(){for(J=!0;G1?k:k[0])}return o(S,"callback"),S[As]=new Promise((N,k)=>{I=N,b=k}),S}o(Qa,"promiseCallback");function Td(I,b,S){typeof b!="number"&&(S=b,b=null),S=v(S||Qa());var N=Object.keys(I).length;if(!N)return S(null);b||(b=N);var k={},O=0,U=!1,G=!1,J=Object.create(null),Se=[],Ct=[],Rt={};Object.keys(I).forEach(we=>{var Oe=I[we];if(!Array.isArray(Oe)){It(we,[Oe]),Ct.push(we);return}var St=Oe.slice(0,Oe.length-1),pr=St.length;if(pr===0){It(we,Oe),Ct.push(we);return}Rt[we]=pr,St.forEach(Mn=>{if(!I[Mn])throw new Error("async.auto task `"+we+"` has a non-existent dependency `"+Mn+"` in "+St.join(", "));om(Mn,()=>{pr--,pr===0&&It(we,Oe)})})}),Tt(),To();function It(we,Oe){Se.push(()=>YC(we,Oe))}o(It,"enqueueTask");function To(){if(!U){if(Se.length===0&&O===0)return S(null,k);for(;Se.length&&OSt()),To()}o(Bh,"taskComplete");function YC(we,Oe){if(!G){var St=ee((Mn,...Do)=>{if(O--,Mn===!1){U=!0;return}if(Do.length<2&&([Do]=Do),Mn){var am={};if(Object.keys(k).forEach(xh=>{am[xh]=k[xh]}),am[we]=Do,G=!0,J=Object.create(null),U)return;S(Mn,am)}else k[we]=Do,Bh(we)});O++;var pr=E(Oe[Oe.length-1]);Oe.length>1?pr(k,St):pr(St)}}o(YC,"runTask");function Tt(){for(var we,Oe=0;Ct.length;)we=Ct.pop(),Oe++,Pe(we).forEach(St=>{--Rt[St]===0&&Ct.push(St)});if(Oe!==N)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}o(Tt,"checkForDeadlocks");function Pe(we){var Oe=[];return Object.keys(I).forEach(St=>{let pr=I[St];Array.isArray(pr)&&pr.indexOf(we)>=0&&Oe.push(St)}),Oe}return o(Pe,"getDependents"),S[As]}o(Td,"auto");var Dd=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,du=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,YB=/,/,GC=/(=.+)?(\s*)$/;function HC(I){let b="",S=0,N=I.indexOf("*/");for(;Sk.replace(HC,"").trim())}o(KB,"parseParams");function rm(I,b){var S={};return Object.keys(I).forEach(N=>{var k=I[N],O,U=p(k),H=!U&&k.length===1||U&&k.length===0;if(Array.isArray(k))O=[...k],k=O.pop(),S[N]=O.concat(O.length>0?J:k);else if(H)S[N]=k;else{if(O=KB(k),k.length===0&&!U&&O.length===0)throw new Error("autoInject task functions require explicit parameters.");U||O.pop(),S[N]=O.concat(J)}function J(Se,Ct){var Rt=O.map(It=>Se[It]);Rt.push(Ct),E(k)(...Rt)}o(J,"newTask")}),Td(S,b)}o(rm,"autoInject");class XB{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):zC(this,b)}push(b){this.tail?this.insertAfter(this.tail,b):zC(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:N}=S;b(S)&&this.removeLink(S),S=N}return this}}function zC(I,b){I.length=1,I.head=I.tail=b}o(zC,"setInitial");function nm(I,b,S){if(b==null)b=1;else if(b===0)throw new RangeError("Concurrency must not be zero");var N=E(I),k=0,O=[];let U={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function H(Pe,we){U[Pe].push(we)}o(H,"on");function J(Pe,we){let Oe=o((...St)=>{Se(Pe,Oe),we(...St)},"handleAndRemove");U[Pe].push(Oe)}o(J,"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 Ct(Pe,...we){U[Pe].forEach(Oe=>Oe(...we))}o(Ct,"trigger");var Rt=!1;function It(Pe,we,Oe,St){if(St!=null&&typeof St!="function")throw new Error("task callback must be a function");Tt.started=!0;var pr,Mn;function Do(xh,...XC){if(xh)return Oe?Mn(xh):pr();if(XC.length<=1)return pr(XC[0]);pr(XC)}o(Do,"promiseCallback");var am=Tt._createTaskItem(Pe,Oe?Do:St||Do);if(we?Tt._tasks.unshift(am):Tt._tasks.push(am),Rt||(Rt=!0,u(()=>{Rt=!1,Tt.process()})),Oe||!St)return new Promise((xh,XC)=>{pr=xh,Mn=XC})}o(It,"_insert");function To(Pe){return function(we,...Oe){k-=1;for(var St=0,pr=Pe.length;St0&&O.splice(Do,1),Mn.callback(we,...Oe),we!=null&&Ct("error",we,Mn.data)}k<=Tt.concurrency-Tt.buffer&&Ct("unsaturated"),Tt.idle()&&Ct("drain"),Tt.process()}}o(To,"_createCB");function om(Pe){return Pe.length===0&&Tt.idle()?(u(()=>Ct("drain")),!0):!1}o(om,"_maybeDrain");let Bh=o(Pe=>we=>{if(!we)return new Promise((Oe,St)=>{J(Pe,(pr,Mn)=>{if(pr)return St(pr);Oe(Mn)})});Se(Pe),H(Pe,we)},"eventMethod");var KC=!1,Tt={_tasks:new XB,_createTaskItem(Pe,we){return{data:Pe,callback:we}},*[Symbol.iterator](){yield*Tt._tasks[Symbol.iterator]()},concurrency:b,payload:S,buffer:b/4,started:!1,paused:!1,push(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!1,!1,we)):It(Pe,!1,!1,we)},pushAsync(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!1,!0,we)):It(Pe,!1,!0,we)},kill(){Se(),Tt._tasks.empty()},unshift(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!0,!1,we)):It(Pe,!0,!1,we)},unshiftAsync(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!0,!0,we)):It(Pe,!0,!0,we)},remove(Pe){Tt._tasks.remove(Pe)},process(){if(!KC){for(KC=!0;!Tt.paused&&k{k(b,O,(J,Se)=>{b=Se,H(J)})},O=>N(O,b))}o(ZB,"reduce");var ka=y(ZB,4);function jC(...I){var b=I.map(E);return function(...S){var N=this,k=S[S.length-1];return typeof k=="function"?S.pop():k=Qa(),ka(b,S,(O,U,H)=>{U.apply(N,O.concat((J,...Se)=>{H(J,Se)}))},(O,U)=>k(O,...U)),k[As]}}o(jC,"seq");function be(...I){return jC(...I.reverse())}o(be,"compose");function P(I,b,S,N){return w(Ae(b),I,S,N)}o(P,"mapLimit");var x=y(P,4);function F(I,b,S,N){var k=E(S);return x(I,b,(O,U)=>{k(O,(H,...J)=>H?U(H):U(H,J))},(O,U)=>{for(var H=[],J=0;J{var U=!1,H;let J=E(k);S(N,(Se,Ct,Rt)=>{J(Se,(It,To)=>{if(It||It===!1)return Rt(It);if(I(To)&&!H)return U=!0,H=b(!0,Se),Rt(null,M);Rt()})},Se=>{if(Se)return O(Se);O(null,U?H:b(!1))})}}o(Yt,"_createTester");function Sh(I,b,S){return Yt(N=>N,(N,k)=>k)(Et,I,b,S)}o(Sh,"detect");var sm=y(Sh,3);function ex(I,b,S,N){return Yt(k=>k,(k,O)=>O)(Ae(b),I,S,N)}o(ex,"detectLimit");var tx=y(ex,4);function eUe(I,b,S){return Yt(N=>N,(N,k)=>k)(Ae(1),I,b,S)}o(eUe,"detectSeries");var rx=y(eUe,3);function $X(I){return(b,...S)=>E(b)(...S,(N,...k)=>{typeof console=="object"&&(N?console.error&&console.error(N):console[I]&&k.forEach(O=>console[I](O)))})}o($X,"consoleFunc");var JX=$X("dir");function tUe(I,b,S){S=ee(S);var N=E(I),k=E(b),O;function U(J,...Se){if(J)return S(J);J!==!1&&(O=Se,k(...Se,H))}o(U,"next");function H(J,Se){if(J)return S(J);if(J!==!1){if(!Se)return S(null,...O);N(U)}}return o(H,"check"),H(null,!0)}o(tUe,"doWhilst");var $C=y(tUe,3);function WX(I,b,S){let N=E(b);return $C(I,(...k)=>{let O=k.pop();N(...k,(U,H)=>O(U,!H))},S)}o(WX,"doUntil");function YX(I){return(b,S,N)=>I(b,N)}o(YX,"_withoutIndex");function rUe(I,b,S){return Et(I,YX(E(b)),S)}o(rUe,"eachLimit$2");var nx=y(rUe,3);function nUe(I,b,S,N){return Ae(b)(I,YX(E(S)),N)}o(nUe,"eachLimit");var JC=y(nUe,4);function iUe(I,b,S){return JC(I,1,b,S)}o(iUe,"eachSeries");var WC=y(iUe,3);function sL(I){return p(I)?I:function(...b){var S=b.pop(),N=!0;b.push((...k)=>{N?u(()=>S(...k)):S(...k)}),I.apply(this,b),N=!1}}o(sL,"ensureAsync");function sUe(I,b,S){return Yt(N=>!N,N=>!N)(Et,I,b,S)}o(sUe,"every");var ix=y(sUe,3);function oUe(I,b,S,N){return Yt(k=>!k,k=>!k)(Ae(b),I,S,N)}o(oUe,"everyLimit");var sx=y(oUe,4);function aUe(I,b,S){return Yt(N=>!N,N=>!N)(Jr,I,b,S)}o(aUe,"everySeries");var ox=y(aUe,3);function cUe(I,b,S,N){var k=new Array(b.length);I(b,(O,U,H)=>{S(O,(J,Se)=>{k[U]=!!Se,H(J)})},O=>{if(O)return N(O);for(var U=[],H=0;H{S(O,(J,Se)=>{if(J)return H(J);Se&&k.push({index:U,value:O}),H(J)})},O=>{if(O)return N(O);N(null,k.sort((U,H)=>U.index-H.index).map(U=>U.value))})}o(lUe,"filterGeneric");function ax(I,b,S,N){var k=B(b)?cUe:lUe;return k(I,b,E(S),N)}o(ax,"_filter");function uUe(I,b,S){return ax(Et,I,b,S)}o(uUe,"filter");var cx=y(uUe,3);function dUe(I,b,S,N){return ax(Ae(b),I,S,N)}o(dUe,"filterLimit");var lx=y(dUe,4);function fUe(I,b,S){return ax(Jr,I,b,S)}o(fUe,"filterSeries");var ux=y(fUe,3);function hUe(I,b){var S=ee(b),N=E(sL(I));function k(O){if(O)return S(O);O!==!1&&N(k)}return o(k,"next"),k()}o(hUe,"forever");var KX=y(hUe,2);function pUe(I,b,S,N){var k=E(S);return x(I,b,(O,U)=>{k(O,(H,J)=>H?U(H):U(H,{key:J,val:O}))},(O,U)=>{for(var H={},{hasOwnProperty:J}=Object.prototype,Se=0;Se{O(U,H,(Se,Ct)=>{if(Se)return J(Se);k[H]=Ct,J(Se)})},U=>N(U,k))}o(AUe,"mapValuesLimit");var fx=y(AUe,4);function tZ(I,b,S){return fx(I,1/0,b,S)}o(tZ,"mapValues");function rZ(I,b,S){return fx(I,1,b,S)}o(rZ,"mapValuesSeries");function nZ(I,b=S=>S){var S=Object.create(null),N=Object.create(null),k=E(I),O=r((U,H)=>{var J=b(...U);J in S?u(()=>H(null,...S[J])):J in N?N[J].push(H):(N[J]=[H],k(...U,(Se,...Ct)=>{Se||(S[J]=Ct);var Rt=N[J];delete N[J];for(var It=0,To=Rt.length;It{var N=B(b)?[]:{};I(b,(k,O,U)=>{E(k)((H,...J)=>{J.length<2&&([J]=J),N[O]=J,U(H)})},k=>S(k,N))},3);function sZ(I,b){return oL(Et,I,b)}o(sZ,"parallel");function oZ(I,b,S){return oL(Ae(b),I,S)}o(oZ,"parallelLimit");function aL(I,b){var S=E(I);return nm((N,k)=>{S(N[0],k)},b,1)}o(aL,"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&&cL(this.heap[b],this.heap[S=aZ(b)]);){let N=this.heap[b];this.heap[b]=this.heap[S],this.heap[S]=N,b=S}}percDown(b){let S;for(;(S=gUe(b))=0;N--)this.percDown(N);return this}}function gUe(I){return(I<<1)+1}o(gUe,"leftChi");function aZ(I){return(I+1>>1)-1}o(aZ,"parent");function cL(I,b){return I.priority!==b.priority?I.priority({data:U,priority:H,callback:J});function O(U,H){return Array.isArray(U)?U.map(J=>({data:J,priority:H})):{data:U,priority:H}}return o(O,"createDataItems"),S.push=function(U,H=0,J){return N(O(U,H),J)},S.pushAsync=function(U,H=0,J){return k(O(U,H),J)},delete S.unshift,delete S.unshiftAsync,S}o(cZ,"priorityQueue");function yUe(I,b){if(b=v(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 S=0,N=I.length;S{let H={};if(O&&(H.error=O),U.length>0){var J=U;U.length<=1&&([J]=U),H.value=J}k(null,H)}),b.apply(this,N)},"reflectOn"))}o(Ax,"reflect");function uZ(I){var b;return Array.isArray(I)?b=I.map(Ax):(b={},Object.keys(I).forEach(S=>{b[S]=Ax.call(this,I[S])})),b}o(uZ,"reflectAll");function lL(I,b,S,N){let k=E(S);return ax(I,b,(O,U)=>{k(O,(H,J)=>{U(H,!J)})},N)}o(lL,"reject$2");function EUe(I,b,S){return lL(Et,I,b,S)}o(EUe,"reject");var dZ=y(EUe,3);function CUe(I,b,S,N){return lL(Ae(b),I,S,N)}o(CUe,"rejectLimit");var fZ=y(CUe,4);function bUe(I,b,S){return lL(Jr,I,b,S)}o(bUe,"rejectSeries");var hZ=y(bUe,3);function pZ(I){return function(){return I}}o(pZ,"constant");let uL=5,AZ=0;function mx(I,b,S){var N={times:uL,intervalFunc:pZ(AZ)};if(arguments.length<3&&typeof I=="function"?(S=b||Qa(),b=I):(wUe(N,I),S=S||Qa()),typeof b!="function")throw new Error("Invalid arguments for async.retry");var k=E(b),O=1;function U(){k((H,...J)=>{H!==!1&&(H&&O++{(k.lengthN)(Et,I,b,S)}o(IUe,"some");var gx=y(IUe,3);function SUe(I,b,S,N){return Yt(Boolean,k=>k)(Ae(b),I,S,N)}o(SUe,"someLimit");var yx=y(SUe,4);function BUe(I,b,S){return Yt(Boolean,N=>N)(Jr,I,b,S)}o(BUe,"someSeries");var Ex=y(BUe,3);function xUe(I,b,S){var N=E(b);return fn(I,(O,U)=>{N(O,(H,J)=>{if(H)return U(H);U(H,{value:O,criteria:J})})},(O,U)=>{if(O)return S(O);S(null,U.sort(k).map(H=>H.value))});function k(O,U){var H=O.criteria,J=U.criteria;return HJ?1:0}}o(xUe,"sortBy");var yZ=y(xUe,3);function EZ(I,b,S){var N=E(I);return r((k,O)=>{var U=!1,H;function J(){var Se=I.name||"anonymous",Ct=new Error('Callback function "'+Se+'" timed out.');Ct.code="ETIMEDOUT",S&&(Ct.info=S),U=!0,O(Ct)}o(J,"timeoutCallback"),k.push((...Se)=>{U||(O(...Se),clearTimeout(H))}),H=setTimeout(J,b),N(...k)})}o(EZ,"timeout");function vUe(I){for(var b=Array(I);I--;)b[I]=I;return b}o(vUe,"range");function Cx(I,b,S,N){var k=E(S);return x(vUe(I),b,k,N)}o(Cx,"timesLimit");function CZ(I,b,S){return Cx(I,1/0,b,S)}o(CZ,"times");function bZ(I,b,S){return Cx(I,1,b,S)}o(bZ,"timesSeries");function wZ(I,b,S,N){arguments.length<=3&&typeof b=="function"&&(N=S,S=b,b=Array.isArray(I)?[]:{}),N=v(N||Qa());var k=E(S);return Et(I,(O,U,H)=>{k(b,O,U,H)},O=>N(O,b)),N[As]}o(wZ,"transform");function NUe(I,b){var S=null,N;return WC(I,(k,O)=>{E(k)((U,...H)=>{if(U===!1)return O(U);H.length<2?[N]=H:N=H,S=U,O(U?null:{})})},()=>b(S,N))}o(NUe,"tryEach");var IZ=y(NUe);function SZ(I){return(...b)=>(I.unmemoized||I)(...b)}o(SZ,"unmemoize");function _Ue(I,b,S){S=ee(S);var N=E(b),k=E(I),O=[];function U(J,...Se){if(J)return S(J);O=Se,J!==!1&&k(H)}o(U,"next");function H(J,Se){if(J)return S(J);if(J!==!1){if(!Se)return S(null,...O);N(U)}}return o(H,"check"),k(H)}o(_Ue,"whilst");var YC=y(_Ue,3);function BZ(I,b,S){let N=E(I);return YC(k=>N((O,U)=>k(O,!U)),b,S)}o(BZ,"until");function RUe(I,b){if(b=v(b),!Array.isArray(I))return b(new Error("First argument to waterfall must be an array of functions"));if(!I.length)return b();var S=0;function N(O){var U=E(I[S++]);U(...O,ee(k))}o(N,"nextTask");function k(O,...U){if(O!==!1){if(O||S===I.length)return b(O,...U);N(U)}}o(k,"next"),N([])}o(RUe,"waterfall");var xZ=y(RUe),TUe={apply:e,applyEach:si,applyEachSeries:Ic,asyncify:d,auto:Td,autoInject:rm,cargo:im,cargoQueue:Vs,compose:be,concat:X,concatLimit:q,concatSeries:wt,constant:hn,detect:sm,detectLimit:tx,detectSeries:rx,dir:JX,doUntil:WX,doWhilst:$C,each:nx,eachLimit:JC,eachOf:Et,eachOfLimit:z,eachOfSeries:Jr,eachSeries:WC,ensureAsync:sL,every:ix,everyLimit:sx,everySeries:ox,filter:cx,filterLimit:lx,filterSeries:ux,forever:KX,groupBy:XX,groupByLimit:dx,groupBySeries:ZX,log:eZ,map:fn,mapLimit:x,mapSeries:uu,mapValues:tZ,mapValuesLimit:fx,mapValuesSeries:rZ,memoize:nZ,nextTick:iZ,parallel:sZ,parallelLimit:oZ,priorityQueue:cZ,queue:aL,race:lZ,reduce:ka,reduceRight:px,reflect:Ax,reflectAll:uZ,reject:dZ,rejectLimit:fZ,rejectSeries:hZ,retry:mx,retryable:mZ,seq:jC,series:gZ,setImmediate:u,some:gx,someLimit:yx,someSeries:Ex,sortBy:yZ,timeout:EZ,times:CZ,timesLimit:Cx,timesSeries:bZ,transform:wZ,tryEach:IZ,unmemoize:SZ,until:BZ,waterfall:xZ,whilst:YC,all:ix,allLimit:sx,allSeries:ox,any:gx,anyLimit:yx,anySeries:Ex,find:sm,findLimit:tx,findSeries:rx,flatMap:X,flatMapLimit:q,flatMapSeries:wt,forEach:nx,forEachSeries:WC,forEachLimit:JC,forEachOf:Et,forEachOfSeries:Jr,forEachOfLimit:z,inject:ka,foldl:ka,foldr:px,select:cx,selectLimit:lx,selectSeries:ux,wrapSync:d,during:YC,doDuring:$C};t.all=ix,t.allLimit=sx,t.allSeries=ox,t.any=gx,t.anyLimit=yx,t.anySeries=Ex,t.apply=e,t.applyEach=si,t.applyEachSeries=Ic,t.asyncify=d,t.auto=Td,t.autoInject=rm,t.cargo=im,t.cargoQueue=Vs,t.compose=be,t.concat=X,t.concatLimit=q,t.concatSeries=wt,t.constant=hn,t.default=TUe,t.detect=sm,t.detectLimit=tx,t.detectSeries=rx,t.dir=JX,t.doDuring=$C,t.doUntil=WX,t.doWhilst=$C,t.during=YC,t.each=nx,t.eachLimit=JC,t.eachOf=Et,t.eachOfLimit=z,t.eachOfSeries=Jr,t.eachSeries=WC,t.ensureAsync=sL,t.every=ix,t.everyLimit=sx,t.everySeries=ox,t.filter=cx,t.filterLimit=lx,t.filterSeries=ux,t.find=sm,t.findLimit=tx,t.findSeries=rx,t.flatMap=X,t.flatMapLimit=q,t.flatMapSeries=wt,t.foldl=ka,t.foldr=px,t.forEach=nx,t.forEachLimit=JC,t.forEachOf=Et,t.forEachOfLimit=z,t.forEachOfSeries=Jr,t.forEachSeries=WC,t.forever=KX,t.groupBy=XX,t.groupByLimit=dx,t.groupBySeries=ZX,t.inject=ka,t.log=eZ,t.map=fn,t.mapLimit=x,t.mapSeries=uu,t.mapValues=tZ,t.mapValuesLimit=fx,t.mapValuesSeries=rZ,t.memoize=nZ,t.nextTick=iZ,t.parallel=sZ,t.parallelLimit=oZ,t.priorityQueue=cZ,t.queue=aL,t.race=lZ,t.reduce=ka,t.reduceRight=px,t.reflect=Ax,t.reflectAll=uZ,t.reject=dZ,t.rejectLimit=fZ,t.rejectSeries=hZ,t.retry=mx,t.retryable=mZ,t.select=cx,t.selectLimit=lx,t.selectSeries=ux,t.seq=jC,t.series=gZ,t.setImmediate=u,t.some=gx,t.someLimit=yx,t.someSeries=Ex,t.sortBy=yZ,t.timeout=EZ,t.times=CZ,t.timesLimit=Cx,t.timesSeries=bZ,t.transform=wZ,t.tryEach=IZ,t.unmemoize=SZ,t.until=BZ,t.waterfall=xZ,t.whilst=YC,t.wrapSync=d,Object.defineProperty(t,"__esModule",{value:!0})}))});var PBe=A((Gxr,kBe)=>{var Of=require("constants"),Vbt=process.cwd,MQ=null,zbt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return MQ||(MQ=Vbt.call(process)),MQ};try{process.cwd()}catch{}typeof process.chdir=="function"&&(eJ=process.chdir,process.chdir=function(t){MQ=null,eJ.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,eJ));var eJ;kBe.exports=jbt;function jbt(t){Of.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(){}),zbt==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(d){function f(h,p,m){var g=Date.now(),E=0;d(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,B){w&&w.code==="ENOENT"?d(h,p,y):m(C)})},E),E<100&&(E+=10);return}m&&m(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,m,g,E,y){var C;if(y&&typeof y=="function"){var w=0;C=o(function(B,Q,M){if(B&&B.code==="EAGAIN"&&w<10)return w++,d.call(t,h,p,m,g,E,C);y.apply(this,arguments)},"callback")}return d.call(t,h,p,m,g,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,m,g){for(var E=0;;)try{return d.call(t,f,h,p,m,g)}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,Of.O_WRONLY|Of.O_SYMLINK,h,function(m,g){if(m){p&&p(m);return}d.fchmod(g,h,function(E){d.close(g,function(y){p&&p(E||y)})})})},d.lchmodSync=function(f,h){var p=d.openSync(f,Of.O_WRONLY|Of.O_SYMLINK,h),m=!0,g;try{g=d.fchmodSync(p,h),m=!1}finally{if(m)try{d.closeSync(p)}catch{}else d.closeSync(p)}return g}}o(e,"patchLchmod");function r(d){Of.hasOwnProperty("O_SYMLINK")&&d.futimes?(d.lutimes=function(f,h,p,m){d.open(f,Of.O_SYMLINK,function(g,E){if(g){m&&m(g);return}d.futimes(E,h,p,function(y){d.close(E,function(C){m&&m(y||C)})})})},d.lutimesSync=function(f,h,p){var m=d.openSync(f,Of.O_SYMLINK),g,E=!0;try{g=d.futimesSync(m,h,p),E=!1}finally{if(E)try{d.closeSync(m)}catch{}else d.closeSync(m)}return g}):d.futimes&&(d.lutimes=function(f,h,p,m){m&&process.nextTick(m)},d.lutimesSync=function(){})}o(r,"patchLutimes");function n(d){return d&&function(f,h,p){return d.call(t,f,h,function(m){u(m)&&(m=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,m){return d.call(t,f,h,p,function(g){u(g)&&(g=null),m&&m.apply(this,arguments)})}}o(s,"chownFix");function a(d){return d&&function(f,h,p){try{return d.call(t,f,h,p)}catch(m){if(!u(m))throw m}}}o(a,"chownFixSync");function c(d){return d&&function(f,h,p){typeof h=="function"&&(p=h,h=null);function m(g,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),p&&p.apply(this,arguments)}return o(m,"callback"),h?d.call(t,f,h,m):d.call(t,f,m)}}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(jbt,"patch")});var FBe=A((Vxr,LBe)=>{var OBe=require("stream").Stream;LBe.exports=$bt;function $bt(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);OBe.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);OBe.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($bt,"legacy")});var UBe=A((jxr,MBe)=>{"use strict";MBe.exports=Wbt;var Jbt=Object.getPrototypeOf||function(t){return t.__proto__};function Wbt(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:Jbt(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}o(Wbt,"clone")});var iJ=A((Jxr,nJ)=>{var Nr=require("fs"),Ybt=PBe(),Kbt=FBe(),Xbt=UBe(),UQ=require("util"),mi,GQ;typeof Symbol=="function"&&typeof Symbol.for=="function"?(mi=Symbol.for("graceful-fs.queue"),GQ=Symbol.for("graceful-fs.previous")):(mi="___graceful-fs.queue",GQ="___graceful-fs.previous");function Zbt(){}o(Zbt,"noop");function HBe(t,e){Object.defineProperty(t,mi,{get:o(function(){return e},"get")})}o(HBe,"publishQueue");var nA=Zbt;UQ.debuglog?nA=UQ.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(nA=o(function(){var t=UQ.format.apply(UQ,arguments);t="GFS4: "+t.split(/\n/).join(` -GFS4: `),console.error(t)},"debug"));Nr[mi]||(qBe=global[mi]||[],HBe(Nr,qBe),Nr.close=(function(t){function e(r,n){return t.call(Nr,r,function(i){i||GBe(),typeof n=="function"&&n.apply(this,arguments)})}return o(e,"close"),Object.defineProperty(e,GQ,{value:t}),e})(Nr.close),Nr.closeSync=(function(t){function e(r){t.apply(Nr,arguments),GBe()}return o(e,"closeSync"),Object.defineProperty(e,GQ,{value:t}),e})(Nr.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){nA(Nr[mi]),require("assert").equal(Nr[mi].length,0)}));var qBe;global[mi]||HBe(global,Nr[mi]);nJ.exports=tJ(Xbt(Nr));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Nr.__patched&&(nJ.exports=tJ(Nr),Nr.__patched=!0);function tJ(t){Ybt(t),t.gracefulify=tJ,t.createReadStream=Q,t.createWriteStream=M;var e=t.readFile;t.readFile=r;function r(T,G,V){return typeof G=="function"&&(V=G,G=null),W(T,G,V);function W(ee,ae,Ae,Y){return e(ee,ae,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?sE([W,[ee,ae,Ae],z,Y||Date.now(),Date.now()]):typeof Ae=="function"&&Ae.apply(this,arguments)})}o(W,"go$readFile")}o(r,"readFile");var n=t.writeFile;t.writeFile=i;function i(T,G,V,W){return typeof V=="function"&&(W=V,V=null),ee(T,G,V,W);function ee(ae,Ae,Y,z,Ie){return n(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?sE([ee,[ae,Ae,Y,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,G,V,W){return typeof V=="function"&&(W=V,V=null),ee(T,G,V,W);function ee(ae,Ae,Y,z,Ie){return s(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?sE([ee,[ae,Ae,Y,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,G,V,W){return typeof V=="function"&&(W=V,V=0),ee(T,G,V,W);function ee(ae,Ae,Y,z,Ie){return c(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?sE([ee,[ae,Ae,Y,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=f;var d=/^v[0-5]\./;function f(T,G,V){typeof G=="function"&&(V=G,G=null);var W=d.test(process.version)?o(function(Ae,Y,z,Ie){return u(Ae,ee(Ae,Y,z,Ie))},"go$readdir"):o(function(Ae,Y,z,Ie){return u(Ae,Y,ee(Ae,Y,z,Ie))},"go$readdir");return W(T,G,V);function ee(ae,Ae,Y,z){return function(Ie,Be){Ie&&(Ie.code==="EMFILE"||Ie.code==="ENFILE")?sE([W,[ae,Ae,Y],Ie,z||Date.now(),Date.now()]):(Be&&Be.sort&&Be.sort(),typeof Y=="function"&&Y.call(this,Ie,Be))}}}if(o(f,"readdir"),process.version.substr(0,4)==="v0.8"){var h=Kbt(t);y=h.ReadStream,w=h.WriteStream}var p=t.ReadStream;p&&(y.prototype=Object.create(p.prototype),y.prototype.open=C);var m=t.WriteStream;m&&(w.prototype=Object.create(m.prototype),w.prototype.open=B),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,G){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(G,V){G?(T.autoClose&&T.destroy(),T.emit("error",G)):(T.fd=V,T.emit("open",V),T.read())})}o(C,"ReadStream$open");function w(T,G){return this instanceof w?(m.apply(this,arguments),this):w.apply(Object.create(w.prototype),arguments)}o(w,"WriteStream");function B(){var T=this;j(T.path,T.flags,T.mode,function(G,V){G?(T.destroy(),T.emit("error",G)):(T.fd=V,T.emit("open",V))})}o(B,"WriteStream$open");function Q(T,G){return new t.ReadStream(T,G)}o(Q,"createReadStream");function M(T,G){return new t.WriteStream(T,G)}o(M,"createWriteStream");var v=t.open;t.open=j;function j(T,G,V,W){return typeof V=="function"&&(W=V,V=null),ee(T,G,V,W);function ee(ae,Ae,Y,z,Ie){return v(ae,Ae,Y,function(Be,it){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?sE([ee,[ae,Ae,Y,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$open")}return o(j,"open"),t}o(tJ,"patch");function sE(t){nA("ENQUEUE",t[0].name,t[1]),Nr[mi].push(t),rJ()}o(sE,"enqueue");var qQ;function GBe(){for(var t=Date.now(),e=0;e2&&(Nr[mi][e][3]=t,Nr[mi][e][4]=t);rJ()}o(GBe,"resetQueue");function rJ(){if(clearTimeout(qQ),qQ=void 0,Nr[mi].length!==0){var t=Nr[mi].shift(),e=t[0],r=t[1],n=t[2],i=t[3],s=t[4];if(i===void 0)nA("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){nA("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?(nA("RETRY",e.name,r),e.apply(null,r.concat([i]))):Nr[mi].push(t)}qQ===void 0&&(qQ=setTimeout(rJ,0))}}o(rJ,"retry")});var HQ=A((Yxr,VBe)=>{"use strict";var Ol=o(t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function","isStream");Ol.writable=t=>Ol(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";Ol.readable=t=>Ol(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";Ol.duplex=t=>Ol.writable(t)&&Ol.readable(t);Ol.transform=t=>Ol.duplex(t)&&typeof t._transform=="function";VBe.exports=Ol});var VI=A((Xxr,sJ)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?sJ.exports={nextTick:e0t}:sJ.exports=process;function e0t(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;zBe.exports=Array.isArray||function(t){return t0t.call(t)=="[object Array]"}});var oJ=A((tvr,$Be)=>{$Be.exports=require("stream")});var zI=A((aJ,WBe)=>{var VQ=require("buffer"),ad=VQ.Buffer;function JBe(t,e){for(var r in t)e[r]=t[r]}o(JBe,"copyProps");ad.from&&ad.alloc&&ad.allocUnsafe&&ad.allocUnsafeSlow?WBe.exports=VQ:(JBe(VQ,aJ),aJ.Buffer=oE);function oE(t,e,r){return ad(t,e,r)}o(oE,"SafeBuffer");JBe(ad,oE);oE.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return ad(t,e,r)};oE.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=ad(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};oE.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return ad(t)};oE.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return VQ.SlowBuffer(t)}});var aE=A(_i=>{function r0t(t){return Array.isArray?Array.isArray(t):zQ(t)==="[object Array]"}o(r0t,"isArray");_i.isArray=r0t;function n0t(t){return typeof t=="boolean"}o(n0t,"isBoolean");_i.isBoolean=n0t;function i0t(t){return t===null}o(i0t,"isNull");_i.isNull=i0t;function s0t(t){return t==null}o(s0t,"isNullOrUndefined");_i.isNullOrUndefined=s0t;function o0t(t){return typeof t=="number"}o(o0t,"isNumber");_i.isNumber=o0t;function a0t(t){return typeof t=="string"}o(a0t,"isString");_i.isString=a0t;function c0t(t){return typeof t=="symbol"}o(c0t,"isSymbol");_i.isSymbol=c0t;function l0t(t){return t===void 0}o(l0t,"isUndefined");_i.isUndefined=l0t;function u0t(t){return zQ(t)==="[object RegExp]"}o(u0t,"isRegExp");_i.isRegExp=u0t;function d0t(t){return typeof t=="object"&&t!==null}o(d0t,"isObject");_i.isObject=d0t;function f0t(t){return zQ(t)==="[object Date]"}o(f0t,"isDate");_i.isDate=f0t;function h0t(t){return zQ(t)==="[object Error]"||t instanceof Error}o(h0t,"isError");_i.isError=h0t;function p0t(t){return typeof t=="function"}o(p0t,"isFunction");_i.isFunction=p0t;function A0t(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}o(A0t,"isPrimitive");_i.isPrimitive=A0t;_i.isBuffer=require("buffer").Buffer.isBuffer;function zQ(t){return Object.prototype.toString.call(t)}o(zQ,"objectToString")});var YBe=A((svr,cJ)=>{typeof Object.create=="function"?cJ.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"):cJ.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 cE=A((avr,uJ)=>{try{if(lJ=require("util"),typeof lJ.inherits!="function")throw"";uJ.exports=lJ.inherits}catch{uJ.exports=YBe()}var lJ});var XBe=A((cvr,dJ)=>{"use strict";function m0t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o(m0t,"_classCallCheck");var KBe=zI().Buffer,jI=require("util");function g0t(t,e,r){t.copy(e,r)}o(g0t,"copyBuffer");dJ.exports=(function(){function t(){m0t(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 KBe.alloc(0);for(var n=KBe.allocUnsafe(r>>>0),i=this.head,s=0;i;)g0t(i.data,n,s),s+=i.data.length,i=i.next;return n},"concat"),t})();jI&&jI.inspect&&jI.inspect.custom&&(dJ.exports.prototype[jI.inspect.custom]=function(){var t=jI.inspect({length:this.length});return this.constructor.name+" "+t})});var fJ=A((uvr,ZBe)=>{"use strict";var jQ=VI();function y0t(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,jQ.nextTick($Q,this,t)):jQ.nextTick($Q,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,jQ.nextTick($Q,r,s)):jQ.nextTick($Q,r,s):e&&e(s)}),this)}o(y0t,"destroy");function E0t(){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(E0t,"undestroy");function $Q(t,e){t.emit("error",e)}o($Q,"emitErrorNT");ZBe.exports={destroy:y0t,undestroy:E0t}});var txe=A((fvr,exe)=>{exe.exports=require("util").deprecate});var pJ=A((hvr,lxe)=>{"use strict";var iA=VI();lxe.exports=bn;function nxe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){L0t(e,t)}}o(nxe,"CorkedRequest");var C0t=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:iA.nextTick,lE;bn.WritableState=JI;var ixe=Object.create(aE());ixe.inherits=cE();var b0t={deprecate:txe()},sxe=oJ(),WQ=zI().Buffer,w0t=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function I0t(t){return WQ.from(t)}o(I0t,"_uint8ArrayToBuffer");function S0t(t){return WQ.isBuffer(t)||t instanceof w0t}o(S0t,"_isUint8Array");var oxe=fJ();ixe.inherits(bn,sxe);function B0t(){}o(B0t,"nop");function JI(t,e){lE=lE||sA(),t=t||{};var r=e instanceof lE;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){D0t(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 nxe(this)}o(JI,"WritableState");JI.prototype.getBuffer=o(function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r},"getBuffer");(function(){try{Object.defineProperty(JI.prototype,"buffer",{get:b0t.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var JQ;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(JQ=Function.prototype[Symbol.hasInstance],Object.defineProperty(bn,Symbol.hasInstance,{value:o(function(t){return JQ.call(this,t)?!0:this!==bn?!1:t&&t._writableState instanceof JI},"value")})):JQ=o(function(t){return t instanceof this},"realHasInstance");function bn(t){if(lE=lE||sA(),!JQ.call(bn,this)&&!(this instanceof lE))return new bn(t);this._writableState=new JI(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)),sxe.call(this)}o(bn,"Writable");bn.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function x0t(t,e){var r=new Error("write after end");t.emit("error",r),iA.nextTick(e,r)}o(x0t,"writeAfterEnd");function v0t(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),iA.nextTick(n,s),i=!1),i}o(v0t,"validChunk");bn.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&S0t(t);return s&&!WQ.isBuffer(t)&&(t=I0t(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=B0t),n.ended?x0t(this,r):(s||v0t(this,n,t,r))&&(n.pendingcb++,i=_0t(this,n,s,t,e,r)),i};bn.prototype.cork=function(){var t=this._writableState;t.corked++};bn.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&axe(this,t))};bn.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 N0t(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=WQ.from(e,r)),e}o(N0t,"decodeChunk");Object.defineProperty(bn.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function _0t(t,e,r,n,i,s){if(!r){var a=N0t(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 uxe=VI(),F0t=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};hxe.exports=cd;var dxe=Object.create(aE());dxe.inherits=cE();var fxe=gJ(),mJ=pJ();dxe.inherits(cd,fxe);for(AJ=F0t(mJ.prototype),YQ=0;YQ{"use strict";var EJ=zI().Buffer,pxe=EJ.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 q0t(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(q0t,"_normalizeEncoding");function G0t(t){var e=q0t(t);if(typeof e!="string"&&(EJ.isEncoding===pxe||!pxe(t)))throw new Error("Unknown encoding: "+t);return e||t}o(G0t,"normalizeEncoding");Axe.StringDecoder=WI;function WI(t){this.encoding=G0t(t);var e;switch(this.encoding){case"utf16le":this.text=J0t,this.end=W0t,e=4;break;case"utf8":this.fillLast=z0t,e=4;break;case"base64":this.text=Y0t,this.end=K0t,e=3;break;default:this.write=X0t,this.end=Z0t;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=EJ.allocUnsafe(e)}o(WI,"StringDecoder");WI.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(yJ,"utf8CheckByte");function H0t(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(H0t,"utf8CheckIncomplete");function V0t(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(V0t,"utf8CheckExtraBytes");function z0t(t){var e=this.lastTotal-this.lastNeed,r=V0t(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(z0t,"utf8FillLast");function j0t(t,e){var r=H0t(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(j0t,"utf8Text");function $0t(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}o($0t,"utf8End");function J0t(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(J0t,"utf16Text");function W0t(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(W0t,"utf16End");function Y0t(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(Y0t,"base64Text");function K0t(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}o(K0t,"base64End");function X0t(t){return t.toString(this.encoding)}o(X0t,"simpleWrite");function Z0t(t){return t&&t.length?this.write(t):""}o(Z0t,"simpleEnd")});var gJ=A((Cvr,vxe)=>{"use strict";var dE=VI();vxe.exports=cr;var ewt=jBe(),YI;cr.ReadableState=wxe;var Evr=require("events").EventEmitter,Exe=o(function(t,e){return t.listeners(e).length},"EElistenerCount"),BJ=oJ(),KI=zI().Buffer,twt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function rwt(t){return KI.from(t)}o(rwt,"_uint8ArrayToBuffer");function nwt(t){return KI.isBuffer(t)||t instanceof twt}o(nwt,"_isUint8Array");var Cxe=Object.create(aE());Cxe.inherits=cE();var bJ=require("util"),Ft=void 0;bJ&&bJ.debuglog?Ft=bJ.debuglog("stream"):Ft=o(function(){},"debug");var iwt=XBe(),bxe=fJ(),uE;Cxe.inherits(cr,BJ);var wJ=["error","close","destroy","pause","resume"];function swt(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):ewt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(swt,"prependListener");function wxe(t,e){YI=YI||sA(),t=t||{};var r=e instanceof YI;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 iwt,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&&(uE||(uE=CJ().StringDecoder),this.decoder=new uE(t.encoding),this.encoding=t.encoding)}o(wxe,"ReadableState");function cr(t){if(YI=YI||sA(),!(this instanceof cr))return new cr(t);this._readableState=new wxe(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),BJ.call(this)}o(cr,"Readable");Object.defineProperty(cr.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")});cr.prototype.destroy=bxe.destroy;cr.prototype._undestroy=bxe.undestroy;cr.prototype._destroy=function(t,e){this.push(null),e(t)};cr.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=KI.from(t,e),e=""),n=!0),Ixe(this,t,e,!1,n)};cr.prototype.unshift=function(t){return Ixe(this,t,null,!0,!1)};function Ixe(t,e,r,n,i){var s=t._readableState;if(e===null)s.reading=!1,lwt(t,s);else{var a;i||(a=owt(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==KI.prototype&&(e=rwt(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):IJ(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?IJ(t,s,e,!1):Sxe(t,s)):IJ(t,s,e,!1))):n||(s.reading=!1)}return awt(s)}o(Ixe,"readableAddChunk");function IJ(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)),Sxe(t,e)}o(IJ,"addChunk");function owt(t,e){var r;return!nwt(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}o(owt,"chunkInvalid");function awt(t){return!t.ended&&(t.needReadable||t.length=mxe?t=mxe:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}o(cwt,"computeNewHighWaterMark");function gxe(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=cwt(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}o(gxe,"howMuchToRead");cr.prototype.read=function(t){Ft("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 Ft("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?SJ(this):XQ(this),null;if(t=gxe(t,e),t===0&&e.ended)return e.length===0&&SJ(this),null;var n=e.needReadable;Ft("need readable",n),(e.length===0||e.length-t0?i=Bxe(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&&SJ(this)),i!==null&&this.emit("data",i),i};function lwt(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(lwt,"onEofChunk");function XQ(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Ft("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?dE.nextTick(yxe,t):yxe(t))}o(XQ,"emitReadable");function yxe(t){Ft("emit readable"),t.emit("readable"),xJ(t)}o(yxe,"emitReadable_");function Sxe(t,e){e.readingMore||(e.readingMore=!0,dE.nextTick(uwt,t,e))}o(Sxe,"maybeReadMore");function uwt(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&xxe(n.pipes,t)!==-1)&&!u&&(Ft("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),r.pause())}o(h,"ondata");function p(y){Ft("onerror",y),E(),t.removeListener("error",p),Exe(t,"error")===0&&t.emit("error",y)}o(p,"onerror"),swt(t,"error",p);function m(){t.removeListener("finish",g),E()}o(m,"onclose"),t.once("close",m);function g(){Ft("onfinish"),t.removeListener("close",m),E()}o(g,"onfinish"),t.once("finish",g);function E(){Ft("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),n.flowing||(Ft("pipe resume"),r.resume()),t};function dwt(t){return function(){var e=t._readableState;Ft("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&Exe(t,"data")&&(e.flowing=!0,xJ(t))}}o(dwt,"pipeOnDrain");cr.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=Awt(t,e.buffer,e.decoder),r}o(Bxe,"fromList");function Awt(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(mwt,"copyFromBufferString");function gwt(t,e){var r=KI.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(gwt,"copyFromBuffer");function SJ(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,dE.nextTick(ywt,e,t))}o(SJ,"endReadable");function ywt(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}o(ywt,"endReadableNT");function xxe(t,e){for(var r=0,n=t.length;r{"use strict";Rxe.exports=ld;var ZQ=sA(),_xe=Object.create(aE());_xe.inherits=cE();_xe.inherits(ld,ZQ);function Ewt(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";Qxe.exports=XI;var Txe=vJ(),Dxe=Object.create(aE());Dxe.inherits=cE();Dxe.inherits(XI,Txe);function XI(t){if(!(this instanceof XI))return new XI(t);Txe.call(this,t)}o(XI,"PassThrough");XI.prototype._transform=function(t,e,r){r(null,t)}});var Pxe=A((gi,e1)=>{var Ll=require("stream");process.env.READABLE_STREAM==="disable"&&Ll?(e1.exports=Ll,gi=e1.exports=Ll.Readable,gi.Readable=Ll.Readable,gi.Writable=Ll.Writable,gi.Duplex=Ll.Duplex,gi.Transform=Ll.Transform,gi.PassThrough=Ll.PassThrough,gi.Stream=Ll):(gi=e1.exports=gJ(),gi.Stream=Ll||gi,gi.Readable=gi,gi.Writable=pJ(),gi.Duplex=sA(),gi.Transform=vJ(),gi.PassThrough=kxe())});var Lxe=A((xvr,Oxe)=>{Oxe.exports=Pxe().PassThrough});var qxe=A((vvr,Uxe)=>{var Fxe=require("util"),n1=Lxe();Uxe.exports={Readable:t1,Writable:r1};Fxe.inherits(t1,n1);Fxe.inherits(r1,n1);function Mxe(t,e,r){t[e]=function(){return delete t[e],r.apply(this,arguments),this[e].apply(this,arguments)}}o(Mxe,"beforeFirstCall");function t1(t,e){if(!(this instanceof t1))return new t1(t,e);n1.call(this,e),Mxe(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),Mxe(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 NJ=A((_vr,Gxe)=>{Gxe.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 _J=A((Rvr,Hxe)=>{function bwt(t){return t}o(bwt,"identity");Hxe.exports=bwt});var zxe=A((Dvr,Vxe)=>{function wwt(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(wwt,"apply");Vxe.exports=wwt});var Jxe=A((kvr,$xe)=>{var Iwt=zxe(),jxe=Math.max;function Swt(t,e,r){return e=jxe(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=jxe(n.length-e,0),a=Array(s);++i{function Bwt(t){return function(){return t}}o(Bwt,"constant");Wxe.exports=Bwt});var RJ=A((Fvr,Kxe)=>{var xwt=typeof global=="object"&&global&&global.Object===Object&&global;Kxe.exports=xwt});var fE=A((Mvr,Xxe)=>{var vwt=RJ(),Nwt=typeof self=="object"&&self&&self.Object===Object&&self,_wt=vwt||Nwt||Function("return this")();Xxe.exports=_wt});var i1=A((Uvr,Zxe)=>{var Rwt=fE(),Twt=Rwt.Symbol;Zxe.exports=Twt});var nve=A((qvr,rve)=>{var eve=i1(),tve=Object.prototype,Dwt=tve.hasOwnProperty,Qwt=tve.toString,ZI=eve?eve.toStringTag:void 0;function kwt(t){var e=Dwt.call(t,ZI),r=t[ZI];try{t[ZI]=void 0;var n=!0}catch{}var i=Qwt.call(t);return n&&(e?t[ZI]=r:delete t[ZI]),i}o(kwt,"getRawTag");rve.exports=kwt});var sve=A((Hvr,ive)=>{var Pwt=Object.prototype,Owt=Pwt.toString;function Lwt(t){return Owt.call(t)}o(Lwt,"objectToString");ive.exports=Lwt});var eS=A((zvr,cve)=>{var ove=i1(),Fwt=nve(),Mwt=sve(),Uwt="[object Null]",qwt="[object Undefined]",ave=ove?ove.toStringTag:void 0;function Gwt(t){return t==null?t===void 0?qwt:Uwt:ave&&ave in Object(t)?Fwt(t):Mwt(t)}o(Gwt,"baseGetTag");cve.exports=Gwt});var tS=A(($vr,lve)=>{function Hwt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}o(Hwt,"isObject");lve.exports=Hwt});var TJ=A((Wvr,uve)=>{var Vwt=eS(),zwt=tS(),jwt="[object AsyncFunction]",$wt="[object Function]",Jwt="[object GeneratorFunction]",Wwt="[object Proxy]";function Ywt(t){if(!zwt(t))return!1;var e=Vwt(t);return e==$wt||e==Jwt||e==jwt||e==Wwt}o(Ywt,"isFunction");uve.exports=Ywt});var fve=A((Kvr,dve)=>{var Kwt=fE(),Xwt=Kwt["__core-js_shared__"];dve.exports=Xwt});var Ave=A((Xvr,pve)=>{var DJ=fve(),hve=(function(){var t=/[^.]+$/.exec(DJ&&DJ.keys&&DJ.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function Zwt(t){return!!hve&&hve in t}o(Zwt,"isMasked");pve.exports=Zwt});var gve=A((eNr,mve)=>{var eIt=Function.prototype,tIt=eIt.toString;function rIt(t){if(t!=null){try{return tIt.call(t)}catch{}try{return t+""}catch{}}return""}o(rIt,"toSource");mve.exports=rIt});var Eve=A((rNr,yve)=>{var nIt=TJ(),iIt=Ave(),sIt=tS(),oIt=gve(),aIt=/[\\^$.*+?()[\]{}|]/g,cIt=/^\[object .+?Constructor\]$/,lIt=Function.prototype,uIt=Object.prototype,dIt=lIt.toString,fIt=uIt.hasOwnProperty,hIt=RegExp("^"+dIt.call(fIt).replace(aIt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pIt(t){if(!sIt(t)||iIt(t))return!1;var e=nIt(t)?hIt:cIt;return e.test(oIt(t))}o(pIt,"baseIsNative");yve.exports=pIt});var bve=A((iNr,Cve)=>{function AIt(t,e){return t?.[e]}o(AIt,"getValue");Cve.exports=AIt});var rS=A((oNr,wve)=>{var mIt=Eve(),gIt=bve();function yIt(t,e){var r=gIt(t,e);return mIt(r)?r:void 0}o(yIt,"getNative");wve.exports=yIt});var Sve=A((cNr,Ive)=>{var EIt=rS(),CIt=(function(){try{var t=EIt(Object,"defineProperty");return t({},"",{}),t}catch{}})();Ive.exports=CIt});var vve=A((lNr,xve)=>{var bIt=Yxe(),Bve=Sve(),wIt=_J(),IIt=Bve?function(t,e){return Bve(t,"toString",{configurable:!0,enumerable:!1,value:bIt(e),writable:!0})}:wIt;xve.exports=IIt});var _ve=A((uNr,Nve)=>{var SIt=800,BIt=16,xIt=Date.now;function vIt(t){var e=0,r=0;return function(){var n=xIt(),i=BIt-(n-r);if(r=n,i>0){if(++e>=SIt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}o(vIt,"shortOut");Nve.exports=vIt});var Tve=A((fNr,Rve)=>{var NIt=vve(),_It=_ve(),RIt=_It(NIt);Rve.exports=RIt});var s1=A((hNr,Dve)=>{var TIt=_J(),DIt=Jxe(),QIt=Tve();function kIt(t,e){return QIt(DIt(t,e,TIt),t+"")}o(kIt,"baseRest");Dve.exports=kIt});var o1=A((ANr,Qve)=>{function PIt(t,e){return t===e||t!==t&&e!==e}o(PIt,"eq");Qve.exports=PIt});var QJ=A((gNr,kve)=>{var OIt=9007199254740991;function LIt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=OIt}o(LIt,"isLength");kve.exports=LIt});var a1=A((ENr,Pve)=>{var FIt=TJ(),MIt=QJ();function UIt(t){return t!=null&&MIt(t.length)&&!FIt(t)}o(UIt,"isArrayLike");Pve.exports=UIt});var kJ=A((bNr,Ove)=>{var qIt=9007199254740991,GIt=/^(?:0|[1-9]\d*)$/;function HIt(t,e){var r=typeof t;return e=e??qIt,!!e&&(r=="number"||r!="symbol"&&GIt.test(t))&&t>-1&&t%1==0&&t{var VIt=o1(),zIt=a1(),jIt=kJ(),$It=tS();function JIt(t,e,r){if(!$It(r))return!1;var n=typeof e;return(n=="number"?zIt(r)&&jIt(e,r.length):n=="string"&&e in r)?VIt(r[e],t):!1}o(JIt,"isIterateeCall");Lve.exports=JIt});var Uve=A((BNr,Mve)=>{function WIt(t,e){for(var r=-1,n=Array(t);++r{function YIt(t){return t!=null&&typeof t=="object"}o(YIt,"isObjectLike");qve.exports=YIt});var Hve=A((_Nr,Gve)=>{var KIt=eS(),XIt=hE(),ZIt="[object Arguments]";function eSt(t){return XIt(t)&&KIt(t)==ZIt}o(eSt,"baseIsArguments");Gve.exports=eSt});var PJ=A((TNr,jve)=>{var Vve=Hve(),tSt=hE(),zve=Object.prototype,rSt=zve.hasOwnProperty,nSt=zve.propertyIsEnumerable,iSt=Vve((function(){return arguments})())?Vve:function(t){return tSt(t)&&rSt.call(t,"callee")&&!nSt.call(t,"callee")};jve.exports=iSt});var OJ=A((DNr,$ve)=>{var sSt=Array.isArray;$ve.exports=sSt});var Wve=A((QNr,Jve)=>{function oSt(){return!1}o(oSt,"stubFalse");Jve.exports=oSt});var Zve=A((nS,pE)=>{var aSt=fE(),cSt=Wve(),Xve=typeof nS=="object"&&nS&&!nS.nodeType&&nS,Yve=Xve&&typeof pE=="object"&&pE&&!pE.nodeType&&pE,lSt=Yve&&Yve.exports===Xve,Kve=lSt?aSt.Buffer:void 0,uSt=Kve?Kve.isBuffer:void 0,dSt=uSt||cSt;pE.exports=dSt});var tNe=A((PNr,eNe)=>{var fSt=eS(),hSt=QJ(),pSt=hE(),ASt="[object Arguments]",mSt="[object Array]",gSt="[object Boolean]",ySt="[object Date]",ESt="[object Error]",CSt="[object Function]",bSt="[object Map]",wSt="[object Number]",ISt="[object Object]",SSt="[object RegExp]",BSt="[object Set]",xSt="[object String]",vSt="[object WeakMap]",NSt="[object ArrayBuffer]",_St="[object DataView]",RSt="[object Float32Array]",TSt="[object Float64Array]",DSt="[object Int8Array]",QSt="[object Int16Array]",kSt="[object Int32Array]",PSt="[object Uint8Array]",OSt="[object Uint8ClampedArray]",LSt="[object Uint16Array]",FSt="[object Uint32Array]",lr={};lr[RSt]=lr[TSt]=lr[DSt]=lr[QSt]=lr[kSt]=lr[PSt]=lr[OSt]=lr[LSt]=lr[FSt]=!0;lr[ASt]=lr[mSt]=lr[NSt]=lr[gSt]=lr[_St]=lr[ySt]=lr[ESt]=lr[CSt]=lr[bSt]=lr[wSt]=lr[ISt]=lr[SSt]=lr[BSt]=lr[xSt]=lr[vSt]=!1;function MSt(t){return pSt(t)&&hSt(t.length)&&!!lr[fSt(t)]}o(MSt,"baseIsTypedArray");eNe.exports=MSt});var LJ=A((LNr,rNe)=>{function USt(t){return function(e){return t(e)}}o(USt,"baseUnary");rNe.exports=USt});var iNe=A((iS,AE)=>{var qSt=RJ(),nNe=typeof iS=="object"&&iS&&!iS.nodeType&&iS,sS=nNe&&typeof AE=="object"&&AE&&!AE.nodeType&&AE,GSt=sS&&sS.exports===nNe,FJ=GSt&&qSt.process,HSt=(function(){try{var t=sS&&sS.require&&sS.require("util").types;return t||FJ&&FJ.binding&&FJ.binding("util")}catch{}})();AE.exports=HSt});var cNe=A((MNr,aNe)=>{var VSt=tNe(),zSt=LJ(),sNe=iNe(),oNe=sNe&&sNe.isTypedArray,jSt=oNe?zSt(oNe):VSt;aNe.exports=jSt});var uNe=A((UNr,lNe)=>{var $St=Uve(),JSt=PJ(),WSt=OJ(),YSt=Zve(),KSt=kJ(),XSt=cNe(),ZSt=Object.prototype,eBt=ZSt.hasOwnProperty;function tBt(t,e){var r=WSt(t),n=!r&&JSt(t),i=!r&&!n&&YSt(t),s=!r&&!n&&!i&&XSt(t),a=r||n||i||s,c=a?$St(t.length,String):[],l=c.length;for(var u in t)(e||eBt.call(t,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||KSt(u,l)))&&c.push(u);return c}o(tBt,"arrayLikeKeys");lNe.exports=tBt});var fNe=A((GNr,dNe)=>{var rBt=Object.prototype;function nBt(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||rBt;return t===r}o(nBt,"isPrototype");dNe.exports=nBt});var pNe=A((VNr,hNe)=>{function iBt(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}o(iBt,"nativeKeysIn");hNe.exports=iBt});var mNe=A((jNr,ANe)=>{var sBt=tS(),oBt=fNe(),aBt=pNe(),cBt=Object.prototype,lBt=cBt.hasOwnProperty;function uBt(t){if(!sBt(t))return aBt(t);var e=oBt(t),r=[];for(var n in t)n=="constructor"&&(e||!lBt.call(t,n))||r.push(n);return r}o(uBt,"baseKeysIn");ANe.exports=uBt});var yNe=A((JNr,gNe)=>{var dBt=uNe(),fBt=mNe(),hBt=a1();function pBt(t){return hBt(t)?dBt(t,!0):fBt(t)}o(pBt,"keysIn");gNe.exports=pBt});var bNe=A((YNr,CNe)=>{var ABt=s1(),mBt=o1(),gBt=Fve(),yBt=yNe(),ENe=Object.prototype,EBt=ENe.hasOwnProperty,CBt=ABt(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&gBt(e[0],e[1],i)&&(n=1);++r{"use strict";wNe.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 DNe=A((cS,aS)=>{"use strict";Object.defineProperty(cS,"__esModule",{value:!0});var NNe=new WeakMap,MJ=new WeakMap;function ur(t){let e=NNe.get(t);return console.assert(e!=null,"'this' is expected an Event object, but got",t),e}o(ur,"pd");function INe(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(INe,"setCancelFlag");function mE(t,e){NNe.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(uS,"__esModule",{value:!0});var qJ=DNe(),Lf=class extends qJ.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}};qJ.defineEventAttribute(Lf.prototype,"abort");function NBt(){let t=Object.create(Lf.prototype);return qJ.EventTarget.call(t),u1.set(t,!1),t}o(NBt,"createAbortSignal");function _Bt(t){u1.get(t)===!1&&(u1.set(t,!0),t.dispatchEvent({type:"abort"}))}o(_Bt,"abortSignal");var u1=new WeakMap;Object.defineProperties(Lf.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Lf.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});var Ff=class{static{o(this,"AbortController")}constructor(){kNe.set(this,NBt())}get signal(){return QNe(this)}abort(){_Bt(QNe(this))}},kNe=new WeakMap;function QNe(t){let e=kNe.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(QNe,"getSignal");Object.defineProperties(Ff.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ff.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});uS.AbortController=Ff;uS.AbortSignal=Lf;uS.default=Ff;lS.exports=Ff;lS.exports.AbortController=lS.exports.default=Ff;lS.exports.AbortSignal=Lf});var Ri=A((e_r,HJ)=>{"use strict";var RBt=require("buffer"),{kResistStopPropagation:TBt,SymbolDispose:DBt}=_r(),QBt=globalThis.AbortSignal||gE().AbortSignal,kBt=globalThis.AbortController||gE().AbortController,PBt=Object.getPrototypeOf(async function(){}).constructor,PNe=globalThis.Blob||RBt.Blob,OBt=o(typeof PNe<"u"?function(e){return e instanceof PNe}:function(e){return!1},"isBlob"),ONe=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"),LBt=o((t,e)=>{if(typeof t!="function")throw new ERR_INVALID_ARG_TYPE(e,"Function",t)},"validateFunction"),GJ=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 PBt},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:OBt,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);ONe(e,"signal"),LBt(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[TBt]:!0}),n=o(()=>{e.removeEventListener("abort",r)},"removeEventListener")),{__proto__:null,[DBt](){var i;(i=n)===null||i===void 0||i()}}},"addAbortListener"),AbortSignalAny:QBt.any||o(function(e){if(e.length===1)return e[0];let r=new kBt,n=o(()=>r.abort(),"abort");return e.forEach(i=>{ONe(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{e.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal},"AbortSignalAny")};HJ.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var os=A((r_r,MNe)=>{"use strict";var{format:FBt,inspect:d1,AggregateError:MBt}=Ri(),UBt=globalThis.AggregateError||MBt,qBt=Symbol("kIsNodeError"),GBt=["string","function","number","object","Function","Object","boolean","bigint","symbol"],HBt=/^([A-Z][a-z0-9]*)+$/,VBt="__node_internal_",f1={};function oA(t,e){if(!t)throw new f1.ERR_INTERNAL_ASSERTION(e)}o(oA,"assert");function LNe(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(LNe,"addNumericalSeparator");function zBt(t,e,r){if(typeof e=="function")return oA(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 oA(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:FBt(e,...r)}o(zBt,"getMessage");function yi(t,e,r){r||(r=Error);class n extends r{static{o(this,"NodeError")}constructor(...s){super(zBt(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[qBt]=!0,f1[t]=n}o(yi,"E");function FNe(t){let e=VBt+t.name;return Object.defineProperty(t,"name",{value:e}),t}o(FNe,"hideStackFrames");function jBt(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new UBt([e,t],e.message);return r.code=e.code,r}return t||e}o(jBt,"aggregateTwoErrors");var VJ=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"}};yi("ERR_ASSERTION","%s",Error);yi("ERR_INVALID_ARG_TYPE",(t,e,r)=>{oA(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)oA(typeof l=="string","All expected entries have to be of type string"),GBt.includes(l)?i.push(l.toLowerCase()):HBt.test(l)?s.push(l):(oA(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);yi("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);yi("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);yi("ERR_MISSING_ARGS",(...t)=>{oA(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);yi("ERR_OUT_OF_RANGE",(t,e,r)=>{oA(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=LNe(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=LNe(n)),n+="n"):n=d1(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);yi("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);yi("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);yi("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);yi("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);yi("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);yi("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);yi("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);yi("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);yi("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);yi("ERR_STREAM_WRITE_AFTER_END","write after end",Error);yi("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);MNe.exports={AbortError:VJ,aggregateTwoErrors:FNe(jBt),hideStackFrames:FNe,codes:f1}});var EE=A((i_r,WNe)=>{"use strict";var{ArrayIsArray:jJ,ArrayPrototypeIncludes:HNe,ArrayPrototypeJoin:VNe,ArrayPrototypeMap:$Bt,NumberIsInteger:$J,NumberIsNaN:JBt,NumberMAX_SAFE_INTEGER:WBt,NumberMIN_SAFE_INTEGER:YBt,NumberParseInt:KBt,ObjectPrototypeHasOwnProperty:XBt,RegExpPrototypeExec:zNe,String:ZBt,StringPrototypeToUpperCase:ext,StringPrototypeTrim:txt}=_r(),{hideStackFrames:ya,codes:{ERR_SOCKET_BAD_PORT:rxt,ERR_INVALID_ARG_TYPE:Ti,ERR_INVALID_ARG_VALUE:yE,ERR_OUT_OF_RANGE:aA,ERR_UNKNOWN_SIGNAL:UNe}}=os(),{normalizeEncoding:nxt}=Ri(),{isAsyncFunction:ixt,isArrayBufferView:sxt}=Ri().types,qNe={};function oxt(t){return t===(t|0)}o(oxt,"isInt32");function axt(t){return t===t>>>0}o(axt,"isUint32");var cxt=/^[0-7]+$/,lxt="must be a 32-bit unsigned integer or an octal string";function uxt(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(zNe(cxt,t)===null)throw new yE(e,t,lxt);t=KBt(t,8)}return jNe(t,e),t}o(uxt,"parseFileMode");var dxt=ya((t,e,r=YBt,n=WBt)=>{if(typeof t!="number")throw new Ti(e,"number",t);if(!$J(t))throw new aA(e,"an integer",t);if(tn)throw new aA(e,`>= ${r} && <= ${n}`,t)}),fxt=ya((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Ti(e,"number",t);if(!$J(t))throw new aA(e,"an integer",t);if(tn)throw new aA(e,`>= ${r} && <= ${n}`,t)}),jNe=ya((t,e,r=!1)=>{if(typeof t!="number")throw new Ti(e,"number",t);if(!$J(t))throw new aA(e,"an integer",t);let n=r?1:0,i=4294967295;if(ti)throw new aA(e,`>= ${n} && <= ${i}`,t)});function JJ(t,e){if(typeof t!="string")throw new Ti(e,"string",t)}o(JJ,"validateString");function hxt(t,e,r=void 0,n){if(typeof t!="number")throw new Ti(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&JBt(t))throw new aA(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}o(hxt,"validateNumber");var pxt=ya((t,e,r)=>{if(!HNe(r,t)){let i="must be one of: "+VNe($Bt(r,s=>typeof s=="string"?`'${s}'`:ZBt(s)),", ");throw new yE(e,t,i)}});function $Ne(t,e){if(typeof t!="boolean")throw new Ti(e,"boolean",t)}o($Ne,"validateBoolean");function zJ(t,e,r){return t==null||!XBt(t,e)?r:t[e]}o(zJ,"getOwnPropertyValueOrDefault");var Axt=ya((t,e,r=null)=>{let n=zJ(r,"allowArray",!1),i=zJ(r,"allowFunction",!1);if(!zJ(r,"nullable",!1)&&t===null||!n&&jJ(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new Ti(e,"Object",t)}),mxt=ya((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Ti(e,"a dictionary",t)}),h1=ya((t,e,r=0)=>{if(!jJ(t))throw new Ti(e,"Array",t);if(t.length{if(!sxt(t))throw new Ti(e,["Buffer","TypedArray","DataView"],t)});function wxt(t,e){let r=nxt(e),n=t.length;if(r==="hex"&&n%2!==0)throw new yE("encoding",e,`is invalid for data of length ${n}`)}o(wxt,"validateEncoding");function Ixt(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(Ixt,"validatePort");var JNe=ya((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Ti(e,"AbortSignal",t)}),Sxt=ya((t,e)=>{if(typeof t!="function")throw new Ti(e,"Function",t)}),Bxt=ya((t,e)=>{if(typeof t!="function"||ixt(t))throw new Ti(e,"Function",t)}),xxt=ya((t,e)=>{if(t!==void 0)throw new Ti(e,"undefined",t)});function vxt(t,e,r){if(!HNe(r,t))throw new Ti(e,`('${VNe(r,"|")}')`,t)}o(vxt,"validateUnion");var Nxt=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function GNe(t,e){if(typeof t>"u"||!zNe(Nxt,t))throw new yE(e,t,'must be an array or string of format "; rel=preload; as=style"')}o(GNe,"validateLinkHeaderFormat");function _xt(t){if(typeof t=="string")return GNe(t,"hints"),t;if(jJ(t)){let e=t.length,r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}o(_xt,"validateLinkHeaderValue");WNe.exports={isInt32:oxt,isUint32:axt,parseFileMode:uxt,validateArray:h1,validateStringArray:gxt,validateBooleanArray:yxt,validateAbortSignalArray:Ext,validateBoolean:$Ne,validateBuffer:bxt,validateDictionary:mxt,validateEncoding:wxt,validateFunction:Sxt,validateInt32:fxt,validateInteger:dxt,validateNumber:hxt,validateObject:Axt,validateOneOf:pxt,validatePlainFunction:Bxt,validatePort:Ixt,validateSignalName:Cxt,validateString:JJ,validateUint32:jNe,validateUndefined:xxt,validateUnion:vxt,validateAbortSignal:JNe,validateLinkHeaderValue:_xt}});var Mf=A((o_r,YNe)=>{YNe.exports=global.process});var Ml=A((a_r,d_e)=>{"use strict";var{SymbolAsyncIterator:KNe,SymbolIterator:XNe,SymbolFor:cA}=_r(),ZNe=cA("nodejs.stream.destroyed"),e_e=cA("nodejs.stream.errored"),WJ=cA("nodejs.stream.readable"),YJ=cA("nodejs.stream.writable"),t_e=cA("nodejs.stream.disturbed"),Rxt=cA("nodejs.webstream.isClosedPromise"),Txt=cA("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 Dxt(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}o(Dxt,"isDuplexNodeStream");function Fl(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}o(Fl,"isNodeStream");function r_e(t){return!!(t&&!Fl(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}o(r_e,"isReadableStream");function n_e(t){return!!(t&&!Fl(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}o(n_e,"isWritableStream");function i_e(t){return!!(t&&!Fl(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}o(i_e,"isTransformStream");function Qxt(t){return r_e(t)||n_e(t)||i_e(t)}o(Qxt,"isWebStream");function kxt(t,e){return t==null?!1:e===!0?typeof t[KNe]=="function":e===!1?typeof t[XNe]=="function":typeof t[KNe]=="function"||typeof t[XNe]=="function"}o(kxt,"isIterable");function m1(t){if(!Fl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[ZNe]||n!=null&&n.destroyed)}o(m1,"isDestroyed");function s_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(s_e,"isWritableEnded");function Pxt(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(Pxt,"isWritableFinished");function Oxt(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(Oxt,"isReadableEnded");function o_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(o_e,"isReadableFinished");function a_e(t){return t&&t[WJ]!=null?t[WJ]:typeof t?.readable!="boolean"?null:m1(t)?!1:p1(t)&&t.readable&&!o_e(t)}o(a_e,"isReadable");function c_e(t){return t&&t[YJ]!=null?t[YJ]:typeof t?.writable!="boolean"?null:m1(t)?!1:A1(t)&&t.writable&&!s_e(t)}o(c_e,"isWritable");function Lxt(t,e){return Fl(t)?m1(t)?!0:!(e?.readable!==!1&&a_e(t)||e?.writable!==!1&&c_e(t)):null}o(Lxt,"isFinished");function Fxt(t){var e,r;return Fl(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(Fxt,"isWritableErrored");function Mxt(t){var e,r;return Fl(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(Mxt,"isReadableErrored");function Uxt(t){if(!Fl(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"&&l_e(t)?t._closed:null}o(Uxt,"isClosed");function l_e(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}o(l_e,"isOutgoingMessage");function u_e(t){return typeof t._sent100=="boolean"&&l_e(t)}o(u_e,"isServerResponse");function qxt(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(qxt,"isServerRequest");function Gxt(t){if(!Fl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!n&&u_e(t)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}o(Gxt,"willEmitClose");function Hxt(t){var e;return!!(t&&((e=t[t_e])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}o(Hxt,"isDisturbed");function Vxt(t){var e,r,n,i,s,a,c,l,u,d;return!!(t&&((e=(r=(n=(i=(s=(a=t[e_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(Vxt,"isErrored");d_e.exports={isDestroyed:m1,kIsDestroyed:ZNe,isDisturbed:Hxt,kIsDisturbed:t_e,isErrored:Vxt,kIsErrored:e_e,isReadable:a_e,kIsReadable:WJ,kIsClosedPromise:Rxt,kControllerErrorFunction:Txt,kIsWritable:YJ,isClosed:Uxt,isDuplexNodeStream:Dxt,isFinished:Lxt,isIterable:kxt,isReadableNodeStream:p1,isReadableStream:r_e,isReadableEnded:Oxt,isReadableFinished:o_e,isReadableErrored:Mxt,isNodeStream:Fl,isWebStream:Qxt,isWritable:c_e,isWritableNodeStream:A1,isWritableStream:n_e,isWritableEnded:s_e,isWritableFinished:Pxt,isWritableErrored:Fxt,isServerRequest:qxt,isServerResponse:u_e,willEmitClose:Gxt,isTransformStream:i_e}});var ud=A((l_r,tW)=>{var Uf=Mf(),{AbortError:C_e,codes:zxt}=os(),{ERR_INVALID_ARG_TYPE:jxt,ERR_STREAM_PREMATURE_CLOSE:f_e}=zxt,{kEmptyObject:XJ,once:ZJ}=Ri(),{validateAbortSignal:$xt,validateFunction:Jxt,validateObject:Wxt,validateBoolean:Yxt}=EE(),{Promise:Kxt,PromisePrototypeThen:Xxt,SymbolDispose:b_e}=_r(),{isClosed:Zxt,isReadable:h_e,isReadableNodeStream:KJ,isReadableStream:evt,isReadableFinished:p_e,isReadableErrored:A_e,isWritable:m_e,isWritableNodeStream:g_e,isWritableStream:tvt,isWritableFinished:y_e,isWritableErrored:E_e,isNodeStream:rvt,willEmitClose:nvt,kIsClosedPromise:ivt}=Ml(),CE;function svt(t){return t.setHeader&&typeof t.abort=="function"}o(svt,"isRequest");var eW=o(()=>{},"nop");function w_e(t,e,r){var n,i;if(arguments.length===2?(r=e,e=XJ):e==null?e=XJ:Wxt(e,"options"),Jxt(r,"callback"),$xt(e.signal,"options.signal"),r=ZJ(r),evt(t)||tvt(t))return ovt(t,e,r);if(!rvt(t))throw new jxt("stream",["ReadableStream","WritableStream","Stream"],t);let s=(n=e.readable)!==null&&n!==void 0?n:KJ(t),a=(i=e.writable)!==null&&i!==void 0?i:g_e(t),c=t._writableState,l=t._readableState,u=o(()=>{t.writable||h()},"onlegacyfinish"),d=nvt(t)&&KJ(t)===s&&g_e(t)===a,f=y_e(t,!1),h=o(()=>{f=!0,t.destroyed&&(d=!1),!(d&&(!t.readable||s))&&(!s||p)&&r.call(t)},"onfinish"),p=p_e(t,!1),m=o(()=>{p=!0,t.destroyed&&(d=!1),!(d&&(!t.writable||a))&&(!a||f)&&r.call(t)},"onend"),g=o(Q=>{r.call(t,Q)},"onerror"),E=Zxt(t),y=o(()=>{E=!0;let Q=E_e(t)||A_e(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);if(s&&!p&&KJ(t,!0)&&!p_e(t,!1))return r.call(t,new f_e);if(a&&!f&&!y_e(t,!1))return r.call(t,new f_e);r.call(t)},"onclose"),C=o(()=>{E=!0;let Q=E_e(t)||A_e(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);r.call(t)},"onclosed"),w=o(()=>{t.req.on("finish",h)},"onrequest");svt(t)?(t.on("complete",h),d||t.on("abort",y),t.req?w():t.on("request",w)):a&&!c&&(t.on("end",u),t.on("close",u)),!d&&typeof t.aborted=="boolean"&&t.on("aborted",y),t.on("end",m),t.on("finish",h),e.error!==!1&&t.on("error",g),t.on("close",y),E?Uf.nextTick(y):c!=null&&c.errorEmitted||l!=null&&l.errorEmitted?d||Uf.nextTick(C):(!s&&(!d||h_e(t))&&(f||m_e(t)===!1)||!a&&(!d||m_e(t))&&(p||h_e(t)===!1)||l&&t.req&&t.aborted)&&Uf.nextTick(C);let B=o(()=>{r=eW,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",m),t.removeListener("error",g),t.removeListener("close",y)},"cleanup");if(e.signal&&!E){let Q=o(()=>{let M=r;B(),M.call(t,new C_e(void 0,{cause:e.signal.reason}))},"abort");if(e.signal.aborted)Uf.nextTick(Q);else{CE=CE||Ri().addAbortListener;let M=CE(e.signal,Q),v=r;r=ZJ((...j)=>{M[b_e](),v.apply(t,j)})}}return B}o(w_e,"eos");function ovt(t,e,r){let n=!1,i=eW;if(e.signal)if(i=o(()=>{n=!0,r.call(t,new C_e(void 0,{cause:e.signal.reason}))},"abort"),e.signal.aborted)Uf.nextTick(i);else{CE=CE||Ri().addAbortListener;let a=CE(e.signal,i),c=r;r=ZJ((...l)=>{a[b_e](),c.apply(t,l)})}let s=o((...a)=>{n||Uf.nextTick(()=>r.apply(t,a))},"resolverFn");return Xxt(t[ivt].promise,s,s),eW}o(ovt,"eosWeb");function avt(t,e){var r;let n=!1;return e===null&&(e=XJ),(r=e)!==null&&r!==void 0&&r.cleanup&&(Yxt(e.cleanup,"cleanup"),n=e.cleanup),new Kxt((i,s)=>{let a=w_e(t,e,c=>{n&&a(),c?s(c):i()})})}o(avt,"finished");tW.exports=w_e;tW.exports.finished=avt});var lA=A((d_r,R_e)=>{"use strict";var Ul=Mf(),{aggregateTwoErrors:cvt,codes:{ERR_MULTIPLE_CALLBACK:lvt},AbortError:uvt}=os(),{Symbol:B_e}=_r(),{kIsDestroyed:dvt,isDestroyed:fvt,isFinished:hvt,isServerRequest:pvt}=Ml(),x_e=B_e("kDestroy"),rW=B_e("kConstruct");function v_e(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}o(v_e,"checkError");function Avt(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):(v_e(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?I_e(this,t,e):this.once(x_e,function(s){I_e(this,cvt(s,t),e)}),this)}o(Avt,"destroy");function I_e(t,e,r){let n=!1;function i(s){if(n)return;n=!0;let a=t._readableState,c=t._writableState;v_e(s,c,a),c&&(c.closed=!0),a&&(a.closed=!0),typeof r=="function"&&r(s),s?Ul.nextTick(mvt,t,s):Ul.nextTick(N_e,t)}o(i,"onDestroy");try{t._destroy(e||null,i)}catch(s){i(s)}}o(I_e,"_destroy");function mvt(t,e){nW(t,e),N_e(t)}o(mvt,"emitErrorCloseNT");function N_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(N_e,"emitCloseNT");function nW(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(nW,"emitErrorNT");function gvt(){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(gvt,"undestroy");function iW(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?Ul.nextTick(nW,t,e):nW(t,e))}o(iW,"errorOrDestroy");function yvt(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(rW,e),!(t.listenerCount(rW)>1)&&Ul.nextTick(Evt,t)}o(yvt,"construct");function Evt(t){let e=!1;function r(n){if(e){iW(t,n??new lvt);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(x_e,n):n?iW(t,n,!0):Ul.nextTick(Cvt,t)}o(r,"onConstruct");try{t._construct(n=>{Ul.nextTick(r,n)})}catch(n){Ul.nextTick(r,n)}}o(Evt,"constructNT");function Cvt(t){t.emit(rW)}o(Cvt,"emitConstructNT");function S_e(t){return t?.setHeader&&typeof t.abort=="function"}o(S_e,"isRequest");function __e(t){t.emit("close")}o(__e,"emitCloseLegacy");function bvt(t,e){t.emit("error",e),Ul.nextTick(__e,t)}o(bvt,"emitErrorCloseLegacy");function wvt(t,e){!t||fvt(t)||(!e&&!hvt(t)&&(e=new uvt),pvt(t)?(t.socket=null,t.destroy(e)):S_e(t)?t.abort():S_e(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?Ul.nextTick(bvt,t,e):Ul.nextTick(__e,t),t.destroyed||(t[dvt]=!0))}o(wvt,"destroyer");R_e.exports={construct:yvt,destroyer:wvt,destroy:Avt,undestroy:gvt,errorOrDestroy:iW}});var E1=A((h_r,D_e)=>{"use strict";var{ArrayIsArray:Ivt,ObjectSetPrototypeOf:T_e}=_r(),{EventEmitter:g1}=require("events");function y1(t){g1.call(this,t)}o(y1,"Stream");T_e(y1.prototype,g1.prototype);T_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"),sW(r,"error",l),sW(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 sW(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Ivt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(sW,"prependListener");D_e.exports={Stream:y1,prependListener:sW}});var dS=A((A_r,C1)=>{"use strict";var{SymbolDispose:Svt}=_r(),{AbortError:Q_e,codes:Bvt}=os(),{isNodeStream:k_e,isWebStream:xvt,kControllerErrorFunction:vvt}=Ml(),Nvt=ud(),{ERR_INVALID_ARG_TYPE:P_e}=Bvt,oW,_vt=o((t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new P_e(e,"AbortSignal",t)},"validateAbortSignal");C1.exports.addAbortSignal=o(function(e,r){if(_vt(e,"signal"),!k_e(r)&&!xvt(r))throw new P_e("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=k_e(e)?()=>{e.destroy(new Q_e(void 0,{cause:t.reason}))}:()=>{e[vvt](new Q_e(void 0,{cause:t.reason}))};if(t.aborted)r();else{oW=oW||Ri().addAbortListener;let n=oW(t,r);Nvt(e,n[Svt])}return e}});var F_e=A((y_r,L_e)=>{"use strict";var{StringPrototypeSlice:O_e,SymbolIterator:Rvt,TypedArrayPrototypeSet:b1,Uint8Array:Tvt}=_r(),{Buffer:aW}=require("buffer"),{inspect:Dvt}=Ri();L_e.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 aW.alloc(0);let r=aW.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+=O_e(s,0,e),this.head=n,n.data=O_e(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){let r=aW.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 Tvt(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 Dvt(this,{...r,depth:0,customInspect:!1})}}});var fS=A((C_r,G_e)=>{"use strict";var{MathFloor:Qvt,NumberIsInteger:kvt}=_r(),{validateInteger:Pvt}=EE(),{ERR_INVALID_ARG_VALUE:Ovt}=os().codes,M_e=16*1024,U_e=16;function Lvt(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}o(Lvt,"highWaterMarkFrom");function q_e(t){return t?U_e:M_e}o(q_e,"getDefaultHighWaterMark");function Fvt(t,e){Pvt(e,"value",0),t?U_e=e:M_e=e}o(Fvt,"setDefaultHighWaterMark");function Mvt(t,e,r,n){let i=Lvt(e,n,r);if(i!=null){if(!kvt(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new Ovt(s,i)}return Qvt(i)}return q_e(t.objectMode)}o(Mvt,"getHighWaterMark");G_e.exports={getHighWaterMark:Mvt,getDefaultHighWaterMark:q_e,setDefaultHighWaterMark:Fvt}});var cW=A((w_r,j_e)=>{"use strict";var H_e=Mf(),{PromisePrototypeThen:Uvt,SymbolAsyncIterator:V_e,SymbolIterator:z_e}=_r(),{Buffer:qvt}=require("buffer"),{ERR_INVALID_ARG_TYPE:Gvt,ERR_STREAM_NULL_VALUES:Hvt}=os().codes;function Vvt(t,e,r){let n;if(typeof e=="string"||e instanceof qvt)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[V_e])i=!0,n=e[V_e]();else if(e&&e[z_e])i=!1,n=e[z_e]();else throw new Gvt("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){Uvt(c(u),()=>H_e.nextTick(d,u),f=>H_e.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 Hvt;if(s.push(f))continue;a=!1}}catch(u){s.destroy(u)}break}}return o(l,"next"),s}o(Vvt,"from");j_e.exports=Vvt});var pS=A((S_r,uRe)=>{var hc=Mf(),{ArrayPrototypeIndexOf:zvt,NumberIsInteger:jvt,NumberIsNaN:$vt,NumberParseInt:Jvt,ObjectDefineProperties:mW,ObjectKeys:Wvt,ObjectSetPrototypeOf:W_e,Promise:Y_e,SafeSet:Yvt,SymbolAsyncDispose:Kvt,SymbolAsyncIterator:Xvt,Symbol:Zvt}=_r();uRe.exports=st;st.ReadableState=B1;var{EventEmitter:eNt}=require("events"),{Stream:qf,prependListener:tNt}=E1(),{Buffer:lW}=require("buffer"),{addAbortSignal:rNt}=dS(),K_e=ud(),gt=Ri().debuglog("stream",t=>{gt=t}),nNt=F_e(),IE=lA(),{getHighWaterMark:iNt,getDefaultHighWaterMark:sNt}=fS(),{aggregateTwoErrors:$_e,codes:{ERR_INVALID_ARG_TYPE:oNt,ERR_METHOD_NOT_IMPLEMENTED:aNt,ERR_OUT_OF_RANGE:cNt,ERR_STREAM_PUSH_AFTER_EOF:lNt,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:uNt},AbortError:dNt}=os(),{validateObject:fNt}=EE(),uA=Zvt("kPaused"),{StringDecoder:X_e}=require("string_decoder"),hNt=cW();W_e(st.prototype,qf.prototype);W_e(st,qf);var uW=o(()=>{},"nop"),{errorOrDestroy:bE}=IE,wE=1,pNt=2,Z_e=4,hS=8,eRe=16,w1=32,I1=64,tRe=128,ANt=256,mNt=512,gNt=1024,pW=2048,AW=4096,yNt=8192,ENt=16384,CNt=32768,rRe=65536,bNt=1<<17,wNt=1<<18;function Ln(t){return{enumerable:!1,get(){return(this.state&t)!==0},set(e){e?this.state|=t:this.state&=~t}}}o(Ln,"makeBitMapDescriptor");mW(B1.prototype,{objectMode:Ln(wE),ended:Ln(pNt),endEmitted:Ln(Z_e),reading:Ln(hS),constructed:Ln(eRe),sync:Ln(w1),needReadable:Ln(I1),emittedReadable:Ln(tRe),readableListening:Ln(ANt),resumeScheduled:Ln(mNt),errorEmitted:Ln(gNt),emitClose:Ln(pW),autoDestroy:Ln(AW),destroyed:Ln(yNt),closed:Ln(ENt),closeEmitted:Ln(CNt),multiAwaitDrain:Ln(rRe),readingMore:Ln(bNt),dataEmitted:Ln(wNt)});function B1(t,e,r){typeof r!="boolean"&&(r=e instanceof ql()),this.state=pW|AW|eRe|w1,t&&t.objectMode&&(this.state|=wE),r&&t&&t.readableObjectMode&&(this.state|=wE),this.highWaterMark=t?iNt(this,t,"readableHighWaterMark",r):sNt(!1),this.buffer=new nNt,this.length=0,this.pipes=[],this.flowing=null,this[uA]=null,t&&t.emitClose===!1&&(this.state&=~pW),t&&t.autoDestroy===!1&&(this.state&=~AW),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new X_e(t.encoding),this.encoding=t.encoding)}o(B1,"ReadableState");function st(t){if(!(this instanceof st))return new st(t);let e=this instanceof ql();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)),qf.call(this,t),IE.construct(this,()=>{this._readableState.needReadable&&S1(this,this._readableState)})}o(st,"Readable");st.prototype.destroy=IE.destroy;st.prototype._undestroy=IE.undestroy;st.prototype._destroy=function(t,e){e(t)};st.prototype[eNt.captureRejectionSymbol]=function(t){this.destroy(t)};st.prototype[Kvt]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new dNt,this.destroy(t)),new Y_e((e,r)=>K_e(this,n=>n&&n!==t?r(n):e(null)))};st.prototype.push=function(t,e){return nRe(this,t,e,!1)};st.prototype.unshift=function(t,e){return nRe(this,t,e,!0)};function nRe(t,e,r,n){gt("readableAddChunk",e);let i=t._readableState,s;if((i.state&wE)===0&&(typeof e=="string"?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=lW.from(e,r).toString(i.encoding):(e=lW.from(e,r),r=""))):e instanceof lW?r="":qf._isUint8Array(e)?(e=qf._uint8ArrayToBuffer(e),r=""):e!=null&&(s=new oNt("chunk",["string","Buffer","Uint8Array"],e))),s)bE(t,s);else if(e===null)i.state&=~hS,BNt(t,i);else if((i.state&wE)!==0||e&&e.length>0)if(n)if((i.state&Z_e)!==0)bE(t,new uNt);else{if(i.destroyed||i.errored)return!1;dW(t,i,e,!0)}else if(i.ended)bE(t,new lNt);else{if(i.destroyed||i.errored)return!1;i.state&=~hS,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?dW(t,i,e,!1):S1(t,i)):dW(t,i,e,!1)}else n||(i.state&=~hS,S1(t,i));return!i.ended&&(i.length0?((e.state&rRe)!==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&I1)!==0&&x1(t)),S1(t,e)}o(dW,"addChunk");st.prototype.isPaused=function(){let t=this._readableState;return t[uA]===!0||t.flowing===!1};st.prototype.setEncoding=function(t){let e=new X_e(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 INt=1073741824;function SNt(t){if(t>INt)throw new cNt("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}o(SNt,"computeNewHighWaterMark");function J_e(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&wE)!==0?1:$vt(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}o(J_e,"howMuchToRead");st.prototype.read=function(t){gt("read",t),t===void 0?t=NaN:jvt(t)||(t=Jvt(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=SNt(t)),t!==0&&(e.state&=~tRe),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return gt("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?fW(this):x1(this),null;if(t=J_e(t,e),t===0&&e.ended)return e.length===0&&fW(this),null;let n=(e.state&I1)!==0;if(gt("need readable",n),(e.length===0||e.length-t0?i=cRe(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&&fW(this)),i!==null&&!e.errorEmitted&&!e.closeEmitted&&(e.dataEmitted=!0,this.emit("data",i)),i};function BNt(t,e){if(gt("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,iRe(t))}}o(BNt,"onEofChunk");function x1(t){let e=t._readableState;gt("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(gt("emitReadable",e.flowing),e.emittedReadable=!0,hc.nextTick(iRe,t))}o(x1,"emitReadable");function iRe(t){let e=t._readableState;gt("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,oRe(t)}o(iRe,"emitReadable_");function S1(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,hc.nextTick(xNt,t,e))}o(S1,"maybeReadMore");function xNt(t,e){for(;!e.reading&&!e.ended&&(e.length1&&n.pipes.includes(t)&&(gt("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),l||(l=vNt(r,t),t.on("drain",l))}o(f,"pause"),r.on("data",h);function h(y){gt("ondata");let C=t.write(y);gt("dest.write",C),C===!1&&f()}o(h,"ondata");function p(y){if(gt("onerror",y),E(),t.removeListener("error",p),t.listenerCount("error")===0){let C=t._writableState||t._readableState;C&&!C.errorEmitted?bE(t,y):t.emit("error",y)}}o(p,"onerror"),tNt(t,"error",p);function m(){t.removeListener("finish",g),E()}o(m,"onclose"),t.once("close",m);function g(){gt("onfinish"),t.removeListener("close",m),E()}o(g,"onfinish"),t.once("finish",g);function E(){gt("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),t.writableNeedDrain===!0?f():n.flowing||(gt("pipe resume"),r.resume()),t};function vNt(t,e){return o(function(){let n=t._readableState;n.awaitDrainWriters===e?(gt("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(gt("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(e)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&t.listenerCount("data")&&t.resume()},"pipeOnDrainFunctionResult")}o(vNt,"pipeOnDrain");st.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,gt("on readable",n.length,n.reading),n.length?x1(this):n.reading||hc.nextTick(NNt,this)),r};st.prototype.addListener=st.prototype.on;st.prototype.removeListener=function(t,e){let r=qf.prototype.removeListener.call(this,t,e);return t==="readable"&&hc.nextTick(sRe,this),r};st.prototype.off=st.prototype.removeListener;st.prototype.removeAllListeners=function(t){let e=qf.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&hc.nextTick(sRe,this),e};function sRe(t){let e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&e[uA]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}o(sRe,"updateReadableListening");function NNt(t){gt("readable nexttick read 0"),t.read(0)}o(NNt,"nReadingNextTick");st.prototype.resume=function(){let t=this._readableState;return t.flowing||(gt("resume"),t.flowing=!t.readableListening,_Nt(this,t)),t[uA]=!1,this};function _Nt(t,e){e.resumeScheduled||(e.resumeScheduled=!0,hc.nextTick(RNt,t,e))}o(_Nt,"resume");function RNt(t,e){gt("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),oRe(t),e.flowing&&!e.reading&&t.read(0)}o(RNt,"resume_");st.prototype.pause=function(){return gt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(gt("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[uA]=!0,this};function oRe(t){let e=t._readableState;for(gt("flow",e.flowing);e.flowing&&t.read()!==null;);}o(oRe,"flow");st.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=>{bE(this,n)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};let r=Wvt(t);for(let n=1;n{i=a?$_e(i,a):null,r(),r=uW});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 Y_e(n)}}}catch(a){throw i=$_e(i,a),i}finally{(i||e?.destroyOnReturn!==!1)&&(i===void 0||t._readableState.autoDestroy)?IE.destroyer(t,null):(t.off("readable",n),s())}}o(TNt,"createAsyncIterator");mW(st.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}}});mW(B1.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[uA]!==!1},set(t){this[uA]=!!t}}});st._fromList=cRe;function cRe(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(cRe,"fromList");function fW(t){let e=t._readableState;gt("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,hc.nextTick(DNt,e,t))}o(fW,"endReadable");function DNt(t,e){if(gt("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)hc.nextTick(QNt,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}o(DNt,"endReadableNT");function QNt(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}o(QNt,"endWritableNT");st.from=function(t,e){return hNt(st,t,e)};var hW;function lRe(){return hW===void 0&&(hW={}),hW}o(lRe,"lazyWebStreams");st.fromWeb=function(t,e){return lRe().newStreamReadableFromReadableStream(t,e)};st.toWeb=function(t,e){return lRe().newReadableStreamFromStreamReadable(t,e)};st.wrap=function(t,e){var r,n;return new st({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 T1=A((x_r,wRe)=>{var dA=Mf(),{ArrayPrototypeSlice:hRe,Error:kNt,FunctionPrototypeSymbolHasInstance:pRe,ObjectDefineProperty:ARe,ObjectDefineProperties:PNt,ObjectSetPrototypeOf:mRe,StringPrototypeToLowerCase:ONt,Symbol:LNt,SymbolHasInstance:FNt}=_r();wRe.exports=Rr;Rr.WritableState=gS;var{EventEmitter:MNt}=require("events"),AS=E1().Stream,{Buffer:v1}=require("buffer"),R1=lA(),{addAbortSignal:UNt}=dS(),{getHighWaterMark:qNt,getDefaultHighWaterMark:GNt}=fS(),{ERR_INVALID_ARG_TYPE:HNt,ERR_METHOD_NOT_IMPLEMENTED:VNt,ERR_MULTIPLE_CALLBACK:gRe,ERR_STREAM_CANNOT_PIPE:zNt,ERR_STREAM_DESTROYED:mS,ERR_STREAM_ALREADY_FINISHED:jNt,ERR_STREAM_NULL_VALUES:$Nt,ERR_STREAM_WRITE_AFTER_END:JNt,ERR_UNKNOWN_ENCODING:yRe}=os().codes,{errorOrDestroy:SE}=R1;mRe(Rr.prototype,AS.prototype);mRe(Rr,AS);function EW(){}o(EW,"nop");var BE=LNt("kOnFinished");function gS(t,e,r){typeof r!="boolean"&&(r=e instanceof ql()),this.objectMode=!!(t&&t.objectMode),r&&(this.objectMode=this.objectMode||!!(t&&t.writableObjectMode)),this.highWaterMark=t?qNt(this,t,"writableHighWaterMark",r):GNt(!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=YNt.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[BE]=[]}o(gS,"WritableState");function _1(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}o(_1,"resetBuffer");gS.prototype.getBuffer=o(function(){return hRe(this.buffered,this.bufferedIndex)},"getBuffer");ARe(gS.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Rr(t){let e=this instanceof ql();if(!e&&!pRe(Rr,this))return new Rr(t);this._writableState=new gS(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&&UNt(t.signal,this)),AS.call(this,t),R1.construct(this,()=>{let r=this._writableState;r.writing||bW(this,r),wW(this,r)})}o(Rr,"Writable");ARe(Rr,FNt,{__proto__:null,value:o(function(t){return pRe(this,t)?!0:this!==Rr?!1:t&&t._writableState instanceof gS},"value")});Rr.prototype.pipe=function(){SE(this,new zNt)};function ERe(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 yRe(r);typeof n!="function"&&(n=EW)}if(e===null)throw new $Nt;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(AS._isUint8Array(e))e=AS._uint8ArrayToBuffer(e),r="buffer";else throw new HNt("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new JNt:i.destroyed&&(s=new mS("write")),s?(dA.nextTick(n,s),SE(t,s,!0),s):(i.pendingcb++,WNt(t,i,e,r,n))}o(ERe,"_write");Rr.prototype.write=function(t,e,r){return ERe(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||bW(this,t))};Rr.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=ONt(e)),!v1.isEncoding(e))throw new yRe(e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function WNt(t,e,r,n,i){let s=e.objectMode?1:r.length;e.length+=s;let a=e.lengthr.bufferedIndex&&bW(t,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:t,state:r},dA.nextTick(KNt,r.afterWriteTickInfo)):CRe(t,r,1,i))}o(YNt,"onwrite");function KNt({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,CRe(t,e,r,n)}o(KNt,"afterWriteTick");function CRe(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&&CW(e),wW(t,e)}o(CRe,"afterWrite");function CW(t){if(t.writing)return;for(let i=t.bufferedIndex;i1&&t._writev){e.pendingcb-=s-1;let c=e.allNoop?EW:u=>{for(let d=a;d256?(r.splice(0,a),e.bufferedIndex=0):e.bufferedIndex=a}e.bufferProcessing=!1}o(bW,"clearBuffer");Rr.prototype._write=function(t,e,r){if(this._writev)this._writev([{chunk:t,encoding:e}],r);else throw new VNt("_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=ERe(this,t,e);s instanceof kNt&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,wW(this,n,!0),n.ended=!0):n.finished?i=new jNt("end"):n.destroyed&&(i=new mS("end"))),typeof r=="function"&&(i||n.finished?dA.nextTick(r,i):n[BE].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 XNt(t,e){let r=!1;function n(i){if(r){SE(t,i??gRe());return}if(r=!0,e.pendingcb--,i){let s=e[BE].splice(0);for(let a=0;a{N1(i)?yW(n,i):i.pendingcb--},t,e)):N1(e)&&(e.pendingcb++,yW(t,e))))}o(wW,"finishMaybe");function yW(t,e){e.pendingcb--,e.finished=!0;let r=e[BE].splice(0);for(let n=0;n{var IW=Mf(),t_t=require("buffer"),{isReadable:r_t,isWritable:n_t,isIterable:IRe,isNodeStream:i_t,isReadableNodeStream:SRe,isWritableNodeStream:BRe,isDuplexNodeStream:s_t,isReadableStream:xRe,isWritableStream:vRe}=Ml(),NRe=ud(),{AbortError:kRe,codes:{ERR_INVALID_ARG_TYPE:o_t,ERR_INVALID_RETURN_VALUE:_Re}}=os(),{destroyer:vE}=lA(),a_t=ql(),PRe=pS(),c_t=T1(),{createDeferredPromise:RRe}=Ri(),TRe=cW(),DRe=globalThis.Blob||t_t.Blob,l_t=o(typeof DRe<"u"?function(e){return e instanceof DRe}:function(e){return!1},"isBlob"),u_t=globalThis.AbortController||gE().AbortController,{FunctionPrototypeCall:QRe}=_r(),Gf=class extends a_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)}};ORe.exports=o(function t(e,r){if(s_t(e))return e;if(SRe(e))return xE({readable:e});if(BRe(e))return xE({writable:e});if(i_t(e))return xE({writable:!1,readable:!1});if(xRe(e))return xE({readable:PRe.fromWeb(e)});if(vRe(e))return xE({writable:c_t.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:a,destroy:c}=d_t(e);if(IRe(i))return TRe(Gf,i,{objectMode:!0,write:s,final:a,destroy:c});let l=i?.then;if(typeof l=="function"){let u,d=QRe(l,i,f=>{if(f!=null)throw new _Re("nully","body",f)},f=>{vE(u,f)});return u=new Gf({objectMode:!0,readable:!1,write:s,final(f){a(async()=>{try{await d,IW.nextTick(f,null)}catch(h){IW.nextTick(f,h)}})},destroy:c})}throw new _Re("Iterable, AsyncIterable or AsyncFunction",r,i)}if(l_t(e))return t(e.arrayBuffer());if(IRe(e))return TRe(Gf,e,{objectMode:!0,writable:!1});if(xRe(e?.readable)&&vRe(e?.writable))return Gf.fromWeb(e);if(typeof e?.writable=="object"||typeof e?.readable=="object"){let i=e!=null&&e.readable?SRe(e?.readable)?e?.readable:t(e.readable):void 0,s=e!=null&&e.writable?BRe(e?.writable)?e?.writable:t(e.writable):void 0;return xE({readable:i,writable:s})}let n=e?.then;if(typeof n=="function"){let i;return QRe(n,e,s=>{s!=null&&i.push(s),i.push(null)},s=>{vE(i,s)}),i=new Gf({objectMode:!0,writable:!1,read(){}})}throw new o_t(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)},"duplexify");function d_t(t){let{promise:e,resolve:r}=RRe(),n=new u_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(IW.nextTick(u),l)return;if(i.aborted)throw new kRe(void 0,{cause:i.reason});({promise:e,resolve:r}=RRe()),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(d_t,"fromAsyncGen");function xE(t){let e=t.readable&&typeof t.readable.read!="function"?PRe.wrap(t.readable):t.readable,r=t.writable,n=!!r_t(e),i=!!n_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 Gf({readableObjectMode:!!(e!=null&&e.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(NRe(r,f=>{i=!1,f&&vE(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&&(NRe(e,f=>{n=!1,f&&vE(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 kRe),c=null,s=null,a=null,l===null?h(f):(l=h,vE(r,f),vE(e,f))},u}o(xE,"_duplexify")});var ql=A((R_r,URe)=>{"use strict";var{ObjectDefineProperties:f_t,ObjectGetOwnPropertyDescriptor:dd,ObjectKeys:h_t,ObjectSetPrototypeOf:FRe}=_r();URe.exports=pc;var xW=pS(),Ea=T1();FRe(pc.prototype,xW.prototype);FRe(pc,xW);{let t=h_t(Ea.prototype);for(let e=0;e{"use strict";var{ObjectSetPrototypeOf:qRe,Symbol:p_t}=_r();GRe.exports=fd;var{ERR_METHOD_NOT_IMPLEMENTED:A_t}=os().codes,NW=ql(),{getHighWaterMark:m_t}=fS();qRe(fd.prototype,NW.prototype);qRe(fd,NW);var yS=p_t("kCallback");function fd(t){if(!(this instanceof fd))return new fd(t);let e=t?m_t(this,t,"readableHighWaterMark",!0):null;e===0&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),NW.call(this,t),this._readableState.sync=!1,this[yS]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",g_t)}o(fd,"Transform");function vW(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(vW,"final");function g_t(){this._final!==vW&&vW.call(this)}o(g_t,"prefinish");fd.prototype._final=vW;fd.prototype._transform=function(t,e,r){throw new A_t("_transform()")};fd.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:HRe}=_r();VRe.exports=NE;var RW=_W();HRe(NE.prototype,RW.prototype);HRe(NE,RW);function NE(t){if(!(this instanceof NE))return new NE(t);RW.call(this,t)}o(NE,"PassThrough");NE.prototype._transform=function(t,e,r){r(null,t)}});var P1=A((O_r,WRe)=>{var ES=Mf(),{ArrayIsArray:y_t,Promise:E_t,SymbolAsyncIterator:C_t,SymbolDispose:b_t}=_r(),k1=ud(),{once:w_t}=Ri(),I_t=lA(),zRe=ql(),{aggregateTwoErrors:S_t,codes:{ERR_INVALID_ARG_TYPE:UW,ERR_INVALID_RETURN_VALUE:DW,ERR_MISSING_ARGS:B_t,ERR_STREAM_DESTROYED:x_t,ERR_STREAM_PREMATURE_CLOSE:v_t},AbortError:N_t}=os(),{validateFunction:__t,validateAbortSignal:R_t}=EE(),{isIterable:fA,isReadable:QW,isReadableNodeStream:Q1,isNodeStream:jRe,isTransformStream:_E,isWebStream:T_t,isReadableStream:kW,isReadableFinished:D_t}=Ml(),Q_t=globalThis.AbortController||gE().AbortController,PW,OW,LW;function $Re(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,I_t.destroyer(t,s||new x_t("pipe")))},"destroy"),cleanup:i}}o($Re,"destroyer");function k_t(t){return __t(t[t.length-1],"streams[stream.length - 1]"),t.pop()}o(k_t,"popCallback");function FW(t){if(fA(t))return t;if(Q1(t))return P_t(t);throw new UW("val",["Readable","Iterable","AsyncIterable"],t)}o(FW,"makeAsyncIterable");async function*P_t(t){OW||(OW=pS()),yield*OW.prototype[C_t].call(t)}o(P_t,"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 E_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?S_t(i,u):u)}finally{l(),e.off("drain",a)}}o(D1,"pumpToNode");async function MW(t,e,r,{end:n}){_E(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(MW,"pumpToWeb");function O_t(...t){return JRe(t,w_t(k_t(t)))}o(O_t,"pipeline");function JRe(t,e,r){if(t.length===1&&y_t(t[0])&&(t=t[0]),t.length<2)throw new B_t("streams");let n=new Q_t,i=n.signal,s=r?.signal,a=[];R_t(s,"options.signal");function c(){m(new N_t)}o(c,"abort"),LW=LW||Ri().addAbortListener;let l;s&&(l=LW(s,c));let u,d,f=[],h=0;function p(w){m(w,--h===0)}o(p,"finish");function m(w,B){var Q;if(w&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=w),!(!u&&!B)){for(;f.length;)f.shift()(u);(Q=l)===null||Q===void 0||Q[b_t](),n.abort(),B&&(u||a.forEach(M=>M()),ES.nextTick(e,u,d))}}o(m,"finishImpl");let g;for(let w=0;w0,v=Q||r?.end!==!1,j=w===t.length-1;if(jRe(B)){let T=function(G){G&&G.name!=="AbortError"&&G.code!=="ERR_STREAM_PREMATURE_CLOSE"&&p(G)};var C=T;if(o(T,"onError"),v){let{destroy:G,cleanup:V}=$Re(B,Q,M);f.push(G),QW(B)&&j&&a.push(V)}B.on("error",T),QW(B)&&j&&a.push(()=>{B.removeListener("error",T)})}if(w===0)if(typeof B=="function"){if(g=B({signal:i}),!fA(g))throw new DW("Iterable, AsyncIterable or Stream","source",g)}else fA(B)||Q1(B)||_E(B)?g=B:g=zRe.from(B);else if(typeof B=="function"){if(_E(g)){var E;g=FW((E=g)===null||E===void 0?void 0:E.readable)}else g=FW(g);if(g=B(g,{signal:i}),Q){if(!fA(g,!0))throw new DW("AsyncIterable",`transform[${w-1}]`,g)}else{var y;PW||(PW=TW());let T=new PW({objectMode:!0}),G=(y=g)===null||y===void 0?void 0:y.then;if(typeof G=="function")h++,G.call(g,ee=>{d=ee,ee!=null&&T.write(ee),v&&T.end(),ES.nextTick(p)},ee=>{T.destroy(ee),ES.nextTick(p,ee)});else if(fA(g,!0))h++,D1(g,T,p,{end:v});else if(kW(g)||_E(g)){let ee=g.readable||g;h++,D1(ee,T,p,{end:v})}else throw new DW("AsyncIterable or Promise","destination",g);g=T;let{destroy:V,cleanup:W}=$Re(g,!1,!0);f.push(V),j&&a.push(W)}}else if(jRe(B)){if(Q1(g)){h+=2;let T=L_t(g,B,p,{end:v});QW(B)&&j&&a.push(T)}else if(_E(g)||kW(g)){let T=g.readable||g;h++,D1(T,B,p,{end:v})}else if(fA(g))h++,D1(g,B,p,{end:v});else throw new UW("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else if(T_t(B)){if(Q1(g))h++,MW(FW(g),B,p,{end:v});else if(kW(g)||fA(g))h++,MW(g,B,p,{end:v});else if(_E(g))h++,MW(g.readable,B,p,{end:v});else throw new UW("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else g=zRe.from(B)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&ES.nextTick(c),g}o(JRe,"pipelineImpl");function L_t(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new v_t)}),t.pipe(e,{end:!1}),n){let a=function(){i=!0,e.end()};var s=a;o(a,"endFn"),D_t(t)?ES.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(L_t,"pipe");WRe.exports={pipelineImpl:JRe,pipeline:O_t}});var GW=A((F_r,tTe)=>{"use strict";var{pipeline:F_t}=P1(),O1=ql(),{destroyer:M_t}=lA(),{isNodeStream:L1,isReadable:YRe,isWritable:KRe,isWebStream:qW,isTransformStream:hA,isWritableStream:XRe,isReadableStream:ZRe}=Ml(),{AbortError:U_t,codes:{ERR_INVALID_ARG_VALUE:eTe,ERR_MISSING_ARGS:q_t}}=os(),G_t=ud();tTe.exports=o(function(...e){if(e.length===0)throw new q_t("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&&!(KRe(e[p])||XRe(e[p])||hA(e[p])))throw new eTe(`streams[${p}]`,r[p],"must be writable")}let n,i,s,a,c;function l(p){let m=a;a=null,m?m(p):p?c.destroy(p):!h&&!f&&c.destroy()}o(l,"onfinished");let u=e[0],d=F_t(e,l),f=!!(KRe(u)||XRe(u)||hA(u)),h=!!(YRe(d)||ZRe(d)||hA(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(m,g,E){u.write(m,g)?E():n=E},c._final=function(m){u.end(),i=m},u.on("drain",function(){if(n){let m=n;n=null,m()}});else if(qW(u)){let g=(hA(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=hA(d)?d.readable:d;G_t(p,()=>{if(i){let m=i;i=null,m()}})}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(qW(d)){let m=(hA(d)?d.readable:d).getReader();c._read=async function(){for(;;)try{let{value:g,done:E}=await m.read();if(!c.push(g))return;if(E){c.push(null);return}}catch{return}}}}return c._destroy=function(p,m){!p&&a!==null&&(p=new U_t),s=null,n=null,i=null,a===null?m(p):(a=m,L1(d)&&M_t(d,p))},c},"compose")});var dTe=A((U_r,zW)=>{"use strict";var H_t=globalThis.AbortController||gE().AbortController,{codes:{ERR_INVALID_ARG_VALUE:V_t,ERR_INVALID_ARG_TYPE:CS,ERR_MISSING_ARGS:z_t,ERR_OUT_OF_RANGE:j_t},AbortError:Gl}=os(),{validateAbortSignal:pA,validateInteger:rTe,validateObject:AA}=EE(),$_t=_r().Symbol("kWeak"),J_t=_r().Symbol("kResistStopPropagation"),{finished:W_t}=ud(),Y_t=GW(),{addAbortSignalNoValidate:K_t}=dS(),{isWritable:X_t,isNodeStream:Z_t}=Ml(),{deprecate:eRt}=Ri(),{ArrayPrototypePush:tRt,Boolean:rRt,MathFloor:nTe,Number:nRt,NumberIsNaN:iRt,Promise:iTe,PromiseReject:sTe,PromiseResolve:sRt,PromisePrototypeThen:oTe,Symbol:cTe}=_r(),F1=cTe("kEmpty"),aTe=cTe("kEof");function oRt(t,e){if(e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal"),Z_t(t)&&!X_t(t))throw new V_t("stream",t,"must be writable");let r=Y_t(this,t);return e!=null&&e.signal&&K_t(e.signal,r),r}o(oRt,"compose");function M1(t,e){if(typeof t!="function")throw new CS("fn",["Function","AsyncFunction"],t);e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal");let r=1;e?.concurrency!=null&&(r=nTe(e.concurrency));let n=r-1;return e?.highWaterMark!=null&&(n=nTe(e.highWaterMark)),rTe(r,"options.concurrency",1),rTe(n,"options.highWaterMark",0),n+=r,o(async function*(){let s=Ri().AbortSignalAny([e?.signal].filter(rRt)),a=this,c=[],l={signal:s},u,d,f=!1,h=0;function p(){f=!0,m()}o(p,"onCatch");function m(){h-=1,g()}o(m,"afterItemProcessed");function g(){d&&!f&&h=n||h>=r)&&await new iTe(C=>{d=C})}c.push(aTe)}catch(y){let C=sTe(y);oTe(C,m,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===aTe)return;if(s.aborted)throw new Gl;y!==F1&&(yield y),c.shift(),g()}await new iTe(y=>{u=y})}}finally{f=!0,d&&(d(),d=null)}},"map").call(this)}o(M1,"map");function aRt(t=void 0){return t!=null&&AA(t,"options"),t?.signal!=null&&pA(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 Gl({cause:t.signal.reason});yield[r++,i]}},"asIndexedPairs").call(this)}o(aRt,"asIndexedPairs");async function lTe(t,e=void 0){for await(let r of VW.call(this,t,e))return!0;return!1}o(lTe,"some");async function cRt(t,e=void 0){if(typeof t!="function")throw new CS("fn",["Function","AsyncFunction"],t);return!await lTe.call(this,async(...r)=>!await t(...r),e)}o(cRt,"every");async function lRt(t,e){for await(let r of VW.call(this,t,e))return r}o(lRt,"find");async function uRt(t,e){if(typeof t!="function")throw new CS("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(uRt,"forEach");function VW(t,e){if(typeof t!="function")throw new CS("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(VW,"filter");var HW=class extends z_t{static{o(this,"ReduceAwareErrMissingArgs")}constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function dRt(t,e,r){var n;if(typeof t!="function")throw new CS("reducer",["Function","AsyncFunction"],t);r!=null&&AA(r,"options"),r?.signal!=null&&pA(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let u=new Gl(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await W_t(this.destroy(u)),u}let s=new H_t,a=s.signal;if(r!=null&&r.signal){let u={once:!0,[$_t]:this,[J_t]:!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 Gl;i?e=await t(e,u,{signal:a}):(e=u,i=!0)}if(!c&&!i)throw new HW}finally{s.abort()}return e}o(dRt,"reduce");async function fRt(t){t!=null&&AA(t,"options"),t?.signal!=null&&pA(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 Gl(void 0,{cause:t.signal.reason});tRt(e,n)}return e}o(fRt,"toArray");function hRt(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(hRt,"flatMap");function uTe(t){if(t=nRt(t),iRt(t))return 0;if(t<0)throw new j_t("number",">= 0",t);return t}o(uTe,"toIntegerOrInfinity");function pRt(t,e=void 0){return e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal"),t=uTe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Gl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Gl;t--<=0&&(yield s)}},"drop").call(this)}o(pRt,"drop");function ARt(t,e=void 0){return e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal"),t=uTe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Gl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Gl;if(t-- >0&&(yield s),t<=0)return}},"take").call(this)}o(ARt,"take");zW.exports.streamReturningOperators={asIndexedPairs:eRt(aRt,"readable.asIndexedPairs will be removed in a future version."),drop:pRt,filter:VW,flatMap:hRt,map:M1,take:ARt,compose:oRt};zW.exports.promiseReturningOperators={every:cRt,forEach:uRt,reduce:dRt,toArray:fRt,some:lTe,find:lRt}});var jW=A((G_r,fTe)=>{"use strict";var{ArrayPrototypePop:mRt,Promise:gRt}=_r(),{isIterable:yRt,isNodeStream:ERt,isWebStream:CRt}=Ml(),{pipelineImpl:bRt}=P1(),{finished:wRt}=ud();$W();function IRt(...t){return new gRt((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!ERt(s)&&!yRt(s)&&!CRt(s)){let a=mRt(t);n=a.signal,i=a.end}bRt(t,(a,c)=>{a?r(a):e(c)},{signal:n,end:i})})}o(IRt,"pipeline");fTe.exports={finished:wRt,pipeline:IRt}});var $W=A((V_r,bTe)=>{var{Buffer:SRt}=require("buffer"),{ObjectDefineProperty:hd,ObjectKeys:ATe,ReflectApply:mTe}=_r(),{promisify:{custom:gTe}}=Ri(),{streamReturningOperators:hTe,promiseReturningOperators:pTe}=dTe(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:yTe}}=os(),BRt=GW(),{setDefaultHighWaterMark:xRt,getDefaultHighWaterMark:vRt}=fS(),{pipeline:ETe}=P1(),{destroyer:NRt}=lA(),CTe=ud(),JW=jW(),bS=Ml(),dr=bTe.exports=E1().Stream;dr.isDestroyed=bS.isDestroyed;dr.isDisturbed=bS.isDisturbed;dr.isErrored=bS.isErrored;dr.isReadable=bS.isReadable;dr.isWritable=bS.isWritable;dr.Readable=pS();for(let t of ATe(hTe)){let r=function(...n){if(new.target)throw yTe();return dr.Readable.from(mTe(e,this,n))};WW=r,o(r,"fn");let e=hTe[t];hd(r,"name",{__proto__:null,value:e.name}),hd(r,"length",{__proto__:null,value:e.length}),hd(dr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var WW;for(let t of ATe(pTe)){let r=function(...i){if(new.target)throw yTe();return mTe(e,this,i)};WW=r,o(r,"fn");let e=pTe[t];hd(r,"name",{__proto__:null,value:e.name}),hd(r,"length",{__proto__:null,value:e.length}),hd(dr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var WW;dr.Writable=T1();dr.Duplex=ql();dr.Transform=_W();dr.PassThrough=TW();dr.pipeline=ETe;var{addAbortSignal:_Rt}=dS();dr.addAbortSignal=_Rt;dr.finished=CTe;dr.destroy=NRt;dr.compose=BRt;dr.setDefaultHighWaterMark=xRt;dr.getDefaultHighWaterMark=vRt;hd(dr,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return JW}});hd(ETe,gTe,{__proto__:null,enumerable:!0,get(){return JW.pipeline}});hd(CTe,gTe,{__proto__:null,enumerable:!0,get(){return JW.finished}});dr.Stream=dr;dr._isUint8Array=o(function(e){return e instanceof Uint8Array},"isUint8Array");dr._uint8ArrayToBuffer=o(function(e){return SRt.from(e.buffer,e.byteOffset,e.byteLength)},"_uint8ArrayToBuffer")});var mA=A((j_r,ht)=>{"use strict";var Fn=require("stream");if(Fn&&process.env.READABLE_STREAM==="disable"){let t=Fn.promises;ht.exports._uint8ArrayToBuffer=Fn._uint8ArrayToBuffer,ht.exports._isUint8Array=Fn._isUint8Array,ht.exports.isDisturbed=Fn.isDisturbed,ht.exports.isErrored=Fn.isErrored,ht.exports.isReadable=Fn.isReadable,ht.exports.Readable=Fn.Readable,ht.exports.Writable=Fn.Writable,ht.exports.Duplex=Fn.Duplex,ht.exports.Transform=Fn.Transform,ht.exports.PassThrough=Fn.PassThrough,ht.exports.addAbortSignal=Fn.addAbortSignal,ht.exports.finished=Fn.finished,ht.exports.destroy=Fn.destroy,ht.exports.pipeline=Fn.pipeline,ht.exports.compose=Fn.compose,Object.defineProperty(Fn,"promises",{configurable:!0,enumerable:!0,get(){return t}}),ht.exports.Stream=Fn.Stream}else{let t=$W(),e=jW(),r=t.Readable.destroy;ht.exports=t.Readable,ht.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,ht.exports._isUint8Array=t._isUint8Array,ht.exports.isDisturbed=t.isDisturbed,ht.exports.isErrored=t.isErrored,ht.exports.isReadable=t.isReadable,ht.exports.Readable=t.Readable,ht.exports.Writable=t.Writable,ht.exports.Duplex=t.Duplex,ht.exports.Transform=t.Transform,ht.exports.PassThrough=t.PassThrough,ht.exports.addAbortSignal=t.addAbortSignal,ht.exports.finished=t.finished,ht.exports.destroy=t.destroy,ht.exports.destroy=r,ht.exports.pipeline=t.pipeline,ht.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return e}}),ht.exports.Stream=t.Stream}ht.exports.default=ht.exports});var ITe=A(($_r,wTe)=>{function RRt(t,e){for(var r=-1,n=e.length,i=t.length;++r{var STe=i1(),TRt=PJ(),DRt=OJ(),BTe=STe?STe.isConcatSpreadable:void 0;function QRt(t){return DRt(t)||TRt(t)||!!(BTe&&t&&t[BTe])}o(QRt,"isFlattenable");xTe.exports=QRt});var U1=A((K_r,_Te)=>{var kRt=ITe(),PRt=vTe();function NTe(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=PRt),i||(i=[]);++s0&&r(c)?e>1?NTe(c,e-1,r,n,i):kRt(i,c):n||(i[i.length]=c)}return i}o(NTe,"baseFlatten");_Te.exports=NTe});var TTe=A((Z_r,RTe)=>{var ORt=U1();function LRt(t){var e=t==null?0:t.length;return e?ORt(t,1):[]}o(LRt,"flatten");RTe.exports=LRt});var wS=A((tRr,DTe)=>{var FRt=rS(),MRt=FRt(Object,"create");DTe.exports=MRt});var PTe=A((rRr,kTe)=>{var QTe=wS();function URt(){this.__data__=QTe?QTe(null):{},this.size=0}o(URt,"hashClear");kTe.exports=URt});var LTe=A((iRr,OTe)=>{function qRt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}o(qRt,"hashDelete");OTe.exports=qRt});var MTe=A((oRr,FTe)=>{var GRt=wS(),HRt="__lodash_hash_undefined__",VRt=Object.prototype,zRt=VRt.hasOwnProperty;function jRt(t){var e=this.__data__;if(GRt){var r=e[t];return r===HRt?void 0:r}return zRt.call(e,t)?e[t]:void 0}o(jRt,"hashGet");FTe.exports=jRt});var qTe=A((cRr,UTe)=>{var $Rt=wS(),JRt=Object.prototype,WRt=JRt.hasOwnProperty;function YRt(t){var e=this.__data__;return $Rt?e[t]!==void 0:WRt.call(e,t)}o(YRt,"hashHas");UTe.exports=YRt});var HTe=A((uRr,GTe)=>{var KRt=wS(),XRt="__lodash_hash_undefined__";function ZRt(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=KRt&&e===void 0?XRt:e,this}o(ZRt,"hashSet");GTe.exports=ZRt});var zTe=A((fRr,VTe)=>{var eTt=PTe(),tTt=LTe(),rTt=MTe(),nTt=qTe(),iTt=HTe();function RE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{function sTt(){this.__data__=[],this.size=0}o(sTt,"listCacheClear");jTe.exports=sTt});var IS=A((mRr,JTe)=>{var oTt=o1();function aTt(t,e){for(var r=t.length;r--;)if(oTt(t[r][0],e))return r;return-1}o(aTt,"assocIndexOf");JTe.exports=aTt});var YTe=A((yRr,WTe)=>{var cTt=IS(),lTt=Array.prototype,uTt=lTt.splice;function dTt(t){var e=this.__data__,r=cTt(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():uTt.call(e,r,1),--this.size,!0}o(dTt,"listCacheDelete");WTe.exports=dTt});var XTe=A((CRr,KTe)=>{var fTt=IS();function hTt(t){var e=this.__data__,r=fTt(e,t);return r<0?void 0:e[r][1]}o(hTt,"listCacheGet");KTe.exports=hTt});var e2e=A((wRr,ZTe)=>{var pTt=IS();function ATt(t){return pTt(this.__data__,t)>-1}o(ATt,"listCacheHas");ZTe.exports=ATt});var r2e=A((SRr,t2e)=>{var mTt=IS();function gTt(t,e){var r=this.__data__,n=mTt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}o(gTt,"listCacheSet");t2e.exports=gTt});var i2e=A((xRr,n2e)=>{var yTt=$Te(),ETt=YTe(),CTt=XTe(),bTt=e2e(),wTt=r2e();function TE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var ITt=rS(),STt=fE(),BTt=ITt(STt,"Map");s2e.exports=BTt});var l2e=A((_Rr,c2e)=>{var a2e=zTe(),xTt=i2e(),vTt=o2e();function NTt(){this.size=0,this.__data__={hash:new a2e,map:new(vTt||xTt),string:new a2e}}o(NTt,"mapCacheClear");c2e.exports=NTt});var d2e=A((TRr,u2e)=>{function _Tt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}o(_Tt,"isKeyable");u2e.exports=_Tt});var SS=A((QRr,f2e)=>{var RTt=d2e();function TTt(t,e){var r=t.__data__;return RTt(e)?r[typeof e=="string"?"string":"hash"]:r.map}o(TTt,"getMapData");f2e.exports=TTt});var p2e=A((PRr,h2e)=>{var DTt=SS();function QTt(t){var e=DTt(this,t).delete(t);return this.size-=e?1:0,e}o(QTt,"mapCacheDelete");h2e.exports=QTt});var m2e=A((LRr,A2e)=>{var kTt=SS();function PTt(t){return kTt(this,t).get(t)}o(PTt,"mapCacheGet");A2e.exports=PTt});var y2e=A((MRr,g2e)=>{var OTt=SS();function LTt(t){return OTt(this,t).has(t)}o(LTt,"mapCacheHas");g2e.exports=LTt});var C2e=A((qRr,E2e)=>{var FTt=SS();function MTt(t,e){var r=FTt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}o(MTt,"mapCacheSet");E2e.exports=MTt});var w2e=A((HRr,b2e)=>{var UTt=l2e(),qTt=p2e(),GTt=m2e(),HTt=y2e(),VTt=C2e();function DE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var zTt="__lodash_hash_undefined__";function jTt(t){return this.__data__.set(t,zTt),this}o(jTt,"setCacheAdd");I2e.exports=jTt});var x2e=A(($Rr,B2e)=>{function $Tt(t){return this.__data__.has(t)}o($Tt,"setCacheHas");B2e.exports=$Tt});var YW=A((WRr,v2e)=>{var JTt=w2e(),WTt=S2e(),YTt=x2e();function q1(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new JTt;++e{function KTt(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s{function XTt(t){return t!==t}o(XTt,"baseIsNaN");R2e.exports=XTt});var Q2e=A((tTr,D2e)=>{function ZTt(t,e,r){for(var n=r-1,i=t.length;++n{var e2t=_2e(),t2t=T2e(),r2t=Q2e();function n2t(t,e,r){return e===e?r2t(t,e,r):e2t(t,t2t,r)}o(n2t,"baseIndexOf");k2e.exports=n2t});var KW=A((sTr,O2e)=>{var i2t=P2e();function s2t(t,e){var r=t==null?0:t.length;return!!r&&i2t(t,e,0)>-1}o(s2t,"arrayIncludes");O2e.exports=s2t});var XW=A((aTr,L2e)=>{function o2t(t,e,r){for(var n=-1,i=t==null?0:t.length;++n{function a2t(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{function c2t(t,e){return t.has(e)}o(c2t,"cacheHas");U2e.exports=c2t});var G2e=A((hTr,q2e)=>{var l2t=YW(),u2t=KW(),d2t=XW(),f2t=M2e(),h2t=LJ(),p2t=ZW(),A2t=200;function m2t(t,e,r,n){var i=-1,s=u2t,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=f2t(e,h2t(r))),n?(s=d2t,a=!1):e.length>=A2t&&(s=p2t,a=!1,e=new l2t(e));e:for(;++i{var g2t=a1(),y2t=hE();function E2t(t){return y2t(t)&&g2t(t)}o(E2t,"isArrayLikeObject");H2e.exports=E2t});var j2e=A((gTr,z2e)=>{var C2t=G2e(),b2t=U1(),w2t=s1(),V2e=e9(),I2t=w2t(function(t,e){return V2e(t)?C2t(t,b2t(e,1,V2e,!0)):[]});z2e.exports=I2t});var J2e=A((yTr,$2e)=>{var S2t=rS(),B2t=fE(),x2t=S2t(B2t,"Set");$2e.exports=x2t});var Y2e=A((ETr,W2e)=>{function v2t(){}o(v2t,"noop");W2e.exports=v2t});var t9=A((bTr,K2e)=>{function N2t(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}o(N2t,"setToArray");K2e.exports=N2t});var Z2e=A((ITr,X2e)=>{var r9=J2e(),_2t=Y2e(),R2t=t9(),T2t=1/0,D2t=r9&&1/R2t(new r9([,-0]))[1]==T2t?function(t){return new r9(t)}:_2t;X2e.exports=D2t});var tDe=A((STr,eDe)=>{var Q2t=YW(),k2t=KW(),P2t=XW(),O2t=ZW(),L2t=Z2e(),F2t=t9(),M2t=200;function U2t(t,e,r){var n=-1,i=k2t,s=t.length,a=!0,c=[],l=c;if(r)a=!1,i=P2t;else if(s>=M2t){var u=e?null:L2t(t);if(u)return F2t(u);a=!1,i=O2t,l=new Q2t}else l=e?[]:c;e:for(;++n{var q2t=U1(),G2t=s1(),H2t=tDe(),V2t=e9(),z2t=G2t(function(t){return H2t(q2t(t,1,V2t,!0))});rDe.exports=z2t});var sDe=A((vTr,iDe)=>{function j2t(t,e){return function(r){return t(e(r))}}o(j2t,"overArg");iDe.exports=j2t});var aDe=A((_Tr,oDe)=>{var $2t=sDe(),J2t=$2t(Object.getPrototypeOf,Object);oDe.exports=J2t});var uDe=A((RTr,lDe)=>{var W2t=eS(),Y2t=aDe(),K2t=hE(),X2t="[object Object]",Z2t=Function.prototype,eDt=Object.prototype,cDe=Z2t.toString,tDt=eDt.hasOwnProperty,rDt=cDe.call(Object);function nDt(t){if(!K2t(t)||W2t(t)!=X2t)return!1;var e=Y2t(t);if(e===null)return!0;var r=tDt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&cDe.call(r)==rDt}o(nDt,"isPlainObject");lDe.exports=nDt});var dDe=A(G1=>{"use strict";Object.defineProperty(G1,"__esModule",{value:!0});G1.assertValidPattern=void 0;var iDt=1024*64,sDt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>iDt)throw new TypeError("pattern is too long")},"assertValidPattern");G1.assertValidPattern=sDt});var hDe=A(H1=>{"use strict";Object.defineProperty(H1,"__esModule",{value:!0});H1.parseClass=void 0;var oDt={"[: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]},BS=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),aDt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),fDe=o(t=>t.join(""),"rangesToString"),cDt=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(BS(f)+"-"+BS(g)):g===f&&n.push(BS(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(BS(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(BS(g)),s++}if(d{"use strict";Object.defineProperty(V1,"__esModule",{value:!0});V1.unescape=void 0;var lDt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),"unescape");V1.unescape=lDt});var s9=A(W1=>{"use strict";var Fs;Object.defineProperty(W1,"__esModule",{value:!0});W1.AST=void 0;var uDt=hDe(),j1=z1(),dDt=new Set(["!","?","+","*","@"]),n9=o(t=>dDt.has(t),"isExtglobType"),pDe=o(t=>n9(t.type),"isExtglobAST"),fDt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),hDt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),pDt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),ADe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),ADt="(?!(?:^|/)\\.\\.?(?:$|/))",$1="(?!\\.)",mDt=new Set(["[","."]),gDt=new Set(["..","."]),yDt=new Set("().*{}+?[]^$\\!"),EDt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),i9="[^/]",mDe=i9+"*?",gDe=i9+"+?",J1=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[m,g,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,m}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&gDt.has(this.#r[0]))){let m=mDt,g=r&&m.has(u.charAt(0))||u.startsWith("\\.")&&m.has(u.charAt(2))||u.startsWith("\\.\\.")&&m.has(u.charAt(4)),E=!r&&!e&&m.has(u.charAt(0));d=g?ADt:E?$1:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,j1.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,j1.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!$1?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?$1:"")+gDe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?$1:"")+mDe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,j1.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(Y1,"__esModule",{value:!0});Y1.escape=void 0;var CDt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");Y1.escape=CDt});var Hf=A(pe=>{"use strict";var bDt=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 wDt=bDt(j6()),K1=dDe(),CDe=s9(),IDt=o9(),SDt=z1(),BDt=o((t,e,r={})=>((0,K1.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new gA(e,r).match(t)),"minimatch");pe.minimatch=BDt;var xDt=/^\*+([^+@!?\*\[\(]*)$/,vDt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),NDt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),_Dt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),RDt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),TDt=/^\*+\.\*+$/,DDt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),QDt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),kDt=/^\.\*+$/,PDt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),ODt=/^\*+$/,LDt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),FDt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),MDt=/^\?+([^+@!?\*\[\(]*)?$/,UDt=o(([t,e=""])=>{let r=bDe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),qDt=o(([t,e=""])=>{let r=wDe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),GDt=o(([t,e=""])=>{let r=wDe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),HDt=o(([t,e=""])=>{let r=bDe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),bDe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),wDe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),IDe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",yDe={win32:{sep:"\\"},posix:{sep:"/"}};pe.sep=IDe==="win32"?yDe.win32.sep:yDe.posix.sep;pe.minimatch.sep=pe.sep;pe.GLOBSTAR=Symbol("globstar **");pe.minimatch.GLOBSTAR=pe.GLOBSTAR;var VDt="[^/]",zDt=VDt+"*?",jDt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",$Dt="(?:(?!(?:\\/|^)\\.).)*?",JDt=o((t,e={})=>r=>(0,pe.minimatch)(r,t,e),"filter");pe.filter=JDt;pe.minimatch.filter=pe.filter;var Ca=o((t,e={})=>Object.assign({},t,e),"ext"),WDt=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,Ca(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Ca(t,s))}static defaults(i){return e.defaults(Ca(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Ca(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Ca(t,s))}},unescape:o((n,i={})=>e.unescape(n,Ca(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Ca(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Ca(t,i)),"filter"),defaults:o(n=>e.defaults(Ca(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Ca(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Ca(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Ca(t,s)),"match"),sep:e.sep,GLOBSTAR:pe.GLOBSTAR})},"defaults");pe.defaults=WDt;pe.minimatch.defaults=pe.defaults;var YDt=o((t,e={})=>((0,K1.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,wDt.default)(t)),"braceExpand");pe.braceExpand=YDt;pe.minimatch.braceExpand=pe.braceExpand;var KDt=o((t,e={})=>new gA(t,e).makeRe(),"makeRe");pe.makeRe=KDt;pe.minimatch.makeRe=pe.makeRe;var XDt=o((t,e,r={})=>{let n=new gA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");pe.match=XDt;pe.minimatch.match=pe.match;var EDe=/[?*]|[+@!]\(.*?\)|\[|\]/,ZDt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),gA=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||IDe,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]==="?"||!EDe.test(s[2]))&&!EDe.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 w=i;w{let u=l.map(d=>{if(d instanceof RegExp)for(let f of d.flags.split(""))i.add(f);return typeof d=="string"?ZDt(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 QE=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,BDe=new Set,a9=typeof process=="object"&&process?process:{},xDe=o((t,e,r,n)=>{typeof a9.emitWarning=="function"?a9.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},"emitWarning"),X1=globalThis.AbortController,SDe=globalThis.AbortSignal;if(typeof X1>"u"){SDe=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 SDe;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=a9.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{t&&(t=!1,xDe("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 nQt=o(t=>!BDe.has(t),"shouldWarn"),Vf=o(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),vDe=o(t=>Vf(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)}},c9=class t{static{o(this,"Stack")}heap;length;static#e=!1;static create(e){let r=vDe(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]}},l9=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;#w;#C;#b;#g;#x;#d;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#b,sizes:e.#w,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.#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:d,noDisposeOnSet:f,noUpdateTTL:h,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:g,fetchMethod:E,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:B,ignoreFetchAbort:Q}=e;if(r!==0&&!Vf(r))throw new TypeError("max option must be a nonnegative integer");let M=r?vDe(r):Array;if(!M)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=p,this.maxEntrySize=m||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.#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=c9.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=!!w,this.allowStaleOnFetchAbort=!!B,this.ignoreFetchAbort=!!Q,this.maxEntrySize!==0){if(this.#t!==0&&!Vf(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!Vf(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=Vf(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Vf(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 v="LRU_CACHE_UNBOUNDED";nQt(v)&&(BDe.add(v),xDe("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}#I(){let e=new kE(this.#e),r=new kE(this.#e);this.#b=e,this.#C=r,this.#u=(s,a,c=QE.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?QE.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=QE.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");#T(){let e=new kE(this.#e);this.#l=0,this.#w=e,this.#N=r=>{this.#l-=e[r],e[r]=0},this.#O=(r,n,i,s)=>{if(this.#h(n))return 0;if(!Vf(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!Vf(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]}*#R({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.#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.#_()){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.#_())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.#_()){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.#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-(QE.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.#_({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=QE.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=QE.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.#I(),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((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 f(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"),d=o(g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),f(g)),"eb"),f=o(g=>{let{aborted:E}=a.signal,y=E&&n.allowStaleOnFetchAbort,C=y||n.allowStaleOnFetchRejection,w=C||n.noDeleteOnFetchRejection,B=p;if(this.#o[r]===p&&(!w||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 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,d),m=Object.assign(p,{__abortController:a,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,m,{...l.options,status:void 0}),r=this.#a.get(e)):this.#o[r]=m,m}#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:m=this.allowStaleOnFetchAbort,context:g,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 w={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:a,noDisposeOnSet:c,size:l,sizeCalculation:u,noUpdateTTL:d,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:m,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,w,g);return Q.__returned=Q}else{let Q=this.#o[B];if(this.#h(Q)){let G=n&&Q.__staleWhileFetching!==void 0;return y&&(y.fetch="inflight",G&&(y.returnedStale=!0)),G?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,w,g),T=v.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=M?"stale":"refresh",T&&M&&(y.returnedStale=!0)),T?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.#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.#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.#w&&this.#w.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=l9});var kDe=A(cs=>{"use strict";var iQt=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 _De=typeof process=="object"&&process?process:{stdout:null,stderr:null},m9=require("events"),QDe=iQt(require("stream")),sQt=require("string_decoder"),oQt=o(t=>!!t&&typeof t=="object"&&(t instanceof ok||t instanceof QDe.default||(0,cs.isReadable)(t)||(0,cs.isWritable)(t)),"isStream");cs.isStream=oQt;var aQt=o(t=>!!t&&typeof t=="object"&&t instanceof m9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==QDe.default.Writable.prototype.pipe,"isReadable");cs.isReadable=aQt;var cQt=o(t=>!!t&&typeof t=="object"&&t instanceof m9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");cs.isWritable=cQt;var pd=Symbol("EOF"),Ad=Symbol("maybeEmitEnd"),zf=Symbol("emittedEnd"),ek=Symbol("emittingEnd"),xS=Symbol("emittedError"),tk=Symbol("closed"),RDe=Symbol("read"),rk=Symbol("flush"),TDe=Symbol("flushChunk"),Ac=Symbol("encoding"),PE=Symbol("decoder"),Kn=Symbol("flowing"),vS=Symbol("paused"),OE=Symbol("resume"),Xn=Symbol("buffer"),as=Symbol("pipes"),Zn=Symbol("bufferLength"),u9=Symbol("bufferPush"),nk=Symbol("bufferShift"),Di=Symbol("objectMode"),ln=Symbol("destroyed"),d9=Symbol("error"),f9=Symbol("emitData"),DDe=Symbol("emitEnd"),h9=Symbol("emitEnd2"),Hl=Symbol("async"),p9=Symbol("abort"),ik=Symbol("aborted"),NS=Symbol("signal"),yA=Symbol("dataListeners"),Bo=Symbol("discarded"),_S=o(t=>Promise.resolve().then(t),"defer"),lQt=o(t=>t(),"nodefer"),uQt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),dQt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),fQt=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[OE](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},A9=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)}},hQt=o(t=>!!t.objectMode,"isObjectModeOptions"),pQt=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),ok=class extends m9.EventEmitter{static{o(this,"Minipass")}[Kn]=!1;[vS]=!1;[as]=[];[Xn]=[];[Di];[Ac];[Hl];[PE];[pd]=!1;[zf]=!1;[ek]=!1;[tk]=!1;[xS]=null;[Zn]=0;[ln]=!1;[NS];[ik]=!1;[yA]=0;[Bo]=!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");hQt(r)?(this[Di]=!0,this[Ac]=null):pQt(r)?(this[Ac]=r.encoding,this[Di]=!1):(this[Di]=!1,this[Ac]=null),this[Hl]=!!r.async,this[PE]=this[Ac]?new sQt.StringDecoder(this[Ac]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[Xn],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[as],"get")});let{signal:n}=r;n&&(this[NS]=n,n.aborted?this[p9]():n.addEventListener("abort",()=>this[p9]()))}get bufferLength(){return this[Zn]}get encoding(){return this[Ac]}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[Di]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Hl]}set async(e){this[Hl]=this[Hl]||!!e}[p9](){this[ik]=!0,this.emit("abort",this[NS]?.reason),this.destroy(this[NS]?.reason)}get aborted(){return this[ik]}set aborted(e){}write(e,r,n){if(this[ik])return!1;if(this[pd])throw new Error("write after end");if(this[ln])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[Hl]?_S:lQt;if(!this[Di]&&!Buffer.isBuffer(e)){if(fQt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(dQt(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Di]?(this[Kn]&&this[Zn]!==0&&this[rk](!0),this[Kn]?this.emit("data",e):this[u9](e),this[Zn]!==0&&this.emit("readable"),n&&i(n),this[Kn]):e.length?(typeof e=="string"&&!(r===this[Ac]&&!this[PE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Ac]&&(e=this[PE].write(e)),this[Kn]&&this[Zn]!==0&&this[rk](!0),this[Kn]?this.emit("data",e):this[u9](e),this[Zn]!==0&&this.emit("readable"),n&&i(n),this[Kn]):(this[Zn]!==0&&this.emit("readable"),n&&i(n),this[Kn])}read(e){if(this[ln])return null;if(this[Bo]=!1,this[Zn]===0||e===0||e&&e>this[Zn])return this[Ad](),null;this[Di]&&(e=null),this[Xn].length>1&&!this[Di]&&(this[Xn]=[this[Ac]?this[Xn].join(""):Buffer.concat(this[Xn],this[Zn])]);let r=this[RDe](e||null,this[Xn][0]);return this[Ad](),r}[RDe](e,r){if(this[Di])this[nk]();else{let n=r;e===n.length||e===null?this[nk]():typeof n=="string"?(this[Xn][0]=n.slice(e),r=n.slice(0,e),this[Zn]-=e):(this[Xn][0]=n.subarray(e),r=n.subarray(0,e),this[Zn]-=e)}return this.emit("data",r),!this[Xn].length&&!this[pd]&&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[pd]=!0,this.writable=!1,(this[Kn]||!this[vS])&&this[Ad](),this}[OE](){this[ln]||(!this[yA]&&!this[as].length&&(this[Bo]=!0),this[vS]=!1,this[Kn]=!0,this.emit("resume"),this[Xn].length?this[rk]():this[pd]?this[Ad]():this.emit("drain"))}resume(){return this[OE]()}pause(){this[Kn]=!1,this[vS]=!0,this[Bo]=!1}get destroyed(){return this[ln]}get flowing(){return this[Kn]}get paused(){return this[vS]}[u9](e){this[Di]?this[Zn]+=1:this[Zn]+=e.length,this[Xn].push(e)}[nk](){return this[Di]?this[Zn]-=1:this[Zn]-=this[Xn][0].length,this[Xn].shift()}[rk](e=!1){do;while(this[TDe](this[nk]())&&this[Xn].length);!e&&!this[Xn].length&&!this[pd]&&this.emit("drain")}[TDe](e){return this.emit("data",e),this[Kn]}pipe(e,r){if(this[ln])return e;this[Bo]=!1;let n=this[zf];return r=r||{},e===_De.stdout||e===_De.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[as].push(r.proxyErrors?new A9(this,e,r):new sk(this,e,r)),this[Hl]?_S(()=>this[OE]()):this[OE]()),e}unpipe(e){let r=this[as].find(n=>n.dest===e);r&&(this[as].length===1?(this[Kn]&&this[yA]===0&&(this[Kn]=!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[Bo]=!1,this[yA]++,!this[as].length&&!this[Kn]&&this[OE]();else if(e==="readable"&&this[Zn]!==0)super.emit("readable");else if(uQt(e)&&this[zf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[xS]){let i=r;this[Hl]?_S(()=>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[yA]=this.listeners("data").length,this[yA]===0&&!this[Bo]&&!this[as].length&&(this[Kn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[yA]=0,!this[Bo]&&!this[as].length&&(this[Kn]=!1)),r}get emittedEnd(){return this[zf]}[Ad](){!this[ek]&&!this[zf]&&!this[ln]&&this[Xn].length===0&&this[pd]&&(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!==ln&&this[ln])return!1;if(e==="data")return!this[Di]&&!n?!1:this[Hl]?(_S(()=>this[f9](n)),!0):this[f9](n);if(e==="end")return this[DDe]();if(e==="close"){if(this[tk]=!0,!this[zf]&&!this[ln])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[xS]=n,super.emit(d9,n);let s=!this[NS]||this.listeners("error").length?super.emit("error",n):!1;return this[Ad](),s}else if(e==="resume"){let s=super.emit("resume");return this[Ad](),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[Ad](),i}[f9](e){for(let n of this[as])n.dest.write(e)===!1&&this.pause();let r=this[Bo]?!1:super.emit("data",e);return this[Ad](),r}[DDe](){return this[zf]?!1:(this[zf]=!0,this.readable=!1,this[Hl]?(_S(()=>this[h9]()),!0):this[h9]())}[h9](){if(this[PE]){let r=this[PE].end();if(r){for(let n of this[as])n.dest.write(r);this[Bo]||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[Di]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[Di]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[Di])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Ac]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(ln,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[Bo]=!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[pd])return r();let s,a,c=o(f=>{this.off("data",l),this.off("end",u),this.off(ln,d),r(),a(f)},"onerr"),l=o(f=>{this.off("error",c),this.off("end",u),this.off(ln,d),this.pause(),s({value:f,done:!!this[pd]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(ln,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(ln,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[Bo]=!1;let e=!1,r=o(()=>(this.pause(),this.off(d9,r),this.off(ln,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(d9,r),this.once(ln,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[ln])return e?this.emit("error",e):this.emit(ln),this;this[ln]=!0,this[Bo]=!0,this[Xn].length=0,this[Zn]=0;let r=this;return typeof r.close=="function"&&!this[tk]&&r.close(),e?this.emit("error",e):this.emit(ln),this}static get isStream(){return cs.isStream}};cs.Minipass=ok});var WDe=A(Ut=>{"use strict";var AQt=Ut&&Ut.__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]})),mQt=Ut&&Ut.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),gQt=Ut&&Ut.__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)&&AQt(e,t,r);return mQt(e,t),e};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.PathScurry=Ut.Path=Ut.PathScurryDarwin=Ut.PathScurryPosix=Ut.PathScurryWin32=Ut.PathScurryBase=Ut.PathPosix=Ut.PathWin32=Ut.PathBase=Ut.ChildrenCache=Ut.ResolveCache=void 0;var UDe=NDe(),dk=require("node:path"),yQt=require("node:url"),TS=require("fs"),EQt=gQt(require("node:fs")),CQt=TS.realpathSync.native,ak=require("node:fs/promises"),PDe=kDe(),DS={lstatSync:TS.lstatSync,readdir:TS.readdir,readdirSync:TS.readdirSync,readlinkSync:TS.readlinkSync,realpathSync:CQt,promises:{lstat:ak.lstat,readdir:ak.readdir,readlink:ak.readlink,realpath:ak.realpath}},qDe=o(t=>!t||t===DS||t===EQt?DS:{...DS,...t,promises:{...DS.promises,...t.promises||{}}},"fsFromOption"),GDe=/^\\\\\?\\([a-z]:)\\?$/i,bQt=o(t=>t.replace(/\//g,"\\").replace(GDe,"$1\\"),"uncToDrive"),wQt=/[\\\/]/,wa=0,HDe=1,VDe=2,Vl=4,zDe=6,jDe=8,EA=10,$De=12,ba=15,RS=~ba,g9=16,ODe=32,QS=64,mc=128,ck=256,uk=512,LDe=QS|mc|uk,IQt=1023,y9=o(t=>t.isFile()?jDe:t.isDirectory()?Vl:t.isSymbolicLink()?EA:t.isCharacterDevice()?VDe:t.isBlockDevice()?zDe:t.isSocket()?$De:t.isFIFO()?HDe:wa,"entToType"),FDe=new Map,kS=o(t=>{let e=FDe.get(t);if(e)return e;let r=t.normalize("NFKD");return FDe.set(t,r),r},"normalize"),MDe=new Map,lk=o(t=>{let e=MDe.get(t);if(e)return e;let r=kS(t.toLowerCase());return MDe.set(t,r),r},"normalizeNocase"),PS=class extends UDe.LRUCache{static{o(this,"ResolveCache")}constructor(){super({max:256})}};Ut.ResolveCache=PS;var fk=class extends UDe.LRUCache{static{o(this,"ChildrenCache")}constructor(e=16*1024){super({maxSize:e,sizeCalculation:o(r=>r.length+1,"sizeCalculation")})}};Ut.ChildrenCache=fk;var JDe=Symbol("PathScurry setAsCwd"),Ei=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}#w;get mtime(){return this.#w}#C;get ctime(){return this.#C}#b;get birthtime(){return this.#b}#g;#x;#d;#I;#S;#v;#u;#B;#T;#N;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=wa,n,i,s,a,c){this.name=e,this.#g=s?lk(e):kS(e),this.#u=r&IQt,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=qDe(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&=~g9,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?lk(e):kS(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,wa,{...r,parent:this,fullpath:a});return this.canReaddir()||(c.#u|=mc),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.#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&ba)===wa}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&ba)===jDe}isDirectory(){return(this.#u&ba)===Vl}isCharacterDevice(){return(this.#u&ba)===VDe}isBlockDevice(){return(this.#u&ba)===zDe}isFIFO(){return(this.#u&ba)===HDe}isSocket(){return(this.#u&ba)===$De}isSymbolicLink(){return(this.#u&EA)===EA}lstatCached(){return this.#u&ODe?this:void 0}readlinkCached(){return this.#T}realpathCached(){return this.#N}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&ba;return!(e!==wa&&e!==EA||this.#u&ck||this.#u&mc)}calledReaddir(){return!!(this.#u&g9)}isENOENT(){return!!(this.#u&mc)}isNamed(e){return this.nocase?this.#g===lk(e):this.#g===kS(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|=g9;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&LDe)return!1;let e=ba&this.#u;return e===wa||e===Vl||e===EA}shouldWalk(e,r){return(this.#u&Vl)===Vl&&!(this.#u&LDe)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#N)return this.#N;if(!((uk|ck|mc)&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|mc)&this.#u))try{let e=this.#e.realpathSync(this.fullpath());return this.#N=this.resolve(e)}catch{this.#L()}}[JDe](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}};Ut.PathBase=Ei;var OS=class t extends Ei{static{o(this,"PathWin32")}sep="\\";splitSep=wQt;constructor(e,r=wa,n,i,s,a,c){super(e,r,n,i,s,a,c)}newChild(e,r=wa,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=bQt(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 MS(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(GDe,"$1\\"),e===r}};Ut.PathWin32=OS;var LS=class t extends Ei{static{o(this,"PathPosix")}splitSep="/";sep="/";constructor(e,r=wa,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=wa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};Ut.PathPosix=LS;var FS=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=DS}={}){this.#r=qDe(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,yQt.fileURLToPath)(e));let c=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new PS,this.#t=new PS,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 m of l){let g=d--;u=u.child(m,{relative:new Array(g).fill("..").join(f),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(p?"":f)+m}),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 Ei||(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 Ei||(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 Ei||(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 Ei||(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 Ei||(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 Ei||(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 Ei||(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,m)=>{if(p)return h(p);let g=m.length;if(!g)return h();let E=o(()=>{--g===0&&h()},"next");for(let y of m)(!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 Ei||(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 Ei||(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 Ei||(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 Ei||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new PDe.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 m=o((E,y,C=!1)=>{if(E)return c.emit("error",E);if(i&&!C){let w=[];for(let B of y)B.isSymbolicLink()&&w.push(B.realpath().then(Q=>Q?.isUnknown()?Q.lstat():Q));if(w.length){Promise.all(w).then(()=>m(null,y,!0));return}}for(let w of y)w&&(!s||s(w))&&(c.write(n?w:w.fullpath())||(h=!0));d--;for(let w of y){let B=w.realpathCached()||w;B.shouldWalk(l,a)&&u.push(B)}h&&!c.flowing?c.once("drain",f):g||f()},"onReaddir"),g=!0;p.readdirCB(m,!0),g=!1}},"process");return f(),c}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ei||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new PDe.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 m=p.readdirSync();for(let g of m)(!s||s(g))&&(c.write(n?g:g.fullpath())||(h=!0));d--;for(let g of m){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",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[JDe](r)}};Ut.PathScurryBase=FS;var MS=class extends FS{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 OS(this.rootPath,Vl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};Ut.PathScurryWin32=MS;var US=class extends FS{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 LS(this.rootPath,Vl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};Ut.PathScurryPosix=US;var hk=class extends US{static{o(this,"PathScurryDarwin")}constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};Ut.PathScurryDarwin=hk;Ut.Path=process.platform==="win32"?OS:LS;Ut.PathScurry=process.platform==="win32"?MS:process.platform==="darwin"?hk:US});var C9=A(pk=>{"use strict";Object.defineProperty(pk,"__esModule",{value:!0});pk.Pattern=void 0;var SQt=Hf(),BQt=o(t=>t.length>=1,"isPatternList"),xQt=o(t=>t.length>=1,"isGlobList"),E9=class t{static{o(this,"Pattern")}#e;#t;#n;length;#r;#i;#s;#l;#a;#c;#o=!0;constructor(e,r,n,i){if(!BQt(e))throw new TypeError("empty pattern list");if(!xQt(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,...m]=this.#t;u[0]===""&&(u.shift(),m.shift());let g=[s,a,c,l,""].join("/"),E=[d,f,h,p,""].join("/");this.#e=[g,...u],this.#t=[E,...m],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]===SQt.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=E9});var tQe=A(us=>{"use strict";var vQt=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 YDe=typeof process=="object"&&process?process:{stdout:null,stderr:null},v9=require("node:events"),eQe=vQt(require("node:stream")),NQt=require("node:string_decoder"),_Qt=o(t=>!!t&&typeof t=="object"&&(t instanceof bk||t instanceof eQe.default||(0,us.isReadable)(t)||(0,us.isWritable)(t)),"isStream");us.isStream=_Qt;var RQt=o(t=>!!t&&typeof t=="object"&&t instanceof v9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==eQe.default.Writable.prototype.pipe,"isReadable");us.isReadable=RQt;var TQt=o(t=>!!t&&typeof t=="object"&&t instanceof v9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");us.isWritable=TQt;var md=Symbol("EOF"),gd=Symbol("maybeEmitEnd"),jf=Symbol("emittedEnd"),Ak=Symbol("emittingEnd"),qS=Symbol("emittedError"),mk=Symbol("closed"),KDe=Symbol("read"),gk=Symbol("flush"),XDe=Symbol("flushChunk"),gc=Symbol("encoding"),LE=Symbol("decoder"),ei=Symbol("flowing"),GS=Symbol("paused"),FE=Symbol("resume"),ti=Symbol("buffer"),ls=Symbol("pipes"),ri=Symbol("bufferLength"),b9=Symbol("bufferPush"),yk=Symbol("bufferShift"),Qi=Symbol("objectMode"),un=Symbol("destroyed"),w9=Symbol("error"),I9=Symbol("emitData"),ZDe=Symbol("emitEnd"),S9=Symbol("emitEnd2"),zl=Symbol("async"),B9=Symbol("abort"),Ek=Symbol("aborted"),HS=Symbol("signal"),CA=Symbol("dataListeners"),xo=Symbol("discarded"),VS=o(t=>Promise.resolve().then(t),"defer"),DQt=o(t=>t(),"nodefer"),QQt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),kQt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),PQt=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[FE](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},x9=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)}},OQt=o(t=>!!t.objectMode,"isObjectModeOptions"),LQt=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),bk=class extends v9.EventEmitter{static{o(this,"Minipass")}[ei]=!1;[GS]=!1;[ls]=[];[ti]=[];[Qi];[gc];[zl];[LE];[md]=!1;[jf]=!1;[Ak]=!1;[mk]=!1;[qS]=null;[ri]=0;[un]=!1;[HS];[Ek]=!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");OQt(r)?(this[Qi]=!0,this[gc]=null):LQt(r)?(this[gc]=r.encoding,this[Qi]=!1):(this[Qi]=!1,this[gc]=null),this[zl]=!!r.async,this[LE]=this[gc]?new NQt.StringDecoder(this[gc]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[ti],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[ls],"get")});let{signal:n}=r;n&&(this[HS]=n,n.aborted?this[B9]():n.addEventListener("abort",()=>this[B9]()))}get bufferLength(){return this[ri]}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}[B9](){this[Ek]=!0,this.emit("abort",this[HS]?.reason),this.destroy(this[HS]?.reason)}get aborted(){return this[Ek]}set aborted(e){}write(e,r,n){if(this[Ek])return!1;if(this[md])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]?VS:DQt;if(!this[Qi]&&!Buffer.isBuffer(e)){if(PQt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(kQt(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[ei]&&this[ri]!==0&&this[gk](!0),this[ei]?this.emit("data",e):this[b9](e),this[ri]!==0&&this.emit("readable"),n&&i(n),this[ei]):e.length?(typeof e=="string"&&!(r===this[gc]&&!this[LE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[gc]&&(e=this[LE].write(e)),this[ei]&&this[ri]!==0&&this[gk](!0),this[ei]?this.emit("data",e):this[b9](e),this[ri]!==0&&this.emit("readable"),n&&i(n),this[ei]):(this[ri]!==0&&this.emit("readable"),n&&i(n),this[ei])}read(e){if(this[un])return null;if(this[xo]=!1,this[ri]===0||e===0||e&&e>this[ri])return this[gd](),null;this[Qi]&&(e=null),this[ti].length>1&&!this[Qi]&&(this[ti]=[this[gc]?this[ti].join(""):Buffer.concat(this[ti],this[ri])]);let r=this[KDe](e||null,this[ti][0]);return this[gd](),r}[KDe](e,r){if(this[Qi])this[yk]();else{let n=r;e===n.length||e===null?this[yk]():typeof n=="string"?(this[ti][0]=n.slice(e),r=n.slice(0,e),this[ri]-=e):(this[ti][0]=n.subarray(e),r=n.subarray(0,e),this[ri]-=e)}return this.emit("data",r),!this[ti].length&&!this[md]&&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[md]=!0,this.writable=!1,(this[ei]||!this[GS])&&this[gd](),this}[FE](){this[un]||(!this[CA]&&!this[ls].length&&(this[xo]=!0),this[GS]=!1,this[ei]=!0,this.emit("resume"),this[ti].length?this[gk]():this[md]?this[gd]():this.emit("drain"))}resume(){return this[FE]()}pause(){this[ei]=!1,this[GS]=!0,this[xo]=!1}get destroyed(){return this[un]}get flowing(){return this[ei]}get paused(){return this[GS]}[b9](e){this[Qi]?this[ri]+=1:this[ri]+=e.length,this[ti].push(e)}[yk](){return this[Qi]?this[ri]-=1:this[ri]-=this[ti][0].length,this[ti].shift()}[gk](e=!1){do;while(this[XDe](this[yk]())&&this[ti].length);!e&&!this[ti].length&&!this[md]&&this.emit("drain")}[XDe](e){return this.emit("data",e),this[ei]}pipe(e,r){if(this[un])return e;this[xo]=!1;let n=this[jf];return r=r||{},e===YDe.stdout||e===YDe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[ls].push(r.proxyErrors?new x9(this,e,r):new Ck(this,e,r)),this[zl]?VS(()=>this[FE]()):this[FE]()),e}unpipe(e){let r=this[ls].find(n=>n.dest===e);r&&(this[ls].length===1?(this[ei]&&this[CA]===0&&(this[ei]=!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[xo]=!1,this[CA]++,!this[ls].length&&!this[ei]&&this[FE]();else if(e==="readable"&&this[ri]!==0)super.emit("readable");else if(QQt(e)&&this[jf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[qS]){let i=r;this[zl]?VS(()=>i.call(this,this[qS])):i.call(this,this[qS])}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[ls].length&&(this[ei]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[CA]=0,!this[xo]&&!this[ls].length&&(this[ei]=!1)),r}get emittedEnd(){return this[jf]}[gd](){!this[Ak]&&!this[jf]&&!this[un]&&this[ti].length===0&&this[md]&&(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!==un&&this[un])return!1;if(e==="data")return!this[Qi]&&!n?!1:this[zl]?(VS(()=>this[I9](n)),!0):this[I9](n);if(e==="end")return this[ZDe]();if(e==="close"){if(this[mk]=!0,!this[jf]&&!this[un])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[qS]=n,super.emit(w9,n);let s=!this[HS]||this.listeners("error").length?super.emit("error",n):!1;return this[gd](),s}else if(e==="resume"){let s=super.emit("resume");return this[gd](),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[gd](),i}[I9](e){for(let n of this[ls])n.dest.write(e)===!1&&this.pause();let r=this[xo]?!1:super.emit("data",e);return this[gd](),r}[ZDe](){return this[jf]?!1:(this[jf]=!0,this.readable=!1,this[zl]?(VS(()=>this[S9]()),!0):this[S9]())}[S9](){if(this[LE]){let r=this[LE].end();if(r){for(let n of this[ls])n.dest.write(r);this[xo]||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[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[md])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[md]})},"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.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[xo]=!1;let e=!1,r=o(()=>(this.pause(),this.off(w9,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(w9,r),this.once(un,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(e){if(this[un])return e?this.emit("error",e):this.emit(un),this;this[un]=!0,this[xo]=!0,this[ti].length=0,this[ri]=0;let r=this;return typeof r.close=="function"&&!this[mk]&&r.close(),e?this.emit("error",e):this.emit(un),this}static get isStream(){return us.isStream}};us.Minipass=bk});var _9=A(wk=>{"use strict";Object.defineProperty(wk,"__esModule",{value:!0});wk.Ignore=void 0;var rQe=Hf(),FQt=C9(),MQt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",N9=class{static{o(this,"Ignore")}relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:a=MQt}){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 rQe.Minimatch(e,this.mmopts);for(let n=0;n{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.Processor=jl.SubWalks=jl.MatchRecord=jl.HasWalkedCache=void 0;var nQe=Hf(),Ik=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()]))}};jl.HasWalkedCache=Ik;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)])}};jl.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())}};jl.SubWalks=Bk;var R9=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 Ik}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===nQe.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===nQe.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))}};jl.Processor=R9});var aQe=A($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.GlobStream=$f.GlobWalker=$f.GlobUtil=void 0;var UQt=tQe(),sQe=_9(),oQe=iQe(),qQt=o((t,e)=>typeof t=="string"?new sQe.Ignore([t],e):Array.isArray(t)?new sQe.Ignore(t,e):t,"makeIgnore"),zS=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=qQt(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 oQe.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 oQe.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()}};$f.GlobUtil=zS;var T9=class extends zS{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}};$f.GlobWalker=T9;var D9=class extends zS{static{o(this,"GlobStream")}results;constructor(e,r,n){super(e,r,n),this.results=new UQt.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}};$f.GlobStream=D9});var k9=A(Nk=>{"use strict";Object.defineProperty(Nk,"__esModule",{value:!0});Nk.Glob=void 0;var GQt=Hf(),HQt=require("node:url"),xk=WDe(),VQt=C9(),vk=aQe(),zQt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Q9=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,HQt.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||zQt,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 GQt.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 VQt.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=Q9});var P9=A(_k=>{"use strict";Object.defineProperty(_k,"__esModule",{value:!0});_k.hasMagic=void 0;var jQt=Hf(),$Qt=o((t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new jQt.Minimatch(r,e).hasMagic())return!0;return!1},"hasMagic");_k.hasMagic=$Qt});var dQe=A(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.glob=yt.sync=yt.iterate=yt.iterateSync=yt.stream=yt.streamSync=yt.Ignore=yt.hasMagic=yt.Glob=yt.unescape=yt.escape=void 0;yt.globStreamSync=jS;yt.globStream=O9;yt.globSync=L9;yt.globIterateSync=$S;yt.globIterate=F9;var cQe=Hf(),bA=k9(),JQt=P9(),uQe=Hf();Object.defineProperty(yt,"escape",{enumerable:!0,get:o(function(){return uQe.escape},"get")});Object.defineProperty(yt,"unescape",{enumerable:!0,get:o(function(){return uQe.unescape},"get")});var WQt=k9();Object.defineProperty(yt,"Glob",{enumerable:!0,get:o(function(){return WQt.Glob},"get")});var YQt=P9();Object.defineProperty(yt,"hasMagic",{enumerable:!0,get:o(function(){return YQt.hasMagic},"get")});var KQt=_9();Object.defineProperty(yt,"Ignore",{enumerable:!0,get:o(function(){return KQt.Ignore},"get")});function jS(t,e={}){return new bA.Glob(t,e).streamSync()}o(jS,"globStreamSync");function O9(t,e={}){return new bA.Glob(t,e).stream()}o(O9,"globStream");function L9(t,e={}){return new bA.Glob(t,e).walkSync()}o(L9,"globSync");async function lQe(t,e={}){return new bA.Glob(t,e).walk()}o(lQe,"glob_");function $S(t,e={}){return new bA.Glob(t,e).iterateSync()}o($S,"globIterateSync");function F9(t,e={}){return new bA.Glob(t,e).iterate()}o(F9,"globIterate");yt.streamSync=jS;yt.stream=Object.assign(O9,{sync:jS});yt.iterateSync=$S;yt.iterate=Object.assign(F9,{sync:$S});yt.sync=Object.assign(L9,{stream:jS,iterate:$S});yt.glob=Object.assign(lQe,{glob:lQe,globSync:L9,sync:yt.sync,globStream:O9,stream:yt.stream,globStreamSync:jS,streamSync:yt.streamSync,globIterate:F9,iterate:yt.iterate,globIterateSync:$S,iterateSync:yt.iterateSync,Glob:bA.Glob,hasMagic:JQt.hasMagic,escape:cQe.escape,unescape:cQe.unescape});yt.glob.glob=yt.glob});var AQe=A((m2r,pQe)=>{var hQe=iJ(),ME=require("path"),M9=TTe(),XQt=j2e(),ZQt=nDe(),e1t=uDe(),t1t=dQe(),wA=pQe.exports={},fQe=/[\/\\]/g,r1t=o(function(t,e){var r=[];return M9(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=XQt(r,s):r=ZQt(r,s)}),r},"processPatterns");wA.exists=function(){var t=ME.join.apply(ME,arguments);return hQe.existsSync(t)};wA.expand=function(...t){var e=e1t(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=ME.join(e.cwd||"",i);try{return typeof e.filter=="function"?e.filter(i):hQe.statSync(i)[e.filter]()}catch{return!1}})),n};wA.expandMapping=function(t,e,r){r=Object.assign({rename:o(function(s,a){return ME.join(s||"",a)},"rename")},r);var n=[],i={};return wA.expand(r,t).forEach(function(s){var a=s;r.flatten&&(a=ME.basename(a)),r.ext&&(a=a.replace(/(\.[^\/]*)?$/,r.ext));var c=r.rename(e,a,r);r.cwd&&(s=ME.join(r.cwd,s)),c=c.replace(fQe,"/"),s=s.replace(fQe,"/"),i[c]?i[c].src.push(s):(n.push({src:[s],dest:c}),i[c]=n[n.length-1])}),n};wA.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=M9(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return wA.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)?M9(a):[a],s.result=wA.expand(n,a)),s.result},"fn")}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var UE=A((E2r,yQe)=>{var U9=iJ(),mQe=require("path"),n1t=HQ(),i1t=qxe(),gQe=NJ(),s1t=bNe(),y2r=require("stream").Stream,o1t=mA().PassThrough,vo=yQe.exports={};vo.file=AQe();vo.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)})};vo.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};vo.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},s1t(...n)};vo.isStream=function(t){return n1t(t)};vo.lazyReadStream=function(t){return new i1t.Readable(function(){return U9.createReadStream(t)})};vo.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):vo.isStream(t)?t.pipe(new o1t):t};vo.sanitizePath=function(t){return gQe(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};vo.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};vo.unixifyPath=function(t){return gQe(t,!1).replace(/^\w+:/,"")};vo.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),U9.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=mQe.join(t,c),U9.stat(l,function(d,f){n.push({path:l,relative:mQe.relative(e,l).replace(/\\/g,"/"),stats:f}),f&&f.isDirectory()?vo.walkdir(l,e,function(h,p){if(h)return r(h);p.forEach(function(m){n.push(m)}),u()}):u()})}),"next")()})}});var wQe=A((CQe,bQe)=>{var a1t=require("util"),c1t={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 EQe(t,e){Error.captureStackTrace(this,this.constructor),this.message=c1t[t]||t,this.code=t,this.data=e}o(EQe,"ArchiverError");a1t.inherits(EQe,Error);CQe=bQe.exports=EQe});var vQe=A((w2r,xQe)=>{var H9=require("fs"),SQe=TBe(),IQe=QBe(),q9=require("path"),$l=UE(),l1t=require("util").inherits,zr=wQe(),BQe=mA().Transform,G9=process.platform==="win32",Qt=o(function(t,e){if(!(this instanceof Qt))return new Qt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=$l.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),BQe.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=IQe.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=IQe.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");l1t(Qt,BQe);Qt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};Qt.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 H9.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};Qt.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)};Qt.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};Qt.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))};Qt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new zr("NOENDMETHOD"))};Qt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};Qt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};Qt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};Qt.prototype._normalizeEntryData=function(t,e){t=$l.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=$l.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?G9?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(G9?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,G9&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=$l.dateify(t.date),t};Qt.prototype._onModuleError=function(t){this.emit("error",t)};Qt.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()};Qt.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)};Qt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}H9.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))};Qt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};Qt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};Qt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=$l.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=$l.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=$l.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=H9.readlinkSync(t.filepath),n=q9.dirname(t.filepath);t.data.type="symlink",t.data.linkname=q9.relative(n,q9.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new zr("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new zr("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new zr("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};Qt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};Qt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new zr("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new zr("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new zr("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=$l.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if($l.isStream(t))e.sourceType="stream";else return this.emit("error",new zr("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};Qt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new zr("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new zr("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 zr("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=SQe(t,i);return l.on("error",a.bind(this)),l.on("match",c.bind(this)),l.on("end",s.bind(this)),this};Qt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new zr("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new zr("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};Qt.prototype.glob=function(t,e,r){this._pending++,e=$l.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=SQe(e.cwd||".",e);return a.on("error",i.bind(this)),a.on("match",s.bind(this)),a.on("end",n.bind(this)),this};Qt.prototype.finalize=function(){if(this._state.aborted){var t=new zr("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new zr("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)})})};Qt.prototype.setFormat=function(t){return this._format?(this.emit("error",new zr("FORMATSET")),this):(this._format=t,this)};Qt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new zr("ABORTED")),this):this._state.module?(this.emit("error",new zr("MODULESET")),this):(this._module=t,this._modulePipe(),this)};Qt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new zr("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new zr("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new zr("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new zr("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};Qt.prototype.pointer=function(){return this._pointer};Qt.prototype.use=function(t){return this._streams.push(t),this};xQe.exports=Qt});var Tk=A((S2r,NQe)=>{var Rk=NQe.exports=function(){};Rk.prototype.getName=function(){};Rk.prototype.getSize=function(){};Rk.prototype.getLastModifiedDate=function(){};Rk.prototype.isDirectory=function(){}});var Dk=A((B2r,_Qe)=>{var Ia=_Qe.exports={};Ia.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};Ia.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)};Ia.fromDosTime=function(t){return Ia.dosToDate(t.readUInt32LE(0))};Ia.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};Ia.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};Ia.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};Ia.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};Ia.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};Ia.toDosTime=function(t){return Ia.getLongBytes(Ia.dateToDos(t))}});var V9=A((x2r,PQe)=>{var RQe=Dk(),TQe=8,DQe=1,u1t=4,d1t=2,QQe=64,kQe=2048,Ci=PQe.exports=function(){return this instanceof Ci?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new Ci};Ci.prototype.encode=function(){return RQe.getShortBytes((this.descriptor?TQe:0)|(this.utf8?kQe:0)|(this.encryption?DQe:0)|(this.strongEncryption?QQe:0))};Ci.prototype.parse=function(t,e){var r=RQe.getShortBytesValue(t,e),n=new Ci;return n.useDataDescriptor((r&TQe)!==0),n.useUTF8ForNames((r&kQe)!==0),n.useStrongEncryption((r&QQe)!==0),n.useEncryption((r&DQe)!==0),n.setSlidingDictionarySize((r&d1t)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&u1t)!==0?3:2),n};Ci.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};Ci.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};Ci.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};Ci.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};Ci.prototype.useDataDescriptor=function(t){this.descriptor=t};Ci.prototype.usesDataDescriptor=function(){return this.descriptor};Ci.prototype.useEncryption=function(t){this.encryption=t};Ci.prototype.usesEncryption=function(){return this.encryption};Ci.prototype.useStrongEncryption=function(t){this.strongEncryption=t};Ci.prototype.usesStrongEncryption=function(){return this.strongEncryption};Ci.prototype.useUTF8ForNames=function(t){this.utf8=t};Ci.prototype.usesUTF8ForNames=function(){return this.utf8}});var LQe=A((v2r,OQe)=>{OQe.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 z9=A((N2r,FQe)=>{FQe.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 j9=A((_2r,HQe)=>{var f1t=require("util").inherits,h1t=NJ(),UQe=Tk(),qQe=V9(),MQe=LQe(),ds=z9(),GQe=Dk(),lt=HQe.exports=function(t){if(!(this instanceof lt))return new lt(t);UQe.call(this),this.platform=ds.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new qQe,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)};f1t(lt,UQe);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?GQe.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 qQe))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=h1t(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=GQe.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 $9=A((T2r,VQe)=>{var R2r=require("stream").Stream,p1t=mA().PassThrough,A1t=HQ(),m1t=VQe.exports={};m1t.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(A1t(t)&&!t._readableState){var e=new p1t;return t.pipe(e),e}return t}});var W9=A((D2r,zQe)=>{var g1t=require("util").inherits,y1t=HQ(),J9=mA().Transform,E1t=Tk(),C1t=$9(),No=zQe.exports=function(t){if(!(this instanceof No))return new No(t);J9.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};g1t(No,J9);No.prototype._appendBuffer=function(t,e,r){};No.prototype._appendStream=function(t,e,r){};No.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};No.prototype._finish=function(t){};No.prototype._normalizeEntry=function(t){};No.prototype._transform=function(t,e,r){r(null,t)};No.prototype.entry=function(t,e,r){if(e=e||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(t instanceof E1t)){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=C1t.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(y1t(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};No.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};No.prototype.getBytesWritten=function(){return this.offset};No.prototype.write=function(t,e){return t&&(this.offset+=t.length),J9.prototype.write.call(this,t,e)}});var Qk=A(Y9=>{var jQe;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof Y9=="object"?t(Y9):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t(jQe={}):t(jQe={})})(function(t){t.version="1.2.2";function e(){for(var v=0,j=new Array(256),T=0;T!=256;++T)v=T,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,j[T]=v;return typeof Int32Array<"u"?new Int32Array(j):j}o(e,"signed_crc_table");var r=e();function n(v){var j=0,T=0,G=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(G=0;G!=256;++G)V[G]=v[G];for(G=0;G!=256;++G)for(T=v[G],j=256+G;j<4096;j+=256)T=V[j]=T>>>8^v[T&255];var W=[];for(G=1;G!=16;++G)W[G-1]=typeof Int32Array<"u"?V.subarray(G*256,G*256+256):V.slice(G*256,G*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],d=i[5],f=i[6],h=i[7],p=i[8],m=i[9],g=i[10],E=i[11],y=i[12],C=i[13],w=i[14];function B(v,j){for(var T=j^-1,G=0,V=v.length;G>>8^r[(T^v.charCodeAt(G++))&255];return~T}o(B,"crc32_bstr");function Q(v,j){for(var T=j^-1,G=v.length-15,V=0;V>8&255]^y[v[V++]^T>>16&255]^E[v[V++]^T>>>24]^g[v[V++]]^m[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(G+=15;V>>8^r[(T^v[V++])&255];return~T}o(Q,"crc32_buf");function M(v,j){for(var T=j^-1,G=0,V=v.length,W=0,ee=0;G>>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=v.charCodeAt(G++)&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(M,"crc32_str"),t.table=r,t.bstr=B,t.buf=Q,t.str=M})});var JQe=A((P2r,$Qe)=>{"use strict";var{Transform:b1t}=mA(),w1t=Qk(),K9=class extends b1t{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=w1t.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}};$Qe.exports=K9});var YQe=A((L2r,WQe)=>{"use strict";var{DeflateRaw:I1t}=require("zlib"),S1t=Qk(),X9=class extends I1t{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=S1t.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}};WQe.exports=X9});var Z9=A((M2r,KQe)=>{"use strict";KQe.exports={CRC32Stream:JQe(),DeflateCRC32Stream:YQe()}});var e1e=A((H2r,ZQe)=>{var B1t=require("util").inherits,x1t=Qk(),{CRC32Stream:v1t}=Z9(),{DeflateCRC32Stream:N1t}=Z9(),XQe=W9(),U2r=j9(),q2r=V9(),nt=z9(),G2r=$9(),Le=Dk(),ni=ZQe.exports=function(t){if(!(this instanceof ni))return new ni(t);t=this.options=this._defaults(t),XQe.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}};B1t(ni,XQe);ni.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()};ni.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(x1t.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}};ni.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)};ni.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};ni.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()};ni.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}};ni.prototype._smartStream=function(t,e){var r=t.getMethod()===nt.METHOD_DEFLATED,n=r?new N1t(this.options.zlib):new v1t,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};ni.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)};ni.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))};ni.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)};ni.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())))};ni.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};ni.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};ni.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};ni.prototype.setComment=function(t){this._archive.comment=t}});var eY=A((z2r,t1e)=>{t1e.exports={ArchiveEntry:Tk(),ZipArchiveEntry:j9(),ArchiveOutputStream:W9(),ZipArchiveOutputStream:e1e()}});var n1e=A((j2r,r1e)=>{var _1t=require("util").inherits,rY=eY().ZipArchiveOutputStream,R1t=eY().ZipArchiveEntry,tY=UE(),qE=r1e.exports=function(t){if(!(this instanceof qE))return new qE(t);t=this.options=t||{},t.zlib=t.zlib||{},rY.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)};_1t(qE,rY);qE.prototype._normalizeFileData=function(t){t=tY.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=tY.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=tY.dateify(t.date),t};qE.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 R1t(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)),rY.prototype.entry.call(this,n,t,r)};qE.prototype.finalize=function(){this.finish()}});var s1e=A(($2r,i1e)=>{var T1t=n1e(),D1t=UE(),Jf=o(function(t){if(!(this instanceof Jf))return new Jf(t);t=this.options=D1t.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new T1t(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)};i1e.exports=Jf});var a1e=A((W2r,o1e)=>{o1e.exports=typeof queueMicrotask=="function"?queueMicrotask:t=>Promise.resolve().then(t)});var l1e=A((Y2r,c1e)=>{c1e.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):a1e()});var d1e=A((X2r,u1e)=>{u1e.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 nY=A((tDr,h1e)=>{var f1e=d1e();h1e.exports=class{static{o(this,"FastFIFO")}constructor(e){this.hwm=e||16,this.head=new f1e(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 f1e(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 EY=A((nDr,O1e)=>{var{EventEmitter:Q1t}=require("events"),Mk=new Error("Stream was destroyed"),iY=new Error("Premature close"),y1e=l1e(),E1e=nY(),jr=(1<<28)-1,vA=1,dY=2,IA=4,JS=8,C1e=jr^vA,k1t=jr^dY,eB=16,WS=32,jE=64,Wf=128,tB=256,fY=512,SA=1024,sY=2048,hY=4096,pY=8192,yc=16384,GE=32768,Uk=65536,BA=131072,b1e=tB|fY,P1t=eB|Uk,O1t=jE|eB,L1t=hY|Wf,AY=tB|BA,F1t=jr^eB,M1t=jr^jE,U1t=jr^(jE|Uk),q1t=jr^Uk,G1t=jr^tB,H1t=jr^(Wf|pY),V1t=jr^SA,p1e=jr^b1e,w1e=jr^GE,z1t=jr^WS,I1e=jr^BA,j1t=jr^AY,Yf=1<<18,VE=2<<18,rB=4<<18,xA=8<<18,nB=16<<18,NA=32<<18,oY=64<<18,HE=128<<18,mY=256<<18,zE=512<<18,S1e=jr^(Yf|mY),B1e=jr^rB,$1t=jr^zE,J1t=jr^nB,W1t=jr^xA,x1e=jr^HE,Y1t=jr^VE,YS=eB|Yf,v1e=jr^YS,gY=yc|NA,yd=IA|JS|dY,_o=yd|vA,N1e=yd|gY,K1t=B1e&M1t,yY=HE|GE,X1t=yY&v1e,_1e=_o|X1t,Z1t=_o|SA|yc,A1e=_o|yc|Wf,ekt=_o|SA|Wf,tkt=_o|hY|Wf|pY,rkt=_o|eB|SA|yc|Uk|BA,nkt=yd|SA|yc,ikt=WS|_o|GE|jE,skt=_o|zE|NA,okt=xA|nB,R1e=xA|Yf,akt=xA|nB|_o|Yf,m1e=_o|Yf|xA,ckt=rB|Yf,lkt=Yf|mY,ukt=_o|zE|R1e|NA,dkt=nB|yd|zE|NA,fkt=VE|_o|HE|rB,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 E1e,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=a||s||P1e,this.map=i||n,this.afterWrite=Akt.bind(this),this.afterUpdateNextTick=ykt.bind(this)}get ended(){return(this.stream._duplexState&NA)!==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||P1e,this.map=i||n,this.pipeTo=null,this.afterRead=mkt.bind(this),this.afterUpdateNextTick=gkt.bind(this)}get ended(){return(this.stream._duplexState&yc)!==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|=fY,this.pipeTo=e,this.pipeline=new lY(this.stream,e,r),r&&this.stream.on("error",g1e),ZS(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",g1e),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",hkt.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|SA)&U1t,!1):(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),r._duplexState=(r._duplexState|Wf)&q1t,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(T1e,"afterDestroy");function Akt(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=S1e,this.drains!==null&&Ekt(this.drains),(e._duplexState&akt)===nB&&(e._duplexState&=J1t,(e._duplexState&oY)===oY&&e.emit("drain")),this.updateCallback()}o(Akt,"afterWrite");function mkt(t){t&&this.stream.destroy(t),this.stream._duplexState&=F1t,this.readAhead===!1&&(this.stream._duplexState&tB)===0&&(this.stream._duplexState&=I1e),this.updateCallback()}o(mkt,"afterRead");function gkt(){(this.stream._duplexState&WS)===0&&(this.stream._duplexState&=w1e,this.update())}o(gkt,"updateReadNT");function ykt(){(this.stream._duplexState&VE)===0&&(this.stream._duplexState&=x1e,this.update())}o(ykt,"updateWriteNT");function Ekt(t){for(let e=0;e=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&tB)===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&yc)===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 KS{static{o(this,"Writable")}constructor(e){super(e),this._duplexState|=vA|yc,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&dkt)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(Nkt(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&mY?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}},XS=class extends Ok{static{o(this,"Duplex")}constructor(e){super(e),this._duplexState=vA|this._duplexState&BA,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 XS{static{o(this,"Transform")}constructor(e){super(e),this._transformState=new cY(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(wkt.bind(this))}},uY=class extends Fk{static{o(this,"PassThrough")}};function wkt(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}o(wkt,"transformAfterFlush");function Ikt(...t){return new Promise((e,r)=>Q1e(...t,n=>{if(n)return r(n);e()}))}o(Ikt,"pipelinePromise");function Q1e(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=ZS(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:iY)))}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(iY)}o(p,"onclose")}function l(u){if(!(!u||a)){a=u;for(let d of r)d.destroy(u)}}}o(Q1e,"pipeline");function k1e(t){return!!t._readableState||!!t._writableState}o(k1e,"isStream");function ZS(t){return typeof t._duplexState=="number"&&k1e(t)}o(ZS,"isStreamx");function Skt(t){let e=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return e===Mk?null:e}o(Skt,"getStreamError");function Bkt(t){return ZS(t)&&t.readable}o(Bkt,"isReadStreamx");function xkt(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}o(xkt,"isTypedArray");function P1e(t){return xkt(t)?t.byteLength:1024}o(P1e,"defaultByteLength");function g1e(){}o(g1e,"noop");function vkt(){this.destroy(new Error("Stream aborted."))}o(vkt,"abort");function Nkt(t){return t._writev!==Lk.prototype._writev&&t._writev!==XS.prototype._writev}o(Nkt,"isWritev");O1e.exports={pipeline:Q1e,pipelinePromise:Ikt,isStream:k1e,isStreamx:ZS,getStreamError:Skt,Stream:KS,Writable:Lk,Readable:Ok,Duplex:XS,Transform:Fk,PassThrough:uY}});var qk=A((sDr,L1e)=>{function _kt(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}o(_kt,"isBuffer");function Rkt(t){return Buffer.isEncoding(t)}o(Rkt,"isEncoding");function Tkt(t,e,r){return Buffer.alloc(t,e,r)}o(Tkt,"alloc");function Dkt(t){return Buffer.allocUnsafe(t)}o(Dkt,"allocUnsafe");function Qkt(t){return Buffer.allocUnsafeSlow(t)}o(Qkt,"allocUnsafeSlow");function kkt(t,e){return Buffer.byteLength(t,e)}o(kkt,"byteLength");function Pkt(t,e){return Buffer.compare(t,e)}o(Pkt,"compare");function Okt(t,e){return Buffer.concat(t,e)}o(Okt,"concat");function Lkt(t,e,r,n,i){return wn(t).copy(e,r,n,i)}o(Lkt,"copy");function Fkt(t,e){return wn(t).equals(e)}o(Fkt,"equals");function Mkt(t,e,r,n,i){return wn(t).fill(e,r,n,i)}o(Mkt,"fill");function Ukt(t,e,r){return Buffer.from(t,e,r)}o(Ukt,"from");function qkt(t,e,r,n){return wn(t).includes(e,r,n)}o(qkt,"includes");function Gkt(t,e,r,n){return wn(t).indexOf(e,r,n)}o(Gkt,"indexOf");function Hkt(t,e,r,n){return wn(t).lastIndexOf(e,r,n)}o(Hkt,"lastIndexOf");function Vkt(t){return wn(t).swap16()}o(Vkt,"swap16");function zkt(t){return wn(t).swap32()}o(zkt,"swap32");function jkt(t){return wn(t).swap64()}o(jkt,"swap64");function wn(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}o(wn,"toBuffer");function $kt(t,e,r,n){return wn(t).toString(e,r,n)}o($kt,"toString");function Jkt(t,e,r,n,i){return wn(t).write(e,r,n,i)}o(Jkt,"write");function Wkt(t,e,r){return wn(t).writeDoubleLE(e,r)}o(Wkt,"writeDoubleLE");function Ykt(t,e,r){return wn(t).writeFloatLE(e,r)}o(Ykt,"writeFloatLE");function Kkt(t,e,r){return wn(t).writeUInt32LE(e,r)}o(Kkt,"writeUInt32LE");function Xkt(t,e,r){return wn(t).writeInt32LE(e,r)}o(Xkt,"writeInt32LE");function Zkt(t,e){return wn(t).readDoubleLE(e)}o(Zkt,"readDoubleLE");function ePt(t,e){return wn(t).readFloatLE(e)}o(ePt,"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");L1e.exports={isBuffer:_kt,isEncoding:Rkt,alloc:Tkt,allocUnsafe:Dkt,allocUnsafeSlow:Qkt,byteLength:kkt,compare:Pkt,concat:Okt,copy:Lkt,equals:Fkt,fill:Mkt,from:Ukt,includes:qkt,indexOf:Gkt,lastIndexOf:Hkt,swap16:Vkt,swap32:zkt,swap64:jkt,toBuffer:wn,toString:$kt,write:Jkt,writeDoubleLE:Wkt,writeFloatLE:Ykt,writeUInt32LE:Kkt,writeInt32LE:Xkt,readDoubleLE:Zkt,readFloatLE:ePt,readUInt32LE:tPt,readInt32LE:rPt}});var wY=A(JE=>{var Nt=qk(),nPt="0000000000000000000",iPt="7777777777777777777",Gk=48,F1e=Nt.from([117,115,116,97,114,0]),sPt=Nt.from([Gk,Gk]),oPt=Nt.from([117,115,116,97,114,32]),aPt=Nt.from([32,0]),cPt=4095,iB=257,bY=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+=CY(" path="+e.name+` -`)),e.linkname&&(r+=CY(" linkpath="+e.linkname+` -`));let n=e.pax;if(n)for(let i in n)r+=CY(" "+i+"="+n[i]+` -`);return Nt.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 Nt.byteLength(n)>100||Nt.byteLength(i)>155||e.linkname&&Nt.byteLength(e.linkname)>100?null:(Nt.write(r,n),Nt.write(r,Xf(e.mode&cPt,6),100),Nt.write(r,Xf(e.uid,6),108),Nt.write(r,Xf(e.gid,6),116),APt(e.size,r,124),Nt.write(r,Xf(e.mtime.getTime()/1e3|0,11),136),r[156]=Gk+hPt(e.type),e.linkname&&Nt.write(r,e.linkname,157),Nt.copy(F1e,r,iB),Nt.copy(sPt,r,bY),e.uname&&Nt.write(r,e.uname,265),e.gname&&Nt.write(r,e.gname,297),Nt.write(r,Xf(e.devmajor||0,6),329),Nt.write(r,Xf(e.devminor||0,6),337),i&&Nt.write(r,i,345),Nt.write(r,Xf(U1e(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=Kf(e,100,8),c=Kf(e,108,8),l=Kf(e,116,8),u=Kf(e,124,12),d=Kf(e,136,12),f=fPt(i),h=e[157]===0?null:$E(e,157,100,r),p=$E(e,265,32),m=$E(e,297,32),g=Kf(e,329,8),E=Kf(e,337,8),y=U1e(e);if(y===256)return null;if(y!==Kf(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(lPt(e))e[345]&&(s=$E(e,345,155,r)+"/"+s);else if(!uPt(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:m,devmajor:g,devminor:E,pax:null}},"decode");function lPt(t){return Nt.equals(F1e,t.subarray(iB,iB+6))}o(lPt,"isUSTAR");function uPt(t){return Nt.equals(oPt,t.subarray(iB,iB+6))&&Nt.equals(aPt,t.subarray(bY,bY+2))}o(uPt,"isGNU");function dPt(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}o(dPt,"clamp");function fPt(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(fPt,"toType");function hPt(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(hPt,"toTypeflag");function M1e(t,e,r,n){for(;re?iPt.slice(0,e)+" ":nPt.slice(0,e-t.length)+t+" "}o(Xf,"encodeOct");function pPt(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}o(pPt,"encodeSizeBin");function APt(t,e,r){t.toString(8).length>11?pPt(t,e,r):Nt.write(e,Xf(t,11),r)}o(APt,"encodeSize");function mPt(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(CY,"addLength")});var z1e=A((lDr,V1e)=>{var{Writable:gPt,Readable:yPt,getStreamError:q1e}=EY(),EPt=nY(),G1e=qk(),WE=wY(),CPt=G1e.alloc(0),SY=class{static{o(this,"BufferList")}constructor(){this.buffered=0,this.shifted=0,this.queue=new EPt,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 CPt;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 G1e.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)}},BY=class extends yPt{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(q1e(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=H1e(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},xY=class extends gPt{static{o(this,"Extract")}constructor(e){super(e),e||(e={}),this._buffer=new SY,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=IY,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=H1e(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 BY(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=IY,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(q1e(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,m){s=m,p.on("error",IY),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,m)=>{if(a.destroyed)return p({value:void 0,done:!0});a.once("close",function(){h?m(h):p({value:void 0,done:!0})})})}o(f,"destroy")}};V1e.exports=o(function(e){return new xY(e)},"extract");function IY(){}o(IY,"noop");function H1e(t){return t&=511,t&&512-t}o(H1e,"overflow")});var $1e=A((dDr,vY)=>{var j1e={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{vY.exports=require("fs").constants||j1e}catch{vY.exports=j1e}});var X1e=A((fDr,K1e)=>{var{Readable:bPt,Writable:wPt,getStreamError:J1e}=EY(),_A=qk(),YE=$1e(),Hk=wY(),IPt=493,SPt=420,W1e=_A.alloc(1024),_Y=class extends wPt{static{o(this,"Sink")}constructor(e,r,n){super({mapWritable:xPt,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?_A.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?_A.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),Y1e(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 J1e(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()}},RY=class extends bPt{static{o(this,"Pack")}constructor(e){super(e),this._drain=NY,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=NY),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=BPt(e.mode)),e.mode||(e.mode=e.type==="directory"?IPt:SPt),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=_A.from(r));let i=new _Y(this,e,n);return _A.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(W1e),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),Y1e(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(Hk.encode(n))}_doDrain(){let e=this._drain;this._drain=NY,e()}_predestroy(){let e=J1e(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()}};K1e.exports=o(function(e){return new RY(e)},"pack");function BPt(t){switch(t&YE.S_IFMT){case YE.S_IFBLK:return"block-device";case YE.S_IFCHR:return"character-device";case YE.S_IFDIR:return"directory";case YE.S_IFIFO:return"fifo";case YE.S_IFLNK:return"symlink"}return"file"}o(BPt,"modeToType");function NY(){}o(NY,"noop");function Y1e(t,e){e&=511,e&&t.push(W1e.subarray(0,512-e))}o(Y1e,"overflow");function xPt(t){return _A.isBuffer(t)?t:_A.from(t)}o(xPt,"mapWritable")});var Z1e=A(TY=>{TY.extract=z1e();TY.pack=X1e()});var rke=A((ADr,tke)=>{var vPt=require("zlib"),NPt=Z1e(),eke=UE(),Ed=o(function(t){if(!(this instanceof Ed))return new Ed(t);t=this.options=eke.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=NPt.pack(t),this.compressor=!1,t.gzip&&(this.compressor=vPt.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))},"Tar");Ed.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Ed.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"&&eke.collectStream(t,i)};Ed.prototype.finalize=function(){this.engine.finalize()};Ed.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Ed.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)};Ed.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};tke.exports=Ed});var ske=A((gDr,ike)=>{"use strict";function _Pt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(_Pt,"getDefaultExportFromCjs");var RPt=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 nke(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(nke,"ensureBuffer");function TPt(t){let e=nke(4);return e.writeInt32BE(t,0),e}o(TPt,"bufferizeInt");function DY(t,e){t=nke(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n>>8;return r^-1}o(DY,"_crc32");function QY(){return TPt(DY.apply(null,arguments))}o(QY,"crc32");QY.signed=function(){return DY.apply(null,arguments)};QY.unsigned=function(){return DY.apply(null,arguments)>>>0};var DPt=QY,QPt=_Pt(DPt);ike.exports=QPt});var lke=A((EDr,cke)=>{var kPt=require("util").inherits,oke=mA().Transform,PPt=ske(),ake=UE(),Zf=o(function(t){if(!(this instanceof Zf))return new Zf(t);t=this.options=ake.defaults(t,{}),oke.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]},"Json");kPt(Zf,oke);Zf.prototype._transform=function(t,e,r){r(null,t)};Zf.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};Zf.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=PPt.unsigned(a),n.files.push(e),r(null,e)}o(i,"onend"),e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&ake.collectStream(t,i)};Zf.prototype.finalize=function(){this._writeStringified(),this.end()};cke.exports=Zf});var dke=A((bDr,uke)=>{var OPt=vQe(),sB={},eh=o(function(t,e){return eh.create(t,e)},"vending");eh.create=function(t,e){if(sB[t]){var r=new OPt(t,e);return r.setFormat(t),r.setModule(new sB[t](e)),r}else throw new Error("create("+t+"): format not registered")};eh.registerFormat=function(t,e){if(sB[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");sB[t]=e};eh.isRegisteredFormat=function(t){return!!sB[t]};eh.registerFormat("zip",s1e());eh.registerFormat("tar",rke());eh.registerFormat("json",lke());uke.exports=eh});var xke=A($k=>{"use strict";Object.defineProperty($k,"__esModule",{value:!0});$k.getProxyUrl=jPt;$k.checkBypass=Bke;function jPt(t){let e=t.protocol==="https:";if(Bke(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 jk(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new jk(`http://${r}`)}else return}o(jPt,"getProxyUrl");function Bke(t){if(!t.hostname)return!1;let e=t.hostname;if($Pt(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(Bke,"checkBypass");function $Pt(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($Pt,"isLoopbackAddress");var jk=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 Nke=A(Ir=>{"use strict";var JPt=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]})),WPt=Ir&&Ir.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Kk=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;idn(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 dn(this,void 0,void 0,function*(){return new Promise(e=>dn(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=Yk;function nOt(t){return new URL(t).protocol==="https:"}o(nOt,"isHttps");var OY=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 dn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return dn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return dn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return dn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return dn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return dn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return dn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return dn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return dn(this,arguments,void 0,function*(r,n={}){n[fs.Accept]=this._getExistingOrDefaultHeader(n,fs.Accept,Cd.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return dn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,Cd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Cd.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return dn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,Cd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Cd.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return dn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,Cd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Cd.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return dn(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&&eOt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Sa.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&&XPt.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||!ZPt.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=PY.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?vke:kY;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({},aB(this.requestOptions.headers),aB(e||{})):aB(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=aB(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=aB(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=PY.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||kY.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?Jk.httpsOverHttps:Jk.httpsOverHttp:l=u?Jk.httpOverHttps:Jk.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new vke.Agent(c):new kY.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 YPt.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 dn(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 dn(this,void 0,void 0,function*(){return new Promise((n,i)=>dn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Sa.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 Wk(d,s);f.result=a.result,i(f)}else n(a)}))})}};Ir.HttpClient=OY;var aB=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var Mke=A((oQr,Fke)=>{Fke.exports=ki;function ki(t){if(!(this instanceof ki))return new ki(t);this.value=t}o(ki,"Traverse");ki.prototype.get=function(t){for(var e=this.value,r=0;r{var cOt=Mke(),lOt=require("events").EventEmitter;Uke.exports=XE;function XE(t){var e=XE.saw(t,{}),r=t.call(e.handlers,e);return r!==void 0&&(e.handlers=r),e.record(),e.chain()}o(XE,"Chainsaw");XE.light=o(function(e){var r=XE.saw(e,{}),n=e.call(r.handlers,r);return n!==void 0&&(r.handlers=n),r.chain()},"ChainsawLight");XE.saw=function(t,e){var r=new lOt;return r.handlers=e,r.actions=[],r.chain=function(){var n=cOt(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=XE.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(){uOt(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 uOt(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(uOt,"upgradeChainsaw")});var Hke=A((uQr,Gke)=>{Gke.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 zke=A((fQr,Vke)=>{Vke.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 Kke=A((TA,Yke)=>{var dOt=qke(),jke=require("events").EventEmitter,fOt=Hke(),Xk=zke(),hOt=require("stream").Stream;TA=Yke.exports=function(t,e){if(Buffer.isBuffer(t))return TA.parse(t);var r=TA.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};TA.stream=function(t){if(t)return TA.apply(null,arguments);var e=null;function r(f,h,p){e={bytes:f,skip:p,cb:o(function(m){e=null,h(m)},"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=Wke(function(m,g){return function(E){r(m,function(y){l.set(E,g(y)),h()})}});return p.tap=function(m){f.nest(m,l.store)},p.into=function(m,g){l.get(m)||l.set(m,{});var E=l;l=Xk(E.get(m)),f.nest(function(){g.apply(this,arguments),this.tap(function(){l=E})},l.store)},p.flush=function(){l.store={},h()},p.loop=function(m){var g=!1;f.nest(!1,o(function E(){this.vars=l.store,m.call(this,function(){g=!0,h()},l.store),this.tap(function(){g?f.next():E.call(this)}.bind(this))},"loop"),l.store)},p.buffer=function(m,g){typeof g=="string"&&(g=l.get(g)),r(g,function(E){l.set(m,E),h()})},p.skip=function(m){typeof m=="string"&&(m=l.get(m)),r(m,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(m){n=0,f.nest(function(){m.call(this,l.store),this.tap(function(){n=null})})},p}o(s,"builder");var a=dOt.light(s);a.writable=!0;var c=fOt();a.write=function(f){c.push(f),i()};var l=Xk(),u=!1,d=!1;return a.end=function(){d=!0},a.pipe=hOt.prototype.pipe,Object.getOwnPropertyNames(jke.prototype).forEach(function(f){a[f]=jke.prototype[f]}),a};TA.parse=o(function(e){var r=Wke(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 $ke(t){for(var e=0,r=0;r{var Xke=require("stream").Transform,mOt=require("util");function DA(t,e){if(!(this instanceof DA))return new DA;Xke.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(DA,"MatcherStream");mOt.inherits(DA,Xke);DA.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}};DA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};DA.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()};Zke.exports=DA});var rPe=A((gQr,tPe)=>{"use strict";var MY=require("stream"),gOt=require("util").inherits;function cB(){if(!(this instanceof cB))return new cB;MY.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}o(cB,"Entry");gOt(cB,MY.PassThrough);cB.prototype.autodrain=function(){return this.pipe(new MY.Transform({transform:o(function(t,e,r){r()},"transform")}))};tPe.exports=cB});var qY=A((EQr,iPe)=>{"use strict";var rh=Kke(),UY=require("stream"),yOt=require("util"),EOt=require("zlib"),COt=ePe(),nPe=rPe(),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},lB=4294967296,bOt=67324752,wOt=134695760,IOt=33639248,SOt=101075792,BOt=117853008,xOt=101010256;function bi(t){if(!(this instanceof bi))return new bi(t);UY.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Fe.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}o(bi,"UnzipStream");yOt.inherits(bi,UY.Transform);bi.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 nPe,h=(this.parsedEntity.flags&2048)!==0;f.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h);var m=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(m);if(g&&g.parsed&&(g.parsed.path&&!h&&(f.path=g.parsed.path),Number.isFinite(g.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===lB-1&&(this.parsedEntity.uncompressedSize=g.parsed.uncompressedSize),Number.isFinite(g.parsed.compressedSize)&&this.parsedEntity.compressedSize===lB-1&&(this.parsedEntity.compressedSize=g.parsed.compressedSize)),this.parsedEntity.extra=g.parsed||{},this.options.debug){let B=Object.assign({},this.parsedEntity,{path:f.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:g&&g.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),m=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(m);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 B=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(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}};bi.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 UY.PassThrough;else{var a=new Buffer(4);a.writeUInt32LE(wOt,0);var c=t.extra.zip64Mode,l=c?20:12,u={pattern:a,requiredExtraSize:l},d=new COt(u,function(g,E){var y=r._readDataDescriptor(g,c),C=y.compressedSize===E;if(!c&&!C&&E>=lB)for(var w=E-lB;w>=0&&(C=y.compressedSize===w,!C);)w-=lB;if(C){r.state=Fe.FILE_DATA_END;var B=c?24:16;return r.data.length>0?r.data=Buffer.concat([g.slice(B),r.data]):r.data=g.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 nPe().autodrain());return}var p=t.compressionMethod>0;if(p){var m=EOt.createInflateRaw();m.on("error",function(g){r.state=Fe.ERROR,r.emit("error",g)}),this.outStreamInfo.stream.pipe(m).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};bi.prototype._readFile=function(t){var e=rh.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};bi.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 m=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=m}}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 m=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=m}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 B=t.readUInt16LE(n+C);C+=2;var Q=t.readUInt32LE(n+C);C+=4;var p=t.readUInt16LE(n+C);C+=2;var m=t.readUInt16LE(n+C);if(C+=2,e.mode=B,e.uid=p,e.gid=m,i.extraSize>14){var M=n+C,v=n+i.extraSize-14,j=this._decodeString(t.slice(M,v));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};bi.prototype._readDataDescriptor=function(t,e){if(e){var r=rh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=rh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};bi.prototype._readCentralDirectoryEntry=function(t){var e=rh.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};bi.prototype._readEndOfCentralDirectory64=function(t){var e=rh.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};bi.prototype._readEndOfCentralDirectory=function(t){var e=rh.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var vOt="\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 ";bi.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()};bi.prototype.drainAll=function(){this._drainAllEntries=!0};bi.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)};iPe.exports=bi});var oPe=A((bQr,sPe)=>{var uB=require("stream").Transform,NOt=require("util"),_Ot=qY();function nh(t){if(!(this instanceof nh))return new nh(t);var e=t||{};uB.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new _Ot(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(nh,"ParserStream");NOt.inherits(nh,uB);nh.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};nh.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};nh.prototype.on=function(t,e){return t==="entry"?uB.prototype.on.call(this,"data",e):uB.prototype.on.call(this,t,e)};nh.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new uB({objectMode:!0,transform:o(function(t,e,r){r()},"transform")}))};sPe.exports=nh});var uPe=A((IQr,lPe)=>{var dB=require("path"),aPe=require("fs"),cPe=parseInt("0777",8);lPe.exports=ZE.mkdirp=ZE.mkdirP=ZE;function ZE(t,e,r,n){typeof e=="function"?(r=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var i=e.mode,s=e.fs||aPe;i===void 0&&(i=cPe),n||(n=null);var a=r||function(){};t=dB.resolve(t),s.mkdir(t,i,function(c){if(!c)return n=n||t,a(null,n);switch(c.code){case"ENOENT":if(dB.dirname(t)===t)return a(c);ZE(dB.dirname(t),e,function(l,u){l?a(l,u):ZE(t,e,a,u)});break;default:s.stat(t,function(l,u){l||!u.isDirectory()?a(c,n):a(null,n)});break}})}o(ZE,"mkdirP");ZE.sync=o(function t(e,r,n){(!r||typeof r!="object")&&(r={mode:r});var i=r.mode,s=r.fs||aPe;i===void 0&&(i=cPe),n||(n=null),e=dB.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(c){switch(c.code){case"ENOENT":n=t(dB.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 pPe=A((BQr,hPe)=>{var ROt=require("fs"),dPe=require("path"),TOt=require("util"),DOt=uPe(),fPe=require("stream").Transform,QOt=qY();function ih(t){if(!(this instanceof ih))return new ih(t);fPe.call(this),this.opts=t||{},this.unzipStream=new QOt(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(ih,"Extract");TOt.inherits(ih,fPe);ih.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};ih.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()})};ih.prototype._processEntry=function(t){var e=this,r=dPe.join(this.opts.path,t.path),n=t.isDirectory?r:dPe.dirname(r);this.unfinishedEntries++;var i=o(function(){var s=ROt.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();DOt(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};ih.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};hPe.exports=ih});var APe=A(GY=>{"use strict";GY.Parse=oPe();GY.Extract=pPe()});var xPe=A((VY,zY)=>{(function(t,e){typeof VY=="object"&&typeof zY<"u"?zY.exports=e():typeof define=="function"&&define.amd?define(e):t.Bottleneck=e()})(VY,(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,$;for(F in P)$=P[F],x[F]=(q=be[F])!=null?q:$;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,$;for(P=this._first,$=[];P!=null;)$.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 $}};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($){return $.status!=="none"}),q=this._events[P].map(async $=>{var X,ge;if($.status!=="none"){$.status==="once"&&($.status="none");try{return ge=typeof $.cb=="function"?$.cb(...x):void 0,typeof ge?.then=="function"?await ge:ge}catch(wt){return X=wt,this.trigger("error",X),null}}}),(await Promise.all(q)).find(function($){return $!=null}))}catch($){return F=$,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,$;for($=[],x=F=1,q=P;1<=q?F<=q:F>=q;x=1<=q?++F:--F)$.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(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 m=p,g,E,y,C,w;C=10,E=5,w=i,g=m,y=class{static{o(this,"Job")}constructor(P,x,F,q,$,X,ge,wt){this.task=P,this.args=x,this.rejectOnDrop=$,this.Events=X,this._states=ge,this.Promise=wt,this.options=w.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((hn,Yt)=>{this._resolve=hn,this._reject=Yt}),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 g(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 g(`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 $,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(wt){return $=wt,this._onFailure($,X,x,F,q)}}doExpire(P,x,F){var q,$;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},q=new g(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(q,$,P,x,F)}async _onFailure(P,x,F,q,$){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 $(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=m,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,$,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:x,reservoirIncreaseMaximum:q,reservoir:X}=this.storeOptions,this._lastReservoirIncrease=$,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,$;return await this.yieldLoop(),q=Date.now(),this.conditionsCheck(x)?(this._running+=x,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=x),$=Math.max(this._nextRequest-q,0),this._nextRequest=q+$+this.storeOptions.minTime,{success:!0,wait:$,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(P,x){var F,q,$;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(),$=this.storeOptions.highWater!=null&&P===this.storeOptions.highWater&&!this.check(x,q),F=this.strategyIsBlock()&&($||this.isBlocked(q)),F&&(this._unblockTime=q+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:$,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 j=M,T,G;T=m,G=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=G,W,ee;W=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 W}isEmpty(){return this._queue.length===0}async _tryToRun(){var P,x,F,q,$,X,ge;if(this._running<1&&this._queue.length>0)return this._running++,{task:ge,args:P,resolve:$,reject:q}=this._queue.shift(),x=await(async function(){try{return X=await ge(...P),function(){return $(X)}}catch(wt){return F=wt,function(){return q(F)}}})(),this._running--,this._tryToRun(),x()}schedule(P,...x){var F,q,$;return $=q=null,F=new this.Promise(function(X,ge){return $=X,q=ge}),this._queue.push({task:P,args:x,resolve:$,reject:q}),this._tryToRun(),F}};var ae=ee,Ae="2.19.5",Y={version:Ae},z=Object.freeze({version:Ae,default:Y}),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"),it=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4"),Et,fr,fn,si,hr,Jr;Jr=i,Et=l,si=Ie,fn=Be,hr=it,fr=(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 Et(this),this.instances={},this.Bottleneck=ka,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new si(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new fn(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",...hr.allKeys(`${this.id}-${x}`)])),q!=null&&(delete this.instances[x],await q.disconnect()),q!=null||F>0}limiters(){var x,F,q,$;F=this.instances,q=[];for(x in F)$=F[x],q.push({key:x,limiter:$});return q}keys(){return Object.keys(this.instances)}async clusterKeys(){var x,F,q,$,X,ge,wt,hn,Yt;if(this.connection==null)return this.Promise.resolve(this.keys());for(ge=[],x=null,Yt=`b_${this.id}-`.length,F=9;x!==0;)for([hn,q]=await this.connection.__runCommand__(["scan",x??0,"match",`b_${this.id}-*_settings`,"count",1e4]),x=~~hn,$=0,wt=q.length;${var F,q,$,X,ge,wt;ge=Date.now(),$=this.instances,X=[];for(q in $){wt=$[q];try{await wt._store.__groupCheck__(ge)?X.push(this.deleteKey(q)):X.push(void 0)}catch(hn){F=hn,X.push(wt.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 Ih=fr,uu,Ic,As;As=i,Ic=l,uu=(function(){class be{static{o(this,"Batcher")}constructor(x={}){this.options=x,As.load(this.options,this.defaults,this),this.Events=new Ic(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 Qa=uu,Td=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4$1"),Dd=e(z),du,YB,HC,VC,KB,rm,XB,zC,nm,im,Vs,ZB=[].splice;rm=10,YB=5,Vs=i,XB=h,VC=B,KB=j,zC=Td,HC=l,nm=V,im=ae,du=(function(){class be{static{o(this,"Bottleneck")}constructor(x={},...F){var q,$;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(x,F),Vs.load(x,this.instanceDefaults,this),this._queues=new XB(rm),this._scheduled={},this._states=new nm(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new HC(this),this._submitLock=new im("submit",this.Promise),this._registerLock=new im("register",this.Promise),$=Vs.load(x,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return q=Vs.load(x,this.redisStoreDefaults,{}),new zC(this,$,q);if(this.datastore==="local")return q=Vs.load(x,this.localStoreDefaults,{}),new KB(this,$,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,$){var X,ge;try{if({running:ge}=await this._store.__free__(x,q.weight),this.Events.trigger("debug",`Freed ${q.id}`,$),ge===0&&this.empty())return this.Events.trigger("idle")}catch(wt){return X=wt,this.Events.trigger("error",X)}}_run(x,F,q){var $,X,ge;return F.doRun(),$=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,$,ge,X),q),expiration:F.options.expiration!=null?setTimeout(function(){return F.doExpire($,ge,X)},q+F.options.expiration):void 0,job:F}}_drainOne(x){return this._registerLock.schedule(()=>{var F,q,$,X,ge;return this.queued()===0?this.Promise.resolve(null):(ge=this._queues.getFirst(),{options:X,args:F}=$=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:wt,wait:hn,reservoir:Yt})=>{var Sh;return this.Events.trigger("debug",`Drained ${X.id}`,{success:wt,args:F,options:X}),wt?(ge.shift(),Sh=this.empty(),Sh&&this.Events.trigger("empty"),Yt===0&&this.Events.trigger("depleted",Sh),this._run(q,$,hn),this.Promise.resolve(X.weight)):this.Promise.resolve(null)})))})}_drainAll(x,F=0){return this._drainOne(x).then(q=>{var $;return q!=null?($=x!=null?x-q:x,this._drainAll($,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=Vs.load(x,this.stopDefaults),q=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,wt)=>X()?ge():this.on("done",()=>{if(X())return this.removeAllListeners("done"),ge()}))},"waitForExecuting"),F=x.dropWaitingJobs?(this._run=function($,X){return X.doDrop({message:x.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:x.dropErrorMessage}));return this._dropAllQueued(x.dropErrorMessage),q(0)}))):this.schedule({priority:rm-1,weight:0},()=>q(1)),this._receive=function($){return $._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,$,X,ge,wt,hn;({args:F,options:X}=x);try{({reachedHWM:ge,blocked:q,strategy:hn}=await this._store.__submit__(this.queued(),X.weight))}catch(Yt){return $=Yt,this.Events.trigger("debug",`Could not queue ${X.id}`,{args:F,options:X,error:$}),x.doDrop({error:$}),!1}return q?(x.doDrop(),!0):ge&&(wt=hn===be.prototype.strategy.LEAK?this._queues.shiftLastFrom(X.priority):hn===be.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(X.priority+1):hn===be.prototype.strategy.OVERFLOW?x:void 0,wt?.doDrop(),wt==null||hn===be.prototype.strategy.OVERFLOW)?(wt==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,$,X,ge,wt,hn;return typeof x[0]=="function"?(ge=x,[q,...x]=ge,[F]=ZB.call(x,-1),X=Vs.load({},this.jobDefaults)):(wt=x,[X,q,...x]=wt,[F]=ZB.call(x,-1),X=Vs.load(X,this.jobDefaults)),hn=o((...Yt)=>new this.Promise(function(Sh,sm){return q(...Yt,function(...ex){return(ex[0]!=null?sm:Sh)(ex)})}),"task"),$=new VC(hn,x,X,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),$.promise.then(function(Yt){return typeof F=="function"?F(...Yt):void 0}).catch(function(Yt){return Array.isArray(Yt)?typeof F=="function"?F(...Yt):void 0:typeof F=="function"?F(Yt):void 0}),this._receive($)}schedule(...x){var F,q,$;return typeof x[0]=="function"?([$,...x]=x,q={}):[q,$,...x]=x,F=new VC($,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(...$){return F(x.bind(this),...$)},"wrapped"),q.withOptions=function($,...X){return F($,x,...X)},q}async updateSettings(x={}){return await this._store.__updateSettings__(Vs.overwrite(x,this.storeDefaults)),Vs.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=HC,be.version=be.prototype.version=Dd.version,be.strategy=be.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},be.BottleneckError=be.prototype.BottleneckError=m,be.Group=be.prototype.Group=Ih,be.RedisConnection=be.prototype.RedisConnection=Ie,be.IORedisConnection=be.prototype.IORedisConnection=Be,be.Batcher=be.prototype.Batcher=Qa,be.prototype.jobDefaults={priority:YB,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 ka=du,jC=ka;return jC}))});var MPe=A((iP,hB)=>{(function(t){var e=typeof iP=="object"&&iP,r=typeof hB=="object"&&hB&&hB.exports==e&&hB,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|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,m={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={},B=w.hasOwnProperty,Q=o(function(z,Ie){return B.call(z,Ie)},"has"),M=o(function(z,Ie){for(var Be=-1,it=z.length;++Be=55296&&z<=57343||z>1114111?(Ie&&V("character reference outside the permissible Unicode range"),"\uFFFD"):Q(E,z)?(Ie&&V("disallowed character reference"),E[z]):(Ie&&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"),T=o(function(z){return"&#x"+z.toString(16).toUpperCase()+";"},"hexEscape"),G=o(function(z){return"&#"+z+";"},"decEscape"),V=o(function(z){throw Error("Parse error: "+z)},"parseError"),W=o(function(z,Ie){Ie=v(Ie,W.options);var Be=Ie.strict;Be&&h.test(z)&&V("forbidden code point");var it=Ie.encodeEverything,Et=Ie.useNamedReferences,fr=Ie.allowUnsafeSymbols,fn=Ie.decimal?G:T,si=o(function(hr){return fn(hr.charCodeAt(0))},"escapeBmpSymbol");return it?(z=z.replace(s,function(hr){return Et&&Q(l,hr)?"&"+l[hr]+";":si(hr)}),Et&&(z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),Et&&(z=z.replace(c,function(hr){return"&"+l[hr]+";"}))):Et?(fr||(z=z.replace(u,function(hr){return"&"+l[hr]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),z=z.replace(c,function(hr){return"&"+l[hr]+";"})):fr||(z=z.replace(u,si)),z.replace(i,function(hr){var Jr=hr.charCodeAt(0),Ih=hr.charCodeAt(1),uu=(Jr-55296)*1024+Ih-56320+65536;return fn(uu)}).replace(a,si)},"encode");W.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ee=o(function(z,Ie){Ie=v(Ie,ee.options);var Be=Ie.strict;return Be&&f.test(z)&&V("malformed character reference"),z.replace(p,function(it,Et,fr,fn,si,hr,Jr,Ih,uu){var Ic,As,Qa,Td,Dd,du;return Et?(Dd=Et,m[Dd]):fr?(Dd=fr,du=fn,du&&Ie.isAttributeValue?(Be&&du=="="&&V("`&` did not start a character reference"),it):(Be&&V("named character reference was not terminated by a semicolon"),g[Dd]+(du||""))):si?(Qa=si,As=hr,Be&&!As&&V("character reference was not terminated by a semicolon"),Ic=parseInt(Qa,10),j(Ic,Be)):Jr?(Td=Jr,As=Ih,Be&&!As&&V("character reference was not terminated by a semicolon"),Ic=parseInt(Td,16),j(Ic,Be)):(Be&&V("named character reference was not terminated by a semicolon"),it)})},"decode");ee.options={isAttributeValue:!1,strict:!1};var ae=o(function(z){return z.replace(u,function(Ie){return d[Ie]})},"escape"),Ae={version:"1.2.0",encode:W,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 hP=A(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.Signature=oh.Envelope=void 0;oh.Envelope={fromJSON(t){return{payload:fP(t.payload)?Buffer.from(gOe(t.payload)):Buffer.alloc(0),payloadType:fP(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>oh.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=yOe(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>oh.Signature.toJSON(r))),e}};oh.Signature={fromJSON(t){return{sig:fP(t.sig)?Buffer.from(gOe(t.sig)):Buffer.alloc(0),keyid:fP(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=yOe(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function gOe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(gOe,"bytesFromBase64");function yOe(t){return globalThis.Buffer.from(t).toString("base64")}o(yOe,"base64FromBytes");function fP(t){return t!=null}o(fP,"isSet")});var COe=A(pP=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});pP.Timestamp=void 0;pP.Timestamp={fromJSON(t){return{seconds:EOe(t.seconds)?globalThis.String(t.seconds):"0",nanos:EOe(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 EOe(t){return t!=null}o(EOe,"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=wOe;Ge.hashAlgorithmToJSON=IOe;Ge.publicKeyDetailsFromJSON=SOe;Ge.publicKeyDetailsToJSON=BOe;Ge.subjectAlternativeNameTypeFromJSON=xOe;Ge.subjectAlternativeNameTypeToJSON=vOe;var UFt=COe(),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 wOe(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(wOe,"hashAlgorithmFromJSON");function IOe(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(IOe,"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 SOe(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(SOe,"publicKeyDetailsFromJSON");function BOe(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(BOe,"publicKeyDetailsToJSON");var Jl;(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"})(Jl||(Ge.SubjectAlternativeNameType=Jl={}));function xOe(t){switch(t){case 0:case"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED":return Jl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED;case 1:case"EMAIL":return Jl.EMAIL;case 2:case"URI":return Jl.URI;case 3:case"OTHER_NAME":return Jl.OTHER_NAME;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(xOe,"subjectAlternativeNameTypeFromJSON");function vOe(t){switch(t){case Jl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED:return"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";case Jl.EMAIL:return"EMAIL";case Jl.URI:return"URI";case Jl.OTHER_NAME:return"OTHER_NAME";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(vOe,"subjectAlternativeNameTypeToJSON");Ge.HashOutput={fromJSON(t){return{algorithm:In(t.algorithm)?wOe(t.algorithm):0,digest:In(t.digest)?Buffer.from(FA(t.digest)):Buffer.alloc(0)}},toJSON(t){let e={};return t.algorithm!==0&&(e.algorithm=IOe(t.algorithm)),t.digest.length!==0&&(e.digest=MA(t.digest)),e}};Ge.MessageSignature={fromJSON(t){return{messageDigest:In(t.messageDigest)?Ge.HashOutput.fromJSON(t.messageDigest):void 0,signature:In(t.signature)?Buffer.from(FA(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=MA(t.signature)),e}};Ge.LogId={fromJSON(t){return{keyId:In(t.keyId)?Buffer.from(FA(t.keyId)):Buffer.alloc(0)}},toJSON(t){let e={};return t.keyId.length!==0&&(e.keyId=MA(t.keyId)),e}};Ge.RFC3161SignedTimestamp={fromJSON(t){return{signedTimestamp:In(t.signedTimestamp)?Buffer.from(FA(t.signedTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedTimestamp.length!==0&&(e.signedTimestamp=MA(t.signedTimestamp)),e}};Ge.PublicKey={fromJSON(t){return{rawBytes:In(t.rawBytes)?Buffer.from(FA(t.rawBytes)):void 0,keyDetails:In(t.keyDetails)?SOe(t.keyDetails):0,validFor:In(t.validFor)?Ge.TimeRange.fromJSON(t.validFor):void 0}},toJSON(t){let e={};return t.rawBytes!==void 0&&(e.rawBytes=MA(t.rawBytes)),t.keyDetails!==0&&(e.keyDetails=BOe(t.keyDetails)),t.validFor!==void 0&&(e.validFor=Ge.TimeRange.toJSON(t.validFor)),e}};Ge.PublicKeyIdentifier={fromJSON(t){return{hint:In(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:In(t.oid)?Ge.ObjectIdentifier.fromJSON(t.oid):void 0,value:In(t.value)?Buffer.from(FA(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=MA(t.value)),e}};Ge.DistinguishedName={fromJSON(t){return{organization:In(t.organization)?globalThis.String(t.organization):"",commonName:In(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:In(t.rawBytes)?Buffer.from(FA(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=MA(t.rawBytes)),e}};Ge.SubjectAlternativeName={fromJSON(t){return{type:In(t.type)?xOe(t.type):0,identity:In(t.regexp)?{$case:"regexp",regexp:globalThis.String(t.regexp)}:In(t.value)?{$case:"value",value:globalThis.String(t.value)}:void 0}},toJSON(t){let e={};return t.type!==0&&(e.type=vOe(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:In(t.start)?bOe(t.start):void 0,end:In(t.end)?bOe(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 FA(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(FA,"bytesFromBase64");function MA(t){return globalThis.Buffer.from(t).toString("base64")}o(MA,"base64FromBytes");function qFt(t){let e=(globalThis.Number(t.seconds)||0)*1e3;return e+=(t.nanos||0)/1e6,new globalThis.Date(e)}o(qFt,"fromTimestamp");function bOe(t){return t instanceof globalThis.Date?t:typeof t=="string"?new globalThis.Date(t):qFt(UFt.Timestamp.fromJSON(t))}o(bOe,"fromJsonTimestamp");function In(t){return t!=null}o(In,"isSet")});var fK=A(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.TransparencyLogEntry=Sn.InclusionPromise=Sn.InclusionProof=Sn.Checkpoint=Sn.KindVersion=void 0;var NOe=wd();Sn.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}};Sn.Checkpoint={fromJSON(t){return{envelope:ps(t.envelope)?globalThis.String(t.envelope):""}},toJSON(t){let e={};return t.envelope!==""&&(e.envelope=t.envelope),e}};Sn.InclusionProof={fromJSON(t){return{logIndex:ps(t.logIndex)?globalThis.String(t.logIndex):"0",rootHash:ps(t.rootHash)?Buffer.from(AP(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(AP(e))):[],checkpoint:ps(t.checkpoint)?Sn.Checkpoint.fromJSON(t.checkpoint):void 0}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.rootHash.length!==0&&(e.rootHash=mP(t.rootHash)),t.treeSize!=="0"&&(e.treeSize=t.treeSize),t.hashes?.length&&(e.hashes=t.hashes.map(r=>mP(r))),t.checkpoint!==void 0&&(e.checkpoint=Sn.Checkpoint.toJSON(t.checkpoint)),e}};Sn.InclusionPromise={fromJSON(t){return{signedEntryTimestamp:ps(t.signedEntryTimestamp)?Buffer.from(AP(t.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedEntryTimestamp.length!==0&&(e.signedEntryTimestamp=mP(t.signedEntryTimestamp)),e}};Sn.TransparencyLogEntry={fromJSON(t){return{logIndex:ps(t.logIndex)?globalThis.String(t.logIndex):"0",logId:ps(t.logId)?NOe.LogId.fromJSON(t.logId):void 0,kindVersion:ps(t.kindVersion)?Sn.KindVersion.fromJSON(t.kindVersion):void 0,integratedTime:ps(t.integratedTime)?globalThis.String(t.integratedTime):"0",inclusionPromise:ps(t.inclusionPromise)?Sn.InclusionPromise.fromJSON(t.inclusionPromise):void 0,inclusionProof:ps(t.inclusionProof)?Sn.InclusionProof.fromJSON(t.inclusionProof):void 0,canonicalizedBody:ps(t.canonicalizedBody)?Buffer.from(AP(t.canonicalizedBody)):Buffer.alloc(0)}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.logId!==void 0&&(e.logId=NOe.LogId.toJSON(t.logId)),t.kindVersion!==void 0&&(e.kindVersion=Sn.KindVersion.toJSON(t.kindVersion)),t.integratedTime!=="0"&&(e.integratedTime=t.integratedTime),t.inclusionPromise!==void 0&&(e.inclusionPromise=Sn.InclusionPromise.toJSON(t.inclusionPromise)),t.inclusionProof!==void 0&&(e.inclusionProof=Sn.InclusionProof.toJSON(t.inclusionProof)),t.canonicalizedBody.length!==0&&(e.canonicalizedBody=mP(t.canonicalizedBody)),e}};function AP(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(AP,"bytesFromBase64");function mP(t){return globalThis.Buffer.from(t).toString("base64")}o(mP,"base64FromBytes");function ps(t){return t!=null}o(ps,"isSet")});var hK=A(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.Bundle=Ba.VerificationMaterial=Ba.TimestampVerificationData=void 0;var _Oe=hP(),Wl=wd(),ROe=fK();Ba.TimestampVerificationData={fromJSON(t){return{rfc3161Timestamps:globalThis.Array.isArray(t?.rfc3161Timestamps)?t.rfc3161Timestamps.map(e=>Wl.RFC3161SignedTimestamp.fromJSON(e)):[]}},toJSON(t){let e={};return t.rfc3161Timestamps?.length&&(e.rfc3161Timestamps=t.rfc3161Timestamps.map(r=>Wl.RFC3161SignedTimestamp.toJSON(r))),e}};Ba.VerificationMaterial={fromJSON(t){return{content:ah(t.publicKey)?{$case:"publicKey",publicKey:Wl.PublicKeyIdentifier.fromJSON(t.publicKey)}:ah(t.x509CertificateChain)?{$case:"x509CertificateChain",x509CertificateChain:Wl.X509CertificateChain.fromJSON(t.x509CertificateChain)}:ah(t.certificate)?{$case:"certificate",certificate:Wl.X509Certificate.fromJSON(t.certificate)}:void 0,tlogEntries:globalThis.Array.isArray(t?.tlogEntries)?t.tlogEntries.map(e=>ROe.TransparencyLogEntry.fromJSON(e)):[],timestampVerificationData:ah(t.timestampVerificationData)?Ba.TimestampVerificationData.fromJSON(t.timestampVerificationData):void 0}},toJSON(t){let e={};return t.content?.$case==="publicKey"?e.publicKey=Wl.PublicKeyIdentifier.toJSON(t.content.publicKey):t.content?.$case==="x509CertificateChain"?e.x509CertificateChain=Wl.X509CertificateChain.toJSON(t.content.x509CertificateChain):t.content?.$case==="certificate"&&(e.certificate=Wl.X509Certificate.toJSON(t.content.certificate)),t.tlogEntries?.length&&(e.tlogEntries=t.tlogEntries.map(r=>ROe.TransparencyLogEntry.toJSON(r))),t.timestampVerificationData!==void 0&&(e.timestampVerificationData=Ba.TimestampVerificationData.toJSON(t.timestampVerificationData)),e}};Ba.Bundle={fromJSON(t){return{mediaType:ah(t.mediaType)?globalThis.String(t.mediaType):"",verificationMaterial:ah(t.verificationMaterial)?Ba.VerificationMaterial.fromJSON(t.verificationMaterial):void 0,content:ah(t.messageSignature)?{$case:"messageSignature",messageSignature:Wl.MessageSignature.fromJSON(t.messageSignature)}:ah(t.dsseEnvelope)?{$case:"dsseEnvelope",dsseEnvelope:_Oe.Envelope.fromJSON(t.dsseEnvelope)}:void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.verificationMaterial!==void 0&&(e.verificationMaterial=Ba.VerificationMaterial.toJSON(t.verificationMaterial)),t.content?.$case==="messageSignature"?e.messageSignature=Wl.MessageSignature.toJSON(t.content.messageSignature):t.content?.$case==="dsseEnvelope"&&(e.dsseEnvelope=_Oe.Envelope.toJSON(t.content.dsseEnvelope)),e}};function ah(t){return t!=null}o(ah,"isSet")});var pK=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=TOe;ze.serviceSelectorToJSON=DOe;var Li=wd(),Yl;(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"})(Yl||(ze.ServiceSelector=Yl={}));function TOe(t){switch(t){case 0:case"SERVICE_SELECTOR_UNDEFINED":return Yl.SERVICE_SELECTOR_UNDEFINED;case 1:case"ALL":return Yl.ALL;case 2:case"ANY":return Yl.ANY;case 3:case"EXACT":return Yl.EXACT;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(TOe,"serviceSelectorFromJSON");function DOe(t){switch(t){case Yl.SERVICE_SELECTOR_UNDEFINED:return"SERVICE_SELECTOR_UNDEFINED";case Yl.ALL:return"ALL";case Yl.ANY:return"ANY";case Yl.EXACT:return"EXACT";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(DOe,"serviceSelectorToJSON");ze.TransparencyLogInstance={fromJSON(t){return{baseUrl:Sr(t.baseUrl)?globalThis.String(t.baseUrl):"",hashAlgorithm:Sr(t.hashAlgorithm)?(0,Li.hashAlgorithmFromJSON)(t.hashAlgorithm):0,publicKey:Sr(t.publicKey)?Li.PublicKey.fromJSON(t.publicKey):void 0,logId:Sr(t.logId)?Li.LogId.fromJSON(t.logId):void 0,checkpointKeyId:Sr(t.checkpointKeyId)?Li.LogId.fromJSON(t.checkpointKeyId):void 0,operator:Sr(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:Sr(t.subject)?Li.DistinguishedName.fromJSON(t.subject):void 0,uri:Sr(t.uri)?globalThis.String(t.uri):"",certChain:Sr(t.certChain)?Li.X509CertificateChain.fromJSON(t.certChain):void 0,validFor:Sr(t.validFor)?Li.TimeRange.fromJSON(t.validFor):void 0,operator:Sr(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:Sr(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:Sr(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:Sr(t.rekorTlogConfig)?ze.ServiceConfiguration.fromJSON(t.rekorTlogConfig):void 0,tsaUrls:globalThis.Array.isArray(t?.tsaUrls)?t.tsaUrls.map(e=>ze.Service.fromJSON(e)):[],tsaConfig:Sr(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:Sr(t.url)?globalThis.String(t.url):"",majorApiVersion:Sr(t.majorApiVersion)?globalThis.Number(t.majorApiVersion):0,validFor:Sr(t.validFor)?Li.TimeRange.fromJSON(t.validFor):void 0,operator:Sr(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:Sr(t.selector)?TOe(t.selector):0,count:Sr(t.count)?globalThis.Number(t.count):0}},toJSON(t){let e={};return t.selector!==0&&(e.selector=DOe(t.selector)),t.count!==0&&(e.count=Math.round(t.count)),e}};ze.ClientTrustConfig={fromJSON(t){return{mediaType:Sr(t.mediaType)?globalThis.String(t.mediaType):"",trustedRoot:Sr(t.trustedRoot)?ze.TrustedRoot.fromJSON(t.trustedRoot):void 0,signingConfig:Sr(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 Sr(t){return t!=null}o(Sr,"isSet")});var POe=A(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 QOe=hK(),ch=wd(),kOe=pK();je.CertificateIdentity={fromJSON(t){return{issuer:Wt(t.issuer)?globalThis.String(t.issuer):"",san:Wt(t.san)?ch.SubjectAlternativeName.fromJSON(t.san):void 0,oids:globalThis.Array.isArray(t?.oids)?t.oids.map(e=>ch.ObjectIdentifierValuePair.fromJSON(e)):[]}},toJSON(t){let e={};return t.issuer!==""&&(e.issuer=t.issuer),t.san!==void 0&&(e.san=ch.SubjectAlternativeName.toJSON(t.san)),t.oids?.length&&(e.oids=t.oids.map(r=>ch.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=>ch.PublicKey.fromJSON(e)):[]}},toJSON(t){let e={};return t.publicKeys?.length&&(e.publicKeys=t.publicKeys.map(r=>ch.PublicKey.toJSON(r))),e}};je.ArtifactVerificationOptions={fromJSON(t){return{signers:Wt(t.certificateIdentities)?{$case:"certificateIdentities",certificateIdentities:je.CertificateIdentities.fromJSON(t.certificateIdentities)}:Wt(t.publicKeys)?{$case:"publicKeys",publicKeys:je.PublicKeyIdentities.fromJSON(t.publicKeys)}:void 0,tlogOptions:Wt(t.tlogOptions)?je.ArtifactVerificationOptions_TlogOptions.fromJSON(t.tlogOptions):void 0,ctlogOptions:Wt(t.ctlogOptions)?je.ArtifactVerificationOptions_CtlogOptions.fromJSON(t.ctlogOptions):void 0,tsaOptions:Wt(t.tsaOptions)?je.ArtifactVerificationOptions_TimestampAuthorityOptions.fromJSON(t.tsaOptions):void 0,integratedTsOptions:Wt(t.integratedTsOptions)?je.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.fromJSON(t.integratedTsOptions):void 0,observerOptions:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,performOnlineVerification:Wt(t.performOnlineVerification)?globalThis.Boolean(t.performOnlineVerification):!1,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.artifactUri)?{$case:"artifactUri",artifactUri:globalThis.String(t.artifactUri)}:Wt(t.artifact)?{$case:"artifact",artifact:Buffer.from(GFt(t.artifact))}:Wt(t.artifactDigest)?{$case:"artifactDigest",artifactDigest:ch.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=HFt(t.data.artifact):t.data?.$case==="artifactDigest"&&(e.artifactDigest=ch.HashOutput.toJSON(t.data.artifactDigest)),e}};je.Input={fromJSON(t){return{artifactTrustRoot:Wt(t.artifactTrustRoot)?kOe.TrustedRoot.fromJSON(t.artifactTrustRoot):void 0,artifactVerificationOptions:Wt(t.artifactVerificationOptions)?je.ArtifactVerificationOptions.fromJSON(t.artifactVerificationOptions):void 0,bundle:Wt(t.bundle)?QOe.Bundle.fromJSON(t.bundle):void 0,artifact:Wt(t.artifact)?je.Artifact.fromJSON(t.artifact):void 0}},toJSON(t){let e={};return t.artifactTrustRoot!==void 0&&(e.artifactTrustRoot=kOe.TrustedRoot.toJSON(t.artifactTrustRoot)),t.artifactVerificationOptions!==void 0&&(e.artifactVerificationOptions=je.ArtifactVerificationOptions.toJSON(t.artifactVerificationOptions)),t.bundle!==void 0&&(e.bundle=QOe.Bundle.toJSON(t.bundle)),t.artifact!==void 0&&(e.artifact=je.Artifact.toJSON(t.artifact)),e}};function GFt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(GFt,"bytesFromBase64");function HFt(t){return globalThis.Buffer.from(t).toString("base64")}o(HFt,"base64FromBytes");function Wt(t){return t!=null}o(Wt,"isSet")});var aC=A(xa=>{"use strict";var VFt=xa&&xa.__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]})),oC=xa&&xa.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&VFt(e,t,r)};Object.defineProperty(xa,"__esModule",{value:!0});oC(hP(),xa);oC(hK(),xa);oC(wd(),xa);oC(fK(),xa);oC(pK(),xa);oC(POe(),xa)});var gP=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=zFt;Us.isBundleWithPublicKey=jFt;Us.isBundleWithMessageSignature=$Ft;Us.isBundleWithDsseEnvelope=JFt;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 zFt(t){return t.verificationMaterial.content.$case==="x509CertificateChain"}o(zFt,"isBundleWithCertificateChain");function jFt(t){return t.verificationMaterial.content.$case==="publicKey"}o(jFt,"isBundleWithPublicKey");function $Ft(t){return t.content.$case==="messageSignature"}o($Ft,"isBundleWithMessageSignature");function JFt(t){return t.content.$case==="dsseEnvelope"}o(JFt,"isBundleWithDsseEnvelope")});var LOe=A(EP=>{"use strict";Object.defineProperty(EP,"__esModule",{value:!0});EP.toMessageSignatureBundle=YFt;EP.toDSSEBundle=KFt;var WFt=aC(),yP=gP();function YFt(t){return{mediaType:t.certificateChain?yP.BUNDLE_V02_MEDIA_TYPE:yP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:WFt.HashAlgorithm.SHA2_256,digest:t.digest},signature:t.signature}},verificationMaterial:OOe(t)}}o(YFt,"toMessageSignatureBundle");function KFt(t){return{mediaType:t.certificateChain?yP.BUNDLE_V02_MEDIA_TYPE:yP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:XFt(t)},verificationMaterial:OOe(t)}}o(KFt,"toDSSEBundle");function XFt(t){return{payloadType:t.artifactType,payload:t.artifact,signatures:[ZFt(t)]}}o(XFt,"toEnvelope");function ZFt(t){return{keyid:t.keyHint||"",sig:t.signature}}o(ZFt,"toSignature");function OOe(t){return{content:eMt(t),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}o(OOe,"toVerificationMaterial");function eMt(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(eMt,"toKeyContent")});var mK=A(CP=>{"use strict";Object.defineProperty(CP,"__esModule",{value:!0});CP.ValidationError=void 0;var AK=class extends Error{static{o(this,"ValidationError")}fields;constructor(e,r){super(e),this.fields=r}};CP.ValidationError=AK});var gK=A(UA=>{"use strict";Object.defineProperty(UA,"__esModule",{value:!0});UA.assertBundle=tMt;UA.assertBundleV01=FOe;UA.isBundleV01=rMt;UA.assertBundleV02=nMt;UA.assertBundleLatest=iMt;var bP=mK();function tMt(t){let e=wP(t);if(e.length>0)throw new bP.ValidationError("invalid bundle",e)}o(tMt,"assertBundle");function FOe(t){let e=[];if(e.push(...wP(t)),e.push(...sMt(t)),e.length>0)throw new bP.ValidationError("invalid v0.1 bundle",e)}o(FOe,"assertBundleV01");function rMt(t){try{return FOe(t),!0}catch{return!1}}o(rMt,"isBundleV01");function nMt(t){let e=[];if(e.push(...wP(t)),e.push(...MOe(t)),e.length>0)throw new bP.ValidationError("invalid v0.2 bundle",e)}o(nMt,"assertBundleV02");function iMt(t){let e=[];if(e.push(...wP(t)),e.push(...MOe(t)),e.push(...oMt(t)),e.length>0)throw new bP.ValidationError("invalid bundle",e)}o(iMt,"assertBundleLatest");function wP(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(wP,"validateBundleBase");function sMt(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(sMt,"validateInclusionPromise");function MOe(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(MOe,"validateInclusionProof");function oMt(t){let e=[];return t.verificationMaterial?.content?.$case==="x509CertificateChain"&&e.push("verificationMaterial.content.$case"),e}o(oMt,"validateNoCertificateChain")});var qOe=A(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.envelopeToJSON=Kl.envelopeFromJSON=Kl.bundleToJSON=Kl.bundleFromJSON=void 0;var IP=aC(),UOe=gP(),yK=gK(),aMt=o(t=>{let e=IP.Bundle.fromJSON(t);switch(e.mediaType){case UOe.BUNDLE_V01_MEDIA_TYPE:(0,yK.assertBundleV01)(e);break;case UOe.BUNDLE_V02_MEDIA_TYPE:(0,yK.assertBundleV02)(e);break;default:(0,yK.assertBundleLatest)(e);break}return e},"bundleFromJSON");Kl.bundleFromJSON=aMt;var cMt=o(t=>IP.Bundle.toJSON(t),"bundleToJSON");Kl.bundleToJSON=cMt;var lMt=o(t=>IP.Envelope.fromJSON(t),"envelopeFromJSON");Kl.envelopeFromJSON=lMt;var uMt=o(t=>IP.Envelope.toJSON(t),"envelopeToJSON");Kl.envelopeToJSON=uMt});var EK=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 GOe=LOe();Object.defineProperty(et,"toDSSEBundle",{enumerable:!0,get:o(function(){return GOe.toDSSEBundle},"get")});Object.defineProperty(et,"toMessageSignatureBundle",{enumerable:!0,get:o(function(){return GOe.toMessageSignatureBundle},"get")});var lh=gP();Object.defineProperty(et,"BUNDLE_V01_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V01_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V02_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V02_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_LEGACY_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V03_LEGACY_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V03_MEDIA_TYPE},"get")});Object.defineProperty(et,"isBundleWithCertificateChain",{enumerable:!0,get:o(function(){return lh.isBundleWithCertificateChain},"get")});Object.defineProperty(et,"isBundleWithDsseEnvelope",{enumerable:!0,get:o(function(){return lh.isBundleWithDsseEnvelope},"get")});Object.defineProperty(et,"isBundleWithMessageSignature",{enumerable:!0,get:o(function(){return lh.isBundleWithMessageSignature},"get")});Object.defineProperty(et,"isBundleWithPublicKey",{enumerable:!0,get:o(function(){return lh.isBundleWithPublicKey},"get")});var dMt=mK();Object.defineProperty(et,"ValidationError",{enumerable:!0,get:o(function(){return dMt.ValidationError},"get")});var SP=qOe();Object.defineProperty(et,"bundleFromJSON",{enumerable:!0,get:o(function(){return SP.bundleFromJSON},"get")});Object.defineProperty(et,"bundleToJSON",{enumerable:!0,get:o(function(){return SP.bundleToJSON},"get")});Object.defineProperty(et,"envelopeFromJSON",{enumerable:!0,get:o(function(){return SP.envelopeFromJSON},"get")});Object.defineProperty(et,"envelopeToJSON",{enumerable:!0,get:o(function(){return SP.envelopeToJSON},"get")});var EB=gK();Object.defineProperty(et,"assertBundle",{enumerable:!0,get:o(function(){return EB.assertBundle},"get")});Object.defineProperty(et,"assertBundleLatest",{enumerable:!0,get:o(function(){return EB.assertBundleLatest},"get")});Object.defineProperty(et,"assertBundleV01",{enumerable:!0,get:o(function(){return EB.assertBundleV01},"get")});Object.defineProperty(et,"assertBundleV02",{enumerable:!0,get:o(function(){return EB.assertBundleV02},"get")});Object.defineProperty(et,"isBundleV01",{enumerable:!0,get:o(function(){return EB.isBundleV01},"get")})});var VOe=A(CB=>{"use strict";var HOe=CB&&CB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(CB,"__esModule",{value:!0});CB.appDataPath=hMt;var fMt=HOe(require("os")),cC=HOe(require("path"));function hMt(t){let e=fMt.default.homedir();switch(process.platform){case"darwin":{let r=cC.default.join(e,"Library","Application Support");return cC.default.join(r,t)}case"win32":{let r=process.env.LOCALAPPDATA||cC.default.join(e,"AppData","Local");return cC.default.join(r,t,"Data")}default:{let r=process.env.XDG_DATA_HOME||cC.default.join(e,".local","share");return cC.default.join(r,t)}}}o(hMt,"appDataPath")});var Xl=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 CK=class extends Error{static{o(this,"ValueError")}};qs.ValueError=CK;var bB=class extends Error{static{o(this,"RepositoryError")}};qs.RepositoryError=bB;var bK=class extends bB{static{o(this,"UnsignedMetadataError")}};qs.UnsignedMetadataError=bK;var wK=class extends bB{static{o(this,"LengthOrHashMismatchError")}};qs.LengthOrHashMismatchError=wK;var BP=class extends Error{static{o(this,"CryptoError")}};qs.CryptoError=BP;var IK=class extends BP{static{o(this,"UnsupportedAlgorithmError")}};qs.UnsupportedAlgorithmError=IK});var jOe=A(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.isDefined=pMt;uh.isObject=zOe;uh.isStringArray=AMt;uh.isObjectArray=mMt;uh.isStringRecord=gMt;uh.isObjectRecord=yMt;function pMt(t){return t!==void 0}o(pMt,"isDefined");function zOe(t){return typeof t=="object"&&t!==null}o(zOe,"isObject");function AMt(t){return Array.isArray(t)&&t.every(e=>typeof e=="string")}o(AMt,"isStringArray");function mMt(t){return Array.isArray(t)&&t.every(zOe)}o(mMt,"isObjectArray");function gMt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="string")}o(gMt,"isStringRecord");function yMt(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(yMt,"isObjectRecord")});var BK=A((CPr,JOe)=>{function SK(t){let e=[];if(typeof t=="string")e.push($Oe(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(SK(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($Oe(n)),e.push(":"),e.push(SK(t[n]))}),e.push("}")}else throw new TypeError("cannot encode "+t.toString());return e.join("")}o(SK,"canonicalize");function $Oe(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}o($Oe,"canonicalizeString");JOe.exports={canonicalize:SK}});var WOe=A(lC=>{"use strict";var EMt=lC&&lC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lC,"__esModule",{value:!0});lC.verifySignature=void 0;var CMt=BK(),bMt=EMt(require("crypto")),wMt=o((t,e,r)=>{let n=Buffer.from((0,CMt.canonicalize)(t));return bMt.default.verify(void 0,n,e,Buffer.from(r,"hex"))},"verifySignature");lC.verifySignature=wMt});var Ec=A(va=>{"use strict";var IMt=va&&va.__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]})),SMt=va&&va.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),YOe=va&&va.__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 BMt=Id&&Id.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Id,"__esModule",{value:!0});Id.Signed=Id.MetadataKind=void 0;Id.isMetadataKind=vMt;var xMt=BMt(require("util")),wB=Xl(),xK=Ec(),KOe=["1","0","31"],vK;(function(t){t.Root="root",t.Timestamp="timestamp",t.Snapshot="snapshot",t.Targets="targets"})(vK||(Id.MetadataKind=vK={}));function vMt(t){return typeof t=="string"&&Object.values(vK).includes(t)}o(vMt,"isMetadataKind");var NK=class t{static{o(this,"Signed")}specVersion;expires;version;unrecognizedFields;constructor(e){this.specVersion=e.specVersion||KOe.join(".");let r=this.specVersion.split(".");if(!(r.length===2||r.length===3)||!r.every(n=>NMt(n)))throw new wB.ValueError("Failed to parse specVersion");if(r[0]!=KOe[0])throw new wB.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&&xMt.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(xK.guard.isDefined(r)){if(typeof r!="string")throw new TypeError("spec_version must be a string")}else throw new wB.ValueError("spec_version is not defined");if(xK.guard.isDefined(n)){if(typeof n!="string")throw new TypeError("expires must be a string")}else throw new wB.ValueError("expires is not defined");if(xK.guard.isDefined(i)){if(typeof i!="number")throw new TypeError("version must be a number")}else throw new wB.ValueError("version is not defined");return{specVersion:r,expires:n,version:i,unrecognizedFields:s}}};Id.Signed=NK;function NMt(t){return!isNaN(Number(t))}o(NMt,"isNumeric")});var IB=A(fh=>{"use strict";var XOe=fh&&fh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fh,"__esModule",{value:!0});fh.TargetFile=fh.MetaFile=void 0;var ZOe=XOe(require("crypto")),vP=XOe(require("util")),dh=Xl(),xP=Ec(),_K=class t{static{o(this,"MetaFile")}version;length;hashes;unrecognizedFields;constructor(e){if(e.version<=0)throw new dh.ValueError("Metafile version must be at least 1");e.length!==void 0&&eLe(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&&vP.default.isDeepStrictEqual(this.hashes,e.hashes)&&vP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}verify(e){if(this.length!==void 0&&e.length!==this.length)throw new dh.LengthOrHashMismatchError(`Expected length ${this.length} but got ${e.length}`);this.hashes&&Object.entries(this.hashes).forEach(([r,n])=>{let i;try{i=ZOe.default.createHash(r)}catch{throw new dh.LengthOrHashMismatchError(`Hash algorithm ${r} not supported`)}let s=i.update(e).digest("hex");if(s!==n)throw new dh.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(xP.guard.isDefined(n)&&typeof n!="number")throw new TypeError("length must be a number");if(xP.guard.isDefined(i)&&!xP.guard.isStringRecord(i))throw new TypeError("hashes must be string keys and values");return new t({version:r,length:n,hashes:i,unrecognizedFields:s})}};fh.MetaFile=_K;var RK=class t{static{o(this,"TargetFile")}length;path;hashes;unrecognizedFields;constructor(e){eLe(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&&vP.default.isDeepStrictEqual(this.hashes,e.hashes)&&vP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}async verify(e){let r=0,n=Object.keys(this.hashes).reduce((i,s)=>{try{i[s]=ZOe.default.createHash(s)}catch{throw new dh.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 dh.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 dh.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(!xP.guard.isStringRecord(i))throw new TypeError("hashes must have string keys and values");return new t({length:n,path:e,hashes:i,unrecognizedFields:s})}};fh.TargetFile=RK;function eLe(t){if(t<0)throw new dh.ValueError("Length must be at least 0")}o(eLe,"validateLength")});var tLe=A(TK=>{"use strict";Object.defineProperty(TK,"__esModule",{value:!0});TK.encodeOIDString=RMt;var _Mt=6;function RMt(t){let e=t.split("."),r=parseInt(e[0],10)*40+parseInt(e[1],10),n=[];e.slice(2).forEach(s=>{let a=TMt(parseInt(s,10));n.push(...a)});let i=Buffer.from([r,...n]);return Buffer.from([_Mt,i.length,...i])}o(RMt,"encodeOIDString");function TMt(t){let e=[],r=0;for(;t>0;)e.unshift(t&127|r),t>>=7,r=128;return e}o(TMt,"encodeVariableLengthInteger")});var sLe=A(BB=>{"use strict";var DMt=BB&&BB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(BB,"__esModule",{value:!0});BB.getPublicKey=OMt;var uC=DMt(require("crypto")),SB=Xl(),DK=tLe(),NP=48,rLe=3,nLe=0,QMt="1.3.101.112",kMt="1.2.840.10045.2.1",PMt="1.2.840.10045.3.1.7",QK="-----BEGIN PUBLIC KEY-----";function OMt(t){switch(t.keyType){case"rsa":return LMt(t);case"ed25519":return FMt(t);case"ecdsa":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":return MMt(t);default:throw new SB.UnsupportedAlgorithmError(`Unsupported key type: ${t.keyType}`)}}o(OMt,"getPublicKey");function LMt(t){if(!t.keyVal.startsWith(QK))throw new SB.CryptoError("Invalid key format");let e=uC.default.createPublicKey(t.keyVal);if(t.scheme==="rsassa-pss-sha256")return{key:e,padding:uC.default.constants.RSA_PKCS1_PSS_PADDING};throw new SB.UnsupportedAlgorithmError(`Unsupported RSA scheme: ${t.scheme}`)}o(LMt,"getRSAPublicKey");function FMt(t){let e;if(t.keyVal.startsWith(QK))e=uC.default.createPublicKey(t.keyVal);else{if(!iLe(t.keyVal))throw new SB.CryptoError("Invalid key format");e=uC.default.createPublicKey({key:UMt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(FMt,"getED25519PublicKey");function MMt(t){let e;if(t.keyVal.startsWith(QK))e=uC.default.createPublicKey(t.keyVal);else{if(!iLe(t.keyVal))throw new SB.CryptoError("Invalid key format");e=uC.default.createPublicKey({key:qMt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(MMt,"getECDCSAPublicKey");var UMt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=(0,DK.encodeOIDString)(QMt),n=Buffer.concat([Buffer.concat([Buffer.from([NP]),Buffer.from([r.length]),r]),Buffer.concat([Buffer.from([rLe]),Buffer.from([e.length+1]),Buffer.from([nLe]),e])]);return Buffer.concat([Buffer.from([NP]),Buffer.from([n.length]),n])},"hexToDER")},qMt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=Buffer.concat([Buffer.from([rLe]),Buffer.from([e.length+1]),Buffer.from([nLe]),e]),n=Buffer.concat([(0,DK.encodeOIDString)(kMt),(0,DK.encodeOIDString)(PMt)]),i=Buffer.concat([Buffer.from([NP]),Buffer.from([n.length]),n]);return Buffer.concat([Buffer.from([NP]),Buffer.from([i.length+r.length]),i,r])},"hexToDER")},iLe=o(t=>/^[0-9a-fA-F]+$/.test(t),"isHex")});var _P=A(dC=>{"use strict";var GMt=dC&&dC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(dC,"__esModule",{value:!0});dC.Key=void 0;var oLe=GMt(require("util")),xB=Xl(),aLe=Ec(),HMt=sLe(),kK=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 xB.UnsignedMetadataError("no signature for key found in metadata");if(!this.keyVal.public)throw new xB.UnsignedMetadataError("no public key found");let n=(0,HMt.getPublicKey)({keyType:this.keyType,scheme:this.scheme,keyVal:this.keyVal.public}),i=e.signed.toJSON();try{if(!aLe.crypto.verifySignature(i,n,r.sig))throw new xB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}catch(s){throw s instanceof xB.UnsignedMetadataError?s:new xB.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&&oLe.default.isDeepStrictEqual(this.keyVal,e.keyVal)&&oLe.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(!aLe.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})}};dC.Key=kK});var lLe=A(GA=>{"use strict";Object.defineProperty(GA,"__esModule",{value:!0});GA.range=GA.balanced=void 0;var VMt=o((t,e,r)=>{let n=t instanceof RegExp?cLe(t,r):t,i=e instanceof RegExp?cLe(e,r):e,s=n!==null&&i!=null&&(0,GA.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");GA.balanced=VMt;var cLe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),zMt=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");GA.range=zMt});var mLe=A(fC=>{"use strict";Object.defineProperty(fC,"__esModule",{value:!0});fC.EXPANSION_MAX=void 0;fC.expand=iUt;var uLe=lLe(),dLe="\0SLASH"+Math.random()+"\0",fLe="\0OPEN"+Math.random()+"\0",OK="\0CLOSE"+Math.random()+"\0",hLe="\0COMMA"+Math.random()+"\0",pLe="\0PERIOD"+Math.random()+"\0",jMt=new RegExp(dLe,"g"),$Mt=new RegExp(fLe,"g"),JMt=new RegExp(OK,"g"),WMt=new RegExp(hLe,"g"),YMt=new RegExp(pLe,"g"),KMt=/\\\\/g,XMt=/\\{/g,ZMt=/\\}/g,eUt=/\\,/g,tUt=/\\\./g;fC.EXPANSION_MAX=1e5;function PK(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(PK,"numeric");function rUt(t){return t.replace(KMt,dLe).replace(XMt,fLe).replace(ZMt,OK).replace(eUt,hLe).replace(tUt,pLe)}o(rUt,"escapeBraces");function nUt(t){return t.replace(jMt,"\\").replace($Mt,"{").replace(JMt,"}").replace(WMt,",").replace(YMt,".")}o(nUt,"unescapeBraces");function ALe(t){if(!t)return[""];let e=[],r=(0,uLe.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=ALe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(ALe,"parseCommaParts");function iUt(t,e={}){if(!t)return[];let{max:r=fC.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),vB(rUt(t),r,!0).map(nUt)}o(iUt,"expand");function sUt(t){return"{"+t+"}"}o(sUt,"embrace");function oUt(t){return/^-?0\d/.test(t)}o(oUt,"isPadded");function aUt(t,e){return t<=e}o(aUt,"lte");function cUt(t,e){return t>=e}o(cUt,"gte");function vB(t,e,r){let n=[],i=(0,uLe.balanced)("{","}",t);if(!i)return[t];let s=i.pre,a=i.post.length?vB(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+OK+i.post,vB(t,e,!0)):[t];let f;if(u)f=i.body.split(/\.\./);else if(f=ALe(i.body),f.length===1&&f[0]!==void 0&&(f=vB(f[0],e,!1).map(sUt),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=PK(f[0]),m=PK(f[1]),g=Math.max(f[0].length,f[1].length),E=f.length===3&&f[2]!==void 0?Math.max(Math.abs(PK(f[2])),1):1,y=aUt;m0){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(RP,"__esModule",{value:!0});RP.assertValidPattern=void 0;var lUt=1024*64,uUt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>lUt)throw new TypeError("pattern is too long")},"assertValidPattern");RP.assertValidPattern=uUt});var ELe=A(TP=>{"use strict";Object.defineProperty(TP,"__esModule",{value:!0});TP.parseClass=void 0;var dUt={"[: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]},NB=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),fUt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),yLe=o(t=>t.join(""),"rangesToString"),hUt=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(NB(f)+"-"+NB(g)):g===f&&n.push(NB(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(NB(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(NB(g)),s++}if(d{"use strict";Object.defineProperty(DP,"__esModule",{value:!0});DP.unescape=void 0;var pUt=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");DP.unescape=pUt});var MK=A(LP=>{"use strict";var Gs;Object.defineProperty(LP,"__esModule",{value:!0});LP.AST=void 0;var AUt=ELe(),kP=QP(),mUt=new Set(["!","?","+","*","@"]),LK=o(t=>mUt.has(t),"isExtglobType"),CLe=o(t=>LK(t.type),"isExtglobAST"),gUt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),yUt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),EUt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),bLe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),CUt="(?!(?:^|/)\\.\\.?(?:$|/))",PP="(?!\\.)",bUt=new Set(["[","."]),wUt=new Set(["..","."]),IUt=new Set("().*{}+?[]^$\\!"),SUt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),FK="[^/]",wLe=FK+"*?",ILe=FK+"+?",BUt=0,OP=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;id=++BUt;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[m,g,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,m}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&wUt.has(this.#r[0]))){let m=bUt,g=r&&m.has(u.charAt(0))||u.startsWith("\\.")&&m.has(u.charAt(2))||u.startsWith("\\.\\.")&&m.has(u.charAt(4)),E=!r&&!e&&m.has(u.charAt(0));d=g?CUt:E?PP:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,kP.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,kP.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!PP?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?PP:"")+ILe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?PP:"")+wLe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,kP.unescape)(s),this.#t=!!this.#t,this.#n]}#d(){if(CLe(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(FP,"__esModule",{value:!0});FP.escape=void 0;var xUt=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");FP.escape=xUt});var RLe=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 vUt=mLe(),MP=gLe(),xLe=MK(),NUt=UK(),_Ut=QP(),RUt=o((t,e,r={})=>((0,MP.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new HA(e,r).match(t)),"minimatch");me.minimatch=RUt;var TUt=/^\*+([^+@!?*[(]*)$/,DUt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),QUt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),kUt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),PUt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),OUt=/^\*+\.\*+$/,LUt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),FUt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),MUt=/^\.\*+$/,UUt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),qUt=/^\*+$/,GUt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),HUt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),VUt=/^\?+([^+@!?*[(]*)?$/,zUt=o(([t,e=""])=>{let r=vLe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),jUt=o(([t,e=""])=>{let r=NLe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),$Ut=o(([t,e=""])=>{let r=NLe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),JUt=o(([t,e=""])=>{let r=vLe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),vLe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),NLe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),_Le=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",SLe={win32:{sep:"\\"},posix:{sep:"/"}};me.sep=_Le==="win32"?SLe.win32.sep:SLe.posix.sep;me.minimatch.sep=me.sep;me.GLOBSTAR=Symbol("globstar **");me.minimatch.GLOBSTAR=me.GLOBSTAR;var WUt="[^/]",YUt=WUt+"*?",KUt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",XUt="(?:(?!(?:\\/|^)\\.).)*?",ZUt=o((t,e={})=>r=>(0,me.minimatch)(r,t,e),"filter");me.filter=ZUt;me.minimatch.filter=me.filter;var Na=o((t,e={})=>Object.assign({},t,e),"ext"),eqt=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,Na(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Na(t,s))}static defaults(i){return e.defaults(Na(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Na(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Na(t,s))}},unescape:o((n,i={})=>e.unescape(n,Na(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Na(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Na(t,i)),"filter"),defaults:o(n=>e.defaults(Na(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Na(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Na(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Na(t,s)),"match"),sep:e.sep,GLOBSTAR:me.GLOBSTAR})},"defaults");me.defaults=eqt;me.minimatch.defaults=me.defaults;var tqt=o((t,e={})=>((0,MP.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,vUt.expand)(t,{max:e.braceExpandMax})),"braceExpand");me.braceExpand=tqt;me.minimatch.braceExpand=me.braceExpand;var rqt=o((t,e={})=>new HA(t,e).makeRe(),"makeRe");me.makeRe=rqt;me.minimatch.makeRe=me.makeRe;var nqt=o((t,e,r={})=>{let n=new HA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");me.match=nqt;me.minimatch.match=me.match;var BLe=/[?*]|[+@!]\(.*?\)|\[|\]/,iqt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),HA=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,MP.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||_Le,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]==="?"||!BLe.test(s[2]))&&!BLe.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 w=i;w{let u=l.map(f=>{if(f instanceof RegExp)for(let h of f.flags.split(""))i.add(h);return typeof f=="string"?iqt(f):f===me.GLOBSTAR?me.GLOBSTAR:f._src});u.forEach((f,h)=>{let p=u[h+1],m=u[h-1];f!==me.GLOBSTAR||m===me.GLOBSTAR||(m===void 0?p!==void 0&&p!==me.GLOBSTAR?u[h+1]="(?:\\/|"+n+"\\/)?"+p:u[h]=n:p===void 0?u[h-1]=m+"(?:\\/|\\/"+n+")?":p!==me.GLOBSTAR&&(u[h-1]=m+"(?:\\/|\\/"+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=HA;var sqt=MK();Object.defineProperty(me,"AST",{enumerable:!0,get:o(function(){return sqt.AST},"get")});var oqt=UK();Object.defineProperty(me,"escape",{enumerable:!0,get:o(function(){return oqt.escape},"get")});var aqt=QP();Object.defineProperty(me,"unescape",{enumerable:!0,get:o(function(){return aqt.unescape},"get")});me.minimatch.AST=xLe.AST;me.minimatch.Minimatch=HA;me.minimatch.escape=NUt.escape;me.minimatch.unescape=_Ut.unescape});var HK=A(_a=>{"use strict";var TLe=_a&&_a.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_a,"__esModule",{value:!0});_a.SuccinctRoles=_a.DelegatedRole=_a.Role=_a.TOP_LEVEL_ROLE_NAMES=void 0;var DLe=TLe(require("crypto")),cqt=RLe(),UP=TLe(require("util")),qP=Xl(),VA=Ec();_a.TOP_LEVEL_ROLE_NAMES=["root","targets","snapshot","timestamp"];var _B=class t{static{o(this,"Role")}keyIDs;threshold;unrecognizedFields;constructor(e){let{keyIDs:r,threshold:n,unrecognizedFields:i}=e;if(lqt(r))throw new qP.ValueError("duplicate key IDs found");if(n<1)throw new qP.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&&UP.default.isDeepStrictEqual(this.keyIDs,e.keyIDs)&&UP.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(!VA.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})}};_a.Role=_B;function lqt(t){return new Set(t).size!==t.length}o(lqt,"hasDuplicates");var qK=class t extends _B{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 qP.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&&UP.default.isDeepStrictEqual(this.paths,e.paths)&&UP.default.isDeepStrictEqual(this.pathHashPrefixes,e.pathHashPrefixes):!1}isDelegatedPath(e){if(this.paths)return this.paths.some(r=>dqt(e,r));if(this.pathHashPrefixes){let n=DLe.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(!VA.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(VA.guard.isDefined(a)&&!VA.guard.isStringArray(a))throw new TypeError("paths must be an array of strings");if(VA.guard.isDefined(c)&&!VA.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})}};_a.DelegatedRole=qK;var uqt=o((t,e)=>t.map((r,n)=>[r,e[n]]),"zip");function dqt(t,e){let r=t.split("/"),n=e.split("/");return n.length!=r.length?!1:uqt(r,n).every(([i,s])=>(0,cqt.minimatch)(i,s))}o(dqt,"isTargetInPathPattern");var GK=class t extends _B{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 qP.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=DLe.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 fqt=hC&&hC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hC,"__esModule",{value:!0});hC.Root=void 0;var QLe=fqt(require("util")),VK=qA(),kLe=Xl(),hqt=_P(),GP=HK(),HP=Ec(),zK=class t extends VK.Signed{static{o(this,"Root")}type=VK.MetadataKind.Root;keys;roles;consistentSnapshot;constructor(e){if(super(e),this.keys=e.keys||{},this.consistentSnapshot=e.consistentSnapshot??!0,!e.roles)this.roles=GP.TOP_LEVEL_ROLE_NAMES.reduce((r,n)=>({...r,[n]:new GP.Role({keyIDs:[],threshold:1})}),{});else{let r=new Set(Object.keys(e.roles));if(!GP.TOP_LEVEL_ROLE_NAMES.every(n=>r.has(n)))throw new kLe.ValueError("missing top-level role");this.roles=e.roles}}addKey(e,r){if(!this.roles[r])throw new kLe.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&&QLe.default.isDeepStrictEqual(this.keys,e.keys)&&QLe.default.isDeepStrictEqual(this.roles,e.roles):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,keys:pqt(this.keys),roles:Aqt(this.roles),consistent_snapshot:this.consistentSnapshot,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=VK.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:mqt(i),roles:gqt(s),consistentSnapshot:a,unrecognizedFields:c})}};hC.Root=zK;function pqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(pqt,"keysToJSON");function Aqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Aqt,"rolesToJSON");function mqt(t){let e;if(HP.guard.isDefined(t)){if(!HP.guard.isObjectRecord(t))throw new TypeError("keys must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:hqt.Key.fromJSON(n,i)}),{})}return e}o(mqt,"keysFromJSON");function gqt(t){let e;if(HP.guard.isDefined(t)){if(!HP.guard.isObjectRecord(t))throw new TypeError("roles must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:GP.Role.fromJSON(i)}),{})}return e}o(gqt,"rolesFromJSON")});var JK=A(VP=>{"use strict";Object.defineProperty(VP,"__esModule",{value:!0});VP.Signature=void 0;var $K=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})}};VP.Signature=$K});var KK=A(pC=>{"use strict";var yqt=pC&&pC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pC,"__esModule",{value:!0});pC.Snapshot=void 0;var Eqt=yqt(require("util")),WK=qA(),OLe=IB(),PLe=Ec(),YK=class t extends WK.Signed{static{o(this,"Snapshot")}type=WK.MetadataKind.Snapshot;meta;constructor(e){super(e),this.meta=e.meta||{"targets.json":new OLe.MetaFile({version:1})}}equals(e){return e instanceof t?super.equals(e)&&Eqt.default.isDeepStrictEqual(this.meta,e.meta):!1}toJSON(){return{_type:this.type,meta:Cqt(this.meta),spec_version:this.specVersion,version:this.version,expires:this.expires,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=WK.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,meta:bqt(i),unrecognizedFields:s})}};pC.Snapshot=YK;function Cqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Cqt,"metaToJSON");function bqt(t){let e;if(PLe.guard.isDefined(t))if(PLe.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:OLe.MetaFile.fromJSON(i)}),{});else throw new TypeError("meta field is malformed");return e}o(bqt,"metaFromJSON")});var LLe=A(AC=>{"use strict";var wqt=AC&&AC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(AC,"__esModule",{value:!0});AC.Delegations=void 0;var zP=wqt(require("util")),Iqt=Xl(),Sqt=_P(),XK=HK(),jP=Ec(),ZK=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=>XK.TOP_LEVEL_ROLE_NAMES.includes(r)))throw new Iqt.ValueError("Delegated role name conflicts with top-level role name");this.succinctRoles=e.succinctRoles,this.roles=e.roles}equals(e){return e instanceof t?zP.default.isDeepStrictEqual(this.keys,e.keys)&&zP.default.isDeepStrictEqual(this.roles,e.roles)&&zP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields)&&zP.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:Bqt(this.keys),...this.unrecognizedFields};return this.roles?e.roles=xqt(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 jP.guard.isObject(i)&&(a=XK.SuccinctRoles.fromJSON(i)),new t({keys:vqt(r),roles:Nqt(n),unrecognizedFields:s,succinctRoles:a})}};AC.Delegations=ZK;function Bqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Bqt,"keysToJSON");function xqt(t){return Object.values(t).map(e=>e.toJSON())}o(xqt,"rolesToJSON");function vqt(t){if(!jP.guard.isObjectRecord(t))throw new TypeError("keys is malformed");return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:Sqt.Key.fromJSON(r,n)}),{})}o(vqt,"keysFromJSON");function Nqt(t){let e;if(jP.guard.isDefined(t)){if(!jP.guard.isObjectArray(t))throw new TypeError("roles is malformed");e=t.reduce((r,n)=>{let i=XK.DelegatedRole.fromJSON(n);return{...r,[i.name]:i}},{})}return e}o(Nqt,"rolesFromJSON")});var r7=A(mC=>{"use strict";var _qt=mC&&mC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mC,"__esModule",{value:!0});mC.Targets=void 0;var FLe=_qt(require("util")),e7=qA(),Rqt=LLe(),Tqt=IB(),$P=Ec(),t7=class t extends e7.Signed{static{o(this,"Targets")}type=e7.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)&&FLe.default.isDeepStrictEqual(this.targets,e.targets)&&FLe.default.isDeepStrictEqual(this.delegations,e.delegations):!1}toJSON(){let e={_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,targets:Dqt(this.targets),...this.unrecognizedFields};return this.delegations&&(e.delegations=this.delegations.toJSON()),e}static fromJSON(e){let{unrecognizedFields:r,...n}=e7.Signed.commonFieldsFromJSON(e),{targets:i,delegations:s,...a}=r;return new t({...n,targets:Qqt(i),delegations:kqt(s),unrecognizedFields:a})}};mC.Targets=t7;function Dqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Dqt,"targetsToJSON");function Qqt(t){let e;if($P.guard.isDefined(t))if($P.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:Tqt.TargetFile.fromJSON(n,i)}),{});else throw new TypeError("targets must be an object");return e}o(Qqt,"targetsFromJSON");function kqt(t){let e;if($P.guard.isDefined(t))if($P.guard.isObject(t))e=Rqt.Delegations.fromJSON(t);else throw new TypeError("delegations must be an object");return e}o(kqt,"delegationsFromJSON")});var o7=A(JP=>{"use strict";Object.defineProperty(JP,"__esModule",{value:!0});JP.Timestamp=void 0;var n7=qA(),MLe=IB(),i7=Ec(),s7=class t extends n7.Signed{static{o(this,"Timestamp")}type=n7.MetadataKind.Timestamp;snapshotMeta;constructor(e){super(e),this.snapshotMeta=e.snapshotMeta||new MLe.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}=n7.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,snapshotMeta:Pqt(i),unrecognizedFields:s})}};JP.Timestamp=s7;function Pqt(t){let e;if(i7.guard.isDefined(t)){let r=t["snapshot.json"];if(!i7.guard.isDefined(r)||!i7.guard.isObject(r))throw new TypeError("missing snapshot.json in meta");e=MLe.MetaFile.fromJSON(r)}return e}o(Pqt,"snapshotMetaFromJSON")});var qLe=A(yC=>{"use strict";var Oqt=yC&&yC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yC,"__esModule",{value:!0});yC.Metadata=void 0;var Lqt=BK(),ULe=Oqt(require("util")),gC=qA(),RB=Xl(),Fqt=jK(),Mqt=JK(),Uqt=KK(),qqt=r7(),Gqt=o7(),a7=Ec(),c7=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,Lqt.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 gC.MetadataKind.Root:i=this.signed.keys,n=this.signed.roles[e];break;case gC.MetadataKind.Targets:if(!this.signed.delegations)throw new RB.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 RB.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(!a7.guard.isDefined(n)||!a7.guard.isObject(n))throw new TypeError("signed is not defined");if(e!==n._type)throw new RB.ValueError(`expected '${e}', got ${n._type}`);if(!a7.guard.isObjectArray(i))throw new TypeError("signatures is not an array");let a;switch(e){case gC.MetadataKind.Root:a=Fqt.Root.fromJSON(n);break;case gC.MetadataKind.Timestamp:a=Gqt.Timestamp.fromJSON(n);break;case gC.MetadataKind.Snapshot:a=Uqt.Snapshot.fromJSON(n);break;case gC.MetadataKind.Targets:a=qqt.Targets.fromJSON(n);break;default:throw new TypeError("invalid metadata type")}let c={};return i.forEach(l=>{let u=Mqt.Signature.fromJSON(l);if(c[u.keyID])throw new RB.ValueError(`multiple signatures found for keyid: ${u.keyID}`);c[u.keyID]=u}),new t(a,c,s)}};yC.Metadata=c7});var WP=A(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.Timestamp=Br.Targets=Br.Snapshot=Br.Signature=Br.Root=Br.Metadata=Br.Key=Br.TargetFile=Br.MetaFile=Br.ValueError=Br.MetadataKind=void 0;var Hqt=qA();Object.defineProperty(Br,"MetadataKind",{enumerable:!0,get:o(function(){return Hqt.MetadataKind},"get")});var Vqt=Xl();Object.defineProperty(Br,"ValueError",{enumerable:!0,get:o(function(){return Vqt.ValueError},"get")});var GLe=IB();Object.defineProperty(Br,"MetaFile",{enumerable:!0,get:o(function(){return GLe.MetaFile},"get")});Object.defineProperty(Br,"TargetFile",{enumerable:!0,get:o(function(){return GLe.TargetFile},"get")});var zqt=_P();Object.defineProperty(Br,"Key",{enumerable:!0,get:o(function(){return zqt.Key},"get")});var jqt=qLe();Object.defineProperty(Br,"Metadata",{enumerable:!0,get:o(function(){return jqt.Metadata},"get")});var $qt=jK();Object.defineProperty(Br,"Root",{enumerable:!0,get:o(function(){return $qt.Root},"get")});var Jqt=JK();Object.defineProperty(Br,"Signature",{enumerable:!0,get:o(function(){return Jqt.Signature},"get")});var Wqt=KK();Object.defineProperty(Br,"Snapshot",{enumerable:!0,get:o(function(){return Wqt.Snapshot},"get")});var Yqt=r7();Object.defineProperty(Br,"Targets",{enumerable:!0,get:o(function(){return Yqt.Targets},"get")});var Kqt=o7();Object.defineProperty(Br,"Timestamp",{enumerable:!0,get:o(function(){return Kqt.Timestamp},"get")})});var VLe=A((yOr,HLe)=>{var EC=1e3,CC=EC*60,bC=CC*60,zA=bC*24,Xqt=zA*7,Zqt=zA*365.25;HLe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return e3t(t);if(r==="number"&&isFinite(t))return e.long?r3t(t):t3t(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function e3t(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*Zqt;case"weeks":case"week":case"w":return r*Xqt;case"days":case"day":case"d":return r*zA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*bC;case"minutes":case"minute":case"mins":case"min":case"m":return r*CC;case"seconds":case"second":case"secs":case"sec":case"s":return r*EC;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(e3t,"parse");function t3t(t){var e=Math.abs(t);return e>=zA?Math.round(t/zA)+"d":e>=bC?Math.round(t/bC)+"h":e>=CC?Math.round(t/CC)+"m":e>=EC?Math.round(t/EC)+"s":t+"ms"}o(t3t,"fmtShort");function r3t(t){var e=Math.abs(t);return e>=zA?YP(t,e,zA,"day"):e>=bC?YP(t,e,bC,"hour"):e>=CC?YP(t,e,CC,"minute"):e>=EC?YP(t,e,EC,"second"):t+" ms"}o(r3t,"fmtLong");function YP(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(YP,"plural")});var l7=A((COr,zLe)=>{function n3t(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=VLe(),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 j=r.formatters[v];if(typeof j=="function"){let T=E[B];M=j.call(y,T),E.splice(B,1),B--}return M}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=d,g.useColors=r.useColors(),g.color=r.selectColor(d),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,m=r.enabled(d)),m),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}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,m=-1,g=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(n3t,"setup");zLe.exports=n3t});var jLe=A((Hs,KP)=>{Hs.formatArgs=s3t;Hs.save=o3t;Hs.load=a3t;Hs.useColors=i3t;Hs.storage=c3t();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 i3t(){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(i3t,"useColors");function s3t(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+KP.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(s3t,"formatArgs");Hs.log=console.debug||console.log||(()=>{});function o3t(t){try{t?Hs.storage.setItem("debug",t):Hs.storage.removeItem("debug")}catch{}}o(o3t,"save");function a3t(){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(a3t,"load");function c3t(){try{return localStorage}catch{}}o(c3t,"localstorage");KP.exports=l7()(Hs);var{formatters:l3t}=KP.exports;l3t.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var JLe=A((ii,ZP)=>{var u3t=require("tty"),XP=require("util");ii.init=g3t;ii.log=p3t;ii.formatArgs=f3t;ii.save=A3t;ii.load=m3t;ii.useColors=d3t;ii.destroy=XP.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ii.colors=[6,2,3,4,5,1];try{let t=G3();t&&(t.stderr||t).level>=2&&(ii.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{}ii.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 d3t(){return"colors"in ii.inspectOpts?!!ii.inspectOpts.colors:u3t.isatty(process.stderr.fd)}o(d3t,"useColors");function f3t(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[,N]=S;return N.replace(/\s/g,"").split(YB).map(k=>k.replace(GC,"").trim())}o(KB,"parseParams");function rm(I,b){var S={};return Object.keys(I).forEach(N=>{var k=I[N],O,U=p(k),G=!U&&k.length===1||U&&k.length===0;if(Array.isArray(k))O=[...k],k=O.pop(),S[N]=O.concat(O.length>0?J:k);else if(G)S[N]=k;else{if(O=KB(k),k.length===0&&!U&&O.length===0)throw new Error("autoInject task functions require explicit parameters.");U||O.pop(),S[N]=O.concat(J)}function J(Se,Ct){var Rt=O.map(It=>Se[It]);Rt.push(Ct),E(k)(...Rt)}o(J,"newTask")}),Td(S,b)}o(rm,"autoInject");class XB{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:N}=S;b(S)&&this.removeLink(S),S=N}return this}}function VC(I,b){I.length=1,I.head=I.tail=b}o(VC,"setInitial");function nm(I,b,S){if(b==null)b=1;else if(b===0)throw new RangeError("Concurrency must not be zero");var N=E(I),k=0,O=[];let U={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function G(Pe,we){U[Pe].push(we)}o(G,"on");function J(Pe,we){let Oe=o((...St)=>{Se(Pe,Oe),we(...St)},"handleAndRemove");U[Pe].push(Oe)}o(J,"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 Ct(Pe,...we){U[Pe].forEach(Oe=>Oe(...we))}o(Ct,"trigger");var Rt=!1;function It(Pe,we,Oe,St){if(St!=null&&typeof St!="function")throw new Error("task callback must be a function");Tt.started=!0;var pr,Mn;function Do(xh,...KC){if(xh)return Oe?Mn(xh):pr();if(KC.length<=1)return pr(KC[0]);pr(KC)}o(Do,"promiseCallback");var am=Tt._createTaskItem(Pe,Oe?Do:St||Do);if(we?Tt._tasks.unshift(am):Tt._tasks.push(am),Rt||(Rt=!0,u(()=>{Rt=!1,Tt.process()})),Oe||!St)return new Promise((xh,KC)=>{pr=xh,Mn=KC})}o(It,"_insert");function To(Pe){return function(we,...Oe){k-=1;for(var St=0,pr=Pe.length;St0&&O.splice(Do,1),Mn.callback(we,...Oe),we!=null&&Ct("error",we,Mn.data)}k<=Tt.concurrency-Tt.buffer&&Ct("unsaturated"),Tt.idle()&&Ct("drain"),Tt.process()}}o(To,"_createCB");function om(Pe){return Pe.length===0&&Tt.idle()?(u(()=>Ct("drain")),!0):!1}o(om,"_maybeDrain");let Bh=o(Pe=>we=>{if(!we)return new Promise((Oe,St)=>{J(Pe,(pr,Mn)=>{if(pr)return St(pr);Oe(Mn)})});Se(Pe),G(Pe,we)},"eventMethod");var YC=!1,Tt={_tasks:new XB,_createTaskItem(Pe,we){return{data:Pe,callback:we}},*[Symbol.iterator](){yield*Tt._tasks[Symbol.iterator]()},concurrency:b,payload:S,buffer:b/4,started:!1,paused:!1,push(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!1,!1,we)):It(Pe,!1,!1,we)},pushAsync(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!1,!0,we)):It(Pe,!1,!0,we)},kill(){Se(),Tt._tasks.empty()},unshift(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!0,!1,we)):It(Pe,!0,!1,we)},unshiftAsync(Pe,we){return Array.isArray(Pe)?om(Pe)?void 0:Pe.map(Oe=>It(Oe,!0,!0,we)):It(Pe,!0,!0,we)},remove(Pe){Tt._tasks.remove(Pe)},process(){if(!YC){for(YC=!0;!Tt.paused&&k{k(b,O,(J,Se)=>{b=Se,G(J)})},O=>N(O,b))}o(ZB,"reduce");var ka=y(ZB,4);function zC(...I){var b=I.map(E);return function(...S){var N=this,k=S[S.length-1];return typeof k=="function"?S.pop():k=Qa(),ka(b,S,(O,U,G)=>{U.apply(N,O.concat((J,...Se)=>{G(J,Se)}))},(O,U)=>k(O,...U)),k[As]}}o(zC,"seq");function be(...I){return zC(...I.reverse())}o(be,"compose");function P(I,b,S,N){return w(Ae(b),I,S,N)}o(P,"mapLimit");var x=y(P,4);function F(I,b,S,N){var k=E(S);return x(I,b,(O,U)=>{k(O,(G,...J)=>G?U(G):U(G,J))},(O,U)=>{for(var G=[],J=0;J{var U=!1,G;let J=E(k);S(N,(Se,Ct,Rt)=>{J(Se,(It,To)=>{if(It||It===!1)return Rt(It);if(I(To)&&!G)return U=!0,G=b(!0,Se),Rt(null,M);Rt()})},Se=>{if(Se)return O(Se);O(null,U?G:b(!1))})}}o(Yt,"_createTester");function Sh(I,b,S){return Yt(N=>N,(N,k)=>k)(Et,I,b,S)}o(Sh,"detect");var sm=y(Sh,3);function ex(I,b,S,N){return Yt(k=>k,(k,O)=>O)(Ae(b),I,S,N)}o(ex,"detectLimit");var tx=y(ex,4);function tUe(I,b,S){return Yt(N=>N,(N,k)=>k)(Ae(1),I,b,S)}o(tUe,"detectSeries");var rx=y(tUe,3);function JX(I){return(b,...S)=>E(b)(...S,(N,...k)=>{typeof console=="object"&&(N?console.error&&console.error(N):console[I]&&k.forEach(O=>console[I](O)))})}o(JX,"consoleFunc");var WX=JX("dir");function rUe(I,b,S){S=ee(S);var N=E(I),k=E(b),O;function U(J,...Se){if(J)return S(J);J!==!1&&(O=Se,k(...Se,G))}o(U,"next");function G(J,Se){if(J)return S(J);if(J!==!1){if(!Se)return S(null,...O);N(U)}}return o(G,"check"),G(null,!0)}o(rUe,"doWhilst");var jC=y(rUe,3);function YX(I,b,S){let N=E(b);return jC(I,(...k)=>{let O=k.pop();N(...k,(U,G)=>O(U,!G))},S)}o(YX,"doUntil");function KX(I){return(b,S,N)=>I(b,N)}o(KX,"_withoutIndex");function nUe(I,b,S){return Et(I,KX(E(b)),S)}o(nUe,"eachLimit$2");var nx=y(nUe,3);function iUe(I,b,S,N){return Ae(b)(I,KX(E(S)),N)}o(iUe,"eachLimit");var $C=y(iUe,4);function sUe(I,b,S){return $C(I,1,b,S)}o(sUe,"eachSeries");var JC=y(sUe,3);function sL(I){return p(I)?I:function(...b){var S=b.pop(),N=!0;b.push((...k)=>{N?u(()=>S(...k)):S(...k)}),I.apply(this,b),N=!1}}o(sL,"ensureAsync");function oUe(I,b,S){return Yt(N=>!N,N=>!N)(Et,I,b,S)}o(oUe,"every");var ix=y(oUe,3);function aUe(I,b,S,N){return Yt(k=>!k,k=>!k)(Ae(b),I,S,N)}o(aUe,"everyLimit");var sx=y(aUe,4);function cUe(I,b,S){return Yt(N=>!N,N=>!N)(Jr,I,b,S)}o(cUe,"everySeries");var ox=y(cUe,3);function lUe(I,b,S,N){var k=new Array(b.length);I(b,(O,U,G)=>{S(O,(J,Se)=>{k[U]=!!Se,G(J)})},O=>{if(O)return N(O);for(var U=[],G=0;G{S(O,(J,Se)=>{if(J)return G(J);Se&&k.push({index:U,value:O}),G(J)})},O=>{if(O)return N(O);N(null,k.sort((U,G)=>U.index-G.index).map(U=>U.value))})}o(uUe,"filterGeneric");function ax(I,b,S,N){var k=B(b)?lUe:uUe;return k(I,b,E(S),N)}o(ax,"_filter");function dUe(I,b,S){return ax(Et,I,b,S)}o(dUe,"filter");var cx=y(dUe,3);function fUe(I,b,S,N){return ax(Ae(b),I,S,N)}o(fUe,"filterLimit");var lx=y(fUe,4);function hUe(I,b,S){return ax(Jr,I,b,S)}o(hUe,"filterSeries");var ux=y(hUe,3);function pUe(I,b){var S=ee(b),N=E(sL(I));function k(O){if(O)return S(O);O!==!1&&N(k)}return o(k,"next"),k()}o(pUe,"forever");var XX=y(pUe,2);function AUe(I,b,S,N){var k=E(S);return x(I,b,(O,U)=>{k(O,(G,J)=>G?U(G):U(G,{key:J,val:O}))},(O,U)=>{for(var G={},{hasOwnProperty:J}=Object.prototype,Se=0;Se{O(U,G,(Se,Ct)=>{if(Se)return J(Se);k[G]=Ct,J(Se)})},U=>N(U,k))}o(mUe,"mapValuesLimit");var fx=y(mUe,4);function rZ(I,b,S){return fx(I,1/0,b,S)}o(rZ,"mapValues");function nZ(I,b,S){return fx(I,1,b,S)}o(nZ,"mapValuesSeries");function iZ(I,b=S=>S){var S=Object.create(null),N=Object.create(null),k=E(I),O=r((U,G)=>{var J=b(...U);J in S?u(()=>G(null,...S[J])):J in N?N[J].push(G):(N[J]=[G],k(...U,(Se,...Ct)=>{Se||(S[J]=Ct);var Rt=N[J];delete N[J];for(var It=0,To=Rt.length;It{var N=B(b)?[]:{};I(b,(k,O,U)=>{E(k)((G,...J)=>{J.length<2&&([J]=J),N[O]=J,U(G)})},k=>S(k,N))},3);function oZ(I,b){return oL(Et,I,b)}o(oZ,"parallel");function aZ(I,b,S){return oL(Ae(b),I,S)}o(aZ,"parallelLimit");function aL(I,b){var S=E(I);return nm((N,k)=>{S(N[0],k)},b,1)}o(aL,"queue");class gUe{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&&cL(this.heap[b],this.heap[S=cZ(b)]);){let N=this.heap[b];this.heap[b]=this.heap[S],this.heap[S]=N,b=S}}percDown(b){let S;for(;(S=yUe(b))=0;N--)this.percDown(N);return this}}function yUe(I){return(I<<1)+1}o(yUe,"leftChi");function cZ(I){return(I+1>>1)-1}o(cZ,"parent");function cL(I,b){return I.priority!==b.priority?I.priority({data:U,priority:G,callback:J});function O(U,G){return Array.isArray(U)?U.map(J=>({data:J,priority:G})):{data:U,priority:G}}return o(O,"createDataItems"),S.push=function(U,G=0,J){return N(O(U,G),J)},S.pushAsync=function(U,G=0,J){return k(O(U,G),J)},delete S.unshift,delete S.unshiftAsync,S}o(lZ,"priorityQueue");function EUe(I,b){if(b=v(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 S=0,N=I.length;S{let G={};if(O&&(G.error=O),U.length>0){var J=U;U.length<=1&&([J]=U),G.value=J}k(null,G)}),b.apply(this,N)},"reflectOn"))}o(Ax,"reflect");function dZ(I){var b;return Array.isArray(I)?b=I.map(Ax):(b={},Object.keys(I).forEach(S=>{b[S]=Ax.call(this,I[S])})),b}o(dZ,"reflectAll");function lL(I,b,S,N){let k=E(S);return ax(I,b,(O,U)=>{k(O,(G,J)=>{U(G,!J)})},N)}o(lL,"reject$2");function CUe(I,b,S){return lL(Et,I,b,S)}o(CUe,"reject");var fZ=y(CUe,3);function bUe(I,b,S,N){return lL(Ae(b),I,S,N)}o(bUe,"rejectLimit");var hZ=y(bUe,4);function wUe(I,b,S){return lL(Jr,I,b,S)}o(wUe,"rejectSeries");var pZ=y(wUe,3);function AZ(I){return function(){return I}}o(AZ,"constant");let uL=5,mZ=0;function mx(I,b,S){var N={times:uL,intervalFunc:AZ(mZ)};if(arguments.length<3&&typeof I=="function"?(S=b||Qa(),b=I):(IUe(N,I),S=S||Qa()),typeof b!="function")throw new Error("Invalid arguments for async.retry");var k=E(b),O=1;function U(){k((G,...J)=>{G!==!1&&(G&&O++{(k.lengthN)(Et,I,b,S)}o(SUe,"some");var gx=y(SUe,3);function BUe(I,b,S,N){return Yt(Boolean,k=>k)(Ae(b),I,S,N)}o(BUe,"someLimit");var yx=y(BUe,4);function xUe(I,b,S){return Yt(Boolean,N=>N)(Jr,I,b,S)}o(xUe,"someSeries");var Ex=y(xUe,3);function vUe(I,b,S){var N=E(b);return fn(I,(O,U)=>{N(O,(G,J)=>{if(G)return U(G);U(G,{value:O,criteria:J})})},(O,U)=>{if(O)return S(O);S(null,U.sort(k).map(G=>G.value))});function k(O,U){var G=O.criteria,J=U.criteria;return GJ?1:0}}o(vUe,"sortBy");var EZ=y(vUe,3);function CZ(I,b,S){var N=E(I);return r((k,O)=>{var U=!1,G;function J(){var Se=I.name||"anonymous",Ct=new Error('Callback function "'+Se+'" timed out.');Ct.code="ETIMEDOUT",S&&(Ct.info=S),U=!0,O(Ct)}o(J,"timeoutCallback"),k.push((...Se)=>{U||(O(...Se),clearTimeout(G))}),G=setTimeout(J,b),N(...k)})}o(CZ,"timeout");function NUe(I){for(var b=Array(I);I--;)b[I]=I;return b}o(NUe,"range");function Cx(I,b,S,N){var k=E(S);return x(NUe(I),b,k,N)}o(Cx,"timesLimit");function bZ(I,b,S){return Cx(I,1/0,b,S)}o(bZ,"times");function wZ(I,b,S){return Cx(I,1,b,S)}o(wZ,"timesSeries");function IZ(I,b,S,N){arguments.length<=3&&typeof b=="function"&&(N=S,S=b,b=Array.isArray(I)?[]:{}),N=v(N||Qa());var k=E(S);return Et(I,(O,U,G)=>{k(b,O,U,G)},O=>N(O,b)),N[As]}o(IZ,"transform");function _Ue(I,b){var S=null,N;return JC(I,(k,O)=>{E(k)((U,...G)=>{if(U===!1)return O(U);G.length<2?[N]=G:N=G,S=U,O(U?null:{})})},()=>b(S,N))}o(_Ue,"tryEach");var SZ=y(_Ue);function BZ(I){return(...b)=>(I.unmemoized||I)(...b)}o(BZ,"unmemoize");function RUe(I,b,S){S=ee(S);var N=E(b),k=E(I),O=[];function U(J,...Se){if(J)return S(J);O=Se,J!==!1&&k(G)}o(U,"next");function G(J,Se){if(J)return S(J);if(J!==!1){if(!Se)return S(null,...O);N(U)}}return o(G,"check"),k(G)}o(RUe,"whilst");var WC=y(RUe,3);function xZ(I,b,S){let N=E(I);return WC(k=>N((O,U)=>k(O,!U)),b,S)}o(xZ,"until");function TUe(I,b){if(b=v(b),!Array.isArray(I))return b(new Error("First argument to waterfall must be an array of functions"));if(!I.length)return b();var S=0;function N(O){var U=E(I[S++]);U(...O,ee(k))}o(N,"nextTask");function k(O,...U){if(O!==!1){if(O||S===I.length)return b(O,...U);N(U)}}o(k,"next"),N([])}o(TUe,"waterfall");var vZ=y(TUe),DUe={apply:e,applyEach:si,applyEachSeries:Ic,asyncify:d,auto:Td,autoInject:rm,cargo:im,cargoQueue:Vs,compose:be,concat:X,concatLimit:q,concatSeries:wt,constant:hn,detect:sm,detectLimit:tx,detectSeries:rx,dir:WX,doUntil:YX,doWhilst:jC,each:nx,eachLimit:$C,eachOf:Et,eachOfLimit:z,eachOfSeries:Jr,eachSeries:JC,ensureAsync:sL,every:ix,everyLimit:sx,everySeries:ox,filter:cx,filterLimit:lx,filterSeries:ux,forever:XX,groupBy:ZX,groupByLimit:dx,groupBySeries:eZ,log:tZ,map:fn,mapLimit:x,mapSeries:uu,mapValues:rZ,mapValuesLimit:fx,mapValuesSeries:nZ,memoize:iZ,nextTick:sZ,parallel:oZ,parallelLimit:aZ,priorityQueue:lZ,queue:aL,race:uZ,reduce:ka,reduceRight:px,reflect:Ax,reflectAll:dZ,reject:fZ,rejectLimit:hZ,rejectSeries:pZ,retry:mx,retryable:gZ,seq:zC,series:yZ,setImmediate:u,some:gx,someLimit:yx,someSeries:Ex,sortBy:EZ,timeout:CZ,times:bZ,timesLimit:Cx,timesSeries:wZ,transform:IZ,tryEach:SZ,unmemoize:BZ,until:xZ,waterfall:vZ,whilst:WC,all:ix,allLimit:sx,allSeries:ox,any:gx,anyLimit:yx,anySeries:Ex,find:sm,findLimit:tx,findSeries:rx,flatMap:X,flatMapLimit:q,flatMapSeries:wt,forEach:nx,forEachSeries:JC,forEachLimit:$C,forEachOf:Et,forEachOfSeries:Jr,forEachOfLimit:z,inject:ka,foldl:ka,foldr:px,select:cx,selectLimit:lx,selectSeries:ux,wrapSync:d,during:WC,doDuring:jC};t.all=ix,t.allLimit=sx,t.allSeries=ox,t.any=gx,t.anyLimit=yx,t.anySeries=Ex,t.apply=e,t.applyEach=si,t.applyEachSeries=Ic,t.asyncify=d,t.auto=Td,t.autoInject=rm,t.cargo=im,t.cargoQueue=Vs,t.compose=be,t.concat=X,t.concatLimit=q,t.concatSeries=wt,t.constant=hn,t.default=DUe,t.detect=sm,t.detectLimit=tx,t.detectSeries=rx,t.dir=WX,t.doDuring=jC,t.doUntil=YX,t.doWhilst=jC,t.during=WC,t.each=nx,t.eachLimit=$C,t.eachOf=Et,t.eachOfLimit=z,t.eachOfSeries=Jr,t.eachSeries=JC,t.ensureAsync=sL,t.every=ix,t.everyLimit=sx,t.everySeries=ox,t.filter=cx,t.filterLimit=lx,t.filterSeries=ux,t.find=sm,t.findLimit=tx,t.findSeries=rx,t.flatMap=X,t.flatMapLimit=q,t.flatMapSeries=wt,t.foldl=ka,t.foldr=px,t.forEach=nx,t.forEachLimit=$C,t.forEachOf=Et,t.forEachOfLimit=z,t.forEachOfSeries=Jr,t.forEachSeries=JC,t.forever=XX,t.groupBy=ZX,t.groupByLimit=dx,t.groupBySeries=eZ,t.inject=ka,t.log=tZ,t.map=fn,t.mapLimit=x,t.mapSeries=uu,t.mapValues=rZ,t.mapValuesLimit=fx,t.mapValuesSeries=nZ,t.memoize=iZ,t.nextTick=sZ,t.parallel=oZ,t.parallelLimit=aZ,t.priorityQueue=lZ,t.queue=aL,t.race=uZ,t.reduce=ka,t.reduceRight=px,t.reflect=Ax,t.reflectAll=dZ,t.reject=fZ,t.rejectLimit=hZ,t.rejectSeries=pZ,t.retry=mx,t.retryable=gZ,t.select=cx,t.selectLimit=lx,t.selectSeries=ux,t.seq=zC,t.series=yZ,t.setImmediate=u,t.some=gx,t.someLimit=yx,t.someSeries=Ex,t.sortBy=EZ,t.timeout=CZ,t.times=bZ,t.timesLimit=Cx,t.timesSeries=wZ,t.transform=IZ,t.tryEach=SZ,t.unmemoize=BZ,t.until=xZ,t.waterfall=vZ,t.whilst=WC,t.wrapSync=d,Object.defineProperty(t,"__esModule",{value:!0})}))});var OBe=A((jxr,PBe)=>{var Of=require("constants"),$bt=process.cwd,MQ=null,Jbt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return MQ||(MQ=$bt.call(process)),MQ};try{process.cwd()}catch{}typeof process.chdir=="function"&&(tJ=process.chdir,process.chdir=function(t){MQ=null,tJ.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,tJ));var tJ;PBe.exports=Wbt;function Wbt(t){Of.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(){}),Jbt==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(d){function f(h,p,m){var g=Date.now(),E=0;d(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,B){w&&w.code==="ENOENT"?d(h,p,y):m(C)})},E),E<100&&(E+=10);return}m&&m(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,m,g,E,y){var C;if(y&&typeof y=="function"){var w=0;C=o(function(B,Q,M){if(B&&B.code==="EAGAIN"&&w<10)return w++,d.call(t,h,p,m,g,E,C);y.apply(this,arguments)},"callback")}return d.call(t,h,p,m,g,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,m,g){for(var E=0;;)try{return d.call(t,f,h,p,m,g)}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,Of.O_WRONLY|Of.O_SYMLINK,h,function(m,g){if(m){p&&p(m);return}d.fchmod(g,h,function(E){d.close(g,function(y){p&&p(E||y)})})})},d.lchmodSync=function(f,h){var p=d.openSync(f,Of.O_WRONLY|Of.O_SYMLINK,h),m=!0,g;try{g=d.fchmodSync(p,h),m=!1}finally{if(m)try{d.closeSync(p)}catch{}else d.closeSync(p)}return g}}o(e,"patchLchmod");function r(d){Of.hasOwnProperty("O_SYMLINK")&&d.futimes?(d.lutimes=function(f,h,p,m){d.open(f,Of.O_SYMLINK,function(g,E){if(g){m&&m(g);return}d.futimes(E,h,p,function(y){d.close(E,function(C){m&&m(y||C)})})})},d.lutimesSync=function(f,h,p){var m=d.openSync(f,Of.O_SYMLINK),g,E=!0;try{g=d.futimesSync(m,h,p),E=!1}finally{if(E)try{d.closeSync(m)}catch{}else d.closeSync(m)}return g}):d.futimes&&(d.lutimes=function(f,h,p,m){m&&process.nextTick(m)},d.lutimesSync=function(){})}o(r,"patchLutimes");function n(d){return d&&function(f,h,p){return d.call(t,f,h,function(m){u(m)&&(m=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,m){return d.call(t,f,h,p,function(g){u(g)&&(g=null),m&&m.apply(this,arguments)})}}o(s,"chownFix");function a(d){return d&&function(f,h,p){try{return d.call(t,f,h,p)}catch(m){if(!u(m))throw m}}}o(a,"chownFixSync");function c(d){return d&&function(f,h,p){typeof h=="function"&&(p=h,h=null);function m(g,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),p&&p.apply(this,arguments)}return o(m,"callback"),h?d.call(t,f,h,m):d.call(t,f,m)}}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(Wbt,"patch")});var MBe=A((Jxr,FBe)=>{var LBe=require("stream").Stream;FBe.exports=Ybt;function Ybt(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);LBe.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);LBe.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(Ybt,"legacy")});var qBe=A((Yxr,UBe)=>{"use strict";UBe.exports=Xbt;var Kbt=Object.getPrototypeOf||function(t){return t.__proto__};function Xbt(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:Kbt(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}o(Xbt,"clone")});var sJ=A((Xxr,iJ)=>{var Nr=require("fs"),Zbt=OBe(),e0t=MBe(),t0t=qBe(),UQ=require("util"),mi,GQ;typeof Symbol=="function"&&typeof Symbol.for=="function"?(mi=Symbol.for("graceful-fs.queue"),GQ=Symbol.for("graceful-fs.previous")):(mi="___graceful-fs.queue",GQ="___graceful-fs.previous");function r0t(){}o(r0t,"noop");function VBe(t,e){Object.defineProperty(t,mi,{get:o(function(){return e},"get")})}o(VBe,"publishQueue");var nA=r0t;UQ.debuglog?nA=UQ.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(nA=o(function(){var t=UQ.format.apply(UQ,arguments);t="GFS4: "+t.split(/\n/).join(` +GFS4: `),console.error(t)},"debug"));Nr[mi]||(GBe=global[mi]||[],VBe(Nr,GBe),Nr.close=(function(t){function e(r,n){return t.call(Nr,r,function(i){i||HBe(),typeof n=="function"&&n.apply(this,arguments)})}return o(e,"close"),Object.defineProperty(e,GQ,{value:t}),e})(Nr.close),Nr.closeSync=(function(t){function e(r){t.apply(Nr,arguments),HBe()}return o(e,"closeSync"),Object.defineProperty(e,GQ,{value:t}),e})(Nr.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){nA(Nr[mi]),require("assert").equal(Nr[mi].length,0)}));var GBe;global[mi]||VBe(global,Nr[mi]);iJ.exports=rJ(t0t(Nr));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Nr.__patched&&(iJ.exports=rJ(Nr),Nr.__patched=!0);function rJ(t){Zbt(t),t.gracefulify=rJ,t.createReadStream=Q,t.createWriteStream=M;var e=t.readFile;t.readFile=r;function r(T,H,V){return typeof H=="function"&&(V=H,H=null),W(T,H,V);function W(ee,ae,Ae,Y){return e(ee,ae,function(z){z&&(z.code==="EMFILE"||z.code==="ENFILE")?iE([W,[ee,ae,Ae],z,Y||Date.now(),Date.now()]):typeof Ae=="function"&&Ae.apply(this,arguments)})}o(W,"go$readFile")}o(r,"readFile");var n=t.writeFile;t.writeFile=i;function i(T,H,V,W){return typeof V=="function"&&(W=V,V=null),ee(T,H,V,W);function ee(ae,Ae,Y,z,Ie){return n(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,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,H,V,W){return typeof V=="function"&&(W=V,V=null),ee(T,H,V,W);function ee(ae,Ae,Y,z,Ie){return s(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,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,H,V,W){return typeof V=="function"&&(W=V,V=0),ee(T,H,V,W);function ee(ae,Ae,Y,z,Ie){return c(ae,Ae,Y,function(Be){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,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=f;var d=/^v[0-5]\./;function f(T,H,V){typeof H=="function"&&(V=H,H=null);var W=d.test(process.version)?o(function(Ae,Y,z,Ie){return u(Ae,ee(Ae,Y,z,Ie))},"go$readdir"):o(function(Ae,Y,z,Ie){return u(Ae,Y,ee(Ae,Y,z,Ie))},"go$readdir");return W(T,H,V);function ee(ae,Ae,Y,z){return function(Ie,Be){Ie&&(Ie.code==="EMFILE"||Ie.code==="ENFILE")?iE([W,[ae,Ae,Y],Ie,z||Date.now(),Date.now()]):(Be&&Be.sort&&Be.sort(),typeof Y=="function"&&Y.call(this,Ie,Be))}}}if(o(f,"readdir"),process.version.substr(0,4)==="v0.8"){var h=e0t(t);y=h.ReadStream,w=h.WriteStream}var p=t.ReadStream;p&&(y.prototype=Object.create(p.prototype),y.prototype.open=C);var m=t.WriteStream;m&&(w.prototype=Object.create(m.prototype),w.prototype.open=B),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,H){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(H,V){H?(T.autoClose&&T.destroy(),T.emit("error",H)):(T.fd=V,T.emit("open",V),T.read())})}o(C,"ReadStream$open");function w(T,H){return this instanceof w?(m.apply(this,arguments),this):w.apply(Object.create(w.prototype),arguments)}o(w,"WriteStream");function B(){var T=this;j(T.path,T.flags,T.mode,function(H,V){H?(T.destroy(),T.emit("error",H)):(T.fd=V,T.emit("open",V))})}o(B,"WriteStream$open");function Q(T,H){return new t.ReadStream(T,H)}o(Q,"createReadStream");function M(T,H){return new t.WriteStream(T,H)}o(M,"createWriteStream");var v=t.open;t.open=j;function j(T,H,V,W){return typeof V=="function"&&(W=V,V=null),ee(T,H,V,W);function ee(ae,Ae,Y,z,Ie){return v(ae,Ae,Y,function(Be,it){Be&&(Be.code==="EMFILE"||Be.code==="ENFILE")?iE([ee,[ae,Ae,Y,z],Be,Ie||Date.now(),Date.now()]):typeof z=="function"&&z.apply(this,arguments)})}o(ee,"go$open")}return o(j,"open"),t}o(rJ,"patch");function iE(t){nA("ENQUEUE",t[0].name,t[1]),Nr[mi].push(t),nJ()}o(iE,"enqueue");var qQ;function HBe(){for(var t=Date.now(),e=0;e2&&(Nr[mi][e][3]=t,Nr[mi][e][4]=t);nJ()}o(HBe,"resetQueue");function nJ(){if(clearTimeout(qQ),qQ=void 0,Nr[mi].length!==0){var t=Nr[mi].shift(),e=t[0],r=t[1],n=t[2],i=t[3],s=t[4];if(i===void 0)nA("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){nA("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?(nA("RETRY",e.name,r),e.apply(null,r.concat([i]))):Nr[mi].push(t)}qQ===void 0&&(qQ=setTimeout(nJ,0))}}o(nJ,"retry")});var HQ=A((evr,zBe)=>{"use strict";var Ol=o(t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function","isStream");Ol.writable=t=>Ol(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";Ol.readable=t=>Ol(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";Ol.duplex=t=>Ol.writable(t)&&Ol.readable(t);Ol.transform=t=>Ol.duplex(t)&&typeof t._transform=="function";zBe.exports=Ol});var VI=A((rvr,oJ)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?oJ.exports={nextTick:n0t}:oJ.exports=process;function n0t(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 i0t={}.toString;jBe.exports=Array.isArray||function(t){return i0t.call(t)=="[object Array]"}});var aJ=A((svr,JBe)=>{JBe.exports=require("stream")});var zI=A((cJ,YBe)=>{var VQ=require("buffer"),ad=VQ.Buffer;function WBe(t,e){for(var r in t)e[r]=t[r]}o(WBe,"copyProps");ad.from&&ad.alloc&&ad.allocUnsafe&&ad.allocUnsafeSlow?YBe.exports=VQ:(WBe(VQ,cJ),cJ.Buffer=sE);function sE(t,e,r){return ad(t,e,r)}o(sE,"SafeBuffer");WBe(ad,sE);sE.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return ad(t,e,r)};sE.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=ad(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 ad(t)};sE.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return VQ.SlowBuffer(t)}});var oE=A(_i=>{function s0t(t){return Array.isArray?Array.isArray(t):zQ(t)==="[object Array]"}o(s0t,"isArray");_i.isArray=s0t;function o0t(t){return typeof t=="boolean"}o(o0t,"isBoolean");_i.isBoolean=o0t;function a0t(t){return t===null}o(a0t,"isNull");_i.isNull=a0t;function c0t(t){return t==null}o(c0t,"isNullOrUndefined");_i.isNullOrUndefined=c0t;function l0t(t){return typeof t=="number"}o(l0t,"isNumber");_i.isNumber=l0t;function u0t(t){return typeof t=="string"}o(u0t,"isString");_i.isString=u0t;function d0t(t){return typeof t=="symbol"}o(d0t,"isSymbol");_i.isSymbol=d0t;function f0t(t){return t===void 0}o(f0t,"isUndefined");_i.isUndefined=f0t;function h0t(t){return zQ(t)==="[object RegExp]"}o(h0t,"isRegExp");_i.isRegExp=h0t;function p0t(t){return typeof t=="object"&&t!==null}o(p0t,"isObject");_i.isObject=p0t;function A0t(t){return zQ(t)==="[object Date]"}o(A0t,"isDate");_i.isDate=A0t;function m0t(t){return zQ(t)==="[object Error]"||t instanceof Error}o(m0t,"isError");_i.isError=m0t;function g0t(t){return typeof t=="function"}o(g0t,"isFunction");_i.isFunction=g0t;function y0t(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}o(y0t,"isPrimitive");_i.isPrimitive=y0t;_i.isBuffer=require("buffer").Buffer.isBuffer;function zQ(t){return Object.prototype.toString.call(t)}o(zQ,"objectToString")});var KBe=A((lvr,lJ)=>{typeof Object.create=="function"?lJ.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"):lJ.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((dvr,dJ)=>{try{if(uJ=require("util"),typeof uJ.inherits!="function")throw"";dJ.exports=uJ.inherits}catch{dJ.exports=KBe()}var uJ});var ZBe=A((fvr,fJ)=>{"use strict";function E0t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o(E0t,"_classCallCheck");var XBe=zI().Buffer,jI=require("util");function C0t(t,e,r){t.copy(e,r)}o(C0t,"copyBuffer");fJ.exports=(function(){function t(){E0t(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 XBe.alloc(0);for(var n=XBe.allocUnsafe(r>>>0),i=this.head,s=0;i;)C0t(i.data,n,s),s+=i.data.length,i=i.next;return n},"concat"),t})();jI&&jI.inspect&&jI.inspect.custom&&(fJ.exports.prototype[jI.inspect.custom]=function(){var t=jI.inspect({length:this.length});return this.constructor.name+" "+t})});var hJ=A((pvr,exe)=>{"use strict";var jQ=VI();function b0t(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,jQ.nextTick($Q,this,t)):jQ.nextTick($Q,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,jQ.nextTick($Q,r,s)):jQ.nextTick($Q,r,s):e&&e(s)}),this)}o(b0t,"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 $Q(t,e){t.emit("error",e)}o($Q,"emitErrorNT");exe.exports={destroy:b0t,undestroy:w0t}});var rxe=A((mvr,txe)=>{txe.exports=require("util").deprecate});var AJ=A((gvr,uxe)=>{"use strict";var iA=VI();uxe.exports=bn;function ixe(t){var e=this;this.next=null,this.entry=null,this.finish=function(){U0t(e,t)}}o(ixe,"CorkedRequest");var I0t=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:iA.nextTick,cE;bn.WritableState=JI;var sxe=Object.create(oE());sxe.inherits=aE();var S0t={deprecate:rxe()},oxe=aJ(),WQ=zI().Buffer,B0t=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function x0t(t){return WQ.from(t)}o(x0t,"_uint8ArrayToBuffer");function v0t(t){return WQ.isBuffer(t)||t instanceof B0t}o(v0t,"_isUint8Array");var axe=hJ();sxe.inherits(bn,oxe);function N0t(){}o(N0t,"nop");function JI(t,e){cE=cE||sA(),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){P0t(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 ixe(this)}o(JI,"WritableState");JI.prototype.getBuffer=o(function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r},"getBuffer");(function(){try{Object.defineProperty(JI.prototype,"buffer",{get:S0t.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var JQ;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(JQ=Function.prototype[Symbol.hasInstance],Object.defineProperty(bn,Symbol.hasInstance,{value:o(function(t){return JQ.call(this,t)?!0:this!==bn?!1:t&&t._writableState instanceof JI},"value")})):JQ=o(function(t){return t instanceof this},"realHasInstance");function bn(t){if(cE=cE||sA(),!JQ.call(bn,this)&&!(this instanceof cE))return new bn(t);this._writableState=new JI(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)),oxe.call(this)}o(bn,"Writable");bn.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function _0t(t,e){var r=new Error("write after end");t.emit("error",r),iA.nextTick(e,r)}o(_0t,"writeAfterEnd");function R0t(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),iA.nextTick(n,s),i=!1),i}o(R0t,"validChunk");bn.prototype.write=function(t,e,r){var n=this._writableState,i=!1,s=!n.objectMode&&v0t(t);return s&&!WQ.isBuffer(t)&&(t=x0t(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=N0t),n.ended?_0t(this,r):(s||R0t(this,n,t,r))&&(n.pendingcb++,i=D0t(this,n,s,t,e,r)),i};bn.prototype.cork=function(){var t=this._writableState;t.corked++};bn.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&cxe(this,t))};bn.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 T0t(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=WQ.from(e,r)),e}o(T0t,"decodeChunk");Object.defineProperty(bn.prototype,"writableHighWaterMark",{enumerable:!1,get:o(function(){return this._writableState.highWaterMark},"get")});function D0t(t,e,r,n,i,s){if(!r){var a=T0t(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=VI(),q0t=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};pxe.exports=cd;var fxe=Object.create(oE());fxe.inherits=aE();var hxe=yJ(),gJ=AJ();fxe.inherits(cd,hxe);for(mJ=q0t(gJ.prototype),YQ=0;YQ{"use strict";var CJ=zI().Buffer,Axe=CJ.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 V0t(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(V0t,"_normalizeEncoding");function z0t(t){var e=V0t(t);if(typeof e!="string"&&(CJ.isEncoding===Axe||!Axe(t)))throw new Error("Unknown encoding: "+t);return e||t}o(z0t,"normalizeEncoding");mxe.StringDecoder=WI;function WI(t){this.encoding=z0t(t);var e;switch(this.encoding){case"utf16le":this.text=K0t,this.end=X0t,e=4;break;case"utf8":this.fillLast=J0t,e=4;break;case"base64":this.text=Z0t,this.end=ewt,e=3;break;default:this.write=twt,this.end=rwt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=CJ.allocUnsafe(e)}o(WI,"StringDecoder");WI.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(EJ,"utf8CheckByte");function j0t(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(j0t,"utf8CheckIncomplete");function $0t(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($0t,"utf8CheckExtraBytes");function J0t(t){var e=this.lastTotal-this.lastNeed,r=$0t(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(J0t,"utf8FillLast");function W0t(t,e){var r=j0t(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(W0t,"utf8Text");function Y0t(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}o(Y0t,"utf8End");function K0t(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(K0t,"utf16Text");function X0t(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(X0t,"utf16End");function Z0t(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(Z0t,"base64Text");function ewt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}o(ewt,"base64End");function twt(t){return t.toString(this.encoding)}o(twt,"simpleWrite");function rwt(t){return t&&t.length?this.write(t):""}o(rwt,"simpleEnd")});var yJ=A((Svr,Nxe)=>{"use strict";var uE=VI();Nxe.exports=cr;var nwt=$Be(),YI;cr.ReadableState=Ixe;var Ivr=require("events").EventEmitter,Cxe=o(function(t,e){return t.listeners(e).length},"EElistenerCount"),xJ=aJ(),KI=zI().Buffer,iwt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function swt(t){return KI.from(t)}o(swt,"_uint8ArrayToBuffer");function owt(t){return KI.isBuffer(t)||t instanceof iwt}o(owt,"_isUint8Array");var bxe=Object.create(oE());bxe.inherits=aE();var wJ=require("util"),Ft=void 0;wJ&&wJ.debuglog?Ft=wJ.debuglog("stream"):Ft=o(function(){},"debug");var awt=ZBe(),wxe=hJ(),lE;bxe.inherits(cr,xJ);var IJ=["error","close","destroy","pause","resume"];function cwt(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):nwt(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}o(cwt,"prependListener");function Ixe(t,e){YI=YI||sA(),t=t||{};var r=e instanceof YI;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 awt,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=bJ().StringDecoder),this.decoder=new lE(t.encoding),this.encoding=t.encoding)}o(Ixe,"ReadableState");function cr(t){if(YI=YI||sA(),!(this instanceof cr))return new cr(t);this._readableState=new Ixe(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),xJ.call(this)}o(cr,"Readable");Object.defineProperty(cr.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")});cr.prototype.destroy=wxe.destroy;cr.prototype._undestroy=wxe.undestroy;cr.prototype._destroy=function(t,e){this.push(null),e(t)};cr.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=KI.from(t,e),e=""),n=!0),Sxe(this,t,e,!1,n)};cr.prototype.unshift=function(t){return Sxe(this,t,null,!0,!1)};function Sxe(t,e,r,n,i){var s=t._readableState;if(e===null)s.reading=!1,fwt(t,s);else{var a;i||(a=lwt(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==KI.prototype&&(e=swt(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):SJ(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?SJ(t,s,e,!1):Bxe(t,s)):SJ(t,s,e,!1))):n||(s.reading=!1)}return uwt(s)}o(Sxe,"readableAddChunk");function SJ(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)),Bxe(t,e)}o(SJ,"addChunk");function lwt(t,e){var r;return!owt(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}o(lwt,"chunkInvalid");function uwt(t){return!t.ended&&(t.needReadable||t.length=gxe?t=gxe:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}o(dwt,"computeNewHighWaterMark");function yxe(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=dwt(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}o(yxe,"howMuchToRead");cr.prototype.read=function(t){Ft("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 Ft("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?BJ(this):XQ(this),null;if(t=yxe(t,e),t===0&&e.ended)return e.length===0&&BJ(this),null;var n=e.needReadable;Ft("need readable",n),(e.length===0||e.length-t0?i=xxe(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&&BJ(this)),i!==null&&this.emit("data",i),i};function fwt(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(fwt,"onEofChunk");function XQ(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Ft("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?uE.nextTick(Exe,t):Exe(t))}o(XQ,"emitReadable");function Exe(t){Ft("emit readable"),t.emit("readable"),vJ(t)}o(Exe,"emitReadable_");function Bxe(t,e){e.readingMore||(e.readingMore=!0,uE.nextTick(hwt,t,e))}o(Bxe,"maybeReadMore");function hwt(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&vxe(n.pipes,t)!==-1)&&!u&&(Ft("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),r.pause())}o(h,"ondata");function p(y){Ft("onerror",y),E(),t.removeListener("error",p),Cxe(t,"error")===0&&t.emit("error",y)}o(p,"onerror"),cwt(t,"error",p);function m(){t.removeListener("finish",g),E()}o(m,"onclose"),t.once("close",m);function g(){Ft("onfinish"),t.removeListener("close",m),E()}o(g,"onfinish"),t.once("finish",g);function E(){Ft("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),n.flowing||(Ft("pipe resume"),r.resume()),t};function pwt(t){return function(){var e=t._readableState;Ft("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&Cxe(t,"data")&&(e.flowing=!0,vJ(t))}}o(pwt,"pipeOnDrain");cr.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=ywt(t,e.buffer,e.decoder),r}o(xxe,"fromList");function ywt(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(Ewt,"copyFromBufferString");function Cwt(t,e){var r=KI.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(Cwt,"copyFromBuffer");function BJ(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(bwt,e,t))}o(BJ,"endReadable");function bwt(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}o(bwt,"endReadableNT");function vxe(t,e){for(var r=0,n=t.length;r{"use strict";Txe.exports=ld;var ZQ=sA(),Rxe=Object.create(oE());Rxe.inherits=aE();Rxe.inherits(ld,ZQ);function wwt(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";kxe.exports=XI;var Dxe=NJ(),Qxe=Object.create(oE());Qxe.inherits=aE();Qxe.inherits(XI,Dxe);function XI(t){if(!(this instanceof XI))return new XI(t);Dxe.call(this,t)}o(XI,"PassThrough");XI.prototype._transform=function(t,e,r){r(null,t)}});var Oxe=A((gi,e1)=>{var Ll=require("stream");process.env.READABLE_STREAM==="disable"&&Ll?(e1.exports=Ll,gi=e1.exports=Ll.Readable,gi.Readable=Ll.Readable,gi.Writable=Ll.Writable,gi.Duplex=Ll.Duplex,gi.Transform=Ll.Transform,gi.PassThrough=Ll.PassThrough,gi.Stream=Ll):(gi=e1.exports=yJ(),gi.Stream=Ll||gi,gi.Readable=gi,gi.Writable=AJ(),gi.Duplex=sA(),gi.Transform=NJ(),gi.PassThrough=Pxe())});var Fxe=A((Rvr,Lxe)=>{Lxe.exports=Oxe().PassThrough});var Gxe=A((Tvr,qxe)=>{var Mxe=require("util"),n1=Fxe();qxe.exports={Readable:t1,Writable:r1};Mxe.inherits(t1,n1);Mxe.inherits(r1,n1);function Uxe(t,e,r){t[e]=function(){return delete t[e],r.apply(this,arguments),this[e].apply(this,arguments)}}o(Uxe,"beforeFirstCall");function t1(t,e){if(!(this instanceof t1))return new t1(t,e);n1.call(this,e),Uxe(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),Uxe(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 _J=A((Qvr,Hxe)=>{Hxe.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 RJ=A((kvr,Vxe)=>{function Swt(t){return t}o(Swt,"identity");Vxe.exports=Swt});var jxe=A((Ovr,zxe)=>{function Bwt(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(Bwt,"apply");zxe.exports=Bwt});var Wxe=A((Fvr,Jxe)=>{var xwt=jxe(),$xe=Math.max;function vwt(t,e,r){return e=$xe(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=$xe(n.length-e,0),a=Array(s);++i{function Nwt(t){return function(){return t}}o(Nwt,"constant");Yxe.exports=Nwt});var TJ=A((Gvr,Xxe)=>{var _wt=typeof global=="object"&&global&&global.Object===Object&&global;Xxe.exports=_wt});var dE=A((Hvr,Zxe)=>{var Rwt=TJ(),Twt=typeof self=="object"&&self&&self.Object===Object&&self,Dwt=Rwt||Twt||Function("return this")();Zxe.exports=Dwt});var i1=A((Vvr,eve)=>{var Qwt=dE(),kwt=Qwt.Symbol;eve.exports=kwt});var ive=A((zvr,nve)=>{var tve=i1(),rve=Object.prototype,Pwt=rve.hasOwnProperty,Owt=rve.toString,ZI=tve?tve.toStringTag:void 0;function Lwt(t){var e=Pwt.call(t,ZI),r=t[ZI];try{t[ZI]=void 0;var n=!0}catch{}var i=Owt.call(t);return n&&(e?t[ZI]=r:delete t[ZI]),i}o(Lwt,"getRawTag");nve.exports=Lwt});var ove=A(($vr,sve)=>{var Fwt=Object.prototype,Mwt=Fwt.toString;function Uwt(t){return Mwt.call(t)}o(Uwt,"objectToString");sve.exports=Uwt});var eS=A((Wvr,lve)=>{var ave=i1(),qwt=ive(),Gwt=ove(),Hwt="[object Null]",Vwt="[object Undefined]",cve=ave?ave.toStringTag:void 0;function zwt(t){return t==null?t===void 0?Vwt:Hwt:cve&&cve in Object(t)?qwt(t):Gwt(t)}o(zwt,"baseGetTag");lve.exports=zwt});var tS=A((Kvr,uve)=>{function jwt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}o(jwt,"isObject");uve.exports=jwt});var DJ=A((Zvr,dve)=>{var $wt=eS(),Jwt=tS(),Wwt="[object AsyncFunction]",Ywt="[object Function]",Kwt="[object GeneratorFunction]",Xwt="[object Proxy]";function Zwt(t){if(!Jwt(t))return!1;var e=$wt(t);return e==Ywt||e==Kwt||e==Wwt||e==Xwt}o(Zwt,"isFunction");dve.exports=Zwt});var hve=A((tNr,fve)=>{var eIt=dE(),tIt=eIt["__core-js_shared__"];fve.exports=tIt});var mve=A((rNr,Ave)=>{var QJ=hve(),pve=(function(){var t=/[^.]+$/.exec(QJ&&QJ.keys&&QJ.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function rIt(t){return!!pve&&pve in t}o(rIt,"isMasked");Ave.exports=rIt});var yve=A((iNr,gve)=>{var nIt=Function.prototype,iIt=nIt.toString;function sIt(t){if(t!=null){try{return iIt.call(t)}catch{}try{return t+""}catch{}}return""}o(sIt,"toSource");gve.exports=sIt});var Cve=A((oNr,Eve)=>{var oIt=DJ(),aIt=mve(),cIt=tS(),lIt=yve(),uIt=/[\\^$.*+?()[\]{}|]/g,dIt=/^\[object .+?Constructor\]$/,fIt=Function.prototype,hIt=Object.prototype,pIt=fIt.toString,AIt=hIt.hasOwnProperty,mIt=RegExp("^"+pIt.call(AIt).replace(uIt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gIt(t){if(!cIt(t)||aIt(t))return!1;var e=oIt(t)?mIt:dIt;return e.test(lIt(t))}o(gIt,"baseIsNative");Eve.exports=gIt});var wve=A((cNr,bve)=>{function yIt(t,e){return t?.[e]}o(yIt,"getValue");bve.exports=yIt});var rS=A((uNr,Ive)=>{var EIt=Cve(),CIt=wve();function bIt(t,e){var r=CIt(t,e);return EIt(r)?r:void 0}o(bIt,"getNative");Ive.exports=bIt});var Bve=A((fNr,Sve)=>{var wIt=rS(),IIt=(function(){try{var t=wIt(Object,"defineProperty");return t({},"",{}),t}catch{}})();Sve.exports=IIt});var Nve=A((hNr,vve)=>{var SIt=Kxe(),xve=Bve(),BIt=RJ(),xIt=xve?function(t,e){return xve(t,"toString",{configurable:!0,enumerable:!1,value:SIt(e),writable:!0})}:BIt;vve.exports=xIt});var Rve=A((pNr,_ve)=>{var vIt=800,NIt=16,_It=Date.now;function RIt(t){var e=0,r=0;return function(){var n=_It(),i=NIt-(n-r);if(r=n,i>0){if(++e>=vIt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}o(RIt,"shortOut");_ve.exports=RIt});var Dve=A((mNr,Tve)=>{var TIt=Nve(),DIt=Rve(),QIt=DIt(TIt);Tve.exports=QIt});var s1=A((gNr,Qve)=>{var kIt=RJ(),PIt=Wxe(),OIt=Dve();function LIt(t,e){return OIt(PIt(t,e,kIt),t+"")}o(LIt,"baseRest");Qve.exports=LIt});var o1=A((ENr,kve)=>{function FIt(t,e){return t===e||t!==t&&e!==e}o(FIt,"eq");kve.exports=FIt});var kJ=A((bNr,Pve)=>{var MIt=9007199254740991;function UIt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=MIt}o(UIt,"isLength");Pve.exports=UIt});var a1=A((INr,Ove)=>{var qIt=DJ(),GIt=kJ();function HIt(t){return t!=null&&GIt(t.length)&&!qIt(t)}o(HIt,"isArrayLike");Ove.exports=HIt});var PJ=A((BNr,Lve)=>{var VIt=9007199254740991,zIt=/^(?:0|[1-9]\d*)$/;function jIt(t,e){var r=typeof t;return e=e??VIt,!!e&&(r=="number"||r!="symbol"&&zIt.test(t))&&t>-1&&t%1==0&&t{var $It=o1(),JIt=a1(),WIt=PJ(),YIt=tS();function KIt(t,e,r){if(!YIt(r))return!1;var n=typeof e;return(n=="number"?JIt(r)&&WIt(e,r.length):n=="string"&&e in r)?$It(r[e],t):!1}o(KIt,"isIterateeCall");Fve.exports=KIt});var qve=A((_Nr,Uve)=>{function XIt(t,e){for(var r=-1,n=Array(t);++r{function ZIt(t){return t!=null&&typeof t=="object"}o(ZIt,"isObjectLike");Gve.exports=ZIt});var Vve=A((QNr,Hve)=>{var eSt=eS(),tSt=fE(),rSt="[object Arguments]";function nSt(t){return tSt(t)&&eSt(t)==rSt}o(nSt,"baseIsArguments");Hve.exports=nSt});var OJ=A((PNr,$ve)=>{var zve=Vve(),iSt=fE(),jve=Object.prototype,sSt=jve.hasOwnProperty,oSt=jve.propertyIsEnumerable,aSt=zve((function(){return arguments})())?zve:function(t){return iSt(t)&&sSt.call(t,"callee")&&!oSt.call(t,"callee")};$ve.exports=aSt});var LJ=A((ONr,Jve)=>{var cSt=Array.isArray;Jve.exports=cSt});var Yve=A((LNr,Wve)=>{function lSt(){return!1}o(lSt,"stubFalse");Wve.exports=lSt});var eNe=A((nS,hE)=>{var uSt=dE(),dSt=Yve(),Zve=typeof nS=="object"&&nS&&!nS.nodeType&&nS,Kve=Zve&&typeof hE=="object"&&hE&&!hE.nodeType&&hE,fSt=Kve&&Kve.exports===Zve,Xve=fSt?uSt.Buffer:void 0,hSt=Xve?Xve.isBuffer:void 0,pSt=hSt||dSt;hE.exports=pSt});var rNe=A((MNr,tNe)=>{var ASt=eS(),mSt=kJ(),gSt=fE(),ySt="[object Arguments]",ESt="[object Array]",CSt="[object Boolean]",bSt="[object Date]",wSt="[object Error]",ISt="[object Function]",SSt="[object Map]",BSt="[object Number]",xSt="[object Object]",vSt="[object RegExp]",NSt="[object Set]",_St="[object String]",RSt="[object WeakMap]",TSt="[object ArrayBuffer]",DSt="[object DataView]",QSt="[object Float32Array]",kSt="[object Float64Array]",PSt="[object Int8Array]",OSt="[object Int16Array]",LSt="[object Int32Array]",FSt="[object Uint8Array]",MSt="[object Uint8ClampedArray]",USt="[object Uint16Array]",qSt="[object Uint32Array]",lr={};lr[QSt]=lr[kSt]=lr[PSt]=lr[OSt]=lr[LSt]=lr[FSt]=lr[MSt]=lr[USt]=lr[qSt]=!0;lr[ySt]=lr[ESt]=lr[TSt]=lr[CSt]=lr[DSt]=lr[bSt]=lr[wSt]=lr[ISt]=lr[SSt]=lr[BSt]=lr[xSt]=lr[vSt]=lr[NSt]=lr[_St]=lr[RSt]=!1;function GSt(t){return gSt(t)&&mSt(t.length)&&!!lr[ASt(t)]}o(GSt,"baseIsTypedArray");tNe.exports=GSt});var FJ=A((qNr,nNe)=>{function HSt(t){return function(e){return t(e)}}o(HSt,"baseUnary");nNe.exports=HSt});var sNe=A((iS,pE)=>{var VSt=TJ(),iNe=typeof iS=="object"&&iS&&!iS.nodeType&&iS,sS=iNe&&typeof pE=="object"&&pE&&!pE.nodeType&&pE,zSt=sS&&sS.exports===iNe,MJ=zSt&&VSt.process,jSt=(function(){try{var t=sS&&sS.require&&sS.require("util").types;return t||MJ&&MJ.binding&&MJ.binding("util")}catch{}})();pE.exports=jSt});var lNe=A((HNr,cNe)=>{var $St=rNe(),JSt=FJ(),oNe=sNe(),aNe=oNe&&oNe.isTypedArray,WSt=aNe?JSt(aNe):$St;cNe.exports=WSt});var dNe=A((VNr,uNe)=>{var YSt=qve(),KSt=OJ(),XSt=LJ(),ZSt=eNe(),eBt=PJ(),tBt=lNe(),rBt=Object.prototype,nBt=rBt.hasOwnProperty;function iBt(t,e){var r=XSt(t),n=!r&&KSt(t),i=!r&&!n&&ZSt(t),s=!r&&!n&&!i&&tBt(t),a=r||n||i||s,c=a?YSt(t.length,String):[],l=c.length;for(var u in t)(e||nBt.call(t,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||eBt(u,l)))&&c.push(u);return c}o(iBt,"arrayLikeKeys");uNe.exports=iBt});var hNe=A((jNr,fNe)=>{var sBt=Object.prototype;function oBt(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||sBt;return t===r}o(oBt,"isPrototype");fNe.exports=oBt});var ANe=A((JNr,pNe)=>{function aBt(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}o(aBt,"nativeKeysIn");pNe.exports=aBt});var gNe=A((YNr,mNe)=>{var cBt=tS(),lBt=hNe(),uBt=ANe(),dBt=Object.prototype,fBt=dBt.hasOwnProperty;function hBt(t){if(!cBt(t))return uBt(t);var e=lBt(t),r=[];for(var n in t)n=="constructor"&&(e||!fBt.call(t,n))||r.push(n);return r}o(hBt,"baseKeysIn");mNe.exports=hBt});var ENe=A((XNr,yNe)=>{var pBt=dNe(),ABt=gNe(),mBt=a1();function gBt(t){return mBt(t)?pBt(t,!0):ABt(t)}o(gBt,"keysIn");yNe.exports=gBt});var wNe=A((e_r,bNe)=>{var yBt=s1(),EBt=o1(),CBt=Mve(),bBt=ENe(),CNe=Object.prototype,wBt=CNe.hasOwnProperty,IBt=yBt(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&CBt(e[0],e[1],i)&&(n=1);++r{"use strict";INe.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 QNe=A((cS,aS)=>{"use strict";Object.defineProperty(cS,"__esModule",{value:!0});var _Ne=new WeakMap,UJ=new WeakMap;function ur(t){let e=_Ne.get(t);return console.assert(e!=null,"'this' is expected an Event object, but got",t),e}o(ur,"pd");function SNe(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(SNe,"setCancelFlag");function AE(t,e){_Ne.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(uS,"__esModule",{value:!0});var GJ=QNe(),Lf=class extends GJ.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}};GJ.defineEventAttribute(Lf.prototype,"abort");function TBt(){let t=Object.create(Lf.prototype);return GJ.EventTarget.call(t),u1.set(t,!1),t}o(TBt,"createAbortSignal");function DBt(t){u1.get(t)===!1&&(u1.set(t,!0),t.dispatchEvent({type:"abort"}))}o(DBt,"abortSignal");var u1=new WeakMap;Object.defineProperties(Lf.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Lf.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});var Ff=class{static{o(this,"AbortController")}constructor(){PNe.set(this,TBt())}get signal(){return kNe(this)}abort(){DBt(kNe(this))}},PNe=new WeakMap;function kNe(t){let e=PNe.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(kNe,"getSignal");Object.defineProperties(Ff.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ff.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});uS.AbortController=Ff;uS.AbortSignal=Lf;uS.default=Ff;lS.exports=Ff;lS.exports.AbortController=lS.exports.default=Ff;lS.exports.AbortSignal=Lf});var Ri=A((i_r,VJ)=>{"use strict";var QBt=require("buffer"),{kResistStopPropagation:kBt,SymbolDispose:PBt}=_r(),OBt=globalThis.AbortSignal||mE().AbortSignal,LBt=globalThis.AbortController||mE().AbortController,FBt=Object.getPrototypeOf(async function(){}).constructor,ONe=globalThis.Blob||QBt.Blob,MBt=o(typeof ONe<"u"?function(e){return e instanceof ONe}:function(e){return!1},"isBlob"),LNe=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"),UBt=o((t,e)=>{if(typeof t!="function")throw new ERR_INVALID_ARG_TYPE(e,"Function",t)},"validateFunction"),HJ=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 FBt},isArrayBufferView(t){return ArrayBuffer.isView(t)}},isBlob:MBt,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);LNe(e,"signal"),UBt(r,"listener");let n;return e.aborted?queueMicrotask(()=>r()):(e.addEventListener("abort",r,{__proto__:null,once:!0,[kBt]:!0}),n=o(()=>{e.removeEventListener("abort",r)},"removeEventListener")),{__proto__:null,[PBt](){var i;(i=n)===null||i===void 0||i()}}},"addAbortListener"),AbortSignalAny:OBt.any||o(function(e){if(e.length===1)return e[0];let r=new LBt,n=o(()=>r.abort(),"abort");return e.forEach(i=>{LNe(i,"signals"),i.addEventListener("abort",n,{once:!0})}),r.signal.addEventListener("abort",()=>{e.forEach(i=>i.removeEventListener("abort",n))},{once:!0}),r.signal},"AbortSignalAny")};VJ.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var os=A((o_r,UNe)=>{"use strict";var{format:qBt,inspect:d1,AggregateError:GBt}=Ri(),HBt=globalThis.AggregateError||GBt,VBt=Symbol("kIsNodeError"),zBt=["string","function","number","object","Function","Object","boolean","bigint","symbol"],jBt=/^([A-Z][a-z0-9]*)+$/,$Bt="__node_internal_",f1={};function oA(t,e){if(!t)throw new f1.ERR_INTERNAL_ASSERTION(e)}o(oA,"assert");function FNe(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(FNe,"addNumericalSeparator");function JBt(t,e,r){if(typeof e=="function")return oA(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 oA(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:qBt(e,...r)}o(JBt,"getMessage");function yi(t,e,r){r||(r=Error);class n extends r{static{o(this,"NodeError")}constructor(...s){super(JBt(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[VBt]=!0,f1[t]=n}o(yi,"E");function MNe(t){let e=$Bt+t.name;return Object.defineProperty(t,"name",{value:e}),t}o(MNe,"hideStackFrames");function WBt(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;let r=new HBt([e,t],e.message);return r.code=e.code,r}return t||e}o(WBt,"aggregateTwoErrors");var zJ=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"}};yi("ERR_ASSERTION","%s",Error);yi("ERR_INVALID_ARG_TYPE",(t,e,r)=>{oA(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)oA(typeof l=="string","All expected entries have to be of type string"),zBt.includes(l)?i.push(l.toLowerCase()):jBt.test(l)?s.push(l):(oA(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);yi("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);yi("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);yi("ERR_MISSING_ARGS",(...t)=>{oA(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);yi("ERR_OUT_OF_RANGE",(t,e,r)=>{oA(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=FNe(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=FNe(n)),n+="n"):n=d1(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);yi("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);yi("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);yi("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);yi("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);yi("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);yi("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);yi("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);yi("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);yi("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);yi("ERR_STREAM_WRITE_AFTER_END","write after end",Error);yi("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);UNe.exports={AbortError:zJ,aggregateTwoErrors:MNe(WBt),hideStackFrames:MNe,codes:f1}});var yE=A((c_r,YNe)=>{"use strict";var{ArrayIsArray:$J,ArrayPrototypeIncludes:VNe,ArrayPrototypeJoin:zNe,ArrayPrototypeMap:YBt,NumberIsInteger:JJ,NumberIsNaN:KBt,NumberMAX_SAFE_INTEGER:XBt,NumberMIN_SAFE_INTEGER:ZBt,NumberParseInt:ext,ObjectPrototypeHasOwnProperty:txt,RegExpPrototypeExec:jNe,String:rxt,StringPrototypeToUpperCase:nxt,StringPrototypeTrim:ixt}=_r(),{hideStackFrames:ya,codes:{ERR_SOCKET_BAD_PORT:sxt,ERR_INVALID_ARG_TYPE:Ti,ERR_INVALID_ARG_VALUE:gE,ERR_OUT_OF_RANGE:aA,ERR_UNKNOWN_SIGNAL:qNe}}=os(),{normalizeEncoding:oxt}=Ri(),{isAsyncFunction:axt,isArrayBufferView:cxt}=Ri().types,GNe={};function lxt(t){return t===(t|0)}o(lxt,"isInt32");function uxt(t){return t===t>>>0}o(uxt,"isUint32");var dxt=/^[0-7]+$/,fxt="must be a 32-bit unsigned integer or an octal string";function hxt(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(jNe(dxt,t)===null)throw new gE(e,t,fxt);t=ext(t,8)}return $Ne(t,e),t}o(hxt,"parseFileMode");var pxt=ya((t,e,r=ZBt,n=XBt)=>{if(typeof t!="number")throw new Ti(e,"number",t);if(!JJ(t))throw new aA(e,"an integer",t);if(tn)throw new aA(e,`>= ${r} && <= ${n}`,t)}),Axt=ya((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Ti(e,"number",t);if(!JJ(t))throw new aA(e,"an integer",t);if(tn)throw new aA(e,`>= ${r} && <= ${n}`,t)}),$Ne=ya((t,e,r=!1)=>{if(typeof t!="number")throw new Ti(e,"number",t);if(!JJ(t))throw new aA(e,"an integer",t);let n=r?1:0,i=4294967295;if(ti)throw new aA(e,`>= ${n} && <= ${i}`,t)});function WJ(t,e){if(typeof t!="string")throw new Ti(e,"string",t)}o(WJ,"validateString");function mxt(t,e,r=void 0,n){if(typeof t!="number")throw new Ti(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&KBt(t))throw new aA(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}o(mxt,"validateNumber");var gxt=ya((t,e,r)=>{if(!VNe(r,t)){let i="must be one of: "+zNe(YBt(r,s=>typeof s=="string"?`'${s}'`:rxt(s)),", ");throw new gE(e,t,i)}});function JNe(t,e){if(typeof t!="boolean")throw new Ti(e,"boolean",t)}o(JNe,"validateBoolean");function jJ(t,e,r){return t==null||!txt(t,e)?r:t[e]}o(jJ,"getOwnPropertyValueOrDefault");var yxt=ya((t,e,r=null)=>{let n=jJ(r,"allowArray",!1),i=jJ(r,"allowFunction",!1);if(!jJ(r,"nullable",!1)&&t===null||!n&&$J(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new Ti(e,"Object",t)}),Ext=ya((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Ti(e,"a dictionary",t)}),h1=ya((t,e,r=0)=>{if(!$J(t))throw new Ti(e,"Array",t);if(t.length{if(!cxt(t))throw new Ti(e,["Buffer","TypedArray","DataView"],t)});function Bxt(t,e){let r=oxt(e),n=t.length;if(r==="hex"&&n%2!==0)throw new gE("encoding",e,`is invalid for data of length ${n}`)}o(Bxt,"validateEncoding");function xxt(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&ixt(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new sxt(e,t,r);return t|0}o(xxt,"validatePort");var WNe=ya((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Ti(e,"AbortSignal",t)}),vxt=ya((t,e)=>{if(typeof t!="function")throw new Ti(e,"Function",t)}),Nxt=ya((t,e)=>{if(typeof t!="function"||axt(t))throw new Ti(e,"Function",t)}),_xt=ya((t,e)=>{if(t!==void 0)throw new Ti(e,"undefined",t)});function Rxt(t,e,r){if(!VNe(r,t))throw new Ti(e,`('${zNe(r,"|")}')`,t)}o(Rxt,"validateUnion");var Txt=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function HNe(t,e){if(typeof t>"u"||!jNe(Txt,t))throw new gE(e,t,'must be an array or string of format "; rel=preload; as=style"')}o(HNe,"validateLinkHeaderFormat");function Dxt(t){if(typeof t=="string")return HNe(t,"hints"),t;if($J(t)){let e=t.length,r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}o(Dxt,"validateLinkHeaderValue");YNe.exports={isInt32:lxt,isUint32:uxt,parseFileMode:hxt,validateArray:h1,validateStringArray:Cxt,validateBooleanArray:bxt,validateAbortSignalArray:wxt,validateBoolean:JNe,validateBuffer:Sxt,validateDictionary:Ext,validateEncoding:Bxt,validateFunction:vxt,validateInt32:Axt,validateInteger:pxt,validateNumber:mxt,validateObject:yxt,validateOneOf:gxt,validatePlainFunction:Nxt,validatePort:xxt,validateSignalName:Ixt,validateString:WJ,validateUint32:$Ne,validateUndefined:_xt,validateUnion:Rxt,validateAbortSignal:WNe,validateLinkHeaderValue:Dxt}});var Mf=A((u_r,KNe)=>{KNe.exports=global.process});var Ml=A((d_r,f_e)=>{"use strict";var{SymbolAsyncIterator:XNe,SymbolIterator:ZNe,SymbolFor:cA}=_r(),e_e=cA("nodejs.stream.destroyed"),t_e=cA("nodejs.stream.errored"),YJ=cA("nodejs.stream.readable"),KJ=cA("nodejs.stream.writable"),r_e=cA("nodejs.stream.disturbed"),Qxt=cA("nodejs.webstream.isClosedPromise"),kxt=cA("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 Pxt(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}o(Pxt,"isDuplexNodeStream");function Fl(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}o(Fl,"isNodeStream");function n_e(t){return!!(t&&!Fl(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}o(n_e,"isReadableStream");function i_e(t){return!!(t&&!Fl(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}o(i_e,"isWritableStream");function s_e(t){return!!(t&&!Fl(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}o(s_e,"isTransformStream");function Oxt(t){return n_e(t)||i_e(t)||s_e(t)}o(Oxt,"isWebStream");function Lxt(t,e){return t==null?!1:e===!0?typeof t[XNe]=="function":e===!1?typeof t[ZNe]=="function":typeof t[XNe]=="function"||typeof t[ZNe]=="function"}o(Lxt,"isIterable");function m1(t){if(!Fl(t))return null;let e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[e_e]||n!=null&&n.destroyed)}o(m1,"isDestroyed");function o_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(o_e,"isWritableEnded");function Fxt(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(Fxt,"isWritableFinished");function Mxt(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(Mxt,"isReadableEnded");function a_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(a_e,"isReadableFinished");function c_e(t){return t&&t[YJ]!=null?t[YJ]:typeof t?.readable!="boolean"?null:m1(t)?!1:p1(t)&&t.readable&&!a_e(t)}o(c_e,"isReadable");function l_e(t){return t&&t[KJ]!=null?t[KJ]:typeof t?.writable!="boolean"?null:m1(t)?!1:A1(t)&&t.writable&&!o_e(t)}o(l_e,"isWritable");function Uxt(t,e){return Fl(t)?m1(t)?!0:!(e?.readable!==!1&&c_e(t)||e?.writable!==!1&&l_e(t)):null}o(Uxt,"isFinished");function qxt(t){var e,r;return Fl(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(qxt,"isWritableErrored");function Gxt(t){var e,r;return Fl(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(Gxt,"isReadableErrored");function Hxt(t){if(!Fl(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"&&u_e(t)?t._closed:null}o(Hxt,"isClosed");function u_e(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}o(u_e,"isOutgoingMessage");function d_e(t){return typeof t._sent100=="boolean"&&u_e(t)}o(d_e,"isServerResponse");function Vxt(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(Vxt,"isServerRequest");function zxt(t){if(!Fl(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(zxt,"willEmitClose");function jxt(t){var e;return!!(t&&((e=t[r_e])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}o(jxt,"isDisturbed");function $xt(t){var e,r,n,i,s,a,c,l,u,d;return!!(t&&((e=(r=(n=(i=(s=(a=t[t_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($xt,"isErrored");f_e.exports={isDestroyed:m1,kIsDestroyed:e_e,isDisturbed:jxt,kIsDisturbed:r_e,isErrored:$xt,kIsErrored:t_e,isReadable:c_e,kIsReadable:YJ,kIsClosedPromise:Qxt,kControllerErrorFunction:kxt,kIsWritable:KJ,isClosed:Hxt,isDuplexNodeStream:Pxt,isFinished:Uxt,isIterable:Lxt,isReadableNodeStream:p1,isReadableStream:n_e,isReadableEnded:Mxt,isReadableFinished:a_e,isReadableErrored:Gxt,isNodeStream:Fl,isWebStream:Oxt,isWritable:l_e,isWritableNodeStream:A1,isWritableStream:i_e,isWritableEnded:o_e,isWritableFinished:Fxt,isWritableErrored:qxt,isServerRequest:Vxt,isServerResponse:d_e,willEmitClose:zxt,isTransformStream:s_e}});var ud=A((h_r,rW)=>{var Uf=Mf(),{AbortError:b_e,codes:Jxt}=os(),{ERR_INVALID_ARG_TYPE:Wxt,ERR_STREAM_PREMATURE_CLOSE:h_e}=Jxt,{kEmptyObject:ZJ,once:eW}=Ri(),{validateAbortSignal:Yxt,validateFunction:Kxt,validateObject:Xxt,validateBoolean:Zxt}=yE(),{Promise:evt,PromisePrototypeThen:tvt,SymbolDispose:w_e}=_r(),{isClosed:rvt,isReadable:p_e,isReadableNodeStream:XJ,isReadableStream:nvt,isReadableFinished:A_e,isReadableErrored:m_e,isWritable:g_e,isWritableNodeStream:y_e,isWritableStream:ivt,isWritableFinished:E_e,isWritableErrored:C_e,isNodeStream:svt,willEmitClose:ovt,kIsClosedPromise:avt}=Ml(),EE;function cvt(t){return t.setHeader&&typeof t.abort=="function"}o(cvt,"isRequest");var tW=o(()=>{},"nop");function I_e(t,e,r){var n,i;if(arguments.length===2?(r=e,e=ZJ):e==null?e=ZJ:Xxt(e,"options"),Kxt(r,"callback"),Yxt(e.signal,"options.signal"),r=eW(r),nvt(t)||ivt(t))return lvt(t,e,r);if(!svt(t))throw new Wxt("stream",["ReadableStream","WritableStream","Stream"],t);let s=(n=e.readable)!==null&&n!==void 0?n:XJ(t),a=(i=e.writable)!==null&&i!==void 0?i:y_e(t),c=t._writableState,l=t._readableState,u=o(()=>{t.writable||h()},"onlegacyfinish"),d=ovt(t)&&XJ(t)===s&&y_e(t)===a,f=E_e(t,!1),h=o(()=>{f=!0,t.destroyed&&(d=!1),!(d&&(!t.readable||s))&&(!s||p)&&r.call(t)},"onfinish"),p=A_e(t,!1),m=o(()=>{p=!0,t.destroyed&&(d=!1),!(d&&(!t.writable||a))&&(!a||f)&&r.call(t)},"onend"),g=o(Q=>{r.call(t,Q)},"onerror"),E=rvt(t),y=o(()=>{E=!0;let Q=C_e(t)||m_e(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);if(s&&!p&&XJ(t,!0)&&!A_e(t,!1))return r.call(t,new h_e);if(a&&!f&&!E_e(t,!1))return r.call(t,new h_e);r.call(t)},"onclose"),C=o(()=>{E=!0;let Q=C_e(t)||m_e(t);if(Q&&typeof Q!="boolean")return r.call(t,Q);r.call(t)},"onclosed"),w=o(()=>{t.req.on("finish",h)},"onrequest");cvt(t)?(t.on("complete",h),d||t.on("abort",y),t.req?w():t.on("request",w)):a&&!c&&(t.on("end",u),t.on("close",u)),!d&&typeof t.aborted=="boolean"&&t.on("aborted",y),t.on("end",m),t.on("finish",h),e.error!==!1&&t.on("error",g),t.on("close",y),E?Uf.nextTick(y):c!=null&&c.errorEmitted||l!=null&&l.errorEmitted?d||Uf.nextTick(C):(!s&&(!d||p_e(t))&&(f||g_e(t)===!1)||!a&&(!d||g_e(t))&&(p||p_e(t)===!1)||l&&t.req&&t.aborted)&&Uf.nextTick(C);let B=o(()=>{r=tW,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",m),t.removeListener("error",g),t.removeListener("close",y)},"cleanup");if(e.signal&&!E){let Q=o(()=>{let M=r;B(),M.call(t,new b_e(void 0,{cause:e.signal.reason}))},"abort");if(e.signal.aborted)Uf.nextTick(Q);else{EE=EE||Ri().addAbortListener;let M=EE(e.signal,Q),v=r;r=eW((...j)=>{M[w_e](),v.apply(t,j)})}}return B}o(I_e,"eos");function lvt(t,e,r){let n=!1,i=tW;if(e.signal)if(i=o(()=>{n=!0,r.call(t,new b_e(void 0,{cause:e.signal.reason}))},"abort"),e.signal.aborted)Uf.nextTick(i);else{EE=EE||Ri().addAbortListener;let a=EE(e.signal,i),c=r;r=eW((...l)=>{a[w_e](),c.apply(t,l)})}let s=o((...a)=>{n||Uf.nextTick(()=>r.apply(t,a))},"resolverFn");return tvt(t[avt].promise,s,s),tW}o(lvt,"eosWeb");function uvt(t,e){var r;let n=!1;return e===null&&(e=ZJ),(r=e)!==null&&r!==void 0&&r.cleanup&&(Zxt(e.cleanup,"cleanup"),n=e.cleanup),new evt((i,s)=>{let a=I_e(t,e,c=>{n&&a(),c?s(c):i()})})}o(uvt,"finished");rW.exports=I_e;rW.exports.finished=uvt});var lA=A((A_r,T_e)=>{"use strict";var Ul=Mf(),{aggregateTwoErrors:dvt,codes:{ERR_MULTIPLE_CALLBACK:fvt},AbortError:hvt}=os(),{Symbol:x_e}=_r(),{kIsDestroyed:pvt,isDestroyed:Avt,isFinished:mvt,isServerRequest:gvt}=Ml(),v_e=x_e("kDestroy"),nW=x_e("kConstruct");function N_e(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}o(N_e,"checkError");function yvt(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):(N_e(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?S_e(this,t,e):this.once(v_e,function(s){S_e(this,dvt(s,t),e)}),this)}o(yvt,"destroy");function S_e(t,e,r){let n=!1;function i(s){if(n)return;n=!0;let a=t._readableState,c=t._writableState;N_e(s,c,a),c&&(c.closed=!0),a&&(a.closed=!0),typeof r=="function"&&r(s),s?Ul.nextTick(Evt,t,s):Ul.nextTick(__e,t)}o(i,"onDestroy");try{t._destroy(e||null,i)}catch(s){i(s)}}o(S_e,"_destroy");function Evt(t,e){iW(t,e),__e(t)}o(Evt,"emitErrorCloseNT");function __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(__e,"emitCloseNT");function iW(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(iW,"emitErrorNT");function Cvt(){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(Cvt,"undestroy");function sW(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?Ul.nextTick(iW,t,e):iW(t,e))}o(sW,"errorOrDestroy");function bvt(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(nW,e),!(t.listenerCount(nW)>1)&&Ul.nextTick(wvt,t)}o(bvt,"construct");function wvt(t){let e=!1;function r(n){if(e){sW(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(v_e,n):n?sW(t,n,!0):Ul.nextTick(Ivt,t)}o(r,"onConstruct");try{t._construct(n=>{Ul.nextTick(r,n)})}catch(n){Ul.nextTick(r,n)}}o(wvt,"constructNT");function Ivt(t){t.emit(nW)}o(Ivt,"emitConstructNT");function B_e(t){return t?.setHeader&&typeof t.abort=="function"}o(B_e,"isRequest");function R_e(t){t.emit("close")}o(R_e,"emitCloseLegacy");function Svt(t,e){t.emit("error",e),Ul.nextTick(R_e,t)}o(Svt,"emitErrorCloseLegacy");function Bvt(t,e){!t||Avt(t)||(!e&&!mvt(t)&&(e=new hvt),gvt(t)?(t.socket=null,t.destroy(e)):B_e(t)?t.abort():B_e(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?Ul.nextTick(Svt,t,e):Ul.nextTick(R_e,t),t.destroyed||(t[pvt]=!0))}o(Bvt,"destroyer");T_e.exports={construct:bvt,destroyer:Bvt,destroy:yvt,undestroy:Cvt,errorOrDestroy:sW}});var E1=A((g_r,Q_e)=>{"use strict";var{ArrayIsArray:xvt,ObjectSetPrototypeOf:D_e}=_r(),{EventEmitter:g1}=require("events");function y1(t){g1.call(this,t)}o(y1,"Stream");D_e(y1.prototype,g1.prototype);D_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"),oW(r,"error",l),oW(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 oW(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(oW,"prependListener");Q_e.exports={Stream:y1,prependListener:oW}});var dS=A((E_r,C1)=>{"use strict";var{SymbolDispose:vvt}=_r(),{AbortError:k_e,codes:Nvt}=os(),{isNodeStream:P_e,isWebStream:_vt,kControllerErrorFunction:Rvt}=Ml(),Tvt=ud(),{ERR_INVALID_ARG_TYPE:O_e}=Nvt,aW,Dvt=o((t,e)=>{if(typeof t!="object"||!("aborted"in t))throw new O_e(e,"AbortSignal",t)},"validateAbortSignal");C1.exports.addAbortSignal=o(function(e,r){if(Dvt(e,"signal"),!P_e(r)&&!_vt(r))throw new O_e("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=P_e(e)?()=>{e.destroy(new k_e(void 0,{cause:t.reason}))}:()=>{e[Rvt](new k_e(void 0,{cause:t.reason}))};if(t.aborted)r();else{aW=aW||Ri().addAbortListener;let n=aW(t,r);Tvt(e,n[vvt])}return e}});var M_e=A((w_r,F_e)=>{"use strict";var{StringPrototypeSlice:L_e,SymbolIterator:Qvt,TypedArrayPrototypeSet:b1,Uint8Array:kvt}=_r(),{Buffer:cW}=require("buffer"),{inspect:Pvt}=Ri();F_e.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 cW.alloc(0);let r=cW.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+=L_e(s,0,e),this.head=n,n.data=L_e(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){let r=cW.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 kvt(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 Pvt(this,{...r,depth:0,customInspect:!1})}}});var fS=A((S_r,H_e)=>{"use strict";var{MathFloor:Ovt,NumberIsInteger:Lvt}=_r(),{validateInteger:Fvt}=yE(),{ERR_INVALID_ARG_VALUE:Mvt}=os().codes,U_e=16*1024,q_e=16;function Uvt(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}o(Uvt,"highWaterMarkFrom");function G_e(t){return t?q_e:U_e}o(G_e,"getDefaultHighWaterMark");function qvt(t,e){Fvt(e,"value",0),t?q_e=e:U_e=e}o(qvt,"setDefaultHighWaterMark");function Gvt(t,e,r,n){let i=Uvt(e,n,r);if(i!=null){if(!Lvt(i)||i<0){let s=n?`options.${r}`:"options.highWaterMark";throw new Mvt(s,i)}return Ovt(i)}return G_e(t.objectMode)}o(Gvt,"getHighWaterMark");H_e.exports={getHighWaterMark:Gvt,getDefaultHighWaterMark:G_e,setDefaultHighWaterMark:qvt}});var lW=A((x_r,$_e)=>{"use strict";var V_e=Mf(),{PromisePrototypeThen:Hvt,SymbolAsyncIterator:z_e,SymbolIterator:j_e}=_r(),{Buffer:Vvt}=require("buffer"),{ERR_INVALID_ARG_TYPE:zvt,ERR_STREAM_NULL_VALUES:jvt}=os().codes;function $vt(t,e,r){let n;if(typeof e=="string"||e instanceof Vvt)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[z_e])i=!0,n=e[z_e]();else if(e&&e[j_e])i=!1,n=e[j_e]();else throw new zvt("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){Hvt(c(u),()=>V_e.nextTick(d,u),f=>V_e.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 jvt;if(s.push(f))continue;a=!1}}catch(u){s.destroy(u)}break}}return o(l,"next"),s}o($vt,"from");$_e.exports=$vt});var pS=A((N_r,dRe)=>{var hc=Mf(),{ArrayPrototypeIndexOf:Jvt,NumberIsInteger:Wvt,NumberIsNaN:Yvt,NumberParseInt:Kvt,ObjectDefineProperties:gW,ObjectKeys:Xvt,ObjectSetPrototypeOf:Y_e,Promise:K_e,SafeSet:Zvt,SymbolAsyncDispose:eNt,SymbolAsyncIterator:tNt,Symbol:rNt}=_r();dRe.exports=st;st.ReadableState=B1;var{EventEmitter:nNt}=require("events"),{Stream:qf,prependListener:iNt}=E1(),{Buffer:uW}=require("buffer"),{addAbortSignal:sNt}=dS(),X_e=ud(),gt=Ri().debuglog("stream",t=>{gt=t}),oNt=M_e(),wE=lA(),{getHighWaterMark:aNt,getDefaultHighWaterMark:cNt}=fS(),{aggregateTwoErrors:J_e,codes:{ERR_INVALID_ARG_TYPE:lNt,ERR_METHOD_NOT_IMPLEMENTED:uNt,ERR_OUT_OF_RANGE:dNt,ERR_STREAM_PUSH_AFTER_EOF:fNt,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:hNt},AbortError:pNt}=os(),{validateObject:ANt}=yE(),uA=rNt("kPaused"),{StringDecoder:Z_e}=require("string_decoder"),mNt=lW();Y_e(st.prototype,qf.prototype);Y_e(st,qf);var dW=o(()=>{},"nop"),{errorOrDestroy:CE}=wE,bE=1,gNt=2,eRe=4,hS=8,tRe=16,w1=32,I1=64,rRe=128,yNt=256,ENt=512,CNt=1024,AW=2048,mW=4096,bNt=8192,wNt=16384,INt=32768,nRe=65536,SNt=1<<17,BNt=1<<18;function Ln(t){return{enumerable:!1,get(){return(this.state&t)!==0},set(e){e?this.state|=t:this.state&=~t}}}o(Ln,"makeBitMapDescriptor");gW(B1.prototype,{objectMode:Ln(bE),ended:Ln(gNt),endEmitted:Ln(eRe),reading:Ln(hS),constructed:Ln(tRe),sync:Ln(w1),needReadable:Ln(I1),emittedReadable:Ln(rRe),readableListening:Ln(yNt),resumeScheduled:Ln(ENt),errorEmitted:Ln(CNt),emitClose:Ln(AW),autoDestroy:Ln(mW),destroyed:Ln(bNt),closed:Ln(wNt),closeEmitted:Ln(INt),multiAwaitDrain:Ln(nRe),readingMore:Ln(SNt),dataEmitted:Ln(BNt)});function B1(t,e,r){typeof r!="boolean"&&(r=e instanceof ql()),this.state=AW|mW|tRe|w1,t&&t.objectMode&&(this.state|=bE),r&&t&&t.readableObjectMode&&(this.state|=bE),this.highWaterMark=t?aNt(this,t,"readableHighWaterMark",r):cNt(!1),this.buffer=new oNt,this.length=0,this.pipes=[],this.flowing=null,this[uA]=null,t&&t.emitClose===!1&&(this.state&=~AW),t&&t.autoDestroy===!1&&(this.state&=~mW),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new Z_e(t.encoding),this.encoding=t.encoding)}o(B1,"ReadableState");function st(t){if(!(this instanceof st))return new st(t);let e=this instanceof ql();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&&sNt(t.signal,this)),qf.call(this,t),wE.construct(this,()=>{this._readableState.needReadable&&S1(this,this._readableState)})}o(st,"Readable");st.prototype.destroy=wE.destroy;st.prototype._undestroy=wE.undestroy;st.prototype._destroy=function(t,e){e(t)};st.prototype[nNt.captureRejectionSymbol]=function(t){this.destroy(t)};st.prototype[eNt]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new pNt,this.destroy(t)),new K_e((e,r)=>X_e(this,n=>n&&n!==t?r(n):e(null)))};st.prototype.push=function(t,e){return iRe(this,t,e,!1)};st.prototype.unshift=function(t,e){return iRe(this,t,e,!0)};function iRe(t,e,r,n){gt("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=uW.from(e,r).toString(i.encoding):(e=uW.from(e,r),r=""))):e instanceof uW?r="":qf._isUint8Array(e)?(e=qf._uint8ArrayToBuffer(e),r=""):e!=null&&(s=new lNt("chunk",["string","Buffer","Uint8Array"],e))),s)CE(t,s);else if(e===null)i.state&=~hS,NNt(t,i);else if((i.state&bE)!==0||e&&e.length>0)if(n)if((i.state&eRe)!==0)CE(t,new hNt);else{if(i.destroyed||i.errored)return!1;fW(t,i,e,!0)}else if(i.ended)CE(t,new fNt);else{if(i.destroyed||i.errored)return!1;i.state&=~hS,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||e.length!==0?fW(t,i,e,!1):S1(t,i)):fW(t,i,e,!1)}else n||(i.state&=~hS,S1(t,i));return!i.ended&&(i.length0?((e.state&nRe)!==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&I1)!==0&&x1(t)),S1(t,e)}o(fW,"addChunk");st.prototype.isPaused=function(){let t=this._readableState;return t[uA]===!0||t.flowing===!1};st.prototype.setEncoding=function(t){let e=new Z_e(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 vNt(t){if(t>xNt)throw new dNt("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++,t}o(vNt,"computeNewHighWaterMark");function W_e(t,e){return t<=0||e.length===0&&e.ended?0:(e.state&bE)!==0?1:Yvt(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}o(W_e,"howMuchToRead");st.prototype.read=function(t){gt("read",t),t===void 0?t=NaN:Wvt(t)||(t=Kvt(t,10));let e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=vNt(t)),t!==0&&(e.state&=~rRe),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return gt("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?hW(this):x1(this),null;if(t=W_e(t,e),t===0&&e.ended)return e.length===0&&hW(this),null;let n=(e.state&I1)!==0;if(gt("need readable",n),(e.length===0||e.length-t0?i=lRe(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&&hW(this)),i!==null&&!e.errorEmitted&&!e.closeEmitted&&(e.dataEmitted=!0,this.emit("data",i)),i};function NNt(t,e){if(gt("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,sRe(t))}}o(NNt,"onEofChunk");function x1(t){let e=t._readableState;gt("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(gt("emitReadable",e.flowing),e.emittedReadable=!0,hc.nextTick(sRe,t))}o(x1,"emitReadable");function sRe(t){let e=t._readableState;gt("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,aRe(t)}o(sRe,"emitReadable_");function S1(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,hc.nextTick(_Nt,t,e))}o(S1,"maybeReadMore");function _Nt(t,e){for(;!e.reading&&!e.ended&&(e.length1&&n.pipes.includes(t)&&(gt("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),l||(l=RNt(r,t),t.on("drain",l))}o(f,"pause"),r.on("data",h);function h(y){gt("ondata");let C=t.write(y);gt("dest.write",C),C===!1&&f()}o(h,"ondata");function p(y){if(gt("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"),iNt(t,"error",p);function m(){t.removeListener("finish",g),E()}o(m,"onclose"),t.once("close",m);function g(){gt("onfinish"),t.removeListener("close",m),E()}o(g,"onfinish"),t.once("finish",g);function E(){gt("unpipe"),r.unpipe(t)}return o(E,"unpipe"),t.emit("pipe",r),t.writableNeedDrain===!0?f():n.flowing||(gt("pipe resume"),r.resume()),t};function RNt(t,e){return o(function(){let n=t._readableState;n.awaitDrainWriters===e?(gt("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(gt("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(e)),(!n.awaitDrainWriters||n.awaitDrainWriters.size===0)&&t.listenerCount("data")&&t.resume()},"pipeOnDrainFunctionResult")}o(RNt,"pipeOnDrain");st.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,gt("on readable",n.length,n.reading),n.length?x1(this):n.reading||hc.nextTick(TNt,this)),r};st.prototype.addListener=st.prototype.on;st.prototype.removeListener=function(t,e){let r=qf.prototype.removeListener.call(this,t,e);return t==="readable"&&hc.nextTick(oRe,this),r};st.prototype.off=st.prototype.removeListener;st.prototype.removeAllListeners=function(t){let e=qf.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&hc.nextTick(oRe,this),e};function oRe(t){let e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&e[uA]===!1?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}o(oRe,"updateReadableListening");function TNt(t){gt("readable nexttick read 0"),t.read(0)}o(TNt,"nReadingNextTick");st.prototype.resume=function(){let t=this._readableState;return t.flowing||(gt("resume"),t.flowing=!t.readableListening,DNt(this,t)),t[uA]=!1,this};function DNt(t,e){e.resumeScheduled||(e.resumeScheduled=!0,hc.nextTick(QNt,t,e))}o(DNt,"resume");function QNt(t,e){gt("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),aRe(t),e.flowing&&!e.reading&&t.read(0)}o(QNt,"resume_");st.prototype.pause=function(){return gt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(gt("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[uA]=!0,this};function aRe(t){let e=t._readableState;for(gt("flow",e.flowing);e.flowing&&t.read()!==null;);}o(aRe,"flow");st.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=Xvt(t);for(let n=1;n{i=a?J_e(i,a):null,r(),r=dW});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 K_e(n)}}}catch(a){throw i=J_e(i,a),i}finally{(i||e?.destroyOnReturn!==!1)&&(i===void 0||t._readableState.autoDestroy)?wE.destroyer(t,null):(t.off("readable",n),s())}}o(kNt,"createAsyncIterator");gW(st.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}}});gW(B1.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[uA]!==!1},set(t){this[uA]=!!t}}});st._fromList=lRe;function lRe(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(lRe,"fromList");function hW(t){let e=t._readableState;gt("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,hc.nextTick(PNt,e,t))}o(hW,"endReadable");function PNt(t,e){if(gt("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)hc.nextTick(ONt,e);else if(t.autoDestroy){let r=e._writableState;(!r||r.autoDestroy&&(r.finished||r.writable===!1))&&e.destroy()}}}o(PNt,"endReadableNT");function ONt(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}o(ONt,"endWritableNT");st.from=function(t,e){return mNt(st,t,e)};var pW;function uRe(){return pW===void 0&&(pW={}),pW}o(uRe,"lazyWebStreams");st.fromWeb=function(t,e){return uRe().newStreamReadableFromReadableStream(t,e)};st.toWeb=function(t,e){return uRe().newReadableStreamFromStreamReadable(t,e)};st.wrap=function(t,e){var r,n;return new st({objectMode:(r=(n=t.readableObjectMode)!==null&&n!==void 0?n:t.objectMode)!==null&&r!==void 0?r:!0,...e,destroy(i,s){wE.destroyer(t,i),s(i)}}).wrap(t)}});var T1=A((R_r,IRe)=>{var dA=Mf(),{ArrayPrototypeSlice:pRe,Error:LNt,FunctionPrototypeSymbolHasInstance:ARe,ObjectDefineProperty:mRe,ObjectDefineProperties:FNt,ObjectSetPrototypeOf:gRe,StringPrototypeToLowerCase:MNt,Symbol:UNt,SymbolHasInstance:qNt}=_r();IRe.exports=Rr;Rr.WritableState=gS;var{EventEmitter:GNt}=require("events"),AS=E1().Stream,{Buffer:v1}=require("buffer"),R1=lA(),{addAbortSignal:HNt}=dS(),{getHighWaterMark:VNt,getDefaultHighWaterMark:zNt}=fS(),{ERR_INVALID_ARG_TYPE:jNt,ERR_METHOD_NOT_IMPLEMENTED:$Nt,ERR_MULTIPLE_CALLBACK:yRe,ERR_STREAM_CANNOT_PIPE:JNt,ERR_STREAM_DESTROYED:mS,ERR_STREAM_ALREADY_FINISHED:WNt,ERR_STREAM_NULL_VALUES:YNt,ERR_STREAM_WRITE_AFTER_END:KNt,ERR_UNKNOWN_ENCODING:ERe}=os().codes,{errorOrDestroy:IE}=R1;gRe(Rr.prototype,AS.prototype);gRe(Rr,AS);function CW(){}o(CW,"nop");var SE=UNt("kOnFinished");function gS(t,e,r){typeof r!="boolean"&&(r=e instanceof ql()),this.objectMode=!!(t&&t.objectMode),r&&(this.objectMode=this.objectMode||!!(t&&t.writableObjectMode)),this.highWaterMark=t?VNt(this,t,"writableHighWaterMark",r):zNt(!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=ZNt.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(gS,"WritableState");function _1(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}o(_1,"resetBuffer");gS.prototype.getBuffer=o(function(){return pRe(this.buffered,this.bufferedIndex)},"getBuffer");mRe(gS.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Rr(t){let e=this instanceof ql();if(!e&&!ARe(Rr,this))return new Rr(t);this._writableState=new gS(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&&HNt(t.signal,this)),AS.call(this,t),R1.construct(this,()=>{let r=this._writableState;r.writing||wW(this,r),IW(this,r)})}o(Rr,"Writable");mRe(Rr,qNt,{__proto__:null,value:o(function(t){return ARe(this,t)?!0:this!==Rr?!1:t&&t._writableState instanceof gS},"value")});Rr.prototype.pipe=function(){IE(this,new JNt)};function CRe(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 ERe(r);typeof n!="function"&&(n=CW)}if(e===null)throw new YNt;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(AS._isUint8Array(e))e=AS._uint8ArrayToBuffer(e),r="buffer";else throw new jNt("chunk",["string","Buffer","Uint8Array"],e);let s;return i.ending?s=new KNt:i.destroyed&&(s=new mS("write")),s?(dA.nextTick(n,s),IE(t,s,!0),s):(i.pendingcb++,XNt(t,i,e,r,n))}o(CRe,"_write");Rr.prototype.write=function(t,e,r){return CRe(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||wW(this,t))};Rr.prototype.setDefaultEncoding=o(function(e){if(typeof e=="string"&&(e=MNt(e)),!v1.isEncoding(e))throw new ERe(e);return this._writableState.defaultEncoding=e,this},"setDefaultEncoding");function XNt(t,e,r,n,i){let s=e.objectMode?1:r.length;e.length+=s;let a=e.lengthr.bufferedIndex&&wW(t,r),n?r.afterWriteTickInfo!==null&&r.afterWriteTickInfo.cb===i?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:i,stream:t,state:r},dA.nextTick(e_t,r.afterWriteTickInfo)):bRe(t,r,1,i))}o(ZNt,"onwrite");function e_t({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,bRe(t,e,r,n)}o(e_t,"afterWriteTick");function bRe(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&&bW(e),IW(t,e)}o(bRe,"afterWrite");function bW(t){if(t.writing)return;for(let i=t.bufferedIndex;i1&&t._writev){e.pendingcb-=s-1;let c=e.allNoop?CW:u=>{for(let d=a;d256?(r.splice(0,a),e.bufferedIndex=0):e.bufferedIndex=a}e.bufferProcessing=!1}o(wW,"clearBuffer");Rr.prototype._write=function(t,e,r){if(this._writev)this._writev([{chunk:t,encoding:e}],r);else throw new $Nt("_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=CRe(this,t,e);s instanceof LNt&&(i=s)}return n.corked&&(n.corked=1,this.uncork()),i||(!n.errored&&!n.ending?(n.ending=!0,IW(this,n,!0),n.ended=!0):n.finished?i=new WNt("end"):n.destroyed&&(i=new mS("end"))),typeof r=="function"&&(i||n.finished?dA.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 t_t(t,e){let r=!1;function n(i){if(r){IE(t,i??yRe());return}if(r=!0,e.pendingcb--,i){let s=e[SE].splice(0);for(let a=0;a{N1(i)?EW(n,i):i.pendingcb--},t,e)):N1(e)&&(e.pendingcb++,EW(t,e))))}o(IW,"finishMaybe");function EW(t,e){e.pendingcb--,e.finished=!0;let r=e[SE].splice(0);for(let n=0;n{var SW=Mf(),i_t=require("buffer"),{isReadable:s_t,isWritable:o_t,isIterable:SRe,isNodeStream:a_t,isReadableNodeStream:BRe,isWritableNodeStream:xRe,isDuplexNodeStream:c_t,isReadableStream:vRe,isWritableStream:NRe}=Ml(),_Re=ud(),{AbortError:PRe,codes:{ERR_INVALID_ARG_TYPE:l_t,ERR_INVALID_RETURN_VALUE:RRe}}=os(),{destroyer:xE}=lA(),u_t=ql(),ORe=pS(),d_t=T1(),{createDeferredPromise:TRe}=Ri(),DRe=lW(),QRe=globalThis.Blob||i_t.Blob,f_t=o(typeof QRe<"u"?function(e){return e instanceof QRe}:function(e){return!1},"isBlob"),h_t=globalThis.AbortController||mE().AbortController,{FunctionPrototypeCall:kRe}=_r(),Gf=class extends u_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)}};LRe.exports=o(function t(e,r){if(c_t(e))return e;if(BRe(e))return BE({readable:e});if(xRe(e))return BE({writable:e});if(a_t(e))return BE({writable:!1,readable:!1});if(vRe(e))return BE({readable:ORe.fromWeb(e)});if(NRe(e))return BE({writable:d_t.fromWeb(e)});if(typeof e=="function"){let{value:i,write:s,final:a,destroy:c}=p_t(e);if(SRe(i))return DRe(Gf,i,{objectMode:!0,write:s,final:a,destroy:c});let l=i?.then;if(typeof l=="function"){let u,d=kRe(l,i,f=>{if(f!=null)throw new RRe("nully","body",f)},f=>{xE(u,f)});return u=new Gf({objectMode:!0,readable:!1,write:s,final(f){a(async()=>{try{await d,SW.nextTick(f,null)}catch(h){SW.nextTick(f,h)}})},destroy:c})}throw new RRe("Iterable, AsyncIterable or AsyncFunction",r,i)}if(f_t(e))return t(e.arrayBuffer());if(SRe(e))return DRe(Gf,e,{objectMode:!0,writable:!1});if(vRe(e?.readable)&&NRe(e?.writable))return Gf.fromWeb(e);if(typeof e?.writable=="object"||typeof e?.readable=="object"){let i=e!=null&&e.readable?BRe(e?.readable)?e?.readable:t(e.readable):void 0,s=e!=null&&e.writable?xRe(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 kRe(n,e,s=>{s!=null&&i.push(s),i.push(null)},s=>{xE(i,s)}),i=new Gf({objectMode:!0,writable:!1,read(){}})}throw new l_t(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)},"duplexify");function p_t(t){let{promise:e,resolve:r}=TRe(),n=new h_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(SW.nextTick(u),l)return;if(i.aborted)throw new PRe(void 0,{cause:i.reason});({promise:e,resolve:r}=TRe()),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(p_t,"fromAsyncGen");function BE(t){let e=t.readable&&typeof t.readable.read!="function"?ORe.wrap(t.readable):t.readable,r=t.writable,n=!!s_t(e),i=!!o_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 Gf({readableObjectMode:!!(e!=null&&e.readableObjectMode),writableObjectMode:!!(r!=null&&r.writableObjectMode),readable:n,writable:i}),i&&(_Re(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&&(_Re(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 PRe),c=null,s=null,a=null,l===null?h(f):(l=h,xE(r,f),xE(e,f))},u}o(BE,"_duplexify")});var ql=A((k_r,qRe)=>{"use strict";var{ObjectDefineProperties:A_t,ObjectGetOwnPropertyDescriptor:dd,ObjectKeys:m_t,ObjectSetPrototypeOf:MRe}=_r();qRe.exports=pc;var vW=pS(),Ea=T1();MRe(pc.prototype,vW.prototype);MRe(pc,vW);{let t=m_t(Ea.prototype);for(let e=0;e{"use strict";var{ObjectSetPrototypeOf:GRe,Symbol:g_t}=_r();HRe.exports=fd;var{ERR_METHOD_NOT_IMPLEMENTED:y_t}=os().codes,_W=ql(),{getHighWaterMark:E_t}=fS();GRe(fd.prototype,_W.prototype);GRe(fd,_W);var yS=g_t("kCallback");function fd(t){if(!(this instanceof fd))return new fd(t);let e=t?E_t(this,t,"readableHighWaterMark",!0):null;e===0&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),_W.call(this,t),this._readableState.sync=!1,this[yS]=null,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",C_t)}o(fd,"Transform");function NW(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(NW,"final");function C_t(){this._final!==NW&&NW.call(this)}o(C_t,"prefinish");fd.prototype._final=NW;fd.prototype._transform=function(t,e,r){throw new y_t("_transform()")};fd.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:VRe}=_r();zRe.exports=vE;var TW=RW();VRe(vE.prototype,TW.prototype);VRe(vE,TW);function vE(t){if(!(this instanceof vE))return new vE(t);TW.call(this,t)}o(vE,"PassThrough");vE.prototype._transform=function(t,e,r){r(null,t)}});var P1=A((U_r,YRe)=>{var ES=Mf(),{ArrayIsArray:b_t,Promise:w_t,SymbolAsyncIterator:I_t,SymbolDispose:S_t}=_r(),k1=ud(),{once:B_t}=Ri(),x_t=lA(),jRe=ql(),{aggregateTwoErrors:v_t,codes:{ERR_INVALID_ARG_TYPE:qW,ERR_INVALID_RETURN_VALUE:QW,ERR_MISSING_ARGS:N_t,ERR_STREAM_DESTROYED:__t,ERR_STREAM_PREMATURE_CLOSE:R_t},AbortError:T_t}=os(),{validateFunction:D_t,validateAbortSignal:Q_t}=yE(),{isIterable:fA,isReadable:kW,isReadableNodeStream:Q1,isNodeStream:$Re,isTransformStream:NE,isWebStream:k_t,isReadableStream:PW,isReadableFinished:P_t}=Ml(),O_t=globalThis.AbortController||mE().AbortController,OW,LW,FW;function JRe(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 __t("pipe")))},"destroy"),cleanup:i}}o(JRe,"destroyer");function L_t(t){return D_t(t[t.length-1],"streams[stream.length - 1]"),t.pop()}o(L_t,"popCallback");function MW(t){if(fA(t))return t;if(Q1(t))return F_t(t);throw new qW("val",["Readable","Iterable","AsyncIterable"],t)}o(MW,"makeAsyncIterable");async function*F_t(t){LW||(LW=pS()),yield*LW.prototype[I_t].call(t)}o(F_t,"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?v_t(i,u):u)}finally{l(),e.off("drain",a)}}o(D1,"pumpToNode");async function UW(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(UW,"pumpToWeb");function M_t(...t){return WRe(t,B_t(L_t(t)))}o(M_t,"pipeline");function WRe(t,e,r){if(t.length===1&&b_t(t[0])&&(t=t[0]),t.length<2)throw new N_t("streams");let n=new O_t,i=n.signal,s=r?.signal,a=[];Q_t(s,"options.signal");function c(){m(new T_t)}o(c,"abort"),FW=FW||Ri().addAbortListener;let l;s&&(l=FW(s,c));let u,d,f=[],h=0;function p(w){m(w,--h===0)}o(p,"finish");function m(w,B){var Q;if(w&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=w),!(!u&&!B)){for(;f.length;)f.shift()(u);(Q=l)===null||Q===void 0||Q[S_t](),n.abort(),B&&(u||a.forEach(M=>M()),ES.nextTick(e,u,d))}}o(m,"finishImpl");let g;for(let w=0;w0,v=Q||r?.end!==!1,j=w===t.length-1;if($Re(B)){let T=function(H){H&&H.name!=="AbortError"&&H.code!=="ERR_STREAM_PREMATURE_CLOSE"&&p(H)};var C=T;if(o(T,"onError"),v){let{destroy:H,cleanup:V}=JRe(B,Q,M);f.push(H),kW(B)&&j&&a.push(V)}B.on("error",T),kW(B)&&j&&a.push(()=>{B.removeListener("error",T)})}if(w===0)if(typeof B=="function"){if(g=B({signal:i}),!fA(g))throw new QW("Iterable, AsyncIterable or Stream","source",g)}else fA(B)||Q1(B)||NE(B)?g=B:g=jRe.from(B);else if(typeof B=="function"){if(NE(g)){var E;g=MW((E=g)===null||E===void 0?void 0:E.readable)}else g=MW(g);if(g=B(g,{signal:i}),Q){if(!fA(g,!0))throw new QW("AsyncIterable",`transform[${w-1}]`,g)}else{var y;OW||(OW=DW());let T=new OW({objectMode:!0}),H=(y=g)===null||y===void 0?void 0:y.then;if(typeof H=="function")h++,H.call(g,ee=>{d=ee,ee!=null&&T.write(ee),v&&T.end(),ES.nextTick(p)},ee=>{T.destroy(ee),ES.nextTick(p,ee)});else if(fA(g,!0))h++,D1(g,T,p,{end:v});else if(PW(g)||NE(g)){let ee=g.readable||g;h++,D1(ee,T,p,{end:v})}else throw new QW("AsyncIterable or Promise","destination",g);g=T;let{destroy:V,cleanup:W}=JRe(g,!1,!0);f.push(V),j&&a.push(W)}}else if($Re(B)){if(Q1(g)){h+=2;let T=U_t(g,B,p,{end:v});kW(B)&&j&&a.push(T)}else if(NE(g)||PW(g)){let T=g.readable||g;h++,D1(T,B,p,{end:v})}else if(fA(g))h++,D1(g,B,p,{end:v});else throw new qW("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else if(k_t(B)){if(Q1(g))h++,UW(MW(g),B,p,{end:v});else if(PW(g)||fA(g))h++,UW(g,B,p,{end:v});else if(NE(g))h++,UW(g.readable,B,p,{end:v});else throw new qW("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=B}else g=jRe.from(B)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&ES.nextTick(c),g}o(WRe,"pipelineImpl");function U_t(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new R_t)}),t.pipe(e,{end:!1}),n){let a=function(){i=!0,e.end()};var s=a;o(a,"endFn"),P_t(t)?ES.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(U_t,"pipe");YRe.exports={pipelineImpl:WRe,pipeline:M_t}});var HW=A((G_r,rTe)=>{"use strict";var{pipeline:q_t}=P1(),O1=ql(),{destroyer:G_t}=lA(),{isNodeStream:L1,isReadable:KRe,isWritable:XRe,isWebStream:GW,isTransformStream:hA,isWritableStream:ZRe,isReadableStream:eTe}=Ml(),{AbortError:H_t,codes:{ERR_INVALID_ARG_VALUE:tTe,ERR_MISSING_ARGS:V_t}}=os(),z_t=ud();rTe.exports=o(function(...e){if(e.length===0)throw new V_t("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&&!(XRe(e[p])||ZRe(e[p])||hA(e[p])))throw new tTe(`streams[${p}]`,r[p],"must be writable")}let n,i,s,a,c;function l(p){let m=a;a=null,m?m(p):p?c.destroy(p):!h&&!f&&c.destroy()}o(l,"onfinished");let u=e[0],d=q_t(e,l),f=!!(XRe(u)||ZRe(u)||hA(u)),h=!!(KRe(d)||eTe(d)||hA(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(m,g,E){u.write(m,g)?E():n=E},c._final=function(m){u.end(),i=m},u.on("drain",function(){if(n){let m=n;n=null,m()}});else if(GW(u)){let g=(hA(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=hA(d)?d.readable:d;z_t(p,()=>{if(i){let m=i;i=null,m()}})}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(GW(d)){let m=(hA(d)?d.readable:d).getReader();c._read=async function(){for(;;)try{let{value:g,done:E}=await m.read();if(!c.push(g))return;if(E){c.push(null);return}}catch{return}}}}return c._destroy=function(p,m){!p&&a!==null&&(p=new H_t),s=null,n=null,i=null,a===null?m(p):(a=m,L1(d)&&G_t(d,p))},c},"compose")});var fTe=A((V_r,jW)=>{"use strict";var j_t=globalThis.AbortController||mE().AbortController,{codes:{ERR_INVALID_ARG_VALUE:$_t,ERR_INVALID_ARG_TYPE:CS,ERR_MISSING_ARGS:J_t,ERR_OUT_OF_RANGE:W_t},AbortError:Gl}=os(),{validateAbortSignal:pA,validateInteger:nTe,validateObject:AA}=yE(),Y_t=_r().Symbol("kWeak"),K_t=_r().Symbol("kResistStopPropagation"),{finished:X_t}=ud(),Z_t=HW(),{addAbortSignalNoValidate:eRt}=dS(),{isWritable:tRt,isNodeStream:rRt}=Ml(),{deprecate:nRt}=Ri(),{ArrayPrototypePush:iRt,Boolean:sRt,MathFloor:iTe,Number:oRt,NumberIsNaN:aRt,Promise:sTe,PromiseReject:oTe,PromiseResolve:cRt,PromisePrototypeThen:aTe,Symbol:lTe}=_r(),F1=lTe("kEmpty"),cTe=lTe("kEof");function lRt(t,e){if(e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal"),rRt(t)&&!tRt(t))throw new $_t("stream",t,"must be writable");let r=Z_t(this,t);return e!=null&&e.signal&&eRt(e.signal,r),r}o(lRt,"compose");function M1(t,e){if(typeof t!="function")throw new CS("fn",["Function","AsyncFunction"],t);e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal");let r=1;e?.concurrency!=null&&(r=iTe(e.concurrency));let n=r-1;return e?.highWaterMark!=null&&(n=iTe(e.highWaterMark)),nTe(r,"options.concurrency",1),nTe(n,"options.highWaterMark",0),n+=r,o(async function*(){let s=Ri().AbortSignalAny([e?.signal].filter(sRt)),a=this,c=[],l={signal:s},u,d,f=!1,h=0;function p(){f=!0,m()}o(p,"onCatch");function m(){h-=1,g()}o(m,"afterItemProcessed");function g(){d&&!f&&h=n||h>=r)&&await new sTe(C=>{d=C})}c.push(cTe)}catch(y){let C=oTe(y);aTe(C,m,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===cTe)return;if(s.aborted)throw new Gl;y!==F1&&(yield y),c.shift(),g()}await new sTe(y=>{u=y})}}finally{f=!0,d&&(d(),d=null)}},"map").call(this)}o(M1,"map");function uRt(t=void 0){return t!=null&&AA(t,"options"),t?.signal!=null&&pA(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 Gl({cause:t.signal.reason});yield[r++,i]}},"asIndexedPairs").call(this)}o(uRt,"asIndexedPairs");async function uTe(t,e=void 0){for await(let r of zW.call(this,t,e))return!0;return!1}o(uTe,"some");async function dRt(t,e=void 0){if(typeof t!="function")throw new CS("fn",["Function","AsyncFunction"],t);return!await uTe.call(this,async(...r)=>!await t(...r),e)}o(dRt,"every");async function fRt(t,e){for await(let r of zW.call(this,t,e))return r}o(fRt,"find");async function hRt(t,e){if(typeof t!="function")throw new CS("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(hRt,"forEach");function zW(t,e){if(typeof t!="function")throw new CS("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(zW,"filter");var VW=class extends J_t{static{o(this,"ReduceAwareErrMissingArgs")}constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function pRt(t,e,r){var n;if(typeof t!="function")throw new CS("reducer",["Function","AsyncFunction"],t);r!=null&&AA(r,"options"),r?.signal!=null&&pA(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){let u=new Gl(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await X_t(this.destroy(u)),u}let s=new j_t,a=s.signal;if(r!=null&&r.signal){let u={once:!0,[Y_t]:this,[K_t]:!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 Gl;i?e=await t(e,u,{signal:a}):(e=u,i=!0)}if(!c&&!i)throw new VW}finally{s.abort()}return e}o(pRt,"reduce");async function ARt(t){t!=null&&AA(t,"options"),t?.signal!=null&&pA(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 Gl(void 0,{cause:t.signal.reason});iRt(e,n)}return e}o(ARt,"toArray");function mRt(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(mRt,"flatMap");function dTe(t){if(t=oRt(t),aRt(t))return 0;if(t<0)throw new W_t("number",">= 0",t);return t}o(dTe,"toIntegerOrInfinity");function gRt(t,e=void 0){return e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal"),t=dTe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Gl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Gl;t--<=0&&(yield s)}},"drop").call(this)}o(gRt,"drop");function yRt(t,e=void 0){return e!=null&&AA(e,"options"),e?.signal!=null&&pA(e.signal,"options.signal"),t=dTe(t),o(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Gl;for await(let s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Gl;if(t-- >0&&(yield s),t<=0)return}},"take").call(this)}o(yRt,"take");jW.exports.streamReturningOperators={asIndexedPairs:nRt(uRt,"readable.asIndexedPairs will be removed in a future version."),drop:gRt,filter:zW,flatMap:mRt,map:M1,take:yRt,compose:lRt};jW.exports.promiseReturningOperators={every:dRt,forEach:hRt,reduce:pRt,toArray:ARt,some:uTe,find:fRt}});var $W=A((j_r,hTe)=>{"use strict";var{ArrayPrototypePop:ERt,Promise:CRt}=_r(),{isIterable:bRt,isNodeStream:wRt,isWebStream:IRt}=Ml(),{pipelineImpl:SRt}=P1(),{finished:BRt}=ud();JW();function xRt(...t){return new CRt((e,r)=>{let n,i,s=t[t.length-1];if(s&&typeof s=="object"&&!wRt(s)&&!bRt(s)&&!IRt(s)){let a=ERt(t);n=a.signal,i=a.end}SRt(t,(a,c)=>{a?r(a):e(c)},{signal:n,end:i})})}o(xRt,"pipeline");hTe.exports={finished:BRt,pipeline:xRt}});var JW=A((J_r,wTe)=>{var{Buffer:vRt}=require("buffer"),{ObjectDefineProperty:hd,ObjectKeys:mTe,ReflectApply:gTe}=_r(),{promisify:{custom:yTe}}=Ri(),{streamReturningOperators:pTe,promiseReturningOperators:ATe}=fTe(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:ETe}}=os(),NRt=HW(),{setDefaultHighWaterMark:_Rt,getDefaultHighWaterMark:RRt}=fS(),{pipeline:CTe}=P1(),{destroyer:TRt}=lA(),bTe=ud(),WW=$W(),bS=Ml(),dr=wTe.exports=E1().Stream;dr.isDestroyed=bS.isDestroyed;dr.isDisturbed=bS.isDisturbed;dr.isErrored=bS.isErrored;dr.isReadable=bS.isReadable;dr.isWritable=bS.isWritable;dr.Readable=pS();for(let t of mTe(pTe)){let r=function(...n){if(new.target)throw ETe();return dr.Readable.from(gTe(e,this,n))};YW=r,o(r,"fn");let e=pTe[t];hd(r,"name",{__proto__:null,value:e.name}),hd(r,"length",{__proto__:null,value:e.length}),hd(dr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var YW;for(let t of mTe(ATe)){let r=function(...i){if(new.target)throw ETe();return gTe(e,this,i)};YW=r,o(r,"fn");let e=ATe[t];hd(r,"name",{__proto__:null,value:e.name}),hd(r,"length",{__proto__:null,value:e.length}),hd(dr.Readable.prototype,t,{__proto__:null,value:r,enumerable:!1,configurable:!0,writable:!0})}var YW;dr.Writable=T1();dr.Duplex=ql();dr.Transform=RW();dr.PassThrough=DW();dr.pipeline=CTe;var{addAbortSignal:DRt}=dS();dr.addAbortSignal=DRt;dr.finished=bTe;dr.destroy=TRt;dr.compose=NRt;dr.setDefaultHighWaterMark=_Rt;dr.getDefaultHighWaterMark=RRt;hd(dr,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return WW}});hd(CTe,yTe,{__proto__:null,enumerable:!0,get(){return WW.pipeline}});hd(bTe,yTe,{__proto__:null,enumerable:!0,get(){return WW.finished}});dr.Stream=dr;dr._isUint8Array=o(function(e){return e instanceof Uint8Array},"isUint8Array");dr._uint8ArrayToBuffer=o(function(e){return vRt.from(e.buffer,e.byteOffset,e.byteLength)},"_uint8ArrayToBuffer")});var mA=A((Y_r,ht)=>{"use strict";var Fn=require("stream");if(Fn&&process.env.READABLE_STREAM==="disable"){let t=Fn.promises;ht.exports._uint8ArrayToBuffer=Fn._uint8ArrayToBuffer,ht.exports._isUint8Array=Fn._isUint8Array,ht.exports.isDisturbed=Fn.isDisturbed,ht.exports.isErrored=Fn.isErrored,ht.exports.isReadable=Fn.isReadable,ht.exports.Readable=Fn.Readable,ht.exports.Writable=Fn.Writable,ht.exports.Duplex=Fn.Duplex,ht.exports.Transform=Fn.Transform,ht.exports.PassThrough=Fn.PassThrough,ht.exports.addAbortSignal=Fn.addAbortSignal,ht.exports.finished=Fn.finished,ht.exports.destroy=Fn.destroy,ht.exports.pipeline=Fn.pipeline,ht.exports.compose=Fn.compose,Object.defineProperty(Fn,"promises",{configurable:!0,enumerable:!0,get(){return t}}),ht.exports.Stream=Fn.Stream}else{let t=JW(),e=$W(),r=t.Readable.destroy;ht.exports=t.Readable,ht.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,ht.exports._isUint8Array=t._isUint8Array,ht.exports.isDisturbed=t.isDisturbed,ht.exports.isErrored=t.isErrored,ht.exports.isReadable=t.isReadable,ht.exports.Readable=t.Readable,ht.exports.Writable=t.Writable,ht.exports.Duplex=t.Duplex,ht.exports.Transform=t.Transform,ht.exports.PassThrough=t.PassThrough,ht.exports.addAbortSignal=t.addAbortSignal,ht.exports.finished=t.finished,ht.exports.destroy=t.destroy,ht.exports.destroy=r,ht.exports.pipeline=t.pipeline,ht.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return e}}),ht.exports.Stream=t.Stream}ht.exports.default=ht.exports});var STe=A((K_r,ITe)=>{function QRt(t,e){for(var r=-1,n=e.length,i=t.length;++r{var BTe=i1(),kRt=OJ(),PRt=LJ(),xTe=BTe?BTe.isConcatSpreadable:void 0;function ORt(t){return PRt(t)||kRt(t)||!!(xTe&&t&&t[xTe])}o(ORt,"isFlattenable");vTe.exports=ORt});var U1=A((tRr,RTe)=>{var LRt=STe(),FRt=NTe();function _Te(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=FRt),i||(i=[]);++s0&&r(c)?e>1?_Te(c,e-1,r,n,i):LRt(i,c):n||(i[i.length]=c)}return i}o(_Te,"baseFlatten");RTe.exports=_Te});var DTe=A((nRr,TTe)=>{var MRt=U1();function URt(t){var e=t==null?0:t.length;return e?MRt(t,1):[]}o(URt,"flatten");TTe.exports=URt});var wS=A((sRr,QTe)=>{var qRt=rS(),GRt=qRt(Object,"create");QTe.exports=GRt});var OTe=A((oRr,PTe)=>{var kTe=wS();function HRt(){this.__data__=kTe?kTe(null):{},this.size=0}o(HRt,"hashClear");PTe.exports=HRt});var FTe=A((cRr,LTe)=>{function VRt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}o(VRt,"hashDelete");LTe.exports=VRt});var UTe=A((uRr,MTe)=>{var zRt=wS(),jRt="__lodash_hash_undefined__",$Rt=Object.prototype,JRt=$Rt.hasOwnProperty;function WRt(t){var e=this.__data__;if(zRt){var r=e[t];return r===jRt?void 0:r}return JRt.call(e,t)?e[t]:void 0}o(WRt,"hashGet");MTe.exports=WRt});var GTe=A((fRr,qTe)=>{var YRt=wS(),KRt=Object.prototype,XRt=KRt.hasOwnProperty;function ZRt(t){var e=this.__data__;return YRt?e[t]!==void 0:XRt.call(e,t)}o(ZRt,"hashHas");qTe.exports=ZRt});var VTe=A((pRr,HTe)=>{var eTt=wS(),tTt="__lodash_hash_undefined__";function rTt(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=eTt&&e===void 0?tTt:e,this}o(rTt,"hashSet");HTe.exports=rTt});var jTe=A((mRr,zTe)=>{var nTt=OTe(),iTt=FTe(),sTt=UTe(),oTt=GTe(),aTt=VTe();function _E(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{function cTt(){this.__data__=[],this.size=0}o(cTt,"listCacheClear");$Te.exports=cTt});var IS=A((CRr,WTe)=>{var lTt=o1();function uTt(t,e){for(var r=t.length;r--;)if(lTt(t[r][0],e))return r;return-1}o(uTt,"assocIndexOf");WTe.exports=uTt});var KTe=A((wRr,YTe)=>{var dTt=IS(),fTt=Array.prototype,hTt=fTt.splice;function pTt(t){var e=this.__data__,r=dTt(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():hTt.call(e,r,1),--this.size,!0}o(pTt,"listCacheDelete");YTe.exports=pTt});var ZTe=A((SRr,XTe)=>{var ATt=IS();function mTt(t){var e=this.__data__,r=ATt(e,t);return r<0?void 0:e[r][1]}o(mTt,"listCacheGet");XTe.exports=mTt});var t2e=A((xRr,e2e)=>{var gTt=IS();function yTt(t){return gTt(this.__data__,t)>-1}o(yTt,"listCacheHas");e2e.exports=yTt});var n2e=A((NRr,r2e)=>{var ETt=IS();function CTt(t,e){var r=this.__data__,n=ETt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}o(CTt,"listCacheSet");r2e.exports=CTt});var s2e=A((RRr,i2e)=>{var bTt=JTe(),wTt=KTe(),ITt=ZTe(),STt=t2e(),BTt=n2e();function RE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var xTt=rS(),vTt=dE(),NTt=xTt(vTt,"Map");o2e.exports=NTt});var u2e=A((QRr,l2e)=>{var c2e=jTe(),_Tt=s2e(),RTt=a2e();function TTt(){this.size=0,this.__data__={hash:new c2e,map:new(RTt||_Tt),string:new c2e}}o(TTt,"mapCacheClear");l2e.exports=TTt});var f2e=A((PRr,d2e)=>{function DTt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}o(DTt,"isKeyable");d2e.exports=DTt});var SS=A((LRr,h2e)=>{var QTt=f2e();function kTt(t,e){var r=t.__data__;return QTt(e)?r[typeof e=="string"?"string":"hash"]:r.map}o(kTt,"getMapData");h2e.exports=kTt});var A2e=A((MRr,p2e)=>{var PTt=SS();function OTt(t){var e=PTt(this,t).delete(t);return this.size-=e?1:0,e}o(OTt,"mapCacheDelete");p2e.exports=OTt});var g2e=A((qRr,m2e)=>{var LTt=SS();function FTt(t){return LTt(this,t).get(t)}o(FTt,"mapCacheGet");m2e.exports=FTt});var E2e=A((HRr,y2e)=>{var MTt=SS();function UTt(t){return MTt(this,t).has(t)}o(UTt,"mapCacheHas");y2e.exports=UTt});var b2e=A((zRr,C2e)=>{var qTt=SS();function GTt(t,e){var r=qTt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}o(GTt,"mapCacheSet");C2e.exports=GTt});var I2e=A(($Rr,w2e)=>{var HTt=u2e(),VTt=A2e(),zTt=g2e(),jTt=E2e(),$Tt=b2e();function TE(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{var JTt="__lodash_hash_undefined__";function WTt(t){return this.__data__.set(t,JTt),this}o(WTt,"setCacheAdd");S2e.exports=WTt});var v2e=A((KRr,x2e)=>{function YTt(t){return this.__data__.has(t)}o(YTt,"setCacheHas");x2e.exports=YTt});var KW=A((ZRr,N2e)=>{var KTt=I2e(),XTt=B2e(),ZTt=v2e();function q1(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new KTt;++e{function e2t(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s{function t2t(t){return t!==t}o(t2t,"baseIsNaN");T2e.exports=t2t});var k2e=A((sTr,Q2e)=>{function r2t(t,e,r){for(var n=r-1,i=t.length;++n{var n2t=R2e(),i2t=D2e(),s2t=k2e();function o2t(t,e,r){return e===e?s2t(t,e,r):n2t(t,i2t,r)}o(o2t,"baseIndexOf");P2e.exports=o2t});var XW=A((lTr,L2e)=>{var a2t=O2e();function c2t(t,e){var r=t==null?0:t.length;return!!r&&a2t(t,e,0)>-1}o(c2t,"arrayIncludes");L2e.exports=c2t});var ZW=A((dTr,F2e)=>{function l2t(t,e,r){for(var n=-1,i=t==null?0:t.length;++n{function u2t(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{function d2t(t,e){return t.has(e)}o(d2t,"cacheHas");q2e.exports=d2t});var H2e=A((gTr,G2e)=>{var f2t=KW(),h2t=XW(),p2t=ZW(),A2t=U2e(),m2t=FJ(),g2t=e9(),y2t=200;function E2t(t,e,r,n){var i=-1,s=h2t,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;r&&(e=A2t(e,m2t(r))),n?(s=p2t,a=!1):e.length>=y2t&&(s=g2t,a=!1,e=new f2t(e));e:for(;++i{var C2t=a1(),b2t=fE();function w2t(t){return b2t(t)&&C2t(t)}o(w2t,"isArrayLikeObject");V2e.exports=w2t});var $2e=A((bTr,j2e)=>{var I2t=H2e(),S2t=U1(),B2t=s1(),z2e=t9(),x2t=B2t(function(t,e){return z2e(t)?I2t(t,S2t(e,1,z2e,!0)):[]});j2e.exports=x2t});var W2e=A((wTr,J2e)=>{var v2t=rS(),N2t=dE(),_2t=v2t(N2t,"Set");J2e.exports=_2t});var K2e=A((ITr,Y2e)=>{function R2t(){}o(R2t,"noop");Y2e.exports=R2t});var r9=A((BTr,X2e)=>{function T2t(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}o(T2t,"setToArray");X2e.exports=T2t});var eDe=A((vTr,Z2e)=>{var n9=W2e(),D2t=K2e(),Q2t=r9(),k2t=1/0,P2t=n9&&1/Q2t(new n9([,-0]))[1]==k2t?function(t){return new n9(t)}:D2t;Z2e.exports=P2t});var rDe=A((NTr,tDe)=>{var O2t=KW(),L2t=XW(),F2t=ZW(),M2t=e9(),U2t=eDe(),q2t=r9(),G2t=200;function H2t(t,e,r){var n=-1,i=L2t,s=t.length,a=!0,c=[],l=c;if(r)a=!1,i=F2t;else if(s>=G2t){var u=e?null:U2t(t);if(u)return q2t(u);a=!1,i=M2t,l=new O2t}else l=e?[]:c;e:for(;++n{var V2t=U1(),z2t=s1(),j2t=rDe(),$2t=t9(),J2t=z2t(function(t){return j2t(V2t(t,1,$2t,!0))});nDe.exports=J2t});var oDe=A((TTr,sDe)=>{function W2t(t,e){return function(r){return t(e(r))}}o(W2t,"overArg");sDe.exports=W2t});var cDe=A((QTr,aDe)=>{var Y2t=oDe(),K2t=Y2t(Object.getPrototypeOf,Object);aDe.exports=K2t});var dDe=A((kTr,uDe)=>{var X2t=eS(),Z2t=cDe(),eDt=fE(),tDt="[object Object]",rDt=Function.prototype,nDt=Object.prototype,lDe=rDt.toString,iDt=nDt.hasOwnProperty,sDt=lDe.call(Object);function oDt(t){if(!eDt(t)||X2t(t)!=tDt)return!1;var e=Z2t(t);if(e===null)return!0;var r=iDt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&lDe.call(r)==sDt}o(oDt,"isPlainObject");uDe.exports=oDt});var fDe=A(G1=>{"use strict";Object.defineProperty(G1,"__esModule",{value:!0});G1.assertValidPattern=void 0;var aDt=1024*64,cDt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>aDt)throw new TypeError("pattern is too long")},"assertValidPattern");G1.assertValidPattern=cDt});var pDe=A(H1=>{"use strict";Object.defineProperty(H1,"__esModule",{value:!0});H1.parseClass=void 0;var lDt={"[: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]},BS=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),uDt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),hDe=o(t=>t.join(""),"rangesToString"),dDt=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(BS(f)+"-"+BS(g)):g===f&&n.push(BS(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(BS(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(BS(g)),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 o9=A(W1=>{"use strict";var Fs;Object.defineProperty(W1,"__esModule",{value:!0});W1.AST=void 0;var hDt=pDe(),j1=z1(),pDt=new Set(["!","?","+","*","@"]),i9=o(t=>pDt.has(t),"isExtglobType"),ADe=o(t=>i9(t.type),"isExtglobAST"),ADt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),mDt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),gDt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),mDe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),yDt="(?!(?:^|/)\\.\\.?(?:$|/))",$1="(?!\\.)",EDt=new Set(["[","."]),CDt=new Set(["..","."]),bDt=new Set("().*{}+?[]^$\\!"),wDt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),s9="[^/]",gDe=s9+"*?",yDe=s9+"+?",J1=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[m,g,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,m}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&CDt.has(this.#r[0]))){let m=EDt,g=r&&m.has(u.charAt(0))||u.startsWith("\\.")&&m.has(u.charAt(2))||u.startsWith("\\.\\.")&&m.has(u.charAt(4)),E=!r&&!e&&m.has(u.charAt(0));d=g?yDt:E?$1:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,j1.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,j1.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!$1?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?$1:"")+yDe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?$1:"")+gDe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,j1.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(Y1,"__esModule",{value:!0});Y1.escape=void 0;var IDt=o((t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");Y1.escape=IDt});var Hf=A(pe=>{"use strict";var SDt=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 BDt=SDt($6()),K1=fDe(),bDe=o9(),xDt=a9(),vDt=z1(),NDt=o((t,e,r={})=>((0,K1.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new gA(e,r).match(t)),"minimatch");pe.minimatch=NDt;var _Dt=/^\*+([^+@!?\*\[\(]*)$/,RDt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),TDt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),DDt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),QDt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),kDt=/^\*+\.\*+$/,PDt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),ODt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),LDt=/^\.\*+$/,FDt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),MDt=/^\*+$/,UDt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),qDt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),GDt=/^\?+([^+@!?\*\[\(]*)?$/,HDt=o(([t,e=""])=>{let r=wDe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),VDt=o(([t,e=""])=>{let r=IDe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),zDt=o(([t,e=""])=>{let r=IDe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),jDt=o(([t,e=""])=>{let r=wDe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),wDe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),IDe=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),SDe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",EDe={win32:{sep:"\\"},posix:{sep:"/"}};pe.sep=SDe==="win32"?EDe.win32.sep:EDe.posix.sep;pe.minimatch.sep=pe.sep;pe.GLOBSTAR=Symbol("globstar **");pe.minimatch.GLOBSTAR=pe.GLOBSTAR;var $Dt="[^/]",JDt=$Dt+"*?",WDt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",YDt="(?:(?!(?:\\/|^)\\.).)*?",KDt=o((t,e={})=>r=>(0,pe.minimatch)(r,t,e),"filter");pe.filter=KDt;pe.minimatch.filter=pe.filter;var Ca=o((t,e={})=>Object.assign({},t,e),"ext"),XDt=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,Ca(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Ca(t,s))}static defaults(i){return e.defaults(Ca(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Ca(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Ca(t,s))}},unescape:o((n,i={})=>e.unescape(n,Ca(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Ca(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Ca(t,i)),"filter"),defaults:o(n=>e.defaults(Ca(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Ca(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Ca(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Ca(t,s)),"match"),sep:e.sep,GLOBSTAR:pe.GLOBSTAR})},"defaults");pe.defaults=XDt;pe.minimatch.defaults=pe.defaults;var ZDt=o((t,e={})=>((0,K1.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,BDt.default)(t)),"braceExpand");pe.braceExpand=ZDt;pe.minimatch.braceExpand=pe.braceExpand;var eQt=o((t,e={})=>new gA(t,e).makeRe(),"makeRe");pe.makeRe=eQt;pe.minimatch.makeRe=pe.makeRe;var tQt=o((t,e,r={})=>{let n=new gA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");pe.match=tQt;pe.minimatch.match=pe.match;var CDe=/[?*]|[+@!]\(.*?\)|\[|\]/,rQt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),gA=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||SDe,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]==="?"||!CDe.test(s[2]))&&!CDe.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 w=i;w{let u=l.map(d=>{if(d instanceof RegExp)for(let f of d.flags.split(""))i.add(f);return typeof d=="string"?rQt(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,xDe=new Set,c9=typeof process=="object"&&process?process:{},vDe=o((t,e,r,n)=>{typeof c9.emitWarning=="function"?c9.emitWarning(t,e,r,n):console.error(`[${r}] ${e}: ${t}`)},"emitWarning"),X1=globalThis.AbortController,BDe=globalThis.AbortSignal;if(typeof X1>"u"){BDe=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 BDe;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=c9.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{t&&(t=!1,vDe("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 oQt=o(t=>!xDe.has(t),"shouldWarn"),Vf=o(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),NDe=o(t=>Vf(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)}},l9=class t{static{o(this,"Stack")}heap;length;static#e=!1;static create(e){let r=NDe(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]}},u9=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;#w;#C;#b;#g;#x;#d;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#b,sizes:e.#w,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.#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:d,noDisposeOnSet:f,noUpdateTTL:h,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:g,fetchMethod:E,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:B,ignoreFetchAbort:Q}=e;if(r!==0&&!Vf(r))throw new TypeError("max option must be a nonnegative integer");let M=r?NDe(r):Array;if(!M)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=p,this.maxEntrySize=m||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.#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=l9.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=!!w,this.allowStaleOnFetchAbort=!!B,this.ignoreFetchAbort=!!Q,this.maxEntrySize!==0){if(this.#t!==0&&!Vf(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!Vf(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=Vf(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Vf(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 v="LRU_CACHE_UNBOUNDED";oQt(v)&&(xDe.add(v),vDe("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}#I(){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");#T(){let e=new QE(this.#e);this.#l=0,this.#w=e,this.#N=r=>{this.#l-=e[r],e[r]=0},this.#O=(r,n,i,s)=>{if(this.#h(n))return 0;if(!Vf(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!Vf(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]}*#R({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.#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.#_()){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.#_())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.#_()){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.#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-(DE.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.#_({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.#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=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.#I(),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((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 f(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"),d=o(g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),f(g)),"eb"),f=o(g=>{let{aborted:E}=a.signal,y=E&&n.allowStaleOnFetchAbort,C=y||n.allowStaleOnFetchRejection,w=C||n.noDeleteOnFetchRejection,B=p;if(this.#o[r]===p&&(!w||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 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,d),m=Object.assign(p,{__abortController:a,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,m,{...l.options,status:void 0}),r=this.#a.get(e)):this.#o[r]=m,m}#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:m=this.allowStaleOnFetchAbort,context:g,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 w={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:a,noDisposeOnSet:c,size:l,sizeCalculation:u,noUpdateTTL:d,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:m,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,w,g);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,w,g),T=v.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=M?"stale":"refresh",T&&M&&(y.returnedStale=!0)),T?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.#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.#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.#w&&this.#w.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=u9});var PDe=A(cs=>{"use strict";var aQt=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 RDe=typeof process=="object"&&process?process:{stdout:null,stderr:null},g9=require("events"),kDe=aQt(require("stream")),cQt=require("string_decoder"),lQt=o(t=>!!t&&typeof t=="object"&&(t instanceof ok||t instanceof kDe.default||(0,cs.isReadable)(t)||(0,cs.isWritable)(t)),"isStream");cs.isStream=lQt;var uQt=o(t=>!!t&&typeof t=="object"&&t instanceof g9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==kDe.default.Writable.prototype.pipe,"isReadable");cs.isReadable=uQt;var dQt=o(t=>!!t&&typeof t=="object"&&t instanceof g9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");cs.isWritable=dQt;var pd=Symbol("EOF"),Ad=Symbol("maybeEmitEnd"),zf=Symbol("emittedEnd"),ek=Symbol("emittingEnd"),xS=Symbol("emittedError"),tk=Symbol("closed"),TDe=Symbol("read"),rk=Symbol("flush"),DDe=Symbol("flushChunk"),Ac=Symbol("encoding"),kE=Symbol("decoder"),Kn=Symbol("flowing"),vS=Symbol("paused"),PE=Symbol("resume"),Xn=Symbol("buffer"),as=Symbol("pipes"),Zn=Symbol("bufferLength"),d9=Symbol("bufferPush"),nk=Symbol("bufferShift"),Di=Symbol("objectMode"),ln=Symbol("destroyed"),f9=Symbol("error"),h9=Symbol("emitData"),QDe=Symbol("emitEnd"),p9=Symbol("emitEnd2"),Hl=Symbol("async"),A9=Symbol("abort"),ik=Symbol("aborted"),NS=Symbol("signal"),yA=Symbol("dataListeners"),Bo=Symbol("discarded"),_S=o(t=>Promise.resolve().then(t),"defer"),fQt=o(t=>t(),"nodefer"),hQt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),pQt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),AQt=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()}},m9=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)}},mQt=o(t=>!!t.objectMode,"isObjectModeOptions"),gQt=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),ok=class extends g9.EventEmitter{static{o(this,"Minipass")}[Kn]=!1;[vS]=!1;[as]=[];[Xn]=[];[Di];[Ac];[Hl];[kE];[pd]=!1;[zf]=!1;[ek]=!1;[tk]=!1;[xS]=null;[Zn]=0;[ln]=!1;[NS];[ik]=!1;[yA]=0;[Bo]=!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");mQt(r)?(this[Di]=!0,this[Ac]=null):gQt(r)?(this[Ac]=r.encoding,this[Di]=!1):(this[Di]=!1,this[Ac]=null),this[Hl]=!!r.async,this[kE]=this[Ac]?new cQt.StringDecoder(this[Ac]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[Xn],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[as],"get")});let{signal:n}=r;n&&(this[NS]=n,n.aborted?this[A9]():n.addEventListener("abort",()=>this[A9]()))}get bufferLength(){return this[Zn]}get encoding(){return this[Ac]}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[Di]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Hl]}set async(e){this[Hl]=this[Hl]||!!e}[A9](){this[ik]=!0,this.emit("abort",this[NS]?.reason),this.destroy(this[NS]?.reason)}get aborted(){return this[ik]}set aborted(e){}write(e,r,n){if(this[ik])return!1;if(this[pd])throw new Error("write after end");if(this[ln])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[Hl]?_S:fQt;if(!this[Di]&&!Buffer.isBuffer(e)){if(AQt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(pQt(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Di]?(this[Kn]&&this[Zn]!==0&&this[rk](!0),this[Kn]?this.emit("data",e):this[d9](e),this[Zn]!==0&&this.emit("readable"),n&&i(n),this[Kn]):e.length?(typeof e=="string"&&!(r===this[Ac]&&!this[kE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[Ac]&&(e=this[kE].write(e)),this[Kn]&&this[Zn]!==0&&this[rk](!0),this[Kn]?this.emit("data",e):this[d9](e),this[Zn]!==0&&this.emit("readable"),n&&i(n),this[Kn]):(this[Zn]!==0&&this.emit("readable"),n&&i(n),this[Kn])}read(e){if(this[ln])return null;if(this[Bo]=!1,this[Zn]===0||e===0||e&&e>this[Zn])return this[Ad](),null;this[Di]&&(e=null),this[Xn].length>1&&!this[Di]&&(this[Xn]=[this[Ac]?this[Xn].join(""):Buffer.concat(this[Xn],this[Zn])]);let r=this[TDe](e||null,this[Xn][0]);return this[Ad](),r}[TDe](e,r){if(this[Di])this[nk]();else{let n=r;e===n.length||e===null?this[nk]():typeof n=="string"?(this[Xn][0]=n.slice(e),r=n.slice(0,e),this[Zn]-=e):(this[Xn][0]=n.subarray(e),r=n.subarray(0,e),this[Zn]-=e)}return this.emit("data",r),!this[Xn].length&&!this[pd]&&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[pd]=!0,this.writable=!1,(this[Kn]||!this[vS])&&this[Ad](),this}[PE](){this[ln]||(!this[yA]&&!this[as].length&&(this[Bo]=!0),this[vS]=!1,this[Kn]=!0,this.emit("resume"),this[Xn].length?this[rk]():this[pd]?this[Ad]():this.emit("drain"))}resume(){return this[PE]()}pause(){this[Kn]=!1,this[vS]=!0,this[Bo]=!1}get destroyed(){return this[ln]}get flowing(){return this[Kn]}get paused(){return this[vS]}[d9](e){this[Di]?this[Zn]+=1:this[Zn]+=e.length,this[Xn].push(e)}[nk](){return this[Di]?this[Zn]-=1:this[Zn]-=this[Xn][0].length,this[Xn].shift()}[rk](e=!1){do;while(this[DDe](this[nk]())&&this[Xn].length);!e&&!this[Xn].length&&!this[pd]&&this.emit("drain")}[DDe](e){return this.emit("data",e),this[Kn]}pipe(e,r){if(this[ln])return e;this[Bo]=!1;let n=this[zf];return r=r||{},e===RDe.stdout||e===RDe.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&e.end():(this[as].push(r.proxyErrors?new m9(this,e,r):new sk(this,e,r)),this[Hl]?_S(()=>this[PE]()):this[PE]()),e}unpipe(e){let r=this[as].find(n=>n.dest===e);r&&(this[as].length===1?(this[Kn]&&this[yA]===0&&(this[Kn]=!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[Bo]=!1,this[yA]++,!this[as].length&&!this[Kn]&&this[PE]();else if(e==="readable"&&this[Zn]!==0)super.emit("readable");else if(hQt(e)&&this[zf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[xS]){let i=r;this[Hl]?_S(()=>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[yA]=this.listeners("data").length,this[yA]===0&&!this[Bo]&&!this[as].length&&(this[Kn]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[yA]=0,!this[Bo]&&!this[as].length&&(this[Kn]=!1)),r}get emittedEnd(){return this[zf]}[Ad](){!this[ek]&&!this[zf]&&!this[ln]&&this[Xn].length===0&&this[pd]&&(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!==ln&&this[ln])return!1;if(e==="data")return!this[Di]&&!n?!1:this[Hl]?(_S(()=>this[h9](n)),!0):this[h9](n);if(e==="end")return this[QDe]();if(e==="close"){if(this[tk]=!0,!this[zf]&&!this[ln])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[xS]=n,super.emit(f9,n);let s=!this[NS]||this.listeners("error").length?super.emit("error",n):!1;return this[Ad](),s}else if(e==="resume"){let s=super.emit("resume");return this[Ad](),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[Ad](),i}[h9](e){for(let n of this[as])n.dest.write(e)===!1&&this.pause();let r=this[Bo]?!1:super.emit("data",e);return this[Ad](),r}[QDe](){return this[zf]?!1:(this[zf]=!0,this.readable=!1,this[Hl]?(_S(()=>this[p9]()),!0):this[p9]())}[p9](){if(this[kE]){let r=this[kE].end();if(r){for(let n of this[as])n.dest.write(r);this[Bo]||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[Di]||(e.dataLength=0);let r=this.promise();return this.on("data",n=>{e.push(n),this[Di]||(e.dataLength+=n.length)}),await r,e}async concat(){if(this[Di])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Ac]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(ln,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[Bo]=!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[pd])return r();let s,a,c=o(f=>{this.off("data",l),this.off("end",u),this.off(ln,d),r(),a(f)},"onerr"),l=o(f=>{this.off("error",c),this.off("end",u),this.off(ln,d),this.pause(),s({value:f,done:!!this[pd]})},"ondata"),u=o(()=>{this.off("error",c),this.off("data",l),this.off(ln,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(ln,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[Bo]=!1;let e=!1,r=o(()=>(this.pause(),this.off(f9,r),this.off(ln,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(f9,r),this.once(ln,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[ln])return e?this.emit("error",e):this.emit(ln),this;this[ln]=!0,this[Bo]=!0,this[Xn].length=0,this[Zn]=0;let r=this;return typeof r.close=="function"&&!this[tk]&&r.close(),e?this.emit("error",e):this.emit(ln),this}static get isStream(){return cs.isStream}};cs.Minipass=ok});var YDe=A(Ut=>{"use strict";var yQt=Ut&&Ut.__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]})),EQt=Ut&&Ut.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),CQt=Ut&&Ut.__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)&&yQt(e,t,r);return EQt(e,t),e};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.PathScurry=Ut.Path=Ut.PathScurryDarwin=Ut.PathScurryPosix=Ut.PathScurryWin32=Ut.PathScurryBase=Ut.PathPosix=Ut.PathWin32=Ut.PathBase=Ut.ChildrenCache=Ut.ResolveCache=void 0;var qDe=_De(),dk=require("node:path"),bQt=require("node:url"),TS=require("fs"),wQt=CQt(require("node:fs")),IQt=TS.realpathSync.native,ak=require("node:fs/promises"),ODe=PDe(),DS={lstatSync:TS.lstatSync,readdir:TS.readdir,readdirSync:TS.readdirSync,readlinkSync:TS.readlinkSync,realpathSync:IQt,promises:{lstat:ak.lstat,readdir:ak.readdir,readlink:ak.readlink,realpath:ak.realpath}},GDe=o(t=>!t||t===DS||t===wQt?DS:{...DS,...t,promises:{...DS.promises,...t.promises||{}}},"fsFromOption"),HDe=/^\\\\\?\\([a-z]:)\\?$/i,SQt=o(t=>t.replace(/\//g,"\\").replace(HDe,"$1\\"),"uncToDrive"),BQt=/[\\\/]/,wa=0,VDe=1,zDe=2,Vl=4,jDe=6,$De=8,EA=10,JDe=12,ba=15,RS=~ba,y9=16,LDe=32,QS=64,mc=128,ck=256,uk=512,FDe=QS|mc|uk,xQt=1023,E9=o(t=>t.isFile()?$De:t.isDirectory()?Vl:t.isSymbolicLink()?EA:t.isCharacterDevice()?zDe:t.isBlockDevice()?jDe:t.isSocket()?JDe:t.isFIFO()?VDe:wa,"entToType"),MDe=new Map,kS=o(t=>{let e=MDe.get(t);if(e)return e;let r=t.normalize("NFKD");return MDe.set(t,r),r},"normalize"),UDe=new Map,lk=o(t=>{let e=UDe.get(t);if(e)return e;let r=kS(t.toLowerCase());return UDe.set(t,r),r},"normalizeNocase"),PS=class extends qDe.LRUCache{static{o(this,"ResolveCache")}constructor(){super({max:256})}};Ut.ResolveCache=PS;var fk=class extends qDe.LRUCache{static{o(this,"ChildrenCache")}constructor(e=16*1024){super({maxSize:e,sizeCalculation:o(r=>r.length+1,"sizeCalculation")})}};Ut.ChildrenCache=fk;var WDe=Symbol("PathScurry setAsCwd"),Ei=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}#w;get mtime(){return this.#w}#C;get ctime(){return this.#C}#b;get birthtime(){return this.#b}#g;#x;#d;#I;#S;#v;#u;#B;#T;#N;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=wa,n,i,s,a,c){this.name=e,this.#g=s?lk(e):kS(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=GDe(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&=~y9,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?lk(e):kS(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,wa,{...r,parent:this,fullpath:a});return this.canReaddir()||(c.#u|=mc),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.#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&ba)===wa}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&ba)===$De}isDirectory(){return(this.#u&ba)===Vl}isCharacterDevice(){return(this.#u&ba)===zDe}isBlockDevice(){return(this.#u&ba)===jDe}isFIFO(){return(this.#u&ba)===VDe}isSocket(){return(this.#u&ba)===JDe}isSymbolicLink(){return(this.#u&EA)===EA}lstatCached(){return this.#u&LDe?this:void 0}readlinkCached(){return this.#T}realpathCached(){return this.#N}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&ba;return!(e!==wa&&e!==EA||this.#u&ck||this.#u&mc)}calledReaddir(){return!!(this.#u&y9)}isENOENT(){return!!(this.#u&mc)}isNamed(e){return this.nocase?this.#g===lk(e):this.#g===kS(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|=y9;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&FDe)return!1;let e=ba&this.#u;return e===wa||e===Vl||e===EA}shouldWalk(e,r){return(this.#u&Vl)===Vl&&!(this.#u&FDe)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#N)return this.#N;if(!((uk|ck|mc)&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|mc)&this.#u))try{let e=this.#e.realpathSync(this.fullpath());return this.#N=this.resolve(e)}catch{this.#L()}}[WDe](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}};Ut.PathBase=Ei;var OS=class t extends Ei{static{o(this,"PathWin32")}sep="\\";splitSep=BQt;constructor(e,r=wa,n,i,s,a,c){super(e,r,n,i,s,a,c)}newChild(e,r=wa,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=SQt(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 MS(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(HDe,"$1\\"),e===r}};Ut.PathWin32=OS;var LS=class t extends Ei{static{o(this,"PathPosix")}splitSep="/";sep="/";constructor(e,r=wa,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=wa,n={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};Ut.PathPosix=LS;var FS=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=DS}={}){this.#r=GDe(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,bQt.fileURLToPath)(e));let c=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new PS,this.#t=new PS,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 m of l){let g=d--;u=u.child(m,{relative:new Array(g).fill("..").join(f),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(p?"":f)+m}),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 Ei||(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 Ei||(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 Ei||(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 Ei||(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 Ei||(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 Ei||(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 Ei||(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,m)=>{if(p)return h(p);let g=m.length;if(!g)return h();let E=o(()=>{--g===0&&h()},"next");for(let y of m)(!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 Ei||(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 Ei||(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 Ei||(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 Ei||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new ODe.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 m=o((E,y,C=!1)=>{if(E)return c.emit("error",E);if(i&&!C){let w=[];for(let B of y)B.isSymbolicLink()&&w.push(B.realpath().then(Q=>Q?.isUnknown()?Q.lstat():Q));if(w.length){Promise.all(w).then(()=>m(null,y,!0));return}}for(let w of y)w&&(!s||s(w))&&(c.write(n?w:w.fullpath())||(h=!0));d--;for(let w of y){let B=w.realpathCached()||w;B.shouldWalk(l,a)&&u.push(B)}h&&!c.flowing?c.once("drain",f):g||f()},"onReaddir"),g=!0;p.readdirCB(m,!0),g=!1}},"process");return f(),c}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ei||(r=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:a}=r,c=new ODe.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 m=p.readdirSync();for(let g of m)(!s||s(g))&&(c.write(n?g:g.fullpath())||(h=!0));d--;for(let g of m){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",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[WDe](r)}};Ut.PathScurryBase=FS;var MS=class extends FS{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 OS(this.rootPath,Vl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};Ut.PathScurryWin32=MS;var US=class extends FS{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 LS(this.rootPath,Vl,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};Ut.PathScurryPosix=US;var hk=class extends US{static{o(this,"PathScurryDarwin")}constructor(e=process.cwd(),r={}){let{nocase:n=!0}=r;super(e,{...r,nocase:n})}};Ut.PathScurryDarwin=hk;Ut.Path=process.platform==="win32"?OS:LS;Ut.PathScurry=process.platform==="win32"?MS:process.platform==="darwin"?hk:US});var b9=A(pk=>{"use strict";Object.defineProperty(pk,"__esModule",{value:!0});pk.Pattern=void 0;var vQt=Hf(),NQt=o(t=>t.length>=1,"isPatternList"),_Qt=o(t=>t.length>=1,"isGlobList"),C9=class t{static{o(this,"Pattern")}#e;#t;#n;length;#r;#i;#s;#l;#a;#c;#o=!0;constructor(e,r,n,i){if(!NQt(e))throw new TypeError("empty pattern list");if(!_Qt(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,...m]=this.#t;u[0]===""&&(u.shift(),m.shift());let g=[s,a,c,l,""].join("/"),E=[d,f,h,p,""].join("/");this.#e=[g,...u],this.#t=[E,...m],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]===vQt.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=C9});var rQe=A(us=>{"use strict";var RQt=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 KDe=typeof process=="object"&&process?process:{stdout:null,stderr:null},N9=require("node:events"),tQe=RQt(require("node:stream")),TQt=require("node:string_decoder"),DQt=o(t=>!!t&&typeof t=="object"&&(t instanceof bk||t instanceof tQe.default||(0,us.isReadable)(t)||(0,us.isWritable)(t)),"isStream");us.isStream=DQt;var QQt=o(t=>!!t&&typeof t=="object"&&t instanceof N9.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==tQe.default.Writable.prototype.pipe,"isReadable");us.isReadable=QQt;var kQt=o(t=>!!t&&typeof t=="object"&&t instanceof N9.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");us.isWritable=kQt;var md=Symbol("EOF"),gd=Symbol("maybeEmitEnd"),jf=Symbol("emittedEnd"),Ak=Symbol("emittingEnd"),qS=Symbol("emittedError"),mk=Symbol("closed"),XDe=Symbol("read"),gk=Symbol("flush"),ZDe=Symbol("flushChunk"),gc=Symbol("encoding"),OE=Symbol("decoder"),ei=Symbol("flowing"),GS=Symbol("paused"),LE=Symbol("resume"),ti=Symbol("buffer"),ls=Symbol("pipes"),ri=Symbol("bufferLength"),w9=Symbol("bufferPush"),yk=Symbol("bufferShift"),Qi=Symbol("objectMode"),un=Symbol("destroyed"),I9=Symbol("error"),S9=Symbol("emitData"),eQe=Symbol("emitEnd"),B9=Symbol("emitEnd2"),zl=Symbol("async"),x9=Symbol("abort"),Ek=Symbol("aborted"),HS=Symbol("signal"),CA=Symbol("dataListeners"),xo=Symbol("discarded"),VS=o(t=>Promise.resolve().then(t),"defer"),PQt=o(t=>t(),"nodefer"),OQt=o(t=>t==="end"||t==="finish"||t==="prefinish","isEndish"),LQt=o(t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,"isArrayBufferLike"),FQt=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()}},v9=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)}},MQt=o(t=>!!t.objectMode,"isObjectModeOptions"),UQt=o(t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer","isEncodingOptions"),bk=class extends N9.EventEmitter{static{o(this,"Minipass")}[ei]=!1;[GS]=!1;[ls]=[];[ti]=[];[Qi];[gc];[zl];[OE];[md]=!1;[jf]=!1;[Ak]=!1;[mk]=!1;[qS]=null;[ri]=0;[un]=!1;[HS];[Ek]=!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");MQt(r)?(this[Qi]=!0,this[gc]=null):UQt(r)?(this[gc]=r.encoding,this[Qi]=!1):(this[Qi]=!1,this[gc]=null),this[zl]=!!r.async,this[OE]=this[gc]?new TQt.StringDecoder(this[gc]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:o(()=>this[ti],"get")}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:o(()=>this[ls],"get")});let{signal:n}=r;n&&(this[HS]=n,n.aborted?this[x9]():n.addEventListener("abort",()=>this[x9]()))}get bufferLength(){return this[ri]}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}[x9](){this[Ek]=!0,this.emit("abort",this[HS]?.reason),this.destroy(this[HS]?.reason)}get aborted(){return this[Ek]}set aborted(e){}write(e,r,n){if(this[Ek])return!1;if(this[md])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]?VS:PQt;if(!this[Qi]&&!Buffer.isBuffer(e)){if(FQt(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(LQt(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[ei]&&this[ri]!==0&&this[gk](!0),this[ei]?this.emit("data",e):this[w9](e),this[ri]!==0&&this.emit("readable"),n&&i(n),this[ei]):e.length?(typeof e=="string"&&!(r===this[gc]&&!this[OE]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[gc]&&(e=this[OE].write(e)),this[ei]&&this[ri]!==0&&this[gk](!0),this[ei]?this.emit("data",e):this[w9](e),this[ri]!==0&&this.emit("readable"),n&&i(n),this[ei]):(this[ri]!==0&&this.emit("readable"),n&&i(n),this[ei])}read(e){if(this[un])return null;if(this[xo]=!1,this[ri]===0||e===0||e&&e>this[ri])return this[gd](),null;this[Qi]&&(e=null),this[ti].length>1&&!this[Qi]&&(this[ti]=[this[gc]?this[ti].join(""):Buffer.concat(this[ti],this[ri])]);let r=this[XDe](e||null,this[ti][0]);return this[gd](),r}[XDe](e,r){if(this[Qi])this[yk]();else{let n=r;e===n.length||e===null?this[yk]():typeof n=="string"?(this[ti][0]=n.slice(e),r=n.slice(0,e),this[ri]-=e):(this[ti][0]=n.subarray(e),r=n.subarray(0,e),this[ri]-=e)}return this.emit("data",r),!this[ti].length&&!this[md]&&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[md]=!0,this.writable=!1,(this[ei]||!this[GS])&&this[gd](),this}[LE](){this[un]||(!this[CA]&&!this[ls].length&&(this[xo]=!0),this[GS]=!1,this[ei]=!0,this.emit("resume"),this[ti].length?this[gk]():this[md]?this[gd]():this.emit("drain"))}resume(){return this[LE]()}pause(){this[ei]=!1,this[GS]=!0,this[xo]=!1}get destroyed(){return this[un]}get flowing(){return this[ei]}get paused(){return this[GS]}[w9](e){this[Qi]?this[ri]+=1:this[ri]+=e.length,this[ti].push(e)}[yk](){return this[Qi]?this[ri]-=1:this[ri]-=this[ti][0].length,this[ti].shift()}[gk](e=!1){do;while(this[ZDe](this[yk]())&&this[ti].length);!e&&!this[ti].length&&!this[md]&&this.emit("drain")}[ZDe](e){return this.emit("data",e),this[ei]}pipe(e,r){if(this[un])return e;this[xo]=!1;let n=this[jf];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[ls].push(r.proxyErrors?new v9(this,e,r):new Ck(this,e,r)),this[zl]?VS(()=>this[LE]()):this[LE]()),e}unpipe(e){let r=this[ls].find(n=>n.dest===e);r&&(this[ls].length===1?(this[ei]&&this[CA]===0&&(this[ei]=!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[xo]=!1,this[CA]++,!this[ls].length&&!this[ei]&&this[LE]();else if(e==="readable"&&this[ri]!==0)super.emit("readable");else if(OQt(e)&&this[jf])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[qS]){let i=r;this[zl]?VS(()=>i.call(this,this[qS])):i.call(this,this[qS])}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[ls].length&&(this[ei]=!1)),n}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[CA]=0,!this[xo]&&!this[ls].length&&(this[ei]=!1)),r}get emittedEnd(){return this[jf]}[gd](){!this[Ak]&&!this[jf]&&!this[un]&&this[ti].length===0&&this[md]&&(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!==un&&this[un])return!1;if(e==="data")return!this[Qi]&&!n?!1:this[zl]?(VS(()=>this[S9](n)),!0):this[S9](n);if(e==="end")return this[eQe]();if(e==="close"){if(this[mk]=!0,!this[jf]&&!this[un])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[qS]=n,super.emit(I9,n);let s=!this[HS]||this.listeners("error").length?super.emit("error",n):!1;return this[gd](),s}else if(e==="resume"){let s=super.emit("resume");return this[gd](),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[gd](),i}[S9](e){for(let n of this[ls])n.dest.write(e)===!1&&this.pause();let r=this[xo]?!1:super.emit("data",e);return this[gd](),r}[eQe](){return this[jf]?!1:(this[jf]=!0,this.readable=!1,this[zl]?(VS(()=>this[B9]()),!0):this[B9]())}[B9](){if(this[OE]){let r=this[OE].end();if(r){for(let n of this[ls])n.dest.write(r);this[xo]||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[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[md])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[md]})},"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.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[xo]=!1;let e=!1,r=o(()=>(this.pause(),this.off(I9,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(I9,r),this.once(un,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(e){if(this[un])return e?this.emit("error",e):this.emit(un),this;this[un]=!0,this[xo]=!0,this[ti].length=0,this[ri]=0;let r=this;return typeof r.close=="function"&&!this[mk]&&r.close(),e?this.emit("error",e):this.emit(un),this}static get isStream(){return us.isStream}};us.Minipass=bk});var R9=A(wk=>{"use strict";Object.defineProperty(wk,"__esModule",{value:!0});wk.Ignore=void 0;var nQe=Hf(),qQt=b9(),GQt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",_9=class{static{o(this,"Ignore")}relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:a=GQt}){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 nQe.Minimatch(e,this.mmopts);for(let n=0;n{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.Processor=jl.SubWalks=jl.MatchRecord=jl.HasWalkedCache=void 0;var iQe=Hf(),Ik=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()]))}};jl.HasWalkedCache=Ik;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)])}};jl.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())}};jl.SubWalks=Bk;var T9=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 Ik}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===iQe.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===iQe.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))}};jl.Processor=T9});var cQe=A($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.GlobStream=$f.GlobWalker=$f.GlobUtil=void 0;var HQt=rQe(),oQe=R9(),aQe=sQe(),VQt=o((t,e)=>typeof t=="string"?new oQe.Ignore([t],e):Array.isArray(t)?new oQe.Ignore(t,e):t,"makeIgnore"),zS=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=VQt(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 aQe.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 aQe.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()}};$f.GlobUtil=zS;var D9=class extends zS{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}};$f.GlobWalker=D9;var Q9=class extends zS{static{o(this,"GlobStream")}results;constructor(e,r,n){super(e,r,n),this.results=new HQt.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}};$f.GlobStream=Q9});var P9=A(Nk=>{"use strict";Object.defineProperty(Nk,"__esModule",{value:!0});Nk.Glob=void 0;var zQt=Hf(),jQt=require("node:url"),xk=YDe(),$Qt=b9(),vk=cQe(),JQt=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",k9=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,jQt.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||JQt,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 zQt.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 $Qt.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=k9});var O9=A(_k=>{"use strict";Object.defineProperty(_k,"__esModule",{value:!0});_k.hasMagic=void 0;var WQt=Hf(),YQt=o((t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new WQt.Minimatch(r,e).hasMagic())return!0;return!1},"hasMagic");_k.hasMagic=YQt});var fQe=A(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.glob=yt.sync=yt.iterate=yt.iterateSync=yt.stream=yt.streamSync=yt.Ignore=yt.hasMagic=yt.Glob=yt.unescape=yt.escape=void 0;yt.globStreamSync=jS;yt.globStream=L9;yt.globSync=F9;yt.globIterateSync=$S;yt.globIterate=M9;var lQe=Hf(),bA=P9(),KQt=O9(),dQe=Hf();Object.defineProperty(yt,"escape",{enumerable:!0,get:o(function(){return dQe.escape},"get")});Object.defineProperty(yt,"unescape",{enumerable:!0,get:o(function(){return dQe.unescape},"get")});var XQt=P9();Object.defineProperty(yt,"Glob",{enumerable:!0,get:o(function(){return XQt.Glob},"get")});var ZQt=O9();Object.defineProperty(yt,"hasMagic",{enumerable:!0,get:o(function(){return ZQt.hasMagic},"get")});var e1t=R9();Object.defineProperty(yt,"Ignore",{enumerable:!0,get:o(function(){return e1t.Ignore},"get")});function jS(t,e={}){return new bA.Glob(t,e).streamSync()}o(jS,"globStreamSync");function L9(t,e={}){return new bA.Glob(t,e).stream()}o(L9,"globStream");function F9(t,e={}){return new bA.Glob(t,e).walkSync()}o(F9,"globSync");async function uQe(t,e={}){return new bA.Glob(t,e).walk()}o(uQe,"glob_");function $S(t,e={}){return new bA.Glob(t,e).iterateSync()}o($S,"globIterateSync");function M9(t,e={}){return new bA.Glob(t,e).iterate()}o(M9,"globIterate");yt.streamSync=jS;yt.stream=Object.assign(L9,{sync:jS});yt.iterateSync=$S;yt.iterate=Object.assign(M9,{sync:$S});yt.sync=Object.assign(F9,{stream:jS,iterate:$S});yt.glob=Object.assign(uQe,{glob:uQe,globSync:F9,sync:yt.sync,globStream:L9,stream:yt.stream,globStreamSync:jS,streamSync:yt.streamSync,globIterate:M9,iterate:yt.iterate,globIterateSync:$S,iterateSync:yt.iterateSync,Glob:bA.Glob,hasMagic:KQt.hasMagic,escape:lQe.escape,unescape:lQe.unescape});yt.glob.glob=yt.glob});var mQe=A((C2r,AQe)=>{var pQe=sJ(),FE=require("path"),U9=DTe(),t1t=$2e(),r1t=iDe(),n1t=dDe(),i1t=fQe(),wA=AQe.exports={},hQe=/[\/\\]/g,s1t=o(function(t,e){var r=[];return U9(t).forEach(function(n){var i=n.indexOf("!")===0;i&&(n=n.slice(1));var s=e(n);i?r=t1t(r,s):r=r1t(r,s)}),r},"processPatterns");wA.exists=function(){var t=FE.join.apply(FE,arguments);return pQe.existsSync(t)};wA.expand=function(...t){var e=n1t(t[0])?t.shift():{},r=Array.isArray(t[0])?t[0]:t;if(r.length===0)return[];var n=s1t(r,function(i){return i1t.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};wA.expandMapping=function(t,e,r){r=Object.assign({rename:o(function(s,a){return FE.join(s||"",a)},"rename")},r);var n=[],i={};return wA.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(hQe,"/"),s=s.replace(hQe,"/"),i[c]?i[c].src.push(s):(n.push({src:[s],dest:c}),i[c]=n[n.length-1])}),n};wA.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=U9(r.src):r.src=[r.src])}).map(function(r){var n=Object.assign({},r);if(delete n.src,delete n.dest,r.expand)return wA.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)?U9(a):[a],s.result=wA.expand(n,a)),s.result},"fn")}),"dest"in i&&(i.dest=r.dest),i}).flatten().value(),e)}});var ME=A((I2r,EQe)=>{var q9=sJ(),gQe=require("path"),o1t=HQ(),a1t=Gxe(),yQe=_J(),c1t=wNe(),w2r=require("stream").Stream,l1t=mA().PassThrough,vo=EQe.exports={};vo.file=mQe();vo.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)})};vo.dateify=function(t){return t=t||new Date,t instanceof Date?t=t:typeof t=="string"?t=new Date(t):t=new Date,t};vo.defaults=function(t,e,r){var n=arguments;return n[0]=n[0]||{},c1t(...n)};vo.isStream=function(t){return o1t(t)};vo.lazyReadStream=function(t){return new a1t.Readable(function(){return q9.createReadStream(t)})};vo.normalizeInputSource=function(t){return t===null?Buffer.alloc(0):typeof t=="string"?Buffer.from(t):vo.isStream(t)?t.pipe(new l1t):t};vo.sanitizePath=function(t){return yQe(t,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};vo.trailingSlashIt=function(t){return t.slice(-1)!=="/"?t+"/":t};vo.unixifyPath=function(t){return yQe(t,!1).replace(/^\w+:/,"")};vo.walkdir=function(t,e,r){var n=[];typeof e=="function"&&(r=e,e=t),q9.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=gQe.join(t,c),q9.stat(l,function(d,f){n.push({path:l,relative:gQe.relative(e,l).replace(/\\/g,"/"),stats:f}),f&&f.isDirectory()?vo.walkdir(l,e,function(h,p){if(h)return r(h);p.forEach(function(m){n.push(m)}),u()}):u()})}),"next")()})}});var IQe=A((bQe,wQe)=>{var u1t=require("util"),d1t={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 CQe(t,e){Error.captureStackTrace(this,this.constructor),this.message=d1t[t]||t,this.code=t,this.data=e}o(CQe,"ArchiverError");u1t.inherits(CQe,Error);bQe=wQe.exports=CQe});var NQe=A((x2r,vQe)=>{var V9=require("fs"),BQe=DBe(),SQe=kBe(),G9=require("path"),$l=ME(),f1t=require("util").inherits,zr=IQe(),xQe=mA().Transform,H9=process.platform==="win32",Qt=o(function(t,e){if(!(this instanceof Qt))return new Qt(t,e);typeof t!="string"&&(e=t,t="zip"),e=this.options=$l.defaults(e,{highWaterMark:1024*1024,statConcurrency:4}),xQe.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=SQe.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=SQe.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(Qt,xQe);Qt.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};Qt.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 V9.Stats?(r=this._updateQueueTaskWithStats(r,e.stats),r&&(e.stats.size&&(this._fsEntriesTotalBytes+=e.stats.size),this._queue.push(r))):this._statQueue.push(r)};Qt.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)};Qt.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};Qt.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))};Qt.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new zr("NOENDMETHOD"))};Qt.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};Qt.prototype._moduleSupports=function(t){return!this._module.supports||!this._module.supports[t]?!1:this._module.supports[t]};Qt.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};Qt.prototype._normalizeEntryData=function(t,e){t=$l.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=$l.sanitizePath(t.name),t.type!=="symlink"&&t.name.slice(-1)==="/"?(r=!0,t.type="directory"):r&&(t.name+="/")),typeof t.mode=="number"?H9?t.mode&=511:t.mode&=4095:t.stats&&t.mode===null?(H9?t.mode=t.stats.mode&511:t.mode=t.stats.mode&4095,H9&&r&&(t.mode=493)):t.mode===null&&(t.mode=r?493:420),t.stats&&t.date===null?t.date=t.stats.mtime:t.date=$l.dateify(t.date),t};Qt.prototype._onModuleError=function(t){this.emit("error",t)};Qt.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()};Qt.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)};Qt.prototype._onStatQueueTask=function(t,e){if(this._state.finalizing||this._state.finalized||this._state.aborted){e();return}V9.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))};Qt.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};Qt.prototype._transform=function(t,e,r){t&&(this._pointer+=t.length),r(null,t)};Qt.prototype._updateQueueTaskWithStats=function(t,e){if(e.isFile())t.data.type="file",t.data.sourceType="stream",t.source=$l.lazyReadStream(t.filepath);else if(e.isDirectory()&&this._moduleSupports("directory"))t.data.name=$l.trailingSlashIt(t.data.name),t.data.type="directory",t.data.sourcePath=$l.trailingSlashIt(t.filepath),t.data.sourceType="buffer",t.source=Buffer.concat([]);else if(e.isSymbolicLink()&&this._moduleSupports("symlink")){var r=V9.readlinkSync(t.filepath),n=G9.dirname(t.filepath);t.data.type="symlink",t.data.linkname=G9.relative(n,G9.resolve(n,r)),t.data.sourceType="buffer",t.source=Buffer.concat([])}else return e.isDirectory()?this.emit("warning",new zr("DIRECTORYNOTSUPPORTED",t.data)):e.isSymbolicLink()?this.emit("warning",new zr("SYMLINKNOTSUPPORTED",t.data)):this.emit("warning",new zr("ENTRYNOTSUPPORTED",t.data)),null;return t.data=this._normalizeEntryData(t.data,e),t};Qt.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};Qt.prototype.append=function(t,e){if(this._state.finalize||this._state.aborted)return this.emit("error",new zr("QUEUECLOSED")),this;if(e=this._normalizeEntryData(e),typeof e.name!="string"||e.name.length===0)return this.emit("error",new zr("ENTRYNAMEREQUIRED")),this;if(e.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new zr("DIRECTORYNOTSUPPORTED",{name:e.name})),this;if(t=$l.normalizeInputSource(t),Buffer.isBuffer(t))e.sourceType="buffer";else if($l.isStream(t))e.sourceType="stream";else return this.emit("error",new zr("INPUTSTEAMBUFFERREQUIRED",{name:e.name})),this;return this._entriesCount++,this._queue.push({data:e,source:t}),this};Qt.prototype.directory=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new zr("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new zr("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 zr("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=BQe(t,i);return l.on("error",a.bind(this)),l.on("match",c.bind(this)),l.on("end",s.bind(this)),this};Qt.prototype.file=function(t,e){return this._state.finalize||this._state.aborted?(this.emit("error",new zr("QUEUECLOSED")),this):typeof t!="string"||t.length===0?(this.emit("error",new zr("FILEFILEPATHREQUIRED")),this):(this._append(t,e),this)};Qt.prototype.glob=function(t,e,r){this._pending++,e=$l.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=BQe(e.cwd||".",e);return a.on("error",i.bind(this)),a.on("match",s.bind(this)),a.on("end",n.bind(this)),this};Qt.prototype.finalize=function(){if(this._state.aborted){var t=new zr("ABORTED");return this.emit("error",t),Promise.reject(t)}if(this._state.finalize){var e=new zr("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)})})};Qt.prototype.setFormat=function(t){return this._format?(this.emit("error",new zr("FORMATSET")),this):(this._format=t,this)};Qt.prototype.setModule=function(t){return this._state.aborted?(this.emit("error",new zr("ABORTED")),this):this._state.module?(this.emit("error",new zr("MODULESET")),this):(this._module=t,this._modulePipe(),this)};Qt.prototype.symlink=function(t,e,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new zr("QUEUECLOSED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new zr("SYMLINKFILEPATHREQUIRED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new zr("SYMLINKTARGETREQUIRED",{filepath:t})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new zr("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};Qt.prototype.pointer=function(){return this._pointer};Qt.prototype.use=function(t){return this._streams.push(t),this};vQe.exports=Qt});var Tk=A((N2r,_Qe)=>{var Rk=_Qe.exports=function(){};Rk.prototype.getName=function(){};Rk.prototype.getSize=function(){};Rk.prototype.getLastModifiedDate=function(){};Rk.prototype.isDirectory=function(){}});var Dk=A((_2r,RQe)=>{var Ia=RQe.exports={};Ia.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};Ia.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)};Ia.fromDosTime=function(t){return Ia.dosToDate(t.readUInt32LE(0))};Ia.getEightBytes=function(t){var e=Buffer.alloc(8);return e.writeUInt32LE(t%4294967296,0),e.writeUInt32LE(t/4294967296|0,4),e};Ia.getShortBytes=function(t){var e=Buffer.alloc(2);return e.writeUInt16LE((t&65535)>>>0,0),e};Ia.getShortBytesValue=function(t,e){return t.readUInt16LE(e)};Ia.getLongBytes=function(t){var e=Buffer.alloc(4);return e.writeUInt32LE((t&4294967295)>>>0,0),e};Ia.getLongBytesValue=function(t,e){return t.readUInt32LE(e)};Ia.toDosTime=function(t){return Ia.getLongBytes(Ia.dateToDos(t))}});var z9=A((R2r,OQe)=>{var TQe=Dk(),DQe=8,QQe=1,h1t=4,p1t=2,kQe=64,PQe=2048,Ci=OQe.exports=function(){return this instanceof Ci?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new Ci};Ci.prototype.encode=function(){return TQe.getShortBytes((this.descriptor?DQe:0)|(this.utf8?PQe:0)|(this.encryption?QQe:0)|(this.strongEncryption?kQe:0))};Ci.prototype.parse=function(t,e){var r=TQe.getShortBytesValue(t,e),n=new Ci;return n.useDataDescriptor((r&DQe)!==0),n.useUTF8ForNames((r&PQe)!==0),n.useStrongEncryption((r&kQe)!==0),n.useEncryption((r&QQe)!==0),n.setSlidingDictionarySize((r&p1t)!==0?8192:4096),n.setNumberOfShannonFanoTrees((r&h1t)!==0?3:2),n};Ci.prototype.setNumberOfShannonFanoTrees=function(t){this.numberOfShannonFanoTrees=t};Ci.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};Ci.prototype.setSlidingDictionarySize=function(t){this.slidingDictionarySize=t};Ci.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};Ci.prototype.useDataDescriptor=function(t){this.descriptor=t};Ci.prototype.usesDataDescriptor=function(){return this.descriptor};Ci.prototype.useEncryption=function(t){this.encryption=t};Ci.prototype.usesEncryption=function(){return this.encryption};Ci.prototype.useStrongEncryption=function(t){this.strongEncryption=t};Ci.prototype.usesStrongEncryption=function(){return this.strongEncryption};Ci.prototype.useUTF8ForNames=function(t){this.utf8=t};Ci.prototype.usesUTF8ForNames=function(){return this.utf8}});var FQe=A((T2r,LQe)=>{LQe.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 j9=A((D2r,MQe)=>{MQe.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 $9=A((Q2r,VQe)=>{var A1t=require("util").inherits,m1t=_J(),qQe=Tk(),GQe=z9(),UQe=FQe(),ds=j9(),HQe=Dk(),lt=VQe.exports=function(t){if(!(this instanceof lt))return new lt(t);qQe.call(this),this.platform=ds.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new GQe,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)};A1t(lt,qQe);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?HQe.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 GQe))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=m1t(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=HQe.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 J9=A((P2r,zQe)=>{var k2r=require("stream").Stream,g1t=mA().PassThrough,y1t=HQ(),E1t=zQe.exports={};E1t.normalizeInputSource=function(t){if(t===null)return Buffer.alloc(0);if(typeof t=="string")return Buffer.from(t);if(y1t(t)&&!t._readableState){var e=new g1t;return t.pipe(e),e}return t}});var Y9=A((O2r,jQe)=>{var C1t=require("util").inherits,b1t=HQ(),W9=mA().Transform,w1t=Tk(),I1t=J9(),No=jQe.exports=function(t){if(!(this instanceof No))return new No(t);W9.call(this,t),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};C1t(No,W9);No.prototype._appendBuffer=function(t,e,r){};No.prototype._appendStream=function(t,e,r){};No.prototype._emitErrorCallback=function(t){t&&this.emit("error",t)};No.prototype._finish=function(t){};No.prototype._normalizeEntry=function(t){};No.prototype._transform=function(t,e,r){r(null,t)};No.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=I1t.normalizeInputSource(e),Buffer.isBuffer(e))this._appendBuffer(t,e,r);else if(b1t(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};No.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};No.prototype.getBytesWritten=function(){return this.offset};No.prototype.write=function(t,e){return t&&(this.offset+=t.length),W9.prototype.write.call(this,t,e)}});var Qk=A(K9=>{var $Qe;(function(t){typeof DO_NOT_EXPORT_CRC>"u"?typeof K9=="object"?t(K9):typeof define=="function"&&define.amd?define(function(){var e={};return t(e),e}):t($Qe={}):t($Qe={})})(function(t){t.version="1.2.2";function e(){for(var v=0,j=new Array(256),T=0;T!=256;++T)v=T,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,j[T]=v;return typeof Int32Array<"u"?new Int32Array(j):j}o(e,"signed_crc_table");var r=e();function n(v){var j=0,T=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(T=v[H],j=256+H;j<4096;j+=256)T=V[j]=T>>>8^v[T&255];var W=[];for(H=1;H!=16;++H)W[H-1]=typeof Int32Array<"u"?V.subarray(H*256,H*256+256):V.slice(H*256,H*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],d=i[5],f=i[6],h=i[7],p=i[8],m=i[9],g=i[10],E=i[11],y=i[12],C=i[13],w=i[14];function B(v,j){for(var T=j^-1,H=0,V=v.length;H>>8^r[(T^v.charCodeAt(H++))&255];return~T}o(B,"crc32_bstr");function Q(v,j){for(var T=j^-1,H=v.length-15,V=0;V>8&255]^y[v[V++]^T>>16&255]^E[v[V++]^T>>>24]^g[v[V++]]^m[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[(T^v[V++])&255];return~T}o(Q,"crc32_buf");function M(v,j){for(var T=j^-1,H=0,V=v.length,W=0,ee=0;H>>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=v.charCodeAt(H++)&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(M,"crc32_str"),t.table=r,t.bstr=B,t.buf=Q,t.str=M})});var WQe=A((M2r,JQe)=>{"use strict";var{Transform:S1t}=mA(),B1t=Qk(),X9=class extends S1t{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=B1t.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}};JQe.exports=X9});var KQe=A((q2r,YQe)=>{"use strict";var{DeflateRaw:x1t}=require("zlib"),v1t=Qk(),Z9=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=v1t.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}};YQe.exports=Z9});var eY=A((H2r,XQe)=>{"use strict";XQe.exports={CRC32Stream:WQe(),DeflateCRC32Stream:KQe()}});var t1e=A(($2r,e1e)=>{var N1t=require("util").inherits,_1t=Qk(),{CRC32Stream:R1t}=eY(),{DeflateCRC32Stream:T1t}=eY(),ZQe=Y9(),V2r=$9(),z2r=z9(),nt=j9(),j2r=J9(),Le=Dk(),ni=e1e.exports=function(t){if(!(this instanceof ni))return new ni(t);t=this.options=this._defaults(t),ZQe.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}};N1t(ni,ZQe);ni.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()};ni.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(_1t.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}};ni.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)};ni.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};ni.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()};ni.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}};ni.prototype._smartStream=function(t,e){var r=t.getMethod()===nt.METHOD_DEFLATED,n=r?new T1t(this.options.zlib):new R1t,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};ni.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)};ni.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))};ni.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)};ni.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())))};ni.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};ni.prototype.getComment=function(t){return this._archive.comment!==null?this._archive.comment:""};ni.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};ni.prototype.setComment=function(t){this._archive.comment=t}});var tY=A((W2r,r1e)=>{r1e.exports={ArchiveEntry:Tk(),ZipArchiveEntry:$9(),ArchiveOutputStream:Y9(),ZipArchiveOutputStream:t1e()}});var i1e=A((Y2r,n1e)=>{var D1t=require("util").inherits,nY=tY().ZipArchiveOutputStream,Q1t=tY().ZipArchiveEntry,rY=ME(),UE=n1e.exports=function(t){if(!(this instanceof UE))return new UE(t);t=this.options=t||{},t.zlib=t.zlib||{},nY.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)};D1t(UE,nY);UE.prototype._normalizeFileData=function(t){t=rY.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=rY.sanitizePath(t.name),!r&&t.name.slice(-1)==="/"?(e=!0,t.type="directory"):e&&(t.name+="/")),(e||r)&&(t.store=!0),t.date=rY.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 Q1t(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)),nY.prototype.entry.call(this,n,t,r)};UE.prototype.finalize=function(){this.finish()}});var o1e=A((K2r,s1e)=>{var k1t=i1e(),P1t=ME(),Jf=o(function(t){if(!(this instanceof Jf))return new Jf(t);t=this.options=P1t.defaults(t,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new k1t(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)};s1e.exports=Jf});var c1e=A((Z2r,a1e)=>{a1e.exports=typeof queueMicrotask=="function"?queueMicrotask:t=>Promise.resolve().then(t)});var u1e=A((eDr,l1e)=>{l1e.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):c1e()});var f1e=A((rDr,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 iY=A((sDr,p1e)=>{var h1e=f1e();p1e.exports=class{static{o(this,"FastFIFO")}constructor(e){this.hwm=e||16,this.head=new h1e(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 h1e(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 CY=A((aDr,L1e)=>{var{EventEmitter:O1t}=require("events"),Mk=new Error("Stream was destroyed"),sY=new Error("Premature close"),E1e=u1e(),C1e=iY(),jr=(1<<28)-1,vA=1,fY=2,IA=4,JS=8,b1e=jr^vA,L1t=jr^fY,eB=16,WS=32,zE=64,Wf=128,tB=256,hY=512,SA=1024,oY=2048,pY=4096,AY=8192,yc=16384,qE=32768,Uk=65536,BA=131072,w1e=tB|hY,F1t=eB|Uk,M1t=zE|eB,U1t=pY|Wf,mY=tB|BA,q1t=jr^eB,G1t=jr^zE,H1t=jr^(zE|Uk),V1t=jr^Uk,z1t=jr^tB,j1t=jr^(Wf|AY),$1t=jr^SA,A1e=jr^w1e,I1e=jr^qE,J1t=jr^WS,S1e=jr^BA,W1t=jr^mY,Yf=1<<18,HE=2<<18,rB=4<<18,xA=8<<18,nB=16<<18,NA=32<<18,aY=64<<18,GE=128<<18,gY=256<<18,VE=512<<18,B1e=jr^(Yf|gY),x1e=jr^rB,Y1t=jr^VE,K1t=jr^nB,X1t=jr^xA,v1e=jr^GE,Z1t=jr^HE,YS=eB|Yf,N1e=jr^YS,yY=yc|NA,yd=IA|JS|fY,_o=yd|vA,_1e=yd|yY,ekt=x1e&G1t,EY=GE|qE,tkt=EY&N1e,R1e=_o|tkt,rkt=_o|SA|yc,m1e=_o|yc|Wf,nkt=_o|SA|Wf,ikt=_o|pY|Wf|AY,skt=_o|eB|SA|yc|Uk|BA,okt=yd|SA|yc,akt=WS|_o|qE|zE,ckt=_o|VE|NA,lkt=xA|nB,T1e=xA|Yf,ukt=xA|nB|_o|Yf,g1e=_o|Yf|xA,dkt=rB|Yf,fkt=Yf|gY,hkt=_o|VE|T1e|NA,pkt=nB|yd|VE|NA,Akt=HE|_o|GE|rB,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 C1e,this.highWaterMark=r,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=a||s||O1e,this.map=i||n,this.afterWrite=ykt.bind(this),this.afterUpdateNextTick=bkt.bind(this)}get ended(){return(this.stream._duplexState&NA)!==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||O1e,this.map=i||n,this.pipeTo=null,this.afterRead=Ekt.bind(this),this.afterUpdateNextTick=Ckt.bind(this)}get ended(){return(this.stream._duplexState&yc)!==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|=hY,this.pipeTo=e,this.pipeline=new uY(this.stream,e,r),r&&this.stream.on("error",y1e),ZS(e))e._writableState.pipeline=this.pipeline,r&&e.on("error",y1e),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",mkt.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|SA)&H1t,!1):(this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),r._duplexState=(r._duplexState|Wf)&V1t,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(D1e,"afterDestroy");function ykt(t){let e=this.stream;t&&e.destroy(t),e._duplexState&=B1e,this.drains!==null&&wkt(this.drains),(e._duplexState&ukt)===nB&&(e._duplexState&=K1t,(e._duplexState&aY)===aY&&e.emit("drain")),this.updateCallback()}o(ykt,"afterWrite");function Ekt(t){t&&this.stream.destroy(t),this.stream._duplexState&=q1t,this.readAhead===!1&&(this.stream._duplexState&tB)===0&&(this.stream._duplexState&=S1e),this.updateCallback()}o(Ekt,"afterRead");function Ckt(){(this.stream._duplexState&WS)===0&&(this.stream._duplexState&=I1e,this.update())}o(Ckt,"updateReadNT");function bkt(){(this.stream._duplexState&HE)===0&&(this.stream._duplexState&=v1e,this.update())}o(bkt,"updateWriteNT");function wkt(t){for(let e=0;e=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&tB)===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&yc)===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 KS{static{o(this,"Writable")}constructor(e){super(e),this._duplexState|=vA|yc,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&pkt)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let r=e._writableState,i=(Tkt(e)?Math.min(1,r.queue.length):r.queue.length)+(e._duplexState&gY?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}},XS=class extends Ok{static{o(this,"Duplex")}constructor(e){super(e),this._duplexState=vA|this._duplexState&BA,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 XS{static{o(this,"Transform")}constructor(e){super(e),this._transformState=new lY(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(Bkt.bind(this))}},dY=class extends Fk{static{o(this,"PassThrough")}};function Bkt(t,e){let r=this._transformState.afterFinal;if(t)return r(t);e!=null&&this.push(e),this.push(null),r(null)}o(Bkt,"transformAfterFlush");function xkt(...t){return new Promise((e,r)=>k1e(...t,n=>{if(n)return r(n);e()}))}o(xkt,"pipelinePromise");function k1e(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=ZS(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:sY)))}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(sY)}o(p,"onclose")}function l(u){if(!(!u||a)){a=u;for(let d of r)d.destroy(u)}}}o(k1e,"pipeline");function P1e(t){return!!t._readableState||!!t._writableState}o(P1e,"isStream");function ZS(t){return typeof t._duplexState=="number"&&P1e(t)}o(ZS,"isStreamx");function vkt(t){let e=t._readableState&&t._readableState.error||t._writableState&&t._writableState.error;return e===Mk?null:e}o(vkt,"getStreamError");function Nkt(t){return ZS(t)&&t.readable}o(Nkt,"isReadStreamx");function _kt(t){return typeof t=="object"&&t!==null&&typeof t.byteLength=="number"}o(_kt,"isTypedArray");function O1e(t){return _kt(t)?t.byteLength:1024}o(O1e,"defaultByteLength");function y1e(){}o(y1e,"noop");function Rkt(){this.destroy(new Error("Stream aborted."))}o(Rkt,"abort");function Tkt(t){return t._writev!==Lk.prototype._writev&&t._writev!==XS.prototype._writev}o(Tkt,"isWritev");L1e.exports={pipeline:k1e,pipelinePromise:xkt,isStream:P1e,isStreamx:ZS,getStreamError:vkt,Stream:KS,Writable:Lk,Readable:Ok,Duplex:XS,Transform:Fk,PassThrough:dY}});var qk=A((lDr,F1e)=>{function Dkt(t){return Buffer.isBuffer(t)||t instanceof Uint8Array}o(Dkt,"isBuffer");function Qkt(t){return Buffer.isEncoding(t)}o(Qkt,"isEncoding");function kkt(t,e,r){return Buffer.alloc(t,e,r)}o(kkt,"alloc");function Pkt(t){return Buffer.allocUnsafe(t)}o(Pkt,"allocUnsafe");function Okt(t){return Buffer.allocUnsafeSlow(t)}o(Okt,"allocUnsafeSlow");function Lkt(t,e){return Buffer.byteLength(t,e)}o(Lkt,"byteLength");function Fkt(t,e){return Buffer.compare(t,e)}o(Fkt,"compare");function Mkt(t,e){return Buffer.concat(t,e)}o(Mkt,"concat");function Ukt(t,e,r,n,i){return wn(t).copy(e,r,n,i)}o(Ukt,"copy");function qkt(t,e){return wn(t).equals(e)}o(qkt,"equals");function Gkt(t,e,r,n,i){return wn(t).fill(e,r,n,i)}o(Gkt,"fill");function Hkt(t,e,r){return Buffer.from(t,e,r)}o(Hkt,"from");function Vkt(t,e,r,n){return wn(t).includes(e,r,n)}o(Vkt,"includes");function zkt(t,e,r,n){return wn(t).indexOf(e,r,n)}o(zkt,"indexOf");function jkt(t,e,r,n){return wn(t).lastIndexOf(e,r,n)}o(jkt,"lastIndexOf");function $kt(t){return wn(t).swap16()}o($kt,"swap16");function Jkt(t){return wn(t).swap32()}o(Jkt,"swap32");function Wkt(t){return wn(t).swap64()}o(Wkt,"swap64");function wn(t){return Buffer.isBuffer(t)?t:Buffer.from(t.buffer,t.byteOffset,t.byteLength)}o(wn,"toBuffer");function Ykt(t,e,r,n){return wn(t).toString(e,r,n)}o(Ykt,"toString");function Kkt(t,e,r,n,i){return wn(t).write(e,r,n,i)}o(Kkt,"write");function Xkt(t,e,r){return wn(t).writeDoubleLE(e,r)}o(Xkt,"writeDoubleLE");function Zkt(t,e,r){return wn(t).writeFloatLE(e,r)}o(Zkt,"writeFloatLE");function ePt(t,e,r){return wn(t).writeUInt32LE(e,r)}o(ePt,"writeUInt32LE");function tPt(t,e,r){return wn(t).writeInt32LE(e,r)}o(tPt,"writeInt32LE");function rPt(t,e){return wn(t).readDoubleLE(e)}o(rPt,"readDoubleLE");function nPt(t,e){return wn(t).readFloatLE(e)}o(nPt,"readFloatLE");function iPt(t,e){return wn(t).readUInt32LE(e)}o(iPt,"readUInt32LE");function sPt(t,e){return wn(t).readInt32LE(e)}o(sPt,"readInt32LE");F1e.exports={isBuffer:Dkt,isEncoding:Qkt,alloc:kkt,allocUnsafe:Pkt,allocUnsafeSlow:Okt,byteLength:Lkt,compare:Fkt,concat:Mkt,copy:Ukt,equals:qkt,fill:Gkt,from:Hkt,includes:Vkt,indexOf:zkt,lastIndexOf:jkt,swap16:$kt,swap32:Jkt,swap64:Wkt,toBuffer:wn,toString:Ykt,write:Kkt,writeDoubleLE:Xkt,writeFloatLE:Zkt,writeUInt32LE:ePt,writeInt32LE:tPt,readDoubleLE:rPt,readFloatLE:nPt,readUInt32LE:iPt,readInt32LE:sPt}});var IY=A($E=>{var Nt=qk(),oPt="0000000000000000000",aPt="7777777777777777777",Gk=48,M1e=Nt.from([117,115,116,97,114,0]),cPt=Nt.from([Gk,Gk]),lPt=Nt.from([117,115,116,97,114,32]),uPt=Nt.from([32,0]),dPt=4095,iB=257,wY=263;$E.decodeLongPath=o(function(e,r){return jE(e,0,e.length,r)},"decodeLongPath");$E.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 Nt.from(r)},"encodePax");$E.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 Nt.byteLength(n)>100||Nt.byteLength(i)>155||e.linkname&&Nt.byteLength(e.linkname)>100?null:(Nt.write(r,n),Nt.write(r,Xf(e.mode&dPt,6),100),Nt.write(r,Xf(e.uid,6),108),Nt.write(r,Xf(e.gid,6),116),yPt(e.size,r,124),Nt.write(r,Xf(e.mtime.getTime()/1e3|0,11),136),r[156]=Gk+mPt(e.type),e.linkname&&Nt.write(r,e.linkname,157),Nt.copy(M1e,r,iB),Nt.copy(cPt,r,wY),e.uname&&Nt.write(r,e.uname,265),e.gname&&Nt.write(r,e.gname,297),Nt.write(r,Xf(e.devmajor||0,6),329),Nt.write(r,Xf(e.devminor||0,6),337),i&&Nt.write(r,i,345),Nt.write(r,Xf(q1e(r),6),148),r)},"encode");$E.decode=o(function(e,r,n){let i=e[156]===0?0:e[156]-Gk,s=jE(e,0,100,r),a=Kf(e,100,8),c=Kf(e,108,8),l=Kf(e,116,8),u=Kf(e,124,12),d=Kf(e,136,12),f=APt(i),h=e[157]===0?null:jE(e,157,100,r),p=jE(e,265,32),m=jE(e,297,32),g=Kf(e,329,8),E=Kf(e,337,8),y=q1e(e);if(y===256)return null;if(y!==Kf(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=jE(e,345,155,r)+"/"+s);else if(!hPt(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:m,devmajor:g,devminor:E,pax:null}},"decode");function fPt(t){return Nt.equals(M1e,t.subarray(iB,iB+6))}o(fPt,"isUSTAR");function hPt(t){return Nt.equals(lPt,t.subarray(iB,iB+6))&&Nt.equals(uPt,t.subarray(wY,wY+2))}o(hPt,"isGNU");function pPt(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}o(pPt,"clamp");function APt(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(APt,"toType");function mPt(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(mPt,"toTypeflag");function U1e(t,e,r,n){for(;re?aPt.slice(0,e)+" ":oPt.slice(0,e-t.length)+t+" "}o(Xf,"encodeOct");function gPt(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}o(gPt,"encodeSizeBin");function yPt(t,e,r){t.toString(8).length>11?gPt(t,e,r):Nt.write(e,Xf(t,11),r)}o(yPt,"encodeSize");function EPt(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 j1e=A((hDr,z1e)=>{var{Writable:CPt,Readable:bPt,getStreamError:G1e}=CY(),wPt=iY(),H1e=qk(),JE=IY(),IPt=H1e.alloc(0),BY=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 IPt;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 H1e.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)}},xY=class extends bPt{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(G1e(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=V1e(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},vY=class extends CPt{static{o(this,"Extract")}constructor(e){super(e),e||(e={}),this._buffer=new BY,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=SY,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=JE.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=JE.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=JE.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=JE.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?JE.decodePax(e):Object.assign({},this._paxGlobal,JE.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=V1e(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 xY(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=SY,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(G1e(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,m){s=m,p.on("error",SY),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,m)=>{if(a.destroyed)return p({value:void 0,done:!0});a.once("close",function(){h?m(h):p({value:void 0,done:!0})})})}o(f,"destroy")}};z1e.exports=o(function(e){return new vY(e)},"extract");function SY(){}o(SY,"noop");function V1e(t){return t&=511,t&&512-t}o(V1e,"overflow")});var J1e=A((ADr,NY)=>{var $1e={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{NY.exports=require("fs").constants||$1e}catch{NY.exports=$1e}});var Z1e=A((mDr,X1e)=>{var{Readable:SPt,Writable:BPt,getStreamError:W1e}=CY(),_A=qk(),WE=J1e(),Hk=IY(),xPt=493,vPt=420,Y1e=_A.alloc(1024),RY=class extends BPt{static{o(this,"Sink")}constructor(e,r,n){super({mapWritable:_Pt,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?_A.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?_A.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),K1e(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 W1e(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()}},TY=class extends SPt{static{o(this,"Pack")}constructor(e){super(e),this._drain=_Y,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=_Y),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=NPt(e.mode)),e.mode||(e.mode=e.type==="directory"?xPt:vPt),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof r=="string"&&(r=_A.from(r));let i=new RY(this,e,n);return _A.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(Y1e),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),K1e(this,r.byteLength),n.size=e.size,n.type=e.type,this.push(Hk.encode(n))}_doDrain(){let e=this._drain;this._drain=_Y,e()}_predestroy(){let e=W1e(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()}};X1e.exports=o(function(e){return new TY(e)},"pack");function NPt(t){switch(t&WE.S_IFMT){case WE.S_IFBLK:return"block-device";case WE.S_IFCHR:return"character-device";case WE.S_IFDIR:return"directory";case WE.S_IFIFO:return"fifo";case WE.S_IFLNK:return"symlink"}return"file"}o(NPt,"modeToType");function _Y(){}o(_Y,"noop");function K1e(t,e){e&=511,e&&t.push(Y1e.subarray(0,512-e))}o(K1e,"overflow");function _Pt(t){return _A.isBuffer(t)?t:_A.from(t)}o(_Pt,"mapWritable")});var eke=A(DY=>{DY.extract=j1e();DY.pack=Z1e()});var nke=A((EDr,rke)=>{var RPt=require("zlib"),TPt=eke(),tke=ME(),Ed=o(function(t){if(!(this instanceof Ed))return new Ed(t);t=this.options=tke.defaults(t,{gzip:!1}),typeof t.gzipOptions!="object"&&(t.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=TPt.pack(t),this.compressor=!1,t.gzip&&(this.compressor=RPt.createGzip(t.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))},"Tar");Ed.prototype._onCompressorError=function(t){this.engine.emit("error",t)};Ed.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"&&tke.collectStream(t,i)};Ed.prototype.finalize=function(){this.engine.finalize()};Ed.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Ed.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)};Ed.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};rke.exports=Ed});var oke=A((bDr,ske)=>{"use strict";function DPt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(DPt,"getDefaultExportFromCjs");var QPt=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 ike(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(ike,"ensureBuffer");function kPt(t){let e=ike(4);return e.writeInt32BE(t,0),e}o(kPt,"bufferizeInt");function QY(t,e){t=ike(t),Buffer.isBuffer(e)&&(e=e.readUInt32BE(0));let r=~~e^-1;for(var n=0;n>>8;return r^-1}o(QY,"_crc32");function kY(){return kPt(QY.apply(null,arguments))}o(kY,"crc32");kY.signed=function(){return QY.apply(null,arguments)};kY.unsigned=function(){return QY.apply(null,arguments)>>>0};var PPt=kY,OPt=DPt(PPt);ske.exports=OPt});var uke=A((IDr,lke)=>{var LPt=require("util").inherits,ake=mA().Transform,FPt=oke(),cke=ME(),Zf=o(function(t){if(!(this instanceof Zf))return new Zf(t);t=this.options=cke.defaults(t,{}),ake.call(this,t),this.supports={directory:!0,symlink:!0},this.files=[]},"Json");LPt(Zf,ake);Zf.prototype._transform=function(t,e,r){r(null,t)};Zf.prototype._writeStringified=function(){var t=JSON.stringify(this.files);this.write(t)};Zf.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=FPt.unsigned(a),n.files.push(e),r(null,e)}o(i,"onend"),e.sourceType==="buffer"?i(null,t):e.sourceType==="stream"&&cke.collectStream(t,i)};Zf.prototype.finalize=function(){this._writeStringified(),this.end()};lke.exports=Zf});var fke=A((BDr,dke)=>{var MPt=NQe(),sB={},eh=o(function(t,e){return eh.create(t,e)},"vending");eh.create=function(t,e){if(sB[t]){var r=new MPt(t,e);return r.setFormat(t),r.setModule(new sB[t](e)),r}else throw new Error("create("+t+"): format not registered")};eh.registerFormat=function(t,e){if(sB[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");sB[t]=e};eh.isRegisteredFormat=function(t){return!!sB[t]};eh.registerFormat("zip",o1e());eh.registerFormat("tar",nke());eh.registerFormat("json",uke());dke.exports=eh});var vke=A($k=>{"use strict";Object.defineProperty($k,"__esModule",{value:!0});$k.getProxyUrl=WPt;$k.checkBypass=xke;function WPt(t){let e=t.protocol==="https:";if(xke(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 jk(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new jk(`http://${r}`)}else return}o(WPt,"getProxyUrl");function xke(t){if(!t.hostname)return!1;let e=t.hostname;if(YPt(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(xke,"checkBypass");function YPt(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(YPt,"isLoopbackAddress");var jk=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 _ke=A(Ir=>{"use strict";var KPt=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]})),XPt=Ir&&Ir.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Kk=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;idn(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 dn(this,void 0,void 0,function*(){return new Promise(e=>dn(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=Yk;function oOt(t){return new URL(t).protocol==="https:"}o(oOt,"isHttps");var LY=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 dn(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return dn(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return dn(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return dn(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return dn(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return dn(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return dn(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return dn(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return dn(this,arguments,void 0,function*(r,n={}){n[fs.Accept]=this._getExistingOrDefaultHeader(n,fs.Accept,Cd.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return dn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,Cd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Cd.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return dn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,Cd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Cd.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return dn(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[fs.Accept]=this._getExistingOrDefaultHeader(s,fs.Accept,Cd.ApplicationJson),s[fs.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Cd.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return dn(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&&nOt.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Sa.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&&tOt.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||!rOt.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=OY.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?Nke:PY;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({},aB(this.requestOptions.headers),aB(e||{})):aB(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=aB(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=aB(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=OY.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||PY.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?Jk.httpsOverHttps:Jk.httpsOverHttp:l=u?Jk.httpOverHttps:Jk.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new Nke.Agent(c):new PY.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 ZPt.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 dn(this,void 0,void 0,function*(){e=Math.min(iOt,e);let r=sOt*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return dn(this,void 0,void 0,function*(){return new Promise((n,i)=>dn(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Sa.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 Wk(d,s);f.result=a.result,i(f)}else n(a)}))})}};Ir.HttpClient=LY;var aB=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var Uke=A((uQr,Mke)=>{Mke.exports=ki;function ki(t){if(!(this instanceof ki))return new ki(t);this.value=t}o(ki,"Traverse");ki.prototype.get=function(t){for(var e=this.value,r=0;r{var dOt=Uke(),fOt=require("events").EventEmitter;qke.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=dOt(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(){hOt(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 hOt(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(hOt,"upgradeChainsaw")});var Vke=A((pQr,Hke)=>{Hke.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 jke=A((mQr,zke)=>{zke.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 Xke=A((TA,Kke)=>{var pOt=Gke(),$ke=require("events").EventEmitter,AOt=Vke(),Xk=jke(),mOt=require("stream").Stream;TA=Kke.exports=function(t,e){if(Buffer.isBuffer(t))return TA.parse(t);var r=TA.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};TA.stream=function(t){if(t)return TA.apply(null,arguments);var e=null;function r(f,h,p){e={bytes:f,skip:p,cb:o(function(m){e=null,h(m)},"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=Yke(function(m,g){return function(E){r(m,function(y){l.set(E,g(y)),h()})}});return p.tap=function(m){f.nest(m,l.store)},p.into=function(m,g){l.get(m)||l.set(m,{});var E=l;l=Xk(E.get(m)),f.nest(function(){g.apply(this,arguments),this.tap(function(){l=E})},l.store)},p.flush=function(){l.store={},h()},p.loop=function(m){var g=!1;f.nest(!1,o(function E(){this.vars=l.store,m.call(this,function(){g=!0,h()},l.store),this.tap(function(){g?f.next():E.call(this)}.bind(this))},"loop"),l.store)},p.buffer=function(m,g){typeof g=="string"&&(g=l.get(g)),r(g,function(E){l.set(m,E),h()})},p.skip=function(m){typeof m=="string"&&(m=l.get(m)),r(m,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(m){n=0,f.nest(function(){m.call(this,l.store),this.tap(function(){n=null})})},p}o(s,"builder");var a=pOt.light(s);a.writable=!0;var c=AOt();a.write=function(f){c.push(f),i()};var l=Xk(),u=!1,d=!1;return a.end=function(){d=!0},a.pipe=mOt.prototype.pipe,Object.getOwnPropertyNames($ke.prototype).forEach(function(f){a[f]=$ke.prototype[f]}),a};TA.parse=o(function(e){var r=Yke(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 Jke(t){for(var e=0,r=0;r{var Zke=require("stream").Transform,EOt=require("util");function DA(t,e){if(!(this instanceof DA))return new DA;Zke.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(DA,"MatcherStream");EOt.inherits(DA,Zke);DA.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}};DA.prototype._transform=function(t,e,r){this.data=Buffer.concat([this.data,t]);for(var n=!0;this.checkDataChunk(!n);)n=!1;r()};DA.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()};ePe.exports=DA});var nPe=A((bQr,rPe)=>{"use strict";var UY=require("stream"),COt=require("util").inherits;function cB(){if(!(this instanceof cB))return new cB;UY.PassThrough.call(this),this.path=null,this.type=null,this.isDirectory=!1}o(cB,"Entry");COt(cB,UY.PassThrough);cB.prototype.autodrain=function(){return this.pipe(new UY.Transform({transform:o(function(t,e,r){r()},"transform")}))};rPe.exports=cB});var GY=A((IQr,sPe)=>{"use strict";var rh=Xke(),qY=require("stream"),bOt=require("util"),wOt=require("zlib"),IOt=tPe(),iPe=nPe(),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},lB=4294967296,SOt=67324752,BOt=134695760,xOt=33639248,vOt=101075792,NOt=117853008,_Ot=101010256;function bi(t){if(!(this instanceof bi))return new bi(t);qY.Transform.call(this),this.options=t||{},this.data=new Buffer(""),this.state=Fe.STREAM_START,this.skippedBytes=0,this.parsedEntity=null,this.outStreamInfo={}}o(bi,"UnzipStream");bOt.inherits(bi,qY.Transform);bi.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 iPe,h=(this.parsedEntity.flags&2048)!==0;f.path=this._decodeString(t.slice(0,this.parsedEntity.fileNameLength),h);var m=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(m);if(g&&g.parsed&&(g.parsed.path&&!h&&(f.path=g.parsed.path),Number.isFinite(g.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===lB-1&&(this.parsedEntity.uncompressedSize=g.parsed.uncompressedSize),Number.isFinite(g.parsed.compressedSize)&&this.parsedEntity.compressedSize===lB-1&&(this.parsedEntity.compressedSize=g.parsed.compressedSize)),this.parsedEntity.extra=g.parsed||{},this.options.debug){let B=Object.assign({},this.parsedEntity,{path:f.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:g&&g.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),m=t.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength),g=this._readExtraFields(m);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 B=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(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}};bi.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 qY.PassThrough;else{var a=new Buffer(4);a.writeUInt32LE(BOt,0);var c=t.extra.zip64Mode,l=c?20:12,u={pattern:a,requiredExtraSize:l},d=new IOt(u,function(g,E){var y=r._readDataDescriptor(g,c),C=y.compressedSize===E;if(!c&&!C&&E>=lB)for(var w=E-lB;w>=0&&(C=y.compressedSize===w,!C);)w-=lB;if(C){r.state=Fe.FILE_DATA_END;var B=c?24:16;return r.data.length>0?r.data=Buffer.concat([g.slice(B),r.data]):r.data=g.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 iPe().autodrain());return}var p=t.compressionMethod>0;if(p){var m=wOt.createInflateRaw();m.on("error",function(g){r.state=Fe.ERROR,r.emit("error",g)}),this.outStreamInfo.stream.pipe(m).pipe(e)}else this.outStreamInfo.stream.pipe(e);this._drainAllEntries&&e.autodrain()};bi.prototype._readFile=function(t){var e=rh.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};bi.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 m=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=m}}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 m=t.readUInt16LE(n+C);C+=2,e.uid=p,e.gid=m}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 B=t.readUInt16LE(n+C);C+=2;var Q=t.readUInt32LE(n+C);C+=4;var p=t.readUInt16LE(n+C);C+=2;var m=t.readUInt16LE(n+C);if(C+=2,e.mode=B,e.uid=p,e.gid=m,i.extraSize>14){var M=n+C,v=n+i.extraSize-14,j=this._decodeString(t.slice(M,v));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};bi.prototype._readDataDescriptor=function(t,e){if(e){var r=rh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return r}var r=rh.parse(t).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return r};bi.prototype._readCentralDirectoryEntry=function(t){var e=rh.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};bi.prototype._readEndOfCentralDirectory64=function(t){var e=rh.parse(t).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return e};bi.prototype._readEndOfCentralDirectory=function(t){var e=rh.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e};var ROt="\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 ";bi.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()};bi.prototype.drainAll=function(){this._drainAllEntries=!0};bi.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)};sPe.exports=bi});var aPe=A((BQr,oPe)=>{var uB=require("stream").Transform,TOt=require("util"),DOt=GY();function nh(t){if(!(this instanceof nh))return new nh(t);var e=t||{};uB.call(this,{readableObjectMode:!0}),this.opts=t||{},this.unzipStream=new DOt(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(nh,"ParserStream");TOt.inherits(nh,uB);nh.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};nh.prototype._flush=function(t){var e=this;this.unzipStream.end(function(){process.nextTick(function(){e.emit("close")}),t()})};nh.prototype.on=function(t,e){return t==="entry"?uB.prototype.on.call(this,"data",e):uB.prototype.on.call(this,t,e)};nh.prototype.drainAll=function(){return this.unzipStream.drainAll(),this.pipe(new uB({objectMode:!0,transform:o(function(t,e,r){r()},"transform")}))};oPe.exports=nh});var dPe=A((vQr,uPe)=>{var dB=require("path"),cPe=require("fs"),lPe=parseInt("0777",8);uPe.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||cPe;i===void 0&&(i=lPe),n||(n=null);var a=r||function(){};t=dB.resolve(t),s.mkdir(t,i,function(c){if(!c)return n=n||t,a(null,n);switch(c.code){case"ENOENT":if(dB.dirname(t)===t)return a(c);XE(dB.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||cPe;i===void 0&&(i=lPe),n||(n=null),e=dB.resolve(e);try{s.mkdirSync(e,i),n=n||e}catch(c){switch(c.code){case"ENOENT":n=t(dB.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 APe=A((_Qr,pPe)=>{var QOt=require("fs"),fPe=require("path"),kOt=require("util"),POt=dPe(),hPe=require("stream").Transform,OOt=GY();function ih(t){if(!(this instanceof ih))return new ih(t);hPe.call(this),this.opts=t||{},this.unzipStream=new OOt(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(ih,"Extract");kOt.inherits(ih,hPe);ih.prototype._transform=function(t,e,r){this.unzipStream.write(t,e,r)};ih.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()})};ih.prototype._processEntry=function(t){var e=this,r=fPe.join(this.opts.path,t.path),n=t.isDirectory?r:fPe.dirname(r);this.unfinishedEntries++;var i=o(function(){var s=QOt.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();POt(n,function(s){if(s)return e.emit("error",s);if(e.createdDirectories[n]=!0,t.isDirectory){e.unfinishedEntries--,e._notifyAwaiter();return}i()})};ih.prototype._notifyAwaiter=function(){this.afterFlushWait&&this.unfinishedEntries===0&&(this.emit("await-finished"),this.afterFlushWait=!1)};pPe.exports=ih});var mPe=A(HY=>{"use strict";HY.Parse=aPe();HY.Extract=APe()});var vPe=A((zY,jY)=>{(function(t,e){typeof zY=="object"&&typeof jY<"u"?jY.exports=e():typeof define=="function"&&define.amd?define(e):t.Bottleneck=e()})(zY,(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,$;for(F in P)$=P[F],x[F]=(q=be[F])!=null?q:$;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,$;for(P=this._first,$=[];P!=null;)$.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 $}};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($){return $.status!=="none"}),q=this._events[P].map(async $=>{var X,ge;if($.status!=="none"){$.status==="once"&&($.status="none");try{return ge=typeof $.cb=="function"?$.cb(...x):void 0,typeof ge?.then=="function"?await ge:ge}catch(wt){return X=wt,this.trigger("error",X),null}}}),(await Promise.all(q)).find(function($){return $!=null}))}catch($){return F=$,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,$;for($=[],x=F=1,q=P;1<=q?F<=q:F>=q;x=1<=q?++F:--F)$.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(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 m=p,g,E,y,C,w;C=10,E=5,w=i,g=m,y=class{static{o(this,"Job")}constructor(P,x,F,q,$,X,ge,wt){this.task=P,this.args=x,this.rejectOnDrop=$,this.Events=X,this._states=ge,this.Promise=wt,this.options=w.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((hn,Yt)=>{this._resolve=hn,this._reject=Yt}),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 g(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 g(`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 $,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(wt){return $=wt,this._onFailure($,X,x,F,q)}}doExpire(P,x,F){var q,$;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},q=new g(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(q,$,P,x,F)}async _onFailure(P,x,F,q,$){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 $(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=m,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,$,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:x,reservoirIncreaseMaximum:q,reservoir:X}=this.storeOptions,this._lastReservoirIncrease=$,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,$;return await this.yieldLoop(),q=Date.now(),this.conditionsCheck(x)?(this._running+=x,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=x),$=Math.max(this._nextRequest-q,0),this._nextRequest=q+$+this.storeOptions.minTime,{success:!0,wait:$,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(P,x){var F,q,$;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(),$=this.storeOptions.highWater!=null&&P===this.storeOptions.highWater&&!this.check(x,q),F=this.strategyIsBlock()&&($||this.isBlocked(q)),F&&(this._unblockTime=q+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:$,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 j=M,T,H;T=m,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,W,ee;W=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 W}isEmpty(){return this._queue.length===0}async _tryToRun(){var P,x,F,q,$,X,ge;if(this._running<1&&this._queue.length>0)return this._running++,{task:ge,args:P,resolve:$,reject:q}=this._queue.shift(),x=await(async function(){try{return X=await ge(...P),function(){return $(X)}}catch(wt){return F=wt,function(){return q(F)}}})(),this._running--,this._tryToRun(),x()}schedule(P,...x){var F,q,$;return $=q=null,F=new this.Promise(function(X,ge){return $=X,q=ge}),this._queue.push({task:P,args:x,resolve:$,reject:q}),this._tryToRun(),F}};var ae=ee,Ae="2.19.5",Y={version:Ae},z=Object.freeze({version:Ae,default:Y}),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"),it=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4"),Et,fr,fn,si,hr,Jr;Jr=i,Et=l,si=Ie,fn=Be,hr=it,fr=(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 Et(this),this.instances={},this.Bottleneck=ka,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new si(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new fn(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",...hr.allKeys(`${this.id}-${x}`)])),q!=null&&(delete this.instances[x],await q.disconnect()),q!=null||F>0}limiters(){var x,F,q,$;F=this.instances,q=[];for(x in F)$=F[x],q.push({key:x,limiter:$});return q}keys(){return Object.keys(this.instances)}async clusterKeys(){var x,F,q,$,X,ge,wt,hn,Yt;if(this.connection==null)return this.Promise.resolve(this.keys());for(ge=[],x=null,Yt=`b_${this.id}-`.length,F=9;x!==0;)for([hn,q]=await this.connection.__runCommand__(["scan",x??0,"match",`b_${this.id}-*_settings`,"count",1e4]),x=~~hn,$=0,wt=q.length;${var F,q,$,X,ge,wt;ge=Date.now(),$=this.instances,X=[];for(q in $){wt=$[q];try{await wt._store.__groupCheck__(ge)?X.push(this.deleteKey(q)):X.push(void 0)}catch(hn){F=hn,X.push(wt.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 Ih=fr,uu,Ic,As;As=i,Ic=l,uu=(function(){class be{static{o(this,"Batcher")}constructor(x={}){this.options=x,As.load(this.options,this.defaults,this),this.Events=new Ic(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 Qa=uu,Td=o(()=>console.log("You must import the full version of Bottleneck in order to use this feature."),"require$$4$1"),Dd=e(z),du,YB,GC,HC,KB,rm,XB,VC,nm,im,Vs,ZB=[].splice;rm=10,YB=5,Vs=i,XB=h,HC=B,KB=j,VC=Td,GC=l,nm=V,im=ae,du=(function(){class be{static{o(this,"Bottleneck")}constructor(x={},...F){var q,$;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(x,F),Vs.load(x,this.instanceDefaults,this),this._queues=new XB(rm),this._scheduled={},this._states=new nm(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new GC(this),this._submitLock=new im("submit",this.Promise),this._registerLock=new im("register",this.Promise),$=Vs.load(x,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return q=Vs.load(x,this.redisStoreDefaults,{}),new VC(this,$,q);if(this.datastore==="local")return q=Vs.load(x,this.localStoreDefaults,{}),new KB(this,$,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,$){var X,ge;try{if({running:ge}=await this._store.__free__(x,q.weight),this.Events.trigger("debug",`Freed ${q.id}`,$),ge===0&&this.empty())return this.Events.trigger("idle")}catch(wt){return X=wt,this.Events.trigger("error",X)}}_run(x,F,q){var $,X,ge;return F.doRun(),$=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,$,ge,X),q),expiration:F.options.expiration!=null?setTimeout(function(){return F.doExpire($,ge,X)},q+F.options.expiration):void 0,job:F}}_drainOne(x){return this._registerLock.schedule(()=>{var F,q,$,X,ge;return this.queued()===0?this.Promise.resolve(null):(ge=this._queues.getFirst(),{options:X,args:F}=$=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:wt,wait:hn,reservoir:Yt})=>{var Sh;return this.Events.trigger("debug",`Drained ${X.id}`,{success:wt,args:F,options:X}),wt?(ge.shift(),Sh=this.empty(),Sh&&this.Events.trigger("empty"),Yt===0&&this.Events.trigger("depleted",Sh),this._run(q,$,hn),this.Promise.resolve(X.weight)):this.Promise.resolve(null)})))})}_drainAll(x,F=0){return this._drainOne(x).then(q=>{var $;return q!=null?($=x!=null?x-q:x,this._drainAll($,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=Vs.load(x,this.stopDefaults),q=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,wt)=>X()?ge():this.on("done",()=>{if(X())return this.removeAllListeners("done"),ge()}))},"waitForExecuting"),F=x.dropWaitingJobs?(this._run=function($,X){return X.doDrop({message:x.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:x.dropErrorMessage}));return this._dropAllQueued(x.dropErrorMessage),q(0)}))):this.schedule({priority:rm-1,weight:0},()=>q(1)),this._receive=function($){return $._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,$,X,ge,wt,hn;({args:F,options:X}=x);try{({reachedHWM:ge,blocked:q,strategy:hn}=await this._store.__submit__(this.queued(),X.weight))}catch(Yt){return $=Yt,this.Events.trigger("debug",`Could not queue ${X.id}`,{args:F,options:X,error:$}),x.doDrop({error:$}),!1}return q?(x.doDrop(),!0):ge&&(wt=hn===be.prototype.strategy.LEAK?this._queues.shiftLastFrom(X.priority):hn===be.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(X.priority+1):hn===be.prototype.strategy.OVERFLOW?x:void 0,wt?.doDrop(),wt==null||hn===be.prototype.strategy.OVERFLOW)?(wt==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,$,X,ge,wt,hn;return typeof x[0]=="function"?(ge=x,[q,...x]=ge,[F]=ZB.call(x,-1),X=Vs.load({},this.jobDefaults)):(wt=x,[X,q,...x]=wt,[F]=ZB.call(x,-1),X=Vs.load(X,this.jobDefaults)),hn=o((...Yt)=>new this.Promise(function(Sh,sm){return q(...Yt,function(...ex){return(ex[0]!=null?sm:Sh)(ex)})}),"task"),$=new HC(hn,x,X,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),$.promise.then(function(Yt){return typeof F=="function"?F(...Yt):void 0}).catch(function(Yt){return Array.isArray(Yt)?typeof F=="function"?F(...Yt):void 0:typeof F=="function"?F(Yt):void 0}),this._receive($)}schedule(...x){var F,q,$;return typeof x[0]=="function"?([$,...x]=x,q={}):[q,$,...x]=x,F=new HC($,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(...$){return F(x.bind(this),...$)},"wrapped"),q.withOptions=function($,...X){return F($,x,...X)},q}async updateSettings(x={}){return await this._store.__updateSettings__(Vs.overwrite(x,this.storeDefaults)),Vs.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=Dd.version,be.strategy=be.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},be.BottleneckError=be.prototype.BottleneckError=m,be.Group=be.prototype.Group=Ih,be.RedisConnection=be.prototype.RedisConnection=Ie,be.IORedisConnection=be.prototype.IORedisConnection=Be,be.Batcher=be.prototype.Batcher=Qa,be.prototype.jobDefaults={priority:YB,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 ka=du,zC=ka;return zC}))});var UPe=A((iP,hB)=>{(function(t){var e=typeof iP=="object"&&iP,r=typeof hB=="object"&&hB&&hB.exports==e&&hB,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|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,m={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={},B=w.hasOwnProperty,Q=o(function(z,Ie){return B.call(z,Ie)},"has"),M=o(function(z,Ie){for(var Be=-1,it=z.length;++Be=55296&&z<=57343||z>1114111?(Ie&&V("character reference outside the permissible Unicode range"),"\uFFFD"):Q(E,z)?(Ie&&V("disallowed character reference"),E[z]):(Ie&&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"),T=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"),W=o(function(z,Ie){Ie=v(Ie,W.options);var Be=Ie.strict;Be&&h.test(z)&&V("forbidden code point");var it=Ie.encodeEverything,Et=Ie.useNamedReferences,fr=Ie.allowUnsafeSymbols,fn=Ie.decimal?H:T,si=o(function(hr){return fn(hr.charCodeAt(0))},"escapeBmpSymbol");return it?(z=z.replace(s,function(hr){return Et&&Q(l,hr)?"&"+l[hr]+";":si(hr)}),Et&&(z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),Et&&(z=z.replace(c,function(hr){return"&"+l[hr]+";"}))):Et?(fr||(z=z.replace(u,function(hr){return"&"+l[hr]+";"})),z=z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),z=z.replace(c,function(hr){return"&"+l[hr]+";"})):fr||(z=z.replace(u,si)),z.replace(i,function(hr){var Jr=hr.charCodeAt(0),Ih=hr.charCodeAt(1),uu=(Jr-55296)*1024+Ih-56320+65536;return fn(uu)}).replace(a,si)},"encode");W.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var ee=o(function(z,Ie){Ie=v(Ie,ee.options);var Be=Ie.strict;return Be&&f.test(z)&&V("malformed character reference"),z.replace(p,function(it,Et,fr,fn,si,hr,Jr,Ih,uu){var Ic,As,Qa,Td,Dd,du;return Et?(Dd=Et,m[Dd]):fr?(Dd=fr,du=fn,du&&Ie.isAttributeValue?(Be&&du=="="&&V("`&` did not start a character reference"),it):(Be&&V("named character reference was not terminated by a semicolon"),g[Dd]+(du||""))):si?(Qa=si,As=hr,Be&&!As&&V("character reference was not terminated by a semicolon"),Ic=parseInt(Qa,10),j(Ic,Be)):Jr?(Td=Jr,As=Ih,Be&&!As&&V("character reference was not terminated by a semicolon"),Ic=parseInt(Td,16),j(Ic,Be)):(Be&&V("named character reference was not terminated by a semicolon"),it)})},"decode");ee.options={isAttributeValue:!1,strict:!1};var ae=o(function(z){return z.replace(u,function(Ie){return d[Ie]})},"escape"),Ae={version:"1.2.0",encode:W,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 hP=A(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.Signature=oh.Envelope=void 0;oh.Envelope={fromJSON(t){return{payload:fP(t.payload)?Buffer.from(yOe(t.payload)):Buffer.alloc(0),payloadType:fP(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>oh.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=EOe(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>oh.Signature.toJSON(r))),e}};oh.Signature={fromJSON(t){return{sig:fP(t.sig)?Buffer.from(yOe(t.sig)):Buffer.alloc(0),keyid:fP(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=EOe(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function yOe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(yOe,"bytesFromBase64");function EOe(t){return globalThis.Buffer.from(t).toString("base64")}o(EOe,"base64FromBytes");function fP(t){return t!=null}o(fP,"isSet")});var bOe=A(pP=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});pP.Timestamp=void 0;pP.Timestamp={fromJSON(t){return{seconds:COe(t.seconds)?globalThis.String(t.seconds):"0",nanos:COe(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 COe(t){return t!=null}o(COe,"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=IOe;Ge.hashAlgorithmToJSON=SOe;Ge.publicKeyDetailsFromJSON=BOe;Ge.publicKeyDetailsToJSON=xOe;Ge.subjectAlternativeNameTypeFromJSON=vOe;Ge.subjectAlternativeNameTypeToJSON=NOe;var HFt=bOe(),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 IOe(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(IOe,"hashAlgorithmFromJSON");function SOe(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(SOe,"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 BOe(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(BOe,"publicKeyDetailsFromJSON");function xOe(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(xOe,"publicKeyDetailsToJSON");var Jl;(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"})(Jl||(Ge.SubjectAlternativeNameType=Jl={}));function vOe(t){switch(t){case 0:case"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED":return Jl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED;case 1:case"EMAIL":return Jl.EMAIL;case 2:case"URI":return Jl.URI;case 3:case"OTHER_NAME":return Jl.OTHER_NAME;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(vOe,"subjectAlternativeNameTypeFromJSON");function NOe(t){switch(t){case Jl.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED:return"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";case Jl.EMAIL:return"EMAIL";case Jl.URI:return"URI";case Jl.OTHER_NAME:return"OTHER_NAME";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum SubjectAlternativeNameType")}}o(NOe,"subjectAlternativeNameTypeToJSON");Ge.HashOutput={fromJSON(t){return{algorithm:In(t.algorithm)?IOe(t.algorithm):0,digest:In(t.digest)?Buffer.from(FA(t.digest)):Buffer.alloc(0)}},toJSON(t){let e={};return t.algorithm!==0&&(e.algorithm=SOe(t.algorithm)),t.digest.length!==0&&(e.digest=MA(t.digest)),e}};Ge.MessageSignature={fromJSON(t){return{messageDigest:In(t.messageDigest)?Ge.HashOutput.fromJSON(t.messageDigest):void 0,signature:In(t.signature)?Buffer.from(FA(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=MA(t.signature)),e}};Ge.LogId={fromJSON(t){return{keyId:In(t.keyId)?Buffer.from(FA(t.keyId)):Buffer.alloc(0)}},toJSON(t){let e={};return t.keyId.length!==0&&(e.keyId=MA(t.keyId)),e}};Ge.RFC3161SignedTimestamp={fromJSON(t){return{signedTimestamp:In(t.signedTimestamp)?Buffer.from(FA(t.signedTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedTimestamp.length!==0&&(e.signedTimestamp=MA(t.signedTimestamp)),e}};Ge.PublicKey={fromJSON(t){return{rawBytes:In(t.rawBytes)?Buffer.from(FA(t.rawBytes)):void 0,keyDetails:In(t.keyDetails)?BOe(t.keyDetails):0,validFor:In(t.validFor)?Ge.TimeRange.fromJSON(t.validFor):void 0}},toJSON(t){let e={};return t.rawBytes!==void 0&&(e.rawBytes=MA(t.rawBytes)),t.keyDetails!==0&&(e.keyDetails=xOe(t.keyDetails)),t.validFor!==void 0&&(e.validFor=Ge.TimeRange.toJSON(t.validFor)),e}};Ge.PublicKeyIdentifier={fromJSON(t){return{hint:In(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:In(t.oid)?Ge.ObjectIdentifier.fromJSON(t.oid):void 0,value:In(t.value)?Buffer.from(FA(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=MA(t.value)),e}};Ge.DistinguishedName={fromJSON(t){return{organization:In(t.organization)?globalThis.String(t.organization):"",commonName:In(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:In(t.rawBytes)?Buffer.from(FA(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=MA(t.rawBytes)),e}};Ge.SubjectAlternativeName={fromJSON(t){return{type:In(t.type)?vOe(t.type):0,identity:In(t.regexp)?{$case:"regexp",regexp:globalThis.String(t.regexp)}:In(t.value)?{$case:"value",value:globalThis.String(t.value)}:void 0}},toJSON(t){let e={};return t.type!==0&&(e.type=NOe(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:In(t.start)?wOe(t.start):void 0,end:In(t.end)?wOe(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 FA(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(FA,"bytesFromBase64");function MA(t){return globalThis.Buffer.from(t).toString("base64")}o(MA,"base64FromBytes");function VFt(t){let e=(globalThis.Number(t.seconds)||0)*1e3;return e+=(t.nanos||0)/1e6,new globalThis.Date(e)}o(VFt,"fromTimestamp");function wOe(t){return t instanceof globalThis.Date?t:typeof t=="string"?new globalThis.Date(t):VFt(HFt.Timestamp.fromJSON(t))}o(wOe,"fromJsonTimestamp");function In(t){return t!=null}o(In,"isSet")});var hK=A(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.TransparencyLogEntry=Sn.InclusionPromise=Sn.InclusionProof=Sn.Checkpoint=Sn.KindVersion=void 0;var _Oe=wd();Sn.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}};Sn.Checkpoint={fromJSON(t){return{envelope:ps(t.envelope)?globalThis.String(t.envelope):""}},toJSON(t){let e={};return t.envelope!==""&&(e.envelope=t.envelope),e}};Sn.InclusionProof={fromJSON(t){return{logIndex:ps(t.logIndex)?globalThis.String(t.logIndex):"0",rootHash:ps(t.rootHash)?Buffer.from(AP(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(AP(e))):[],checkpoint:ps(t.checkpoint)?Sn.Checkpoint.fromJSON(t.checkpoint):void 0}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.rootHash.length!==0&&(e.rootHash=mP(t.rootHash)),t.treeSize!=="0"&&(e.treeSize=t.treeSize),t.hashes?.length&&(e.hashes=t.hashes.map(r=>mP(r))),t.checkpoint!==void 0&&(e.checkpoint=Sn.Checkpoint.toJSON(t.checkpoint)),e}};Sn.InclusionPromise={fromJSON(t){return{signedEntryTimestamp:ps(t.signedEntryTimestamp)?Buffer.from(AP(t.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(t){let e={};return t.signedEntryTimestamp.length!==0&&(e.signedEntryTimestamp=mP(t.signedEntryTimestamp)),e}};Sn.TransparencyLogEntry={fromJSON(t){return{logIndex:ps(t.logIndex)?globalThis.String(t.logIndex):"0",logId:ps(t.logId)?_Oe.LogId.fromJSON(t.logId):void 0,kindVersion:ps(t.kindVersion)?Sn.KindVersion.fromJSON(t.kindVersion):void 0,integratedTime:ps(t.integratedTime)?globalThis.String(t.integratedTime):"0",inclusionPromise:ps(t.inclusionPromise)?Sn.InclusionPromise.fromJSON(t.inclusionPromise):void 0,inclusionProof:ps(t.inclusionProof)?Sn.InclusionProof.fromJSON(t.inclusionProof):void 0,canonicalizedBody:ps(t.canonicalizedBody)?Buffer.from(AP(t.canonicalizedBody)):Buffer.alloc(0)}},toJSON(t){let e={};return t.logIndex!=="0"&&(e.logIndex=t.logIndex),t.logId!==void 0&&(e.logId=_Oe.LogId.toJSON(t.logId)),t.kindVersion!==void 0&&(e.kindVersion=Sn.KindVersion.toJSON(t.kindVersion)),t.integratedTime!=="0"&&(e.integratedTime=t.integratedTime),t.inclusionPromise!==void 0&&(e.inclusionPromise=Sn.InclusionPromise.toJSON(t.inclusionPromise)),t.inclusionProof!==void 0&&(e.inclusionProof=Sn.InclusionProof.toJSON(t.inclusionProof)),t.canonicalizedBody.length!==0&&(e.canonicalizedBody=mP(t.canonicalizedBody)),e}};function AP(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(AP,"bytesFromBase64");function mP(t){return globalThis.Buffer.from(t).toString("base64")}o(mP,"base64FromBytes");function ps(t){return t!=null}o(ps,"isSet")});var pK=A(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.Bundle=Ba.VerificationMaterial=Ba.TimestampVerificationData=void 0;var ROe=hP(),Wl=wd(),TOe=hK();Ba.TimestampVerificationData={fromJSON(t){return{rfc3161Timestamps:globalThis.Array.isArray(t?.rfc3161Timestamps)?t.rfc3161Timestamps.map(e=>Wl.RFC3161SignedTimestamp.fromJSON(e)):[]}},toJSON(t){let e={};return t.rfc3161Timestamps?.length&&(e.rfc3161Timestamps=t.rfc3161Timestamps.map(r=>Wl.RFC3161SignedTimestamp.toJSON(r))),e}};Ba.VerificationMaterial={fromJSON(t){return{content:ah(t.publicKey)?{$case:"publicKey",publicKey:Wl.PublicKeyIdentifier.fromJSON(t.publicKey)}:ah(t.x509CertificateChain)?{$case:"x509CertificateChain",x509CertificateChain:Wl.X509CertificateChain.fromJSON(t.x509CertificateChain)}:ah(t.certificate)?{$case:"certificate",certificate:Wl.X509Certificate.fromJSON(t.certificate)}:void 0,tlogEntries:globalThis.Array.isArray(t?.tlogEntries)?t.tlogEntries.map(e=>TOe.TransparencyLogEntry.fromJSON(e)):[],timestampVerificationData:ah(t.timestampVerificationData)?Ba.TimestampVerificationData.fromJSON(t.timestampVerificationData):void 0}},toJSON(t){let e={};return t.content?.$case==="publicKey"?e.publicKey=Wl.PublicKeyIdentifier.toJSON(t.content.publicKey):t.content?.$case==="x509CertificateChain"?e.x509CertificateChain=Wl.X509CertificateChain.toJSON(t.content.x509CertificateChain):t.content?.$case==="certificate"&&(e.certificate=Wl.X509Certificate.toJSON(t.content.certificate)),t.tlogEntries?.length&&(e.tlogEntries=t.tlogEntries.map(r=>TOe.TransparencyLogEntry.toJSON(r))),t.timestampVerificationData!==void 0&&(e.timestampVerificationData=Ba.TimestampVerificationData.toJSON(t.timestampVerificationData)),e}};Ba.Bundle={fromJSON(t){return{mediaType:ah(t.mediaType)?globalThis.String(t.mediaType):"",verificationMaterial:ah(t.verificationMaterial)?Ba.VerificationMaterial.fromJSON(t.verificationMaterial):void 0,content:ah(t.messageSignature)?{$case:"messageSignature",messageSignature:Wl.MessageSignature.fromJSON(t.messageSignature)}:ah(t.dsseEnvelope)?{$case:"dsseEnvelope",dsseEnvelope:ROe.Envelope.fromJSON(t.dsseEnvelope)}:void 0}},toJSON(t){let e={};return t.mediaType!==""&&(e.mediaType=t.mediaType),t.verificationMaterial!==void 0&&(e.verificationMaterial=Ba.VerificationMaterial.toJSON(t.verificationMaterial)),t.content?.$case==="messageSignature"?e.messageSignature=Wl.MessageSignature.toJSON(t.content.messageSignature):t.content?.$case==="dsseEnvelope"&&(e.dsseEnvelope=ROe.Envelope.toJSON(t.content.dsseEnvelope)),e}};function ah(t){return t!=null}o(ah,"isSet")});var AK=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=DOe;ze.serviceSelectorToJSON=QOe;var Li=wd(),Yl;(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"})(Yl||(ze.ServiceSelector=Yl={}));function DOe(t){switch(t){case 0:case"SERVICE_SELECTOR_UNDEFINED":return Yl.SERVICE_SELECTOR_UNDEFINED;case 1:case"ALL":return Yl.ALL;case 2:case"ANY":return Yl.ANY;case 3:case"EXACT":return Yl.EXACT;default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(DOe,"serviceSelectorFromJSON");function QOe(t){switch(t){case Yl.SERVICE_SELECTOR_UNDEFINED:return"SERVICE_SELECTOR_UNDEFINED";case Yl.ALL:return"ALL";case Yl.ANY:return"ANY";case Yl.EXACT:return"EXACT";default:throw new globalThis.Error("Unrecognized enum value "+t+" for enum ServiceSelector")}}o(QOe,"serviceSelectorToJSON");ze.TransparencyLogInstance={fromJSON(t){return{baseUrl:Sr(t.baseUrl)?globalThis.String(t.baseUrl):"",hashAlgorithm:Sr(t.hashAlgorithm)?(0,Li.hashAlgorithmFromJSON)(t.hashAlgorithm):0,publicKey:Sr(t.publicKey)?Li.PublicKey.fromJSON(t.publicKey):void 0,logId:Sr(t.logId)?Li.LogId.fromJSON(t.logId):void 0,checkpointKeyId:Sr(t.checkpointKeyId)?Li.LogId.fromJSON(t.checkpointKeyId):void 0,operator:Sr(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:Sr(t.subject)?Li.DistinguishedName.fromJSON(t.subject):void 0,uri:Sr(t.uri)?globalThis.String(t.uri):"",certChain:Sr(t.certChain)?Li.X509CertificateChain.fromJSON(t.certChain):void 0,validFor:Sr(t.validFor)?Li.TimeRange.fromJSON(t.validFor):void 0,operator:Sr(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:Sr(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:Sr(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:Sr(t.rekorTlogConfig)?ze.ServiceConfiguration.fromJSON(t.rekorTlogConfig):void 0,tsaUrls:globalThis.Array.isArray(t?.tsaUrls)?t.tsaUrls.map(e=>ze.Service.fromJSON(e)):[],tsaConfig:Sr(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:Sr(t.url)?globalThis.String(t.url):"",majorApiVersion:Sr(t.majorApiVersion)?globalThis.Number(t.majorApiVersion):0,validFor:Sr(t.validFor)?Li.TimeRange.fromJSON(t.validFor):void 0,operator:Sr(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:Sr(t.selector)?DOe(t.selector):0,count:Sr(t.count)?globalThis.Number(t.count):0}},toJSON(t){let e={};return t.selector!==0&&(e.selector=QOe(t.selector)),t.count!==0&&(e.count=Math.round(t.count)),e}};ze.ClientTrustConfig={fromJSON(t){return{mediaType:Sr(t.mediaType)?globalThis.String(t.mediaType):"",trustedRoot:Sr(t.trustedRoot)?ze.TrustedRoot.fromJSON(t.trustedRoot):void 0,signingConfig:Sr(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 Sr(t){return t!=null}o(Sr,"isSet")});var OOe=A(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 kOe=pK(),ch=wd(),POe=AK();je.CertificateIdentity={fromJSON(t){return{issuer:Wt(t.issuer)?globalThis.String(t.issuer):"",san:Wt(t.san)?ch.SubjectAlternativeName.fromJSON(t.san):void 0,oids:globalThis.Array.isArray(t?.oids)?t.oids.map(e=>ch.ObjectIdentifierValuePair.fromJSON(e)):[]}},toJSON(t){let e={};return t.issuer!==""&&(e.issuer=t.issuer),t.san!==void 0&&(e.san=ch.SubjectAlternativeName.toJSON(t.san)),t.oids?.length&&(e.oids=t.oids.map(r=>ch.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=>ch.PublicKey.fromJSON(e)):[]}},toJSON(t){let e={};return t.publicKeys?.length&&(e.publicKeys=t.publicKeys.map(r=>ch.PublicKey.toJSON(r))),e}};je.ArtifactVerificationOptions={fromJSON(t){return{signers:Wt(t.certificateIdentities)?{$case:"certificateIdentities",certificateIdentities:je.CertificateIdentities.fromJSON(t.certificateIdentities)}:Wt(t.publicKeys)?{$case:"publicKeys",publicKeys:je.PublicKeyIdentities.fromJSON(t.publicKeys)}:void 0,tlogOptions:Wt(t.tlogOptions)?je.ArtifactVerificationOptions_TlogOptions.fromJSON(t.tlogOptions):void 0,ctlogOptions:Wt(t.ctlogOptions)?je.ArtifactVerificationOptions_CtlogOptions.fromJSON(t.ctlogOptions):void 0,tsaOptions:Wt(t.tsaOptions)?je.ArtifactVerificationOptions_TimestampAuthorityOptions.fromJSON(t.tsaOptions):void 0,integratedTsOptions:Wt(t.integratedTsOptions)?je.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.fromJSON(t.integratedTsOptions):void 0,observerOptions:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,performOnlineVerification:Wt(t.performOnlineVerification)?globalThis.Boolean(t.performOnlineVerification):!1,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.threshold)?globalThis.Number(t.threshold):0,disable:Wt(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:Wt(t.artifactUri)?{$case:"artifactUri",artifactUri:globalThis.String(t.artifactUri)}:Wt(t.artifact)?{$case:"artifact",artifact:Buffer.from(zFt(t.artifact))}:Wt(t.artifactDigest)?{$case:"artifactDigest",artifactDigest:ch.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=jFt(t.data.artifact):t.data?.$case==="artifactDigest"&&(e.artifactDigest=ch.HashOutput.toJSON(t.data.artifactDigest)),e}};je.Input={fromJSON(t){return{artifactTrustRoot:Wt(t.artifactTrustRoot)?POe.TrustedRoot.fromJSON(t.artifactTrustRoot):void 0,artifactVerificationOptions:Wt(t.artifactVerificationOptions)?je.ArtifactVerificationOptions.fromJSON(t.artifactVerificationOptions):void 0,bundle:Wt(t.bundle)?kOe.Bundle.fromJSON(t.bundle):void 0,artifact:Wt(t.artifact)?je.Artifact.fromJSON(t.artifact):void 0}},toJSON(t){let e={};return t.artifactTrustRoot!==void 0&&(e.artifactTrustRoot=POe.TrustedRoot.toJSON(t.artifactTrustRoot)),t.artifactVerificationOptions!==void 0&&(e.artifactVerificationOptions=je.ArtifactVerificationOptions.toJSON(t.artifactVerificationOptions)),t.bundle!==void 0&&(e.bundle=kOe.Bundle.toJSON(t.bundle)),t.artifact!==void 0&&(e.artifact=je.Artifact.toJSON(t.artifact)),e}};function zFt(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(zFt,"bytesFromBase64");function jFt(t){return globalThis.Buffer.from(t).toString("base64")}o(jFt,"base64FromBytes");function Wt(t){return t!=null}o(Wt,"isSet")});var oC=A(xa=>{"use strict";var $Ft=xa&&xa.__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]})),sC=xa&&xa.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&$Ft(e,t,r)};Object.defineProperty(xa,"__esModule",{value:!0});sC(hP(),xa);sC(pK(),xa);sC(wd(),xa);sC(hK(),xa);sC(AK(),xa);sC(OOe(),xa)});var gP=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=JFt;Us.isBundleWithPublicKey=WFt;Us.isBundleWithMessageSignature=YFt;Us.isBundleWithDsseEnvelope=KFt;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 JFt(t){return t.verificationMaterial.content.$case==="x509CertificateChain"}o(JFt,"isBundleWithCertificateChain");function WFt(t){return t.verificationMaterial.content.$case==="publicKey"}o(WFt,"isBundleWithPublicKey");function YFt(t){return t.content.$case==="messageSignature"}o(YFt,"isBundleWithMessageSignature");function KFt(t){return t.content.$case==="dsseEnvelope"}o(KFt,"isBundleWithDsseEnvelope")});var FOe=A(EP=>{"use strict";Object.defineProperty(EP,"__esModule",{value:!0});EP.toMessageSignatureBundle=ZFt;EP.toDSSEBundle=eMt;var XFt=oC(),yP=gP();function ZFt(t){return{mediaType:t.certificateChain?yP.BUNDLE_V02_MEDIA_TYPE:yP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:XFt.HashAlgorithm.SHA2_256,digest:t.digest},signature:t.signature}},verificationMaterial:LOe(t)}}o(ZFt,"toMessageSignatureBundle");function eMt(t){return{mediaType:t.certificateChain?yP.BUNDLE_V02_MEDIA_TYPE:yP.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:tMt(t)},verificationMaterial:LOe(t)}}o(eMt,"toDSSEBundle");function tMt(t){return{payloadType:t.artifactType,payload:t.artifact,signatures:[rMt(t)]}}o(tMt,"toEnvelope");function rMt(t){return{keyid:t.keyHint||"",sig:t.signature}}o(rMt,"toSignature");function LOe(t){return{content:nMt(t),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}o(LOe,"toVerificationMaterial");function nMt(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(nMt,"toKeyContent")});var gK=A(CP=>{"use strict";Object.defineProperty(CP,"__esModule",{value:!0});CP.ValidationError=void 0;var mK=class extends Error{static{o(this,"ValidationError")}fields;constructor(e,r){super(e),this.fields=r}};CP.ValidationError=mK});var yK=A(UA=>{"use strict";Object.defineProperty(UA,"__esModule",{value:!0});UA.assertBundle=iMt;UA.assertBundleV01=MOe;UA.isBundleV01=sMt;UA.assertBundleV02=oMt;UA.assertBundleLatest=aMt;var bP=gK();function iMt(t){let e=wP(t);if(e.length>0)throw new bP.ValidationError("invalid bundle",e)}o(iMt,"assertBundle");function MOe(t){let e=[];if(e.push(...wP(t)),e.push(...cMt(t)),e.length>0)throw new bP.ValidationError("invalid v0.1 bundle",e)}o(MOe,"assertBundleV01");function sMt(t){try{return MOe(t),!0}catch{return!1}}o(sMt,"isBundleV01");function oMt(t){let e=[];if(e.push(...wP(t)),e.push(...UOe(t)),e.length>0)throw new bP.ValidationError("invalid v0.2 bundle",e)}o(oMt,"assertBundleV02");function aMt(t){let e=[];if(e.push(...wP(t)),e.push(...UOe(t)),e.push(...lMt(t)),e.length>0)throw new bP.ValidationError("invalid bundle",e)}o(aMt,"assertBundleLatest");function wP(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(wP,"validateBundleBase");function cMt(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(cMt,"validateInclusionPromise");function UOe(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(UOe,"validateInclusionProof");function lMt(t){let e=[];return t.verificationMaterial?.content?.$case==="x509CertificateChain"&&e.push("verificationMaterial.content.$case"),e}o(lMt,"validateNoCertificateChain")});var GOe=A(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.envelopeToJSON=Kl.envelopeFromJSON=Kl.bundleToJSON=Kl.bundleFromJSON=void 0;var IP=oC(),qOe=gP(),EK=yK(),uMt=o(t=>{let e=IP.Bundle.fromJSON(t);switch(e.mediaType){case qOe.BUNDLE_V01_MEDIA_TYPE:(0,EK.assertBundleV01)(e);break;case qOe.BUNDLE_V02_MEDIA_TYPE:(0,EK.assertBundleV02)(e);break;default:(0,EK.assertBundleLatest)(e);break}return e},"bundleFromJSON");Kl.bundleFromJSON=uMt;var dMt=o(t=>IP.Bundle.toJSON(t),"bundleToJSON");Kl.bundleToJSON=dMt;var fMt=o(t=>IP.Envelope.fromJSON(t),"envelopeFromJSON");Kl.envelopeFromJSON=fMt;var hMt=o(t=>IP.Envelope.toJSON(t),"envelopeToJSON");Kl.envelopeToJSON=hMt});var CK=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 HOe=FOe();Object.defineProperty(et,"toDSSEBundle",{enumerable:!0,get:o(function(){return HOe.toDSSEBundle},"get")});Object.defineProperty(et,"toMessageSignatureBundle",{enumerable:!0,get:o(function(){return HOe.toMessageSignatureBundle},"get")});var lh=gP();Object.defineProperty(et,"BUNDLE_V01_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V01_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V02_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V02_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_LEGACY_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V03_LEGACY_MEDIA_TYPE},"get")});Object.defineProperty(et,"BUNDLE_V03_MEDIA_TYPE",{enumerable:!0,get:o(function(){return lh.BUNDLE_V03_MEDIA_TYPE},"get")});Object.defineProperty(et,"isBundleWithCertificateChain",{enumerable:!0,get:o(function(){return lh.isBundleWithCertificateChain},"get")});Object.defineProperty(et,"isBundleWithDsseEnvelope",{enumerable:!0,get:o(function(){return lh.isBundleWithDsseEnvelope},"get")});Object.defineProperty(et,"isBundleWithMessageSignature",{enumerable:!0,get:o(function(){return lh.isBundleWithMessageSignature},"get")});Object.defineProperty(et,"isBundleWithPublicKey",{enumerable:!0,get:o(function(){return lh.isBundleWithPublicKey},"get")});var pMt=gK();Object.defineProperty(et,"ValidationError",{enumerable:!0,get:o(function(){return pMt.ValidationError},"get")});var SP=GOe();Object.defineProperty(et,"bundleFromJSON",{enumerable:!0,get:o(function(){return SP.bundleFromJSON},"get")});Object.defineProperty(et,"bundleToJSON",{enumerable:!0,get:o(function(){return SP.bundleToJSON},"get")});Object.defineProperty(et,"envelopeFromJSON",{enumerable:!0,get:o(function(){return SP.envelopeFromJSON},"get")});Object.defineProperty(et,"envelopeToJSON",{enumerable:!0,get:o(function(){return SP.envelopeToJSON},"get")});var EB=yK();Object.defineProperty(et,"assertBundle",{enumerable:!0,get:o(function(){return EB.assertBundle},"get")});Object.defineProperty(et,"assertBundleLatest",{enumerable:!0,get:o(function(){return EB.assertBundleLatest},"get")});Object.defineProperty(et,"assertBundleV01",{enumerable:!0,get:o(function(){return EB.assertBundleV01},"get")});Object.defineProperty(et,"assertBundleV02",{enumerable:!0,get:o(function(){return EB.assertBundleV02},"get")});Object.defineProperty(et,"isBundleV01",{enumerable:!0,get:o(function(){return EB.isBundleV01},"get")})});var zOe=A(CB=>{"use strict";var VOe=CB&&CB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(CB,"__esModule",{value:!0});CB.appDataPath=mMt;var AMt=VOe(require("os")),aC=VOe(require("path"));function mMt(t){let e=AMt.default.homedir();switch(process.platform){case"darwin":{let r=aC.default.join(e,"Library","Application Support");return aC.default.join(r,t)}case"win32":{let r=process.env.LOCALAPPDATA||aC.default.join(e,"AppData","Local");return aC.default.join(r,t,"Data")}default:{let r=process.env.XDG_DATA_HOME||aC.default.join(e,".local","share");return aC.default.join(r,t)}}}o(mMt,"appDataPath")});var Xl=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 bK=class extends Error{static{o(this,"ValueError")}};qs.ValueError=bK;var bB=class extends Error{static{o(this,"RepositoryError")}};qs.RepositoryError=bB;var wK=class extends bB{static{o(this,"UnsignedMetadataError")}};qs.UnsignedMetadataError=wK;var IK=class extends bB{static{o(this,"LengthOrHashMismatchError")}};qs.LengthOrHashMismatchError=IK;var BP=class extends Error{static{o(this,"CryptoError")}};qs.CryptoError=BP;var SK=class extends BP{static{o(this,"UnsupportedAlgorithmError")}};qs.UnsupportedAlgorithmError=SK});var $Oe=A(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.isDefined=gMt;uh.isObject=jOe;uh.isStringArray=yMt;uh.isObjectArray=EMt;uh.isStringRecord=CMt;uh.isObjectRecord=bMt;function gMt(t){return t!==void 0}o(gMt,"isDefined");function jOe(t){return typeof t=="object"&&t!==null}o(jOe,"isObject");function yMt(t){return Array.isArray(t)&&t.every(e=>typeof e=="string")}o(yMt,"isStringArray");function EMt(t){return Array.isArray(t)&&t.every(jOe)}o(EMt,"isObjectArray");function CMt(t){return typeof t=="object"&&t!==null&&Object.keys(t).every(e=>typeof e=="string")&&Object.values(t).every(e=>typeof e=="string")}o(CMt,"isStringRecord");function bMt(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(bMt,"isObjectRecord")});var xK=A((SPr,WOe)=>{function BK(t){let e=[];if(typeof t=="string")e.push(JOe(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(BK(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(JOe(n)),e.push(":"),e.push(BK(t[n]))}),e.push("}")}else throw new TypeError("cannot encode "+t.toString());return e.join("")}o(BK,"canonicalize");function JOe(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}o(JOe,"canonicalizeString");WOe.exports={canonicalize:BK}});var YOe=A(cC=>{"use strict";var wMt=cC&&cC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cC,"__esModule",{value:!0});cC.verifySignature=void 0;var IMt=xK(),SMt=wMt(require("crypto")),BMt=o((t,e,r)=>{let n=Buffer.from((0,IMt.canonicalize)(t));return SMt.default.verify(void 0,n,e,Buffer.from(r,"hex"))},"verifySignature");cC.verifySignature=BMt});var Ec=A(va=>{"use strict";var xMt=va&&va.__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]})),vMt=va&&va.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),KOe=va&&va.__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 NMt=Id&&Id.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Id,"__esModule",{value:!0});Id.Signed=Id.MetadataKind=void 0;Id.isMetadataKind=RMt;var _Mt=NMt(require("util")),wB=Xl(),vK=Ec(),XOe=["1","0","31"],NK;(function(t){t.Root="root",t.Timestamp="timestamp",t.Snapshot="snapshot",t.Targets="targets"})(NK||(Id.MetadataKind=NK={}));function RMt(t){return typeof t=="string"&&Object.values(NK).includes(t)}o(RMt,"isMetadataKind");var _K=class t{static{o(this,"Signed")}specVersion;expires;version;unrecognizedFields;constructor(e){this.specVersion=e.specVersion||XOe.join(".");let r=this.specVersion.split(".");if(!(r.length===2||r.length===3)||!r.every(n=>TMt(n)))throw new wB.ValueError("Failed to parse specVersion");if(r[0]!=XOe[0])throw new wB.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&&_Mt.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(vK.guard.isDefined(r)){if(typeof r!="string")throw new TypeError("spec_version must be a string")}else throw new wB.ValueError("spec_version is not defined");if(vK.guard.isDefined(n)){if(typeof n!="string")throw new TypeError("expires must be a string")}else throw new wB.ValueError("expires is not defined");if(vK.guard.isDefined(i)){if(typeof i!="number")throw new TypeError("version must be a number")}else throw new wB.ValueError("version is not defined");return{specVersion:r,expires:n,version:i,unrecognizedFields:s}}};Id.Signed=_K;function TMt(t){return!isNaN(Number(t))}o(TMt,"isNumeric")});var IB=A(fh=>{"use strict";var ZOe=fh&&fh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fh,"__esModule",{value:!0});fh.TargetFile=fh.MetaFile=void 0;var eLe=ZOe(require("crypto")),vP=ZOe(require("util")),dh=Xl(),xP=Ec(),RK=class t{static{o(this,"MetaFile")}version;length;hashes;unrecognizedFields;constructor(e){if(e.version<=0)throw new dh.ValueError("Metafile version must be at least 1");e.length!==void 0&&tLe(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&&vP.default.isDeepStrictEqual(this.hashes,e.hashes)&&vP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}verify(e){if(this.length!==void 0&&e.length!==this.length)throw new dh.LengthOrHashMismatchError(`Expected length ${this.length} but got ${e.length}`);this.hashes&&Object.entries(this.hashes).forEach(([r,n])=>{let i;try{i=eLe.default.createHash(r)}catch{throw new dh.LengthOrHashMismatchError(`Hash algorithm ${r} not supported`)}let s=i.update(e).digest("hex");if(s!==n)throw new dh.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(xP.guard.isDefined(n)&&typeof n!="number")throw new TypeError("length must be a number");if(xP.guard.isDefined(i)&&!xP.guard.isStringRecord(i))throw new TypeError("hashes must be string keys and values");return new t({version:r,length:n,hashes:i,unrecognizedFields:s})}};fh.MetaFile=RK;var TK=class t{static{o(this,"TargetFile")}length;path;hashes;unrecognizedFields;constructor(e){tLe(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&&vP.default.isDeepStrictEqual(this.hashes,e.hashes)&&vP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields):!1}async verify(e){let r=0,n=Object.keys(this.hashes).reduce((i,s)=>{try{i[s]=eLe.default.createHash(s)}catch{throw new dh.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 dh.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 dh.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(!xP.guard.isStringRecord(i))throw new TypeError("hashes must have string keys and values");return new t({length:n,path:e,hashes:i,unrecognizedFields:s})}};fh.TargetFile=TK;function tLe(t){if(t<0)throw new dh.ValueError("Length must be at least 0")}o(tLe,"validateLength")});var rLe=A(DK=>{"use strict";Object.defineProperty(DK,"__esModule",{value:!0});DK.encodeOIDString=QMt;var DMt=6;function QMt(t){let e=t.split("."),r=parseInt(e[0],10)*40+parseInt(e[1],10),n=[];e.slice(2).forEach(s=>{let a=kMt(parseInt(s,10));n.push(...a)});let i=Buffer.from([r,...n]);return Buffer.from([DMt,i.length,...i])}o(QMt,"encodeOIDString");function kMt(t){let e=[],r=0;for(;t>0;)e.unshift(t&127|r),t>>=7,r=128;return e}o(kMt,"encodeVariableLengthInteger")});var oLe=A(BB=>{"use strict";var PMt=BB&&BB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(BB,"__esModule",{value:!0});BB.getPublicKey=MMt;var lC=PMt(require("crypto")),SB=Xl(),QK=rLe(),NP=48,nLe=3,iLe=0,OMt="1.3.101.112",LMt="1.2.840.10045.2.1",FMt="1.2.840.10045.3.1.7",kK="-----BEGIN PUBLIC KEY-----";function MMt(t){switch(t.keyType){case"rsa":return UMt(t);case"ed25519":return qMt(t);case"ecdsa":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":return GMt(t);default:throw new SB.UnsupportedAlgorithmError(`Unsupported key type: ${t.keyType}`)}}o(MMt,"getPublicKey");function UMt(t){if(!t.keyVal.startsWith(kK))throw new SB.CryptoError("Invalid key format");let e=lC.default.createPublicKey(t.keyVal);if(t.scheme==="rsassa-pss-sha256")return{key:e,padding:lC.default.constants.RSA_PKCS1_PSS_PADDING};throw new SB.UnsupportedAlgorithmError(`Unsupported RSA scheme: ${t.scheme}`)}o(UMt,"getRSAPublicKey");function qMt(t){let e;if(t.keyVal.startsWith(kK))e=lC.default.createPublicKey(t.keyVal);else{if(!sLe(t.keyVal))throw new SB.CryptoError("Invalid key format");e=lC.default.createPublicKey({key:HMt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(qMt,"getED25519PublicKey");function GMt(t){let e;if(t.keyVal.startsWith(kK))e=lC.default.createPublicKey(t.keyVal);else{if(!sLe(t.keyVal))throw new SB.CryptoError("Invalid key format");e=lC.default.createPublicKey({key:VMt.hexToDER(t.keyVal),format:"der",type:"spki"})}return{key:e}}o(GMt,"getECDCSAPublicKey");var HMt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=(0,QK.encodeOIDString)(OMt),n=Buffer.concat([Buffer.concat([Buffer.from([NP]),Buffer.from([r.length]),r]),Buffer.concat([Buffer.from([nLe]),Buffer.from([e.length+1]),Buffer.from([iLe]),e])]);return Buffer.concat([Buffer.from([NP]),Buffer.from([n.length]),n])},"hexToDER")},VMt={hexToDER:o(t=>{let e=Buffer.from(t,"hex"),r=Buffer.concat([Buffer.from([nLe]),Buffer.from([e.length+1]),Buffer.from([iLe]),e]),n=Buffer.concat([(0,QK.encodeOIDString)(LMt),(0,QK.encodeOIDString)(FMt)]),i=Buffer.concat([Buffer.from([NP]),Buffer.from([n.length]),n]);return Buffer.concat([Buffer.from([NP]),Buffer.from([i.length+r.length]),i,r])},"hexToDER")},sLe=o(t=>/^[0-9a-fA-F]+$/.test(t),"isHex")});var _P=A(uC=>{"use strict";var zMt=uC&&uC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uC,"__esModule",{value:!0});uC.Key=void 0;var aLe=zMt(require("util")),xB=Xl(),cLe=Ec(),jMt=oLe(),PK=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 xB.UnsignedMetadataError("no signature for key found in metadata");if(!this.keyVal.public)throw new xB.UnsignedMetadataError("no public key found");let n=(0,jMt.getPublicKey)({keyType:this.keyType,scheme:this.scheme,keyVal:this.keyVal.public}),i=e.signed.toJSON();try{if(!cLe.crypto.verifySignature(i,n,r.sig))throw new xB.UnsignedMetadataError(`failed to verify ${this.keyID} signature`)}catch(s){throw s instanceof xB.UnsignedMetadataError?s:new xB.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&&aLe.default.isDeepStrictEqual(this.keyVal,e.keyVal)&&aLe.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(!cLe.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})}};uC.Key=PK});var uLe=A(GA=>{"use strict";Object.defineProperty(GA,"__esModule",{value:!0});GA.range=GA.balanced=void 0;var $Mt=o((t,e,r)=>{let n=t instanceof RegExp?lLe(t,r):t,i=e instanceof RegExp?lLe(e,r):e,s=n!==null&&i!=null&&(0,GA.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");GA.balanced=$Mt;var lLe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),JMt=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");GA.range=JMt});var gLe=A(dC=>{"use strict";Object.defineProperty(dC,"__esModule",{value:!0});dC.EXPANSION_MAX=void 0;dC.expand=aUt;var dLe=uLe(),fLe="\0SLASH"+Math.random()+"\0",hLe="\0OPEN"+Math.random()+"\0",LK="\0CLOSE"+Math.random()+"\0",pLe="\0COMMA"+Math.random()+"\0",ALe="\0PERIOD"+Math.random()+"\0",WMt=new RegExp(fLe,"g"),YMt=new RegExp(hLe,"g"),KMt=new RegExp(LK,"g"),XMt=new RegExp(pLe,"g"),ZMt=new RegExp(ALe,"g"),eUt=/\\\\/g,tUt=/\\{/g,rUt=/\\}/g,nUt=/\\,/g,iUt=/\\\./g;dC.EXPANSION_MAX=1e5;function OK(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(OK,"numeric");function sUt(t){return t.replace(eUt,fLe).replace(tUt,hLe).replace(rUt,LK).replace(nUt,pLe).replace(iUt,ALe)}o(sUt,"escapeBraces");function oUt(t){return t.replace(WMt,"\\").replace(YMt,"{").replace(KMt,"}").replace(XMt,",").replace(ZMt,".")}o(oUt,"unescapeBraces");function mLe(t){if(!t)return[""];let e=[],r=(0,dLe.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=mLe(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(mLe,"parseCommaParts");function aUt(t,e={}){if(!t)return[];let{max:r=dC.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),vB(sUt(t),r,!0).map(oUt)}o(aUt,"expand");function cUt(t){return"{"+t+"}"}o(cUt,"embrace");function lUt(t){return/^-?0\d/.test(t)}o(lUt,"isPadded");function uUt(t,e){return t<=e}o(uUt,"lte");function dUt(t,e){return t>=e}o(dUt,"gte");function vB(t,e,r){let n=[],i=(0,dLe.balanced)("{","}",t);if(!i)return[t];let s=i.pre,a=i.post.length?vB(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+LK+i.post,vB(t,e,!0)):[t];let f;if(u)f=i.body.split(/\.\./);else if(f=mLe(i.body),f.length===1&&f[0]!==void 0&&(f=vB(f[0],e,!1).map(cUt),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=OK(f[0]),m=OK(f[1]),g=Math.max(f[0].length,f[1].length),E=f.length===3&&f[2]!==void 0?Math.max(Math.abs(OK(f[2])),1):1,y=uUt;m0){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(RP,"__esModule",{value:!0});RP.assertValidPattern=void 0;var fUt=1024*64,hUt=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>fUt)throw new TypeError("pattern is too long")},"assertValidPattern");RP.assertValidPattern=hUt});var CLe=A(TP=>{"use strict";Object.defineProperty(TP,"__esModule",{value:!0});TP.parseClass=void 0;var pUt={"[: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]},NB=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),AUt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),ELe=o(t=>t.join(""),"rangesToString"),mUt=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(NB(f)+"-"+NB(g)):g===f&&n.push(NB(g)),f="",s++;continue}if(t.startsWith("-]",s+1)){n.push(NB(g+"-")),s+=2;continue}if(t.startsWith("-",s+1)){f=g,s+=2;continue}n.push(NB(g)),s++}if(d{"use strict";Object.defineProperty(DP,"__esModule",{value:!0});DP.unescape=void 0;var gUt=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");DP.unescape=gUt});var UK=A(LP=>{"use strict";var Gs;Object.defineProperty(LP,"__esModule",{value:!0});LP.AST=void 0;var yUt=CLe(),kP=QP(),EUt=new Set(["!","?","+","*","@"]),FK=o(t=>EUt.has(t),"isExtglobType"),bLe=o(t=>FK(t.type),"isExtglobAST"),CUt=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),bUt=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),wUt=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),wLe=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),IUt="(?!(?:^|/)\\.\\.?(?:$|/))",PP="(?!\\.)",SUt=new Set(["[","."]),BUt=new Set(["..","."]),xUt=new Set("().*{}+?[]^$\\!"),vUt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),MK="[^/]",ILe=MK+"*?",SLe=MK+"+?",NUt=0,OP=class{static{o(this,"AST")}type;#e;#t;#n=!1;#r=[];#i;#s;#l;#a=!1;#c;#o;#f=!1;id=++NUt;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[m,g,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,m}).join(""),d="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&BUt.has(this.#r[0]))){let m=SUt,g=r&&m.has(u.charAt(0))||u.startsWith("\\.")&&m.has(u.charAt(2))||u.startsWith("\\.\\.")&&m.has(u.charAt(4)),E=!r&&!e&&m.has(u.charAt(0));d=g?IUt:E?PP:""}let f="";return this.isEnd()&&this.#e.#a&&this.#i?.type==="!"&&(f="(?:$|\\/)"),[d+u+f,(0,kP.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,kP.unescape)(this.toString()),!1,!1]}let a=!n||e||r||!PP?"":this.#I(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let c="";if(this.type==="!"&&this.#f)c=(this.isStart()&&!r?PP:"")+SLe;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?PP:"")+ILe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=i+s+l}return[c,(0,kP.unescape)(s),this.#t=!!this.#t,this.#n]}#d(){if(bLe(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(FP,"__esModule",{value:!0});FP.escape=void 0;var _Ut=o((t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");FP.escape=_Ut});var TLe=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 RUt=gLe(),MP=yLe(),vLe=UK(),TUt=qK(),DUt=QP(),QUt=o((t,e,r={})=>((0,MP.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new HA(e,r).match(t)),"minimatch");me.minimatch=QUt;var kUt=/^\*+([^+@!?*[(]*)$/,PUt=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),OUt=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),LUt=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),FUt=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),MUt=/^\*+\.\*+$/,UUt=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),qUt=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),GUt=/^\.\*+$/,HUt=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),VUt=/^\*+$/,zUt=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),jUt=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),$Ut=/^\?+([^+@!?*[(]*)?$/,JUt=o(([t,e=""])=>{let r=NLe([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),WUt=o(([t,e=""])=>{let r=_Le([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),YUt=o(([t,e=""])=>{let r=_Le([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTestDot"),KUt=o(([t,e=""])=>{let r=NLe([t]);return e?n=>r(n)&&n.endsWith(e):r},"qmarksTest"),NLe=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),_Le=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),RLe=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",BLe={win32:{sep:"\\"},posix:{sep:"/"}};me.sep=RLe==="win32"?BLe.win32.sep:BLe.posix.sep;me.minimatch.sep=me.sep;me.GLOBSTAR=Symbol("globstar **");me.minimatch.GLOBSTAR=me.GLOBSTAR;var XUt="[^/]",ZUt=XUt+"*?",eqt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",tqt="(?:(?!(?:\\/|^)\\.).)*?",rqt=o((t,e={})=>r=>(0,me.minimatch)(r,t,e),"filter");me.filter=rqt;me.minimatch.filter=me.filter;var Na=o((t,e={})=>Object.assign({},t,e),"ext"),nqt=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,Na(t,s)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(i,s={}){super(i,Na(t,s))}static defaults(i){return e.defaults(Na(t,i)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(i,s,a={}){super(i,s,Na(t,a))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Na(t,s))}},unescape:o((n,i={})=>e.unescape(n,Na(t,i)),"unescape"),escape:o((n,i={})=>e.escape(n,Na(t,i)),"escape"),filter:o((n,i={})=>e.filter(n,Na(t,i)),"filter"),defaults:o(n=>e.defaults(Na(t,n)),"defaults"),makeRe:o((n,i={})=>e.makeRe(n,Na(t,i)),"makeRe"),braceExpand:o((n,i={})=>e.braceExpand(n,Na(t,i)),"braceExpand"),match:o((n,i,s={})=>e.match(n,i,Na(t,s)),"match"),sep:e.sep,GLOBSTAR:me.GLOBSTAR})},"defaults");me.defaults=nqt;me.minimatch.defaults=me.defaults;var iqt=o((t,e={})=>((0,MP.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,RUt.expand)(t,{max:e.braceExpandMax})),"braceExpand");me.braceExpand=iqt;me.minimatch.braceExpand=me.braceExpand;var sqt=o((t,e={})=>new HA(t,e).makeRe(),"makeRe");me.makeRe=sqt;me.minimatch.makeRe=me.makeRe;var oqt=o((t,e,r={})=>{let n=new HA(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t},"match");me.match=oqt;me.minimatch.match=me.match;var xLe=/[?*]|[+@!]\(.*?\)|\[|\]/,aqt=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),HA=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,MP.assertValidPattern)(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||RLe,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]==="?"||!xLe.test(s[2]))&&!xLe.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 w=i;w{let u=l.map(f=>{if(f instanceof RegExp)for(let h of f.flags.split(""))i.add(h);return typeof f=="string"?aqt(f):f===me.GLOBSTAR?me.GLOBSTAR:f._src});u.forEach((f,h)=>{let p=u[h+1],m=u[h-1];f!==me.GLOBSTAR||m===me.GLOBSTAR||(m===void 0?p!==void 0&&p!==me.GLOBSTAR?u[h+1]="(?:\\/|"+n+"\\/)?"+p:u[h]=n:p===void 0?u[h-1]=m+"(?:\\/|\\/"+n+")?":p!==me.GLOBSTAR&&(u[h-1]=m+"(?:\\/|\\/"+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=HA;var cqt=UK();Object.defineProperty(me,"AST",{enumerable:!0,get:o(function(){return cqt.AST},"get")});var lqt=qK();Object.defineProperty(me,"escape",{enumerable:!0,get:o(function(){return lqt.escape},"get")});var uqt=QP();Object.defineProperty(me,"unescape",{enumerable:!0,get:o(function(){return uqt.unescape},"get")});me.minimatch.AST=vLe.AST;me.minimatch.Minimatch=HA;me.minimatch.escape=TUt.escape;me.minimatch.unescape=DUt.unescape});var VK=A(_a=>{"use strict";var DLe=_a&&_a.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_a,"__esModule",{value:!0});_a.SuccinctRoles=_a.DelegatedRole=_a.Role=_a.TOP_LEVEL_ROLE_NAMES=void 0;var QLe=DLe(require("crypto")),dqt=TLe(),UP=DLe(require("util")),qP=Xl(),VA=Ec();_a.TOP_LEVEL_ROLE_NAMES=["root","targets","snapshot","timestamp"];var _B=class t{static{o(this,"Role")}keyIDs;threshold;unrecognizedFields;constructor(e){let{keyIDs:r,threshold:n,unrecognizedFields:i}=e;if(fqt(r))throw new qP.ValueError("duplicate key IDs found");if(n<1)throw new qP.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&&UP.default.isDeepStrictEqual(this.keyIDs,e.keyIDs)&&UP.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(!VA.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})}};_a.Role=_B;function fqt(t){return new Set(t).size!==t.length}o(fqt,"hasDuplicates");var GK=class t extends _B{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 qP.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&&UP.default.isDeepStrictEqual(this.paths,e.paths)&&UP.default.isDeepStrictEqual(this.pathHashPrefixes,e.pathHashPrefixes):!1}isDelegatedPath(e){if(this.paths)return this.paths.some(r=>pqt(e,r));if(this.pathHashPrefixes){let n=QLe.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(!VA.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(VA.guard.isDefined(a)&&!VA.guard.isStringArray(a))throw new TypeError("paths must be an array of strings");if(VA.guard.isDefined(c)&&!VA.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})}};_a.DelegatedRole=GK;var hqt=o((t,e)=>t.map((r,n)=>[r,e[n]]),"zip");function pqt(t,e){let r=t.split("/"),n=e.split("/");return n.length!=r.length?!1:hqt(r,n).every(([i,s])=>(0,dqt.minimatch)(i,s))}o(pqt,"isTargetInPathPattern");var HK=class t extends _B{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 qP.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=QLe.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 Aqt=fC&&fC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fC,"__esModule",{value:!0});fC.Root=void 0;var kLe=Aqt(require("util")),zK=qA(),PLe=Xl(),mqt=_P(),GP=VK(),HP=Ec(),jK=class t extends zK.Signed{static{o(this,"Root")}type=zK.MetadataKind.Root;keys;roles;consistentSnapshot;constructor(e){if(super(e),this.keys=e.keys||{},this.consistentSnapshot=e.consistentSnapshot??!0,!e.roles)this.roles=GP.TOP_LEVEL_ROLE_NAMES.reduce((r,n)=>({...r,[n]:new GP.Role({keyIDs:[],threshold:1})}),{});else{let r=new Set(Object.keys(e.roles));if(!GP.TOP_LEVEL_ROLE_NAMES.every(n=>r.has(n)))throw new PLe.ValueError("missing top-level role");this.roles=e.roles}}addKey(e,r){if(!this.roles[r])throw new PLe.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&&kLe.default.isDeepStrictEqual(this.keys,e.keys)&&kLe.default.isDeepStrictEqual(this.roles,e.roles):!1}toJSON(){return{_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,keys:gqt(this.keys),roles:yqt(this.roles),consistent_snapshot:this.consistentSnapshot,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=zK.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:Eqt(i),roles:Cqt(s),consistentSnapshot:a,unrecognizedFields:c})}};fC.Root=jK;function gqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(gqt,"keysToJSON");function yqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(yqt,"rolesToJSON");function Eqt(t){let e;if(HP.guard.isDefined(t)){if(!HP.guard.isObjectRecord(t))throw new TypeError("keys must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:mqt.Key.fromJSON(n,i)}),{})}return e}o(Eqt,"keysFromJSON");function Cqt(t){let e;if(HP.guard.isDefined(t)){if(!HP.guard.isObjectRecord(t))throw new TypeError("roles must be an object");e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:GP.Role.fromJSON(i)}),{})}return e}o(Cqt,"rolesFromJSON")});var WK=A(VP=>{"use strict";Object.defineProperty(VP,"__esModule",{value:!0});VP.Signature=void 0;var JK=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})}};VP.Signature=JK});var XK=A(hC=>{"use strict";var bqt=hC&&hC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hC,"__esModule",{value:!0});hC.Snapshot=void 0;var wqt=bqt(require("util")),YK=qA(),LLe=IB(),OLe=Ec(),KK=class t extends YK.Signed{static{o(this,"Snapshot")}type=YK.MetadataKind.Snapshot;meta;constructor(e){super(e),this.meta=e.meta||{"targets.json":new LLe.MetaFile({version:1})}}equals(e){return e instanceof t?super.equals(e)&&wqt.default.isDeepStrictEqual(this.meta,e.meta):!1}toJSON(){return{_type:this.type,meta:Iqt(this.meta),spec_version:this.specVersion,version:this.version,expires:this.expires,...this.unrecognizedFields}}static fromJSON(e){let{unrecognizedFields:r,...n}=YK.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,meta:Sqt(i),unrecognizedFields:s})}};hC.Snapshot=KK;function Iqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Iqt,"metaToJSON");function Sqt(t){let e;if(OLe.guard.isDefined(t))if(OLe.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:LLe.MetaFile.fromJSON(i)}),{});else throw new TypeError("meta field is malformed");return e}o(Sqt,"metaFromJSON")});var FLe=A(pC=>{"use strict";var Bqt=pC&&pC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pC,"__esModule",{value:!0});pC.Delegations=void 0;var zP=Bqt(require("util")),xqt=Xl(),vqt=_P(),ZK=VK(),jP=Ec(),e7=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=>ZK.TOP_LEVEL_ROLE_NAMES.includes(r)))throw new xqt.ValueError("Delegated role name conflicts with top-level role name");this.succinctRoles=e.succinctRoles,this.roles=e.roles}equals(e){return e instanceof t?zP.default.isDeepStrictEqual(this.keys,e.keys)&&zP.default.isDeepStrictEqual(this.roles,e.roles)&&zP.default.isDeepStrictEqual(this.unrecognizedFields,e.unrecognizedFields)&&zP.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:Nqt(this.keys),...this.unrecognizedFields};return this.roles?e.roles=_qt(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 jP.guard.isObject(i)&&(a=ZK.SuccinctRoles.fromJSON(i)),new t({keys:Rqt(r),roles:Tqt(n),unrecognizedFields:s,succinctRoles:a})}};pC.Delegations=e7;function Nqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Nqt,"keysToJSON");function _qt(t){return Object.values(t).map(e=>e.toJSON())}o(_qt,"rolesToJSON");function Rqt(t){if(!jP.guard.isObjectRecord(t))throw new TypeError("keys is malformed");return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:vqt.Key.fromJSON(r,n)}),{})}o(Rqt,"keysFromJSON");function Tqt(t){let e;if(jP.guard.isDefined(t)){if(!jP.guard.isObjectArray(t))throw new TypeError("roles is malformed");e=t.reduce((r,n)=>{let i=ZK.DelegatedRole.fromJSON(n);return{...r,[i.name]:i}},{})}return e}o(Tqt,"rolesFromJSON")});var n7=A(AC=>{"use strict";var Dqt=AC&&AC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(AC,"__esModule",{value:!0});AC.Targets=void 0;var MLe=Dqt(require("util")),t7=qA(),Qqt=FLe(),kqt=IB(),$P=Ec(),r7=class t extends t7.Signed{static{o(this,"Targets")}type=t7.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)&&MLe.default.isDeepStrictEqual(this.targets,e.targets)&&MLe.default.isDeepStrictEqual(this.delegations,e.delegations):!1}toJSON(){let e={_type:this.type,spec_version:this.specVersion,version:this.version,expires:this.expires,targets:Pqt(this.targets),...this.unrecognizedFields};return this.delegations&&(e.delegations=this.delegations.toJSON()),e}static fromJSON(e){let{unrecognizedFields:r,...n}=t7.Signed.commonFieldsFromJSON(e),{targets:i,delegations:s,...a}=r;return new t({...n,targets:Oqt(i),delegations:Lqt(s),unrecognizedFields:a})}};AC.Targets=r7;function Pqt(t){return Object.entries(t).reduce((e,[r,n])=>({...e,[r]:n.toJSON()}),{})}o(Pqt,"targetsToJSON");function Oqt(t){let e;if($P.guard.isDefined(t))if($P.guard.isObjectRecord(t))e=Object.entries(t).reduce((r,[n,i])=>({...r,[n]:kqt.TargetFile.fromJSON(n,i)}),{});else throw new TypeError("targets must be an object");return e}o(Oqt,"targetsFromJSON");function Lqt(t){let e;if($P.guard.isDefined(t))if($P.guard.isObject(t))e=Qqt.Delegations.fromJSON(t);else throw new TypeError("delegations must be an object");return e}o(Lqt,"delegationsFromJSON")});var a7=A(JP=>{"use strict";Object.defineProperty(JP,"__esModule",{value:!0});JP.Timestamp=void 0;var i7=qA(),ULe=IB(),s7=Ec(),o7=class t extends i7.Signed{static{o(this,"Timestamp")}type=i7.MetadataKind.Timestamp;snapshotMeta;constructor(e){super(e),this.snapshotMeta=e.snapshotMeta||new ULe.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}=i7.Signed.commonFieldsFromJSON(e),{meta:i,...s}=r;return new t({...n,snapshotMeta:Fqt(i),unrecognizedFields:s})}};JP.Timestamp=o7;function Fqt(t){let e;if(s7.guard.isDefined(t)){let r=t["snapshot.json"];if(!s7.guard.isDefined(r)||!s7.guard.isObject(r))throw new TypeError("missing snapshot.json in meta");e=ULe.MetaFile.fromJSON(r)}return e}o(Fqt,"snapshotMetaFromJSON")});var GLe=A(gC=>{"use strict";var Mqt=gC&&gC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gC,"__esModule",{value:!0});gC.Metadata=void 0;var Uqt=xK(),qLe=Mqt(require("util")),mC=qA(),RB=Xl(),qqt=$K(),Gqt=WK(),Hqt=XK(),Vqt=n7(),zqt=a7(),c7=Ec(),l7=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,Uqt.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 mC.MetadataKind.Root:i=this.signed.keys,n=this.signed.roles[e];break;case mC.MetadataKind.Targets:if(!this.signed.delegations)throw new RB.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 RB.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(!c7.guard.isDefined(n)||!c7.guard.isObject(n))throw new TypeError("signed is not defined");if(e!==n._type)throw new RB.ValueError(`expected '${e}', got ${n._type}`);if(!c7.guard.isObjectArray(i))throw new TypeError("signatures is not an array");let a;switch(e){case mC.MetadataKind.Root:a=qqt.Root.fromJSON(n);break;case mC.MetadataKind.Timestamp:a=zqt.Timestamp.fromJSON(n);break;case mC.MetadataKind.Snapshot:a=Hqt.Snapshot.fromJSON(n);break;case mC.MetadataKind.Targets:a=Vqt.Targets.fromJSON(n);break;default:throw new TypeError("invalid metadata type")}let c={};return i.forEach(l=>{let u=Gqt.Signature.fromJSON(l);if(c[u.keyID])throw new RB.ValueError(`multiple signatures found for keyid: ${u.keyID}`);c[u.keyID]=u}),new t(a,c,s)}};gC.Metadata=l7});var WP=A(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.Timestamp=Br.Targets=Br.Snapshot=Br.Signature=Br.Root=Br.Metadata=Br.Key=Br.TargetFile=Br.MetaFile=Br.ValueError=Br.MetadataKind=void 0;var jqt=qA();Object.defineProperty(Br,"MetadataKind",{enumerable:!0,get:o(function(){return jqt.MetadataKind},"get")});var $qt=Xl();Object.defineProperty(Br,"ValueError",{enumerable:!0,get:o(function(){return $qt.ValueError},"get")});var HLe=IB();Object.defineProperty(Br,"MetaFile",{enumerable:!0,get:o(function(){return HLe.MetaFile},"get")});Object.defineProperty(Br,"TargetFile",{enumerable:!0,get:o(function(){return HLe.TargetFile},"get")});var Jqt=_P();Object.defineProperty(Br,"Key",{enumerable:!0,get:o(function(){return Jqt.Key},"get")});var Wqt=GLe();Object.defineProperty(Br,"Metadata",{enumerable:!0,get:o(function(){return Wqt.Metadata},"get")});var Yqt=$K();Object.defineProperty(Br,"Root",{enumerable:!0,get:o(function(){return Yqt.Root},"get")});var Kqt=WK();Object.defineProperty(Br,"Signature",{enumerable:!0,get:o(function(){return Kqt.Signature},"get")});var Xqt=XK();Object.defineProperty(Br,"Snapshot",{enumerable:!0,get:o(function(){return Xqt.Snapshot},"get")});var Zqt=n7();Object.defineProperty(Br,"Targets",{enumerable:!0,get:o(function(){return Zqt.Targets},"get")});var e3t=a7();Object.defineProperty(Br,"Timestamp",{enumerable:!0,get:o(function(){return e3t.Timestamp},"get")})});var zLe=A((wOr,VLe)=>{var yC=1e3,EC=yC*60,CC=EC*60,zA=CC*24,t3t=zA*7,r3t=zA*365.25;VLe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return n3t(t);if(r==="number"&&isFinite(t))return e.long?s3t(t):i3t(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function n3t(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*r3t;case"weeks":case"week":case"w":return r*t3t;case"days":case"day":case"d":return r*zA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*CC;case"minutes":case"minute":case"mins":case"min":case"m":return r*EC;case"seconds":case"second":case"secs":case"sec":case"s":return r*yC;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(n3t,"parse");function i3t(t){var e=Math.abs(t);return e>=zA?Math.round(t/zA)+"d":e>=CC?Math.round(t/CC)+"h":e>=EC?Math.round(t/EC)+"m":e>=yC?Math.round(t/yC)+"s":t+"ms"}o(i3t,"fmtShort");function s3t(t){var e=Math.abs(t);return e>=zA?YP(t,e,zA,"day"):e>=CC?YP(t,e,CC,"hour"):e>=EC?YP(t,e,EC,"minute"):e>=yC?YP(t,e,yC,"second"):t+" ms"}o(s3t,"fmtLong");function YP(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(YP,"plural")});var u7=A((SOr,jLe)=>{function o3t(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=zLe(),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 j=r.formatters[v];if(typeof j=="function"){let T=E[B];M=j.call(y,T),E.splice(B,1),B--}return M}),r.formatArgs.call(y,E),(y.log||r.log).apply(y,E)}return o(g,"debug"),g.namespace=d,g.useColors=r.useColors(),g.color=r.selectColor(d),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,m=r.enabled(d)),m),"get"),set:o(E=>{h=E},"set")}),typeof r.init=="function"&&r.init(g),g}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,m=-1,g=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(o3t,"setup");jLe.exports=o3t});var $Le=A((Hs,KP)=>{Hs.formatArgs=c3t;Hs.save=l3t;Hs.load=u3t;Hs.useColors=a3t;Hs.storage=d3t();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 a3t(){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(a3t,"useColors");function c3t(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+KP.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(c3t,"formatArgs");Hs.log=console.debug||console.log||(()=>{});function l3t(t){try{t?Hs.storage.setItem("debug",t):Hs.storage.removeItem("debug")}catch{}}o(l3t,"save");function u3t(){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(u3t,"load");function d3t(){try{return localStorage}catch{}}o(d3t,"localstorage");KP.exports=u7()(Hs);var{formatters:f3t}=KP.exports;f3t.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var WLe=A((ii,ZP)=>{var h3t=require("tty"),XP=require("util");ii.init=C3t;ii.log=g3t;ii.formatArgs=A3t;ii.save=y3t;ii.load=E3t;ii.useColors=p3t;ii.destroy=XP.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ii.colors=[6,2,3,4,5,1];try{let t=H3();t&&(t.stderr||t).level>=2&&(ii.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{}ii.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 p3t(){return"colors"in ii.inspectOpts?!!ii.inspectOpts.colors:h3t.isatty(process.stderr.fd)}o(p3t,"useColors");function A3t(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+"+ZP.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=h3t()+e+" "+t[0]}o(f3t,"formatArgs");function h3t(){return ii.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(h3t,"getDate");function p3t(...t){return process.stderr.write(XP.formatWithOptions(ii.inspectOpts,...t)+` -`)}o(p3t,"log");function A3t(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(A3t,"save");function m3t(){return process.env.DEBUG}o(m3t,"load");function g3t(t){t.inspectOpts={};let e=Object.keys(ii.inspectOpts);for(let r=0;re.trim()).join(" ")};$Le.O=function(t){return this.inspectOpts.colors=this.useColors,XP.inspect(t,this.inspectOpts)}});var d7=A((SOr,u7)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?u7.exports=jLe():u7.exports=JLe()});var tO=A($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.DownloadHTTPError=$r.DownloadLengthMismatchError=$r.DownloadError=$r.ExpiredMetadataError=$r.EqualVersionError=$r.BadVersionError=$r.RepositoryError=$r.PersistError=$r.RuntimeError=$r.ValueError=void 0;var f7=class extends Error{static{o(this,"ValueError")}};$r.ValueError=f7;var h7=class extends Error{static{o(this,"RuntimeError")}};$r.RuntimeError=h7;var p7=class extends Error{static{o(this,"PersistError")}};$r.PersistError=p7;var TB=class extends Error{static{o(this,"RepositoryError")}};$r.RepositoryError=TB;var eO=class extends TB{static{o(this,"BadVersionError")}};$r.BadVersionError=eO;var A7=class extends eO{static{o(this,"EqualVersionError")}};$r.EqualVersionError=A7;var m7=class extends TB{static{o(this,"ExpiredMetadataError")}};$r.ExpiredMetadataError=m7;var DB=class extends Error{static{o(this,"DownloadError")}};$r.DownloadError=DB;var g7=class extends DB{static{o(this,"DownloadLengthMismatchError")}};$r.DownloadLengthMismatchError=g7;var y7=class extends DB{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};$r.DownloadHTTPError=y7});var YLe=A(wC=>{"use strict";var C7=wC&&wC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wC,"__esModule",{value:!0});wC.withTempFile=void 0;var E7=C7(require("fs/promises")),y3t=C7(require("os")),WLe=C7(require("path")),E3t=o(async t=>C3t(async e=>t(WLe.default.join(e,"tempfile"))),"withTempFile");wC.withTempFile=E3t;var C3t=o(async t=>{let e=await E7.default.realpath(y3t.default.tmpdir()),r=await E7.default.mkdtemp(e+WLe.default.sep);try{return await t(r)}finally{await E7.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var XLe=A((_Or,KLe)=>{var b7=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)}};KLe.exports={RetryOperation:b7}});var tFe=A((TOr,eFe)=>{var{RetryOperation:b3t}=XLe(),ZLe=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"),w3t=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),I3t=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(ZLe(0,i))}let n=new b3t(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(!w3t(c))return s(c);if(!n.retry(c.retried||new Error))return s(c.retried)}})})},"promiseRetry");eFe.exports={promiseRetry:I3t}});var S7=A(hh=>{"use strict";var I7=hh&&hh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hh,"__esModule",{value:!0});hh.DefaultFetcher=hh.BaseFetcher=void 0;var S3t=I7(d7()),rFe=I7(require("fs")),B3t=I7(require("util")),nFe=tO(),x3t=YLe(),v3t=tFe(),N3t=(0,S3t.default)("tuf:fetch"),_3t="User-Agent",rO=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,x3t.withTempFile)(async i=>{let s=await this.fetch(e),a=0,c=rFe.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 nFe.DownloadLengthMismatchError("Max length reached");await R3t(c,Buffer.from(d))}}finally{l.releaseLock(),await B3t.default.promisify(c.close).bind(c)()}return n(i)})}async downloadBytes(e,r){return this.downloadFile(e,r,async n=>{let i=rFe.default.createReadStream(n),s=[];for await(let a of i)s.push(a);return Buffer.concat(s)})}};hh.BaseFetcher=rO;var w7=class extends rO{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,v3t.promiseRetry)(async(n,i)=>{N3t("GET %s (attempt %d)",e,i);let s;try{s=await fetch(e,{headers:{[_3t]: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 nFe.DownloadHTTPError("Failed to download",s.status);if(r&&s.status>=500&&s.status<600)return n(a);throw a}return s.body},this.retry)}};hh.DefaultFetcher=w7;var R3t=o(async(t,e)=>new Promise((r,n)=>{t.write(e,i=>{i&&n(i),r(!0)})}),"writeBufferToStream")});var iFe=A((POr,T3t)=>{T3t.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 sFe=A(nO=>{"use strict";Object.defineProperty(nO,"__esModule",{value:!0});nO.defaultConfig=void 0;nO.defaultConfig={maxRootRotations:256,maxDelegations:32,rootMaxLength:512e3,timestampMaxLength:16384,snapshotMaxLength:2e6,targetsMaxLength:5e6,prefixTargetsWithHash:!0,fetchTimeout:1e5,fetchRetries:void 0,fetchRetry:2,userAgent:""}});var oFe=A(iO=>{"use strict";Object.defineProperty(iO,"__esModule",{value:!0});iO.TrustedMetadataStore=void 0;var Bn=WP(),Tr=tO(),B7=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=Bn.Metadata.fromJSON(Bn.MetadataKind.Root,r);if(n.signed.type!=Bn.MetadataKind.Root)throw new Tr.RepositoryError(`Expected 'root', got ${n.signed.type}`);if(this.root.verifyDelegate(Bn.MetadataKind.Root,n),n.signed.version!=this.root.signed.version+1)throw new Tr.BadVersionError(`Expected version ${this.root.signed.version+1}, got ${n.signed.version}`);return n.verifyDelegate(Bn.MetadataKind.Root,n),this.trustedSet.root=n,n}updateTimestamp(e){if(this.snapshot)throw new Tr.RuntimeError("Cannot update timestamp after snapshot");if(this.root.signed.isExpired(this.referenceTime))throw new Tr.ExpiredMetadataError("Final root.json is expired");let r=JSON.parse(e.toString("utf8")),n=Bn.Metadata.fromJSON(Bn.MetadataKind.Timestamp,r);if(n.signed.type!=Bn.MetadataKind.Timestamp)throw new Tr.RepositoryError(`Expected 'timestamp', got ${n.signed.type}`);if(this.root.verifyDelegate(Bn.MetadataKind.Timestamp,n),this.timestamp){if(n.signed.version{let l=s.signed.meta[a];if(!l)throw new Tr.RepositoryError(`Missing file ${a} in new snapshot`);if(l.version{"use strict";Object.defineProperty(x7,"__esModule",{value:!0});x7.join=Q3t;var D3t=require("url");function Q3t(t,e){return new D3t.URL(k3t(t)+P3t(e)).toString()}o(Q3t,"join");function k3t(t){return t.endsWith("/")?t:t+"/"}o(k3t,"ensureTrailingSlash");function P3t(t){return t.startsWith("/")?t.slice(1):t}o(P3t,"removeLeadingSlash")});var lFe=A(Ra=>{"use strict";var O3t=Ra&&Ra.__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]})),L3t=Ra&&Ra.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_7=Ra&&Ra.__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(IC.createReadStream(l)),v7("WRITE %s",i),IC.copyFileSync(l,i)}),i}async findCachedTarget(e,r){r||(r=this.generateTargetPath(e));try{if(IC.existsSync(r))return await e.verify(IC.createReadStream(r)),r}catch{return}}loadLocalMetadata(e){let r=sO.join(this.dir,`${e}.json`);return v7("READ %s",r),IC.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 sO.join(this.targetDir,r)}persistMetadata(e,r){let n=encodeURIComponent(e);try{let i=sO.join(this.dir,`${n}.json`);v7("WRITE %s",i),IC.writeFileSync(i,r.toString("utf8"))}catch(i){throw new jA.PersistError(`Failed to persist metadata ${n} error: ${i}`)}}};Ra.Updater=N7});var uFe=A(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.Updater=ph.BaseFetcher=ph.TargetFile=void 0;var H3t=WP();Object.defineProperty(ph,"TargetFile",{enumerable:!0,get:o(function(){return H3t.TargetFile},"get")});var V3t=S7();Object.defineProperty(ph,"BaseFetcher",{enumerable:!0,get:o(function(){return V3t.BaseFetcher},"get")});var z3t=lFe();Object.defineProperty(ph,"Updater",{enumerable:!0,get:o(function(){return z3t.Updater},"get")})});var dFe=A((zOr,j3t)=>{j3t.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 T7=A(oO=>{"use strict";Object.defineProperty(oO,"__esModule",{value:!0});oO.TUFError=void 0;var R7=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}};oO.TUFError=R7});var fFe=A(kB=>{"use strict";var $3t=kB&&kB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kB,"__esModule",{value:!0});kB.readTarget=W3t;var J3t=$3t(require("fs")),aO=T7();async function W3t(t,e){let r=await Y3t(t,e);return new Promise((n,i)=>{J3t.default.readFile(r,"utf-8",(s,a)=>{s?i(new aO.TUFError({code:"TUF_READ_TARGET_ERROR",message:`error reading target ${r}`,cause:s})):n(a)})})}o(W3t,"readTarget");async function Y3t(t,e){let r;try{r=await t.getTargetInfo(e)}catch(i){throw new aO.TUFError({code:"TUF_REFRESH_METADATA_ERROR",message:"error refreshing TUF metadata",cause:i})}if(!r)throw new aO.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 aO.TUFError({code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ZlcnNpb24iOiAiMS4wIiwKICAidmVyc2lvbiI6IDE1LAogICJ4LXR1Zi1vbi1jaS1leHBpcnktcGVyaW9kIjogMTk3LAogICJ4LXR1Zi1vbi1jaS1zaWduaW5nLXBlcmlvZCI6IDQ2CiB9Cn0=",targets:{"trusted_root.json":"ewogICJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLmRldi5zaWdzdG9yZS50cnVzdGVkcm9vdCtqc29uO3ZlcnNpb249MC4xIiwKICAidGxvZ3MiOiBbCiAgICB7CiAgICAgICJiYXNlVXJsIjogImh0dHBzOi8vcmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUyRzJZKzJ0YWJkVFY1QmNHaUJJeDBhOWZBRndya0JibUxTR3RrczRMM3FYNnlZWTB6dWZCbmhDOFVyL2l5NTVHaFdQLzlBL2JZMkxoQzMwTTkrUll0dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDEtMTJUMTE6NTM6MjdaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ3Tkk5YXRRR2x6K1ZXZk82TFJ5Z0g0UVVmWS84VzRSRndpVDVpNVdSZ0IwPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9sb2cyMDI1LTEucmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlc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SUJCakFTQmdOVkhSTUJBZjhFQ0RBR0FRSC9BZ0VBTUIwR0ExVWREZ1FXQkJTWTdBSHZmN3RSLzlTVkhtK0tpSmhUQjRuT3Z6QUtCZ2dxaGtqT1BRUURBd05wQURCbUFqRUF3R0VHcmZHWlIxY2VuMVI4L0RUVk1JOTQzTHNzWm1KUnREcC9pN1NmR0htR1JQNmdSYnVqOXZPSzNiNjdaMFFRQWpFQXVUMkg2NzNMUUVhSFRjeVFTWnJrcDRtWDdXd2ttRitzVmJrWVk1bVhOK1JNSDEzS1VFSEhPcUFTYWVtWVdLL0UiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9LAogICAgICAidmFsaWRGb3IiOiB7CiAgICAgICAgInN0YXJ0IjogIjIwMjUtMDctMDRUMDA6MDA6MDBaIgogICAgICB9CiAgICB9CiAgXQp9Cg==","registry.npmjs.org%2Fkeys.json":"ewogICAgImtleXMiOiBbCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OmpsM2J3c3d1ODBQampva0NnaDBvMnc1YzJVNExoUUFFNTdnajljejFrekEiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTFPbGIzek1BRkZ4WEtIaUlrUU81Y0ozWWhsNWk2VVBwK0lodXRlQkpidUhjQTVVb2dLbzBFV3RsV3dXNktTYUtvVE5FWUw3SmxDUWlWbmtoQmt0VWdnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIxOTk5LTAxLTAxVDAwOjAwOjAwLjAwMFoiLAogICAgICAgICAgICAgICAgICAgICJlbmQiOiAiMjAyNS0wMS0yOVQwMDowMDowMC4wMDBaIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJrZXlJZCI6ICJTSEEyNTY6amwzYndzd3U4MFBqam9rQ2doMG8ydzVjMlU0TGhRQUU1N2dqOWN6MWt6QSIsCiAgICAgICAgICAgICJrZXlVc2FnZSI6ICJucG06YXR0ZXN0YXRpb25zIiwKICAgICAgICAgICAgInB1YmxpY0tleSI6IHsKICAgICAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUxT2xiM3pNQUZGeFhLSGlJa1FPNWNKM1lobDVpNlVQcCtJaHV0ZUJKYnVIY0E1VW9nS28wRVd0bFd3VzZLU2FLb1RORVlMN0psQ1FpVm5raEJrdFVnZz09IiwKICAgICAgICAgICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUNEU0FfUDI1Nl9TSEFfMjU2IiwKICAgICAgICAgICAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAgICAgICAgICAgICAic3RhcnQiOiAiMjAyMi0xMi0wMVQwMDowMDowMC4wMDBaIiwKICAgICAgICAgICAgICAgICAgICAiZW5kIjogIjIwMjUtMDEtMjlUMDA6MDA6MDAuMDAwWiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OkRoUTh3UjVBUEJ2RkhMRi8rVGMrQVl2UE9kVHBjSURxT2h4c0JIUndDN1UiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICAgImtleUlkIjogIlNIQTI1NjpEaFE4d1I1QVBCdkZITEYvK1RjK0FZdlBPZFRwY0lEcU9oeHNCSFJ3QzdVIiwKICAgICAgICAgICAgImtleVVzYWdlIjogIm5wbTphdHRlc3RhdGlvbnMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdCn0K"}}}});var mFe=A(SC=>{"use strict";var AFe=SC&&SC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(SC,"__esModule",{value:!0});SC.TUFClient=void 0;var Ah=AFe(require("fs")),PB=AFe(require("path")),X3t=uFe(),Z3t=k7(),pFe=dFe(),eGt=fFe(),Q7="targets",D7=class{static{o(this,"TUFClient")}updater;constructor(e){let r=new URL(e.mirrorURL),n=encodeURIComponent(r.host+r.pathname.replace(/\/$/,"")),i=PB.default.join(e.cachePath,n);tGt(i),rGt({cachePath:i,mirrorURL:e.mirrorURL,tufRootPath:e.rootPath,forceInit:e.forceInit}),this.updater=nGt({mirrorURL:e.mirrorURL,cachePath:i,forceCache:e.forceCache,retry:e.retry,timeout:e.timeout})}async refresh(){return this.updater.refresh()}getTarget(e){return(0,eGt.readTarget)(this.updater,e)}};SC.TUFClient=D7;function tGt(t){let e=PB.default.join(t,Q7);Ah.default.existsSync(t)||Ah.default.mkdirSync(t,{recursive:!0}),Ah.default.existsSync(e)||Ah.default.mkdirSync(e)}o(tGt,"initTufCache");function rGt({cachePath:t,mirrorURL:e,tufRootPath:r,forceInit:n}){let i=PB.default.join(t,"root.json");if(!Ah.default.existsSync(i)||n)if(r)Ah.default.copyFileSync(r,i);else{let a=hFe()[e];if(!a)throw new Z3t.TUFError({code:"TUF_INIT_CACHE_ERROR",message:`No root.json found for mirror: ${e}`});Ah.default.writeFileSync(i,Buffer.from(a["root.json"],"base64")),Object.entries(a.targets).forEach(([c,l])=>{Ah.default.writeFileSync(PB.default.join(t,Q7,c),Buffer.from(l,"base64"))})}}o(rGt,"seedCache");function nGt(t){let e={fetchTimeout:t.timeout,fetchRetry:t.retry,userAgent:`${encodeURIComponent(pFe.name)}/${pFe.version}`};return new X3t.Updater({metadataBaseUrl:t.mirrorURL,targetBaseUrl:`${t.mirrorURL}/targets`,metadataDir:t.cachePath,targetDir:PB.default.join(t.cachePath,Q7),forceCache:t.forceCache,config:e})}o(nGt,"initClient")});var k7=A(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.TUFError=Sd.DEFAULT_MIRROR_URL=void 0;Sd.getTrustedRoot=dGt;Sd.initTUF=fGt;var iGt=aC(),sGt=VOe(),oGt=mFe();Sd.DEFAULT_MIRROR_URL="https://tuf-repo-cdn.sigstore.dev";var aGt="sigstore-js",cGt={retries:2},lGt=5e3,uGt="trusted_root.json";async function dGt(t={}){let r=await gFe(t).getTarget(uGt);return iGt.TrustedRoot.fromJSON(JSON.parse(r))}o(dGt,"getTrustedRoot");async function fGt(t={}){let e=gFe(t);return e.refresh().then(()=>e)}o(fGt,"initTUF");function gFe(t){return new oGt.TUFClient({cachePath:t.cachePath||(0,sGt.appDataPath)(aGt),rootPath:t.rootPath,mirrorURL:t.mirrorURL||Sd.DEFAULT_MIRROR_URL,retry:t.retry??cGt,timeout:t.timeout??lGt,forceCache:t.forceCache??!1,forceInit:t.forceInit??t.force??!1})}o(gFe,"createClient");var hGt=T7();Object.defineProperty(Sd,"TUFError",{enumerable:!0,get:o(function(){return hGt.TUFError},"get")})});var OB=A(cO=>{"use strict";Object.defineProperty(cO,"__esModule",{value:!0});cO.ByteStream=void 0;var P7=class extends Error{static{o(this,"StreamError")}},O7=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 P7("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}};cO.ByteStream=O7});var LB=A(BC=>{"use strict";Object.defineProperty(BC,"__esModule",{value:!0});BC.ASN1TypeError=BC.ASN1ParseError=void 0;var L7=class extends Error{static{o(this,"ASN1ParseError")}};BC.ASN1ParseError=L7;var F7=class extends Error{static{o(this,"ASN1TypeError")}};BC.ASN1TypeError=F7});var yFe=A(uO=>{"use strict";Object.defineProperty(uO,"__esModule",{value:!0});uO.decodeLength=pGt;uO.encodeLength=AGt;var lO=LB();function pGt(t){let e=t.getUint8();if((e&128)===0)return e;let r=e&127;if(r>6)throw new lO.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(AGt,"encodeLength")});var CFe=A(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.parseInteger=yGt;mh.parseStringASCII=EFe;mh.parseTime=EGt;mh.parseOID=CGt;mh.parseBoolean=bGt;mh.parseBitString=wGt;var M7=LB(),mGt=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/,gGt=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function yGt(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(EGt,"parseTime");function CGt(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 M7.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(wGt,"parseBitString")});var wFe=A(dO=>{"use strict";Object.defineProperty(dO,"__esModule",{value:!0});dO.ASN1Tag=void 0;var bFe=LB(),$A={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},U7={UNIVERSAL:0,APPLICATION:1,CONTEXT_SPECIFIC:2,PRIVATE:3},q7=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 bFe.ASN1ParseError("long form tags not supported");if(this.class===U7.UNIVERSAL&&this.number===0)throw new bFe.ASN1ParseError("unsupported tag 0x00")}isUniversal(){return this.class===U7.UNIVERSAL}isContextSpecific(e){let r=this.class===U7.CONTEXT_SPECIFIC;return e!==void 0?r&&this.number===e:r}isBoolean(){return this.isUniversal()&&this.number===$A.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===$A.INTEGER}isBitString(){return this.isUniversal()&&this.number===$A.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===$A.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===$A.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===$A.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===$A.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}};dO.ASN1Tag=q7});var xFe=A(hO=>{"use strict";Object.defineProperty(hO,"__esModule",{value:!0});hO.ASN1Obj=void 0;var G7=OB(),Bd=LB(),SFe=yFe(),xC=CFe(),IGt=wFe(),fO=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 G7.ByteStream(e),n=BFe(r);if(r.position!==r.length)throw new Bd.ASN1ParseError("invalid trailing data");return n}toDER(){let e=new G7.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 G7.ByteStream;return n.appendChar(this.tag.toDER()),n.appendView((0,SFe.encodeLength)(r.length)),n.appendView(r),n.buffer}toBoolean(){if(!this.tag.isBoolean())throw new Bd.ASN1TypeError("not a boolean");return(0,xC.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger())throw new Bd.ASN1TypeError("not an integer");return(0,xC.parseInteger)(this.value)}toOID(){if(!this.tag.isOID())throw new Bd.ASN1TypeError("not an OID");return(0,xC.parseOID)(this.value)}toDate(){switch(!0){case this.tag.isUTCTime():return(0,xC.parseTime)(this.value,!0);case this.tag.isGeneralizedTime():return(0,xC.parseTime)(this.value,!1);default:throw new Bd.ASN1TypeError("not a date")}}toBitString(){if(!this.tag.isBitString())throw new Bd.ASN1TypeError("not a bit string");return(0,xC.parseBitString)(this.value)}};hO.ASN1Obj=fO;var SGt=100;function BFe(t,e=0){if(e>SGt)throw new Bd.ASN1ParseError("maximum nesting depth exceeded");let r=new IGt.ASN1Tag(t.getUint8()),n=(0,SFe.decodeLength)(t),i=t.slice(t.position,n),s=t.position,a=[];if(r.constructed)a=IFe(t,n,e);else if(r.isOctetString())try{a=IFe(t,n,e)}catch{}return a.length===0&&t.seek(s+n),new fO(r,i,a)}o(BFe,"parseStream");function IFe(t,e,r){let n=t.position+e;if(n>t.length)throw new Bd.ASN1ParseError("invalid length");let i=[];for(;t.position{"use strict";Object.defineProperty(pO,"__esModule",{value:!0});pO.ASN1Obj=void 0;var BGt=xFe();Object.defineProperty(pO,"ASN1Obj",{enumerable:!0,get:o(function(){return BGt.ASN1Obj},"get")})});var NC=A(gh=>{"use strict";var xGt=gh&&gh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gh,"__esModule",{value:!0});gh.createPublicKey=vGt;gh.digest=NGt;gh.verify=_Gt;gh.bufferEqual=RGt;var vC=xGt(require("crypto"));function vGt(t,e="spki"){return typeof t=="string"?t.startsWith("-----")?vC.default.createPublicKey(t):vC.default.createPublicKey({key:Buffer.from(t,"base64"),format:"der",type:e}):vC.default.createPublicKey({key:t,format:"der",type:e})}o(vGt,"createPublicKey");function NGt(t,...e){let r=vC.default.createHash(t);for(let n of e)r.update(n);return r.digest()}o(NGt,"digest");function _Gt(t,e,r,n){try{return vC.default.verify(n,t,e,r)}catch{return!1}}o(_Gt,"verify");function RGt(t,e){try{return vC.default.timingSafeEqual(t,e)}catch{return!1}}o(RGt,"bufferEqual")});var vFe=A(H7=>{"use strict";Object.defineProperty(H7,"__esModule",{value:!0});H7.preAuthEncoding=DGt;var TGt="DSSEv1";function DGt(t,e){let r=Buffer.from(t,"utf-8");return Buffer.concat([Buffer.from(`${TGt} ${r.length} `,"ascii"),r,Buffer.from(` ${e.length} `,"ascii"),e])}o(DGt,"preAuthEncoding")});var RFe=A(mO=>{"use strict";Object.defineProperty(mO,"__esModule",{value:!0});mO.base64Encode=QGt;mO.base64Decode=kGt;var NFe="base64",_Fe="utf-8";function QGt(t){return Buffer.from(t,_Fe).toString(NFe)}o(QGt,"base64Encode");function kGt(t){return Buffer.from(t,NFe).toString(_Fe)}o(kGt,"base64Decode")});var TFe=A(z7=>{"use strict";Object.defineProperty(z7,"__esModule",{value:!0});z7.canonicalize=V7;function V7(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+=V7(n)}),e+="]"}else{e+="{";let r=!0;Object.keys(t).sort().forEach(n=>{r||(e+=","),r=!1,e+=JSON.stringify(n),e+=":",e+=V7(t[n])}),e+="}"}return e}o(V7,"canonicalize")});var j7=A(gO=>{"use strict";Object.defineProperty(gO,"__esModule",{value:!0});gO.toDER=LGt;gO.fromDER=FGt;var PGt=/-----BEGIN (.*)-----/,OGt=/-----END (.*)-----/;function LGt(t){let e="";return t.split(` -`).forEach(r=>{r.match(PGt)||r.match(OGt)||(e+=r)}),Buffer.from(e,"base64")}o(LGt,"toDER");function FGt(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(` +`+s),t.push(i+"m+"+ZP.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=m3t()+e+" "+t[0]}o(A3t,"formatArgs");function m3t(){return ii.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(m3t,"getDate");function g3t(...t){return process.stderr.write(XP.formatWithOptions(ii.inspectOpts,...t)+` +`)}o(g3t,"log");function y3t(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(y3t,"save");function E3t(){return process.env.DEBUG}o(E3t,"load");function C3t(t){t.inspectOpts={};let e=Object.keys(ii.inspectOpts);for(let r=0;re.trim()).join(" ")};JLe.O=function(t){return this.inspectOpts.colors=this.useColors,XP.inspect(t,this.inspectOpts)}});var f7=A((NOr,d7)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?d7.exports=$Le():d7.exports=WLe()});var tO=A($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.DownloadHTTPError=$r.DownloadLengthMismatchError=$r.DownloadError=$r.ExpiredMetadataError=$r.EqualVersionError=$r.BadVersionError=$r.RepositoryError=$r.PersistError=$r.RuntimeError=$r.ValueError=void 0;var h7=class extends Error{static{o(this,"ValueError")}};$r.ValueError=h7;var p7=class extends Error{static{o(this,"RuntimeError")}};$r.RuntimeError=p7;var A7=class extends Error{static{o(this,"PersistError")}};$r.PersistError=A7;var TB=class extends Error{static{o(this,"RepositoryError")}};$r.RepositoryError=TB;var eO=class extends TB{static{o(this,"BadVersionError")}};$r.BadVersionError=eO;var m7=class extends eO{static{o(this,"EqualVersionError")}};$r.EqualVersionError=m7;var g7=class extends TB{static{o(this,"ExpiredMetadataError")}};$r.ExpiredMetadataError=g7;var DB=class extends Error{static{o(this,"DownloadError")}};$r.DownloadError=DB;var y7=class extends DB{static{o(this,"DownloadLengthMismatchError")}};$r.DownloadLengthMismatchError=y7;var E7=class extends DB{static{o(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};$r.DownloadHTTPError=E7});var KLe=A(bC=>{"use strict";var b7=bC&&bC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bC,"__esModule",{value:!0});bC.withTempFile=void 0;var C7=b7(require("fs/promises")),b3t=b7(require("os")),YLe=b7(require("path")),w3t=o(async t=>I3t(async e=>t(YLe.default.join(e,"tempfile"))),"withTempFile");bC.withTempFile=w3t;var I3t=o(async t=>{let e=await C7.default.realpath(b3t.default.tmpdir()),r=await C7.default.mkdtemp(e+YLe.default.sep);try{return await t(r)}finally{await C7.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var ZLe=A((QOr,XLe)=>{var w7=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)}};XLe.exports={RetryOperation:w7}});var rFe=A((POr,tFe)=>{var{RetryOperation:S3t}=ZLe(),eFe=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"),B3t=o(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),x3t=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(eFe(0,i))}let n=new S3t(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(!B3t(c))return s(c);if(!n.retry(c.retried||new Error))return s(c.retried)}})})},"promiseRetry");tFe.exports={promiseRetry:x3t}});var B7=A(hh=>{"use strict";var S7=hh&&hh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hh,"__esModule",{value:!0});hh.DefaultFetcher=hh.BaseFetcher=void 0;var v3t=S7(f7()),nFe=S7(require("fs")),N3t=S7(require("util")),iFe=tO(),_3t=KLe(),R3t=rFe(),T3t=(0,v3t.default)("tuf:fetch"),D3t="User-Agent",rO=class{static{o(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,_3t.withTempFile)(async i=>{let s=await this.fetch(e),a=0,c=nFe.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 iFe.DownloadLengthMismatchError("Max length reached");await Q3t(c,Buffer.from(d))}}finally{l.releaseLock(),await N3t.default.promisify(c.close).bind(c)()}return n(i)})}async downloadBytes(e,r){return this.downloadFile(e,r,async n=>{let i=nFe.default.createReadStream(n),s=[];for await(let a of i)s.push(a);return Buffer.concat(s)})}};hh.BaseFetcher=rO;var I7=class extends rO{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,R3t.promiseRetry)(async(n,i)=>{T3t("GET %s (attempt %d)",e,i);let s;try{s=await fetch(e,{headers:{[D3t]: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 iFe.DownloadHTTPError("Failed to download",s.status);if(r&&s.status>=500&&s.status<600)return n(a);throw a}return s.body},this.retry)}};hh.DefaultFetcher=I7;var Q3t=o(async(t,e)=>new Promise((r,n)=>{t.write(e,i=>{i&&n(i),r(!0)})}),"writeBufferToStream")});var sFe=A((MOr,k3t)=>{k3t.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 oFe=A(nO=>{"use strict";Object.defineProperty(nO,"__esModule",{value:!0});nO.defaultConfig=void 0;nO.defaultConfig={maxRootRotations:256,maxDelegations:32,rootMaxLength:512e3,timestampMaxLength:16384,snapshotMaxLength:2e6,targetsMaxLength:5e6,prefixTargetsWithHash:!0,fetchTimeout:1e5,fetchRetries:void 0,fetchRetry:2,userAgent:""}});var aFe=A(iO=>{"use strict";Object.defineProperty(iO,"__esModule",{value:!0});iO.TrustedMetadataStore=void 0;var Bn=WP(),Tr=tO(),x7=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=Bn.Metadata.fromJSON(Bn.MetadataKind.Root,r);if(n.signed.type!=Bn.MetadataKind.Root)throw new Tr.RepositoryError(`Expected 'root', got ${n.signed.type}`);if(this.root.verifyDelegate(Bn.MetadataKind.Root,n),n.signed.version!=this.root.signed.version+1)throw new Tr.BadVersionError(`Expected version ${this.root.signed.version+1}, got ${n.signed.version}`);return n.verifyDelegate(Bn.MetadataKind.Root,n),this.trustedSet.root=n,n}updateTimestamp(e){if(this.snapshot)throw new Tr.RuntimeError("Cannot update timestamp after snapshot");if(this.root.signed.isExpired(this.referenceTime))throw new Tr.ExpiredMetadataError("Final root.json is expired");let r=JSON.parse(e.toString("utf8")),n=Bn.Metadata.fromJSON(Bn.MetadataKind.Timestamp,r);if(n.signed.type!=Bn.MetadataKind.Timestamp)throw new Tr.RepositoryError(`Expected 'timestamp', got ${n.signed.type}`);if(this.root.verifyDelegate(Bn.MetadataKind.Timestamp,n),this.timestamp){if(n.signed.version{let l=s.signed.meta[a];if(!l)throw new Tr.RepositoryError(`Missing file ${a} in new snapshot`);if(l.version{"use strict";Object.defineProperty(v7,"__esModule",{value:!0});v7.join=O3t;var P3t=require("url");function O3t(t,e){return new P3t.URL(L3t(t)+F3t(e)).toString()}o(O3t,"join");function L3t(t){return t.endsWith("/")?t:t+"/"}o(L3t,"ensureTrailingSlash");function F3t(t){return t.startsWith("/")?t.slice(1):t}o(F3t,"removeLeadingSlash")});var uFe=A(Ra=>{"use strict";var M3t=Ra&&Ra.__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]})),U3t=Ra&&Ra.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),R7=Ra&&Ra.__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(wC.createReadStream(l)),N7("WRITE %s",i),wC.copyFileSync(l,i)}),i}async findCachedTarget(e,r){r||(r=this.generateTargetPath(e));try{if(wC.existsSync(r))return await e.verify(wC.createReadStream(r)),r}catch{return}}loadLocalMetadata(e){let r=sO.join(this.dir,`${e}.json`);return N7("READ %s",r),wC.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 sO.join(this.targetDir,r)}persistMetadata(e,r){let n=encodeURIComponent(e);try{let i=sO.join(this.dir,`${n}.json`);N7("WRITE %s",i),wC.writeFileSync(i,r.toString("utf8"))}catch(i){throw new jA.PersistError(`Failed to persist metadata ${n} error: ${i}`)}}};Ra.Updater=_7});var dFe=A(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.Updater=ph.BaseFetcher=ph.TargetFile=void 0;var j3t=WP();Object.defineProperty(ph,"TargetFile",{enumerable:!0,get:o(function(){return j3t.TargetFile},"get")});var $3t=B7();Object.defineProperty(ph,"BaseFetcher",{enumerable:!0,get:o(function(){return $3t.BaseFetcher},"get")});var J3t=uFe();Object.defineProperty(ph,"Updater",{enumerable:!0,get:o(function(){return J3t.Updater},"get")})});var fFe=A((WOr,W3t)=>{W3t.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 D7=A(oO=>{"use strict";Object.defineProperty(oO,"__esModule",{value:!0});oO.TUFError=void 0;var T7=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}};oO.TUFError=T7});var hFe=A(kB=>{"use strict";var Y3t=kB&&kB.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kB,"__esModule",{value:!0});kB.readTarget=X3t;var K3t=Y3t(require("fs")),aO=D7();async function X3t(t,e){let r=await Z3t(t,e);return new Promise((n,i)=>{K3t.default.readFile(r,"utf-8",(s,a)=>{s?i(new aO.TUFError({code:"TUF_READ_TARGET_ERROR",message:`error reading target ${r}`,cause:s})):n(a)})})}o(X3t,"readTarget");async function Z3t(t,e){let r;try{r=await t.getTargetInfo(e)}catch(i){throw new aO.TUFError({code:"TUF_REFRESH_METADATA_ERROR",message:"error refreshing TUF metadata",cause:i})}if(!r)throw new aO.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 aO.TUFError({code:"TUF_DOWNLOAD_TARGET_ERROR",message:`error downloading target ${n}`,cause:i})}return n}o(Z3t,"getTargetPath")});var pFe=A((eLr,eGt)=>{eGt.exports={"https://tuf-repo-cdn.sigstore.dev":{"root.json":"ewogInNpZ25hdHVyZXMiOiBbCiAgewogICAia2V5aWQiOiAiZTcxYTU0ZDU0MzgzNWJhODZhZGFkOTQ2MDM3OWM3NjQxZmI4NzI2ZDE2NGVhNzY2ODAxYTFjNTIyYWJhN2VhMiIsCiAgICJzaWciOiAiMzA0NTAyMjEwMGVhMmYzNzRmNDA5ODEwZTJkYjk1MDc0OWQ5Y2ZlZDA5YTE1YjZhNWUyNWYzZDVmZmQwNzk5NDU5ZDdiZWUxNjcwMjIwMjhkM2FjZGRlNmRiZDUwMzRjZmFkMjIyZDMxYjQxMDkwZWUyMTg5NGUyYzQ2Y2I4OTc0MTk4YWIwMzc3ZGI0NCIKICB9LAogIHsKICAgImtleWlkIjogIjIyZjRjYWVjNmQ4ZTZmOTU1NWFmNjZiM2Q0YzNjYjA2YTNiYjIzZmRjN2UzOWM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VHaFdQLzlBL2JZMkxoQzMwTTkrUll0dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjEtMDEtMTJUMTE6NTM6MjdaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ3Tkk5YXRRR2x6K1ZXZk82TFJ5Z0g0UVVmWS84VzRSRndpVDVpNVdSZ0IwPSIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9sb2cyMDI1LTEucmVrb3Iuc2lnc3RvcmUuZGV2IiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNQ293QlFZREsyVndBeUVBdDhybHAxa25Hd2pmYmNYQVlQWUFrbjBYaUx6MXg4TzR0MFlrRWhpZTI0ND0iLAogICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUQyNTUxOSIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjUtMDktMjNUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICJ6eEdaRlZ2ZDBGRW1qUjhXckZ3TWRjQUo5dnRhWS9RWGY0NFkxd1VlUDZBPSIKICAgICAgfQogICAgfQogIF0sCiAgImNlcnRpZmljYXRlQXV0aG9yaXRpZXMiOiBbCiAgICB7CiAgICAgICJzdWJqZWN0IjogewogICAgICAgICJvcmdhbml6YXRpb24iOiAic2lnc3RvcmUuZGV2IiwKICAgICAgICAiY29tbW9uTmFtZSI6ICJzaWdzdG9yZSIKICAgICAgfSwKICAgICAgInVyaSI6ICJodHRwczovL2Z1bGNpby5zaWdzd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QogICAgfSwKICAgIHsKICAgICAgImJhc2VVcmwiOiAiaHR0cHM6Ly9jdGZlLnNpZ3N0b3JlLmRldi8yMDIyIiwKICAgICAgImhhc2hBbGdvcml0aG0iOiAiU0hBMl8yNTYiLAogICAgICAicHVibGljS2V5IjogewogICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVpUFNsRmkwQ21GVGZFakNVcUY5SHVDRWNZWE5LQWFZYWxJSm1CWjh5eWV6UGpUcWh4cktCcE1uYW9jVnRMSkJJMWVNM3VYblF6UUdBSmRKNGdzOUZ5dz09IiwKICAgICAgICAia2V5RGV0YWlscyI6ICJQS0lYX0VDRFNBX1AyNTZfU0hBXzI1NiIsCiAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgInN0YXJ0IjogIjIwMjItMTAtMjBUMDA6MDA6MDBaIgogICAgICAgIH0KICAgICAgfSwKICAgICAgImxvZ0lkIjogewogICAgICAgICJrZXlJZCI6ICIzVDB3YXNiSEVUSmpHUjRjbVdjM0FxSktYcmplUEszL2g0cHlnQzhwN280PSIKICAgICAgfQogICAgfQogIF0sCiAgInRpbWVzdGFtcEF1dGhvcml0aWVzIjogWwogICAgewogICAgICAic3ViamVjdCI6IHsKICAgICAgICAib3JnYW5pemF0aW9uIjogInNpZ3N0b3JlLmRldiIsCiAgICAgICAgImNvbW1vbk5hbWUiOiAic2lnc3RvcmUtdHNhLXNlbGZzaWduZWQiCiAgICAgIH0sCiAgICAgICJ1cmkiOiAiaHR0cHM6Ly90aW1lc3RhbXAuc2lnc3RvcmUuZGV2L2FwaS92MS90aW1lc3RhbXAiLAogICAgICAiY2VydENoYWluIjogewogICAgICAgICJjZXJ0aWZpY2F0ZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNSUlDRURDQ0FaYWdBd0lCQWdJVU9oTlVMd3lRWWU2OHdVTXZ5NHFPaXlvaml3d3dD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ExoUUFFNTdnajljejFrekEiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRTFPbGIzek1BRkZ4WEtIaUlrUU81Y0ozWWhsNWk2VVBwK0lodXRlQkpidUhjQTVVb2dLbzBFV3RsV3dXNktTYUtvVE5FWUw3SmxDUWlWbmtoQmt0VWdnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIxOTk5LTAxLTAxVDAwOjAwOjAwLjAwMFoiLAogICAgICAgICAgICAgICAgICAgICJlbmQiOiAiMjAyNS0wMS0yOVQwMDowMDowMC4wMDBaIgogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAgICJrZXlJZCI6ICJTSEEyNTY6amwzYndzd3U4MFBqam9rQ2doMG8ydzVjMlU0TGhRQUU1N2dqOWN6MWt6QSIsCiAgICAgICAgICAgICJrZXlVc2FnZSI6ICJucG06YXR0ZXN0YXRpb25zIiwKICAgICAgICAgICAgInB1YmxpY0tleSI6IHsKICAgICAgICAgICAgICAgICJyYXdCeXRlcyI6ICJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUxT2xiM3pNQUZGeFhLSGlJa1FPNWNKM1lobDVpNlVQcCtJaHV0ZUJKYnVIY0E1VW9nS28wRVd0bFd3VzZLU2FLb1RORVlMN0psQ1FpVm5raEJrdFVnZz09IiwKICAgICAgICAgICAgICAgICJrZXlEZXRhaWxzIjogIlBLSVhfRUNEU0FfUDI1Nl9TSEFfMjU2IiwKICAgICAgICAgICAgICAgICJ2YWxpZEZvciI6IHsKICAgICAgICAgICAgICAgICAgICAic3RhcnQiOiAiMjAyMi0xMi0wMVQwMDowMDowMC4wMDBaIiwKICAgICAgICAgICAgICAgICAgICAiZW5kIjogIjIwMjUtMDEtMjlUMDA6MDA6MDAuMDAwWiIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgICAia2V5SWQiOiAiU0hBMjU2OkRoUTh3UjVBUEJ2RkhMRi8rVGMrQVl2UE9kVHBjSURxT2h4c0JIUndDN1UiLAogICAgICAgICAgICAia2V5VXNhZ2UiOiAibnBtOnNpZ25hdHVyZXMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICAgImtleUlkIjogIlNIQTI1NjpEaFE4d1I1QVBCdkZITEYvK1RjK0FZdlBPZFRwY0lEcU9oeHNCSFJ3QzdVIiwKICAgICAgICAgICAgImtleVVzYWdlIjogIm5wbTphdHRlc3RhdGlvbnMiLAogICAgICAgICAgICAicHVibGljS2V5IjogewogICAgICAgICAgICAgICAgInJhd0J5dGVzIjogIk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRVk2WWE3VysrN2FVUHp2TVRyZXpINlljeDNjK0hPS1lDY05HeWJKWlNDSnEvZmQ3UWE4dXVBS3RkSWtVUXRRaUVLRVJoQW1FNWxNTUpoUDhPa0RPYTJnPT0iLAogICAgICAgICAgICAgICAgImtleURldGFpbHMiOiAiUEtJWF9FQ0RTQV9QMjU2X1NIQV8yNTYiLAogICAgICAgICAgICAgICAgInZhbGlkRm9yIjogewogICAgICAgICAgICAgICAgICAgICJzdGFydCI6ICIyMDI1LTAxLTEzVDAwOjAwOjAwLjAwMFoiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdCn0K"}}}});var gFe=A(IC=>{"use strict";var mFe=IC&&IC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(IC,"__esModule",{value:!0});IC.TUFClient=void 0;var Ah=mFe(require("fs")),PB=mFe(require("path")),tGt=dFe(),rGt=P7(),AFe=fFe(),nGt=hFe(),k7="targets",Q7=class{static{o(this,"TUFClient")}updater;constructor(e){let r=new URL(e.mirrorURL),n=encodeURIComponent(r.host+r.pathname.replace(/\/$/,"")),i=PB.default.join(e.cachePath,n);iGt(i),sGt({cachePath:i,mirrorURL:e.mirrorURL,tufRootPath:e.rootPath,forceInit:e.forceInit}),this.updater=oGt({mirrorURL:e.mirrorURL,cachePath:i,forceCache:e.forceCache,retry:e.retry,timeout:e.timeout})}async refresh(){return this.updater.refresh()}getTarget(e){return(0,nGt.readTarget)(this.updater,e)}};IC.TUFClient=Q7;function iGt(t){let e=PB.default.join(t,k7);Ah.default.existsSync(t)||Ah.default.mkdirSync(t,{recursive:!0}),Ah.default.existsSync(e)||Ah.default.mkdirSync(e)}o(iGt,"initTufCache");function sGt({cachePath:t,mirrorURL:e,tufRootPath:r,forceInit:n}){let i=PB.default.join(t,"root.json");if(!Ah.default.existsSync(i)||n)if(r)Ah.default.copyFileSync(r,i);else{let a=pFe()[e];if(!a)throw new rGt.TUFError({code:"TUF_INIT_CACHE_ERROR",message:`No root.json found for mirror: ${e}`});Ah.default.writeFileSync(i,Buffer.from(a["root.json"],"base64")),Object.entries(a.targets).forEach(([c,l])=>{Ah.default.writeFileSync(PB.default.join(t,k7,c),Buffer.from(l,"base64"))})}}o(sGt,"seedCache");function oGt(t){let e={fetchTimeout:t.timeout,fetchRetry:t.retry,userAgent:`${encodeURIComponent(AFe.name)}/${AFe.version}`};return new tGt.Updater({metadataBaseUrl:t.mirrorURL,targetBaseUrl:`${t.mirrorURL}/targets`,metadataDir:t.cachePath,targetDir:PB.default.join(t.cachePath,k7),forceCache:t.forceCache,config:e})}o(oGt,"initClient")});var P7=A(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.TUFError=Sd.DEFAULT_MIRROR_URL=void 0;Sd.getTrustedRoot=pGt;Sd.initTUF=AGt;var aGt=oC(),cGt=zOe(),lGt=gFe();Sd.DEFAULT_MIRROR_URL="https://tuf-repo-cdn.sigstore.dev";var uGt="sigstore-js",dGt={retries:2},fGt=5e3,hGt="trusted_root.json";async function pGt(t={}){let r=await yFe(t).getTarget(hGt);return aGt.TrustedRoot.fromJSON(JSON.parse(r))}o(pGt,"getTrustedRoot");async function AGt(t={}){let e=yFe(t);return e.refresh().then(()=>e)}o(AGt,"initTUF");function yFe(t){return new lGt.TUFClient({cachePath:t.cachePath||(0,cGt.appDataPath)(uGt),rootPath:t.rootPath,mirrorURL:t.mirrorURL||Sd.DEFAULT_MIRROR_URL,retry:t.retry??dGt,timeout:t.timeout??fGt,forceCache:t.forceCache??!1,forceInit:t.forceInit??t.force??!1})}o(yFe,"createClient");var mGt=D7();Object.defineProperty(Sd,"TUFError",{enumerable:!0,get:o(function(){return mGt.TUFError},"get")})});var OB=A(cO=>{"use strict";Object.defineProperty(cO,"__esModule",{value:!0});cO.ByteStream=void 0;var O7=class extends Error{static{o(this,"StreamError")}},L7=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 O7("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}};cO.ByteStream=L7});var LB=A(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.ASN1TypeError=SC.ASN1ParseError=void 0;var F7=class extends Error{static{o(this,"ASN1ParseError")}};SC.ASN1ParseError=F7;var M7=class extends Error{static{o(this,"ASN1TypeError")}};SC.ASN1TypeError=M7});var EFe=A(uO=>{"use strict";Object.defineProperty(uO,"__esModule",{value:!0});uO.decodeLength=gGt;uO.encodeLength=yGt;var lO=LB();function gGt(t){let e=t.getUint8();if((e&128)===0)return e;let r=e&127;if(r>6)throw new lO.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(yGt,"encodeLength")});var bFe=A(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.parseInteger=bGt;mh.parseStringASCII=CFe;mh.parseTime=wGt;mh.parseOID=IGt;mh.parseBoolean=SGt;mh.parseBitString=BGt;var U7=LB(),EGt=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/,CGt=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function bGt(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(wGt,"parseTime");function IGt(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 U7.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(BGt,"parseBitString")});var IFe=A(dO=>{"use strict";Object.defineProperty(dO,"__esModule",{value:!0});dO.ASN1Tag=void 0;var wFe=LB(),$A={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},q7={UNIVERSAL:0,APPLICATION:1,CONTEXT_SPECIFIC:2,PRIVATE:3},G7=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 wFe.ASN1ParseError("long form tags not supported");if(this.class===q7.UNIVERSAL&&this.number===0)throw new wFe.ASN1ParseError("unsupported tag 0x00")}isUniversal(){return this.class===q7.UNIVERSAL}isContextSpecific(e){let r=this.class===q7.CONTEXT_SPECIFIC;return e!==void 0?r&&this.number===e:r}isBoolean(){return this.isUniversal()&&this.number===$A.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===$A.INTEGER}isBitString(){return this.isUniversal()&&this.number===$A.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===$A.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===$A.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===$A.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===$A.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}};dO.ASN1Tag=G7});var vFe=A(hO=>{"use strict";Object.defineProperty(hO,"__esModule",{value:!0});hO.ASN1Obj=void 0;var H7=OB(),Bd=LB(),BFe=EFe(),BC=bFe(),xGt=IFe(),fO=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 H7.ByteStream(e),n=xFe(r);if(r.position!==r.length)throw new Bd.ASN1ParseError("invalid trailing data");return n}toDER(){let e=new H7.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 H7.ByteStream;return n.appendChar(this.tag.toDER()),n.appendView((0,BFe.encodeLength)(r.length)),n.appendView(r),n.buffer}toBoolean(){if(!this.tag.isBoolean())throw new Bd.ASN1TypeError("not a boolean");return(0,BC.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger())throw new Bd.ASN1TypeError("not an integer");return(0,BC.parseInteger)(this.value)}toOID(){if(!this.tag.isOID())throw new Bd.ASN1TypeError("not an OID");return(0,BC.parseOID)(this.value)}toDate(){switch(!0){case this.tag.isUTCTime():return(0,BC.parseTime)(this.value,!0);case this.tag.isGeneralizedTime():return(0,BC.parseTime)(this.value,!1);default:throw new Bd.ASN1TypeError("not a date")}}toBitString(){if(!this.tag.isBitString())throw new Bd.ASN1TypeError("not a bit string");return(0,BC.parseBitString)(this.value)}};hO.ASN1Obj=fO;var vGt=100;function xFe(t,e=0){if(e>vGt)throw new Bd.ASN1ParseError("maximum nesting depth exceeded");let r=new xGt.ASN1Tag(t.getUint8()),n=(0,BFe.decodeLength)(t),i=t.slice(t.position,n),s=t.position,a=[];if(r.constructed)a=SFe(t,n,e);else if(r.isOctetString())try{a=SFe(t,n,e)}catch{}return a.length===0&&t.seek(s+n),new fO(r,i,a)}o(xFe,"parseStream");function SFe(t,e,r){let n=t.position+e;if(n>t.length)throw new Bd.ASN1ParseError("invalid length");let i=[];for(;t.position{"use strict";Object.defineProperty(pO,"__esModule",{value:!0});pO.ASN1Obj=void 0;var NGt=vFe();Object.defineProperty(pO,"ASN1Obj",{enumerable:!0,get:o(function(){return NGt.ASN1Obj},"get")})});var vC=A(gh=>{"use strict";var _Gt=gh&&gh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gh,"__esModule",{value:!0});gh.createPublicKey=RGt;gh.digest=TGt;gh.verify=DGt;gh.bufferEqual=QGt;var xC=_Gt(require("crypto"));function RGt(t,e="spki"){return typeof t=="string"?t.startsWith("-----")?xC.default.createPublicKey(t):xC.default.createPublicKey({key:Buffer.from(t,"base64"),format:"der",type:e}):xC.default.createPublicKey({key:t,format:"der",type:e})}o(RGt,"createPublicKey");function TGt(t,...e){let r=xC.default.createHash(t);for(let n of e)r.update(n);return r.digest()}o(TGt,"digest");function DGt(t,e,r,n){try{return xC.default.verify(n,t,e,r)}catch{return!1}}o(DGt,"verify");function QGt(t,e){try{return xC.default.timingSafeEqual(t,e)}catch{return!1}}o(QGt,"bufferEqual")});var NFe=A(V7=>{"use strict";Object.defineProperty(V7,"__esModule",{value:!0});V7.preAuthEncoding=PGt;var kGt="DSSEv1";function PGt(t,e){let r=Buffer.from(t,"utf-8");return Buffer.concat([Buffer.from(`${kGt} ${r.length} `,"ascii"),r,Buffer.from(` ${e.length} `,"ascii"),e])}o(PGt,"preAuthEncoding")});var TFe=A(mO=>{"use strict";Object.defineProperty(mO,"__esModule",{value:!0});mO.base64Encode=OGt;mO.base64Decode=LGt;var _Fe="base64",RFe="utf-8";function OGt(t){return Buffer.from(t,RFe).toString(_Fe)}o(OGt,"base64Encode");function LGt(t){return Buffer.from(t,_Fe).toString(RFe)}o(LGt,"base64Decode")});var DFe=A(j7=>{"use strict";Object.defineProperty(j7,"__esModule",{value:!0});j7.canonicalize=z7;function z7(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+=z7(n)}),e+="]"}else{e+="{";let r=!0;Object.keys(t).sort().forEach(n=>{r||(e+=","),r=!1,e+=JSON.stringify(n),e+=":",e+=z7(t[n])}),e+="}"}return e}o(z7,"canonicalize")});var $7=A(gO=>{"use strict";Object.defineProperty(gO,"__esModule",{value:!0});gO.toDER=UGt;gO.fromDER=qGt;var FGt=/-----BEGIN (.*)-----/,MGt=/-----END (.*)-----/;function UGt(t){let e="";return t.split(` +`).forEach(r=>{r.match(FGt)||r.match(MGt)||(e+=r)}),Buffer.from(e,"base64")}o(UGt,"toDER");function qGt(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(` `).concat(` -`)}o(FGt,"fromDER")});var yO=A(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.SHA2_HASH_ALGOS=yh.RSA_SIGNATURE_ALGOS=yh.ECDSA_SIGNATURE_ALGOS=void 0;yh.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"};yh.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"};yh.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 J7=A(EO=>{"use strict";Object.defineProperty(EO,"__esModule",{value:!0});EO.RFC3161TimestampVerificationError=void 0;var $7=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};EO.RFC3161TimestampVerificationError=$7});var QFe=A(eu=>{"use strict";var MGt=eu&&eu.__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]})),UGt=eu&&eu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),qGt=eu&&eu.__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 VGt=tu&&tu.__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]})),zGt=tu&&tu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jGt=tu&&tu.__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()===KGt)}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]}};tu.RFC3161Timestamp=K7});var OFe=A(CO=>{"use strict";Object.defineProperty(CO,"__esModule",{value:!0});CO.RFC3161Timestamp=void 0;var XGt=PFe();Object.defineProperty(CO,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return XGt.RFC3161Timestamp},"get")})});var FFe=A(ru=>{"use strict";var ZGt=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]})),eHt=ru&&ru.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),tHt=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;i0&&n.appendView(this.extensions),rHt.verify(n.buffer,r,this.signature,this.algorithm)}static parse(e){let r=new LFe.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})}};ru.SignedCertificateTimestamp=X7});var sX=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 nHt=OB(),iHt=FFe(),xd=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=xd;var Z7=class extends xd{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=Z7;var eX=class extends xd{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=eX;var tX=class extends xd{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=tX;var rX=class extends xd{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=rX;var nX=class extends xd{static{o(this,"X509SubjectKeyIDExtension")}get keyIdentifier(){return this.extnValueObj.subs[0].value}};Fi.X509SubjectKeyIDExtension=nX;var iX=class extends xd{static{o(this,"X509SCTExtension")}constructor(e){super(e)}get signedCertificateTimestamps(){let e=this.extnValueObj.subs[0].value,r=new nHt.ByteStream(e),n=r.getUint16()+2,i=[];for(;r.position{"use strict";var sHt=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]})),oHt=Ro&&Ro.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),UFe=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=aX});var HFe=A(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.X509SCTExtension=Eh.X509Certificate=Eh.EXTENSION_OID_SCT=void 0;var GFe=qFe();Object.defineProperty(Eh,"EXTENSION_OID_SCT",{enumerable:!0,get:o(function(){return GFe.EXTENSION_OID_SCT},"get")});Object.defineProperty(Eh,"X509Certificate",{enumerable:!0,get:o(function(){return GFe.X509Certificate},"get")});var pHt=sX();Object.defineProperty(Eh,"X509SCTExtension",{enumerable:!0,get:o(function(){return pHt.X509SCTExtension},"get")})});var Cc=A(qt=>{"use strict";var AHt=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]})),mHt=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MB=qt&&qt.__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(bO,"__esModule",{value:!0});bO.DSSESignatureContent=void 0;var WA=Cc(),lX=class{static{o(this,"DSSESignatureContent")}env;constructor(e){this.env=e}compareDigest(e){return WA.crypto.bufferEqual(e,WA.crypto.digest("sha256",this.env.payload))}compareSignedDigest(e){return WA.crypto.bufferEqual(e,WA.crypto.digest("sha256",this.preAuthEncoding))}compareSignature(e){return WA.crypto.bufferEqual(e,this.signature)}verifySignature(e){return WA.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 WA.dsse.preAuthEncoding(this.env.payloadType,this.env.payload)}};bO.DSSESignatureContent=lX});var zFe=A(wO=>{"use strict";Object.defineProperty(wO,"__esModule",{value:!0});wO.MessageSignatureContent=void 0;var uX=Cc(),_C=aC(),CHt={[_C.HashAlgorithm.HASH_ALGORITHM_UNSPECIFIED]:"sha256",[_C.HashAlgorithm.SHA2_256]:"sha256",[_C.HashAlgorithm.SHA2_384]:"sha384",[_C.HashAlgorithm.SHA2_512]:"sha512",[_C.HashAlgorithm.SHA3_256]:"sha3-256",[_C.HashAlgorithm.SHA3_384]:"sha3-384"},dX=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=CHt[e.messageDigest.algorithm]??"sha256"}compareSignature(e){return uX.crypto.bufferEqual(e,this.signature)}compareDigest(e){return uX.crypto.bufferEqual(e,this.messageDigest)}compareSignedDigest(e){return this.compareDigest(e)}verifySignature(e){return uX.crypto.verify(this.artifact,e,this.signature,this.hashAlgorithm)}};wO.MessageSignatureContent=dX});var $Fe=A(IO=>{"use strict";Object.defineProperty(IO,"__esModule",{value:!0});IO.toSignedEntity=IHt;IO.signatureContent=jFe;var fX=Cc(),bHt=VFe(),wHt=zFe();function IHt(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:fX.RFC3161Timestamp.parse(Buffer.from(s.signedTimestamp))});return{signature:jFe(t,e),key:SHt(t),tlogEntries:r,timestamps:i}}o(IHt,"toSignedEntity");function jFe(t,e){switch(t.content.$case){case"dsseEnvelope":return new bHt.DSSESignatureContent(t.content.dsseEnvelope);case"messageSignature":return new wHt.MessageSignatureContent(t.content.messageSignature,e)}}o(jFe,"signatureContent");function SHt(t){switch(t.verificationMaterial.content.$case){case"publicKey":return{$case:"public-key",hint:t.verificationMaterial.content.publicKey.hint};case"x509CertificateChain":return{$case:"certificate",certificate:fX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes))};case"certificate":return{$case:"certificate",certificate:fX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.certificate.rawBytes))}}}o(SHt,"key")});var Mi=A(RC=>{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.PolicyError=RC.VerificationError=void 0;var SO=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}},hX=class extends SO{static{o(this,"VerificationError")}};RC.VerificationError=hX;var pX=class extends SO{static{o(this,"PolicyError")}};RC.PolicyError=pX});var JFe=A(BO=>{"use strict";Object.defineProperty(BO,"__esModule",{value:!0});BO.filterCertAuthorities=BHt;BO.filterTLogAuthorities=xHt;function BHt(t,e){return t.filter(r=>r.validFor.start<=e&&r.validFor.end>=e)}o(BHt,"filterCertAuthorities");function xHt(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(xHt,"filterTLogAuthorities")});var TC=A(YA=>{"use strict";Object.defineProperty(YA,"__esModule",{value:!0});YA.filterTLogAuthorities=YA.filterCertAuthorities=void 0;YA.toTrustMaterial=NHt;var AX=Cc(),UB=aC(),vHt=Mi(),mX=new Date(0),gX=new Date(864e13),KFe=JFe();Object.defineProperty(YA,"filterCertAuthorities",{enumerable:!0,get:o(function(){return KFe.filterCertAuthorities},"get")});Object.defineProperty(YA,"filterTLogAuthorities",{enumerable:!0,get:o(function(){return KFe.filterTLogAuthorities},"get")});function NHt(t,e){let r=typeof e=="function"?e:_Ht(e);return{certificateAuthorities:t.certificateAuthorities.map(YFe),timestampAuthorities:t.timestampAuthorities.map(YFe),tlogs:t.tlogs.map(WFe),ctlogs:t.ctlogs.map(WFe),publicKey:r}}o(NHt,"toTrustMaterial");function WFe(t){let e=t.publicKey.keyDetails,r=e===UB.PublicKeyDetails.PKCS1_RSA_PKCS1V5||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V5||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V15_2048_SHA256||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V15_4096_SHA256?"pkcs1":"spki";return{baseURL:t.baseUrl,logID:t.checkpointKeyId?t.checkpointKeyId.keyId:t.logId.keyId,publicKey:AX.crypto.createPublicKey(t.publicKey.rawBytes,r),validFor:{start:t.publicKey.validFor?.start||mX,end:t.publicKey.validFor?.end||gX}}}o(WFe,"createTLogAuthority");function YFe(t){return{certChain:t.certChain.certificates.map(e=>AX.X509Certificate.parse(Buffer.from(e.rawBytes))),validFor:{start:t.validFor?.start||mX,end:t.validFor?.end||gX}}}o(YFe,"createCertAuthority");function _Ht(t){return e=>{let r=(t||{})[e];if(!r)throw new vHt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`key not found: ${e}`});return{publicKey:AX.crypto.createPublicKey(r.rawBytes),validFor:o(n=>(r.validFor?.start||mX)<=n&&(r.validFor?.end||gX)>=n,"validFor")}}}o(_Ht,"keyLocator")});var yX=A(qB=>{"use strict";Object.defineProperty(qB,"__esModule",{value:!0});qB.CertificateChainVerifier=void 0;qB.verifyCertificateChain=THt;var Ch=Mi(),RHt=TC();function THt(t,e,r){let n=(0,RHt.filterCertAuthorities)(r,t),i;for(let s of n)try{return new xO({trustedCerts:s.certChain,untrustedCert:e,timestamp:t}).verify()}catch(a){i=a}throw new Ch.VerificationError({code:"CERTIFICATE_ERROR",message:"Failed to verify certificate chain",cause:i})}o(THt,"verifyCertificateChain");var xO=class{static{o(this,"CertificateChainVerifier")}untrustedCert;trustedCerts;localCerts;timestamp;constructor(e){this.untrustedCert=e.untrustedCert,this.trustedCerts=e.trustedCerts,this.localCerts=DHt([...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 Ch.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 Ch.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 Ch.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate chain must contain at least one certificate"});if(!e.slice(1).every(n=>n.isCA))throw new Ch.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 Ch.VerificationError({code:"CERTIFICATE_ERROR",message:"incorrect certificate name chaining"});for(let n=0;n{"use strict";Object.defineProperty(EX,"__esModule",{value:!0});EX.verifySCTs=PHt;var vO=Cc(),QHt=Mi(),kHt=TC();function PHt(t,e,r){let n,i=t.clone();for(let l=0;l{if(!(0,kHt.filterTLogAuthorities)(r,{logID:l.logID,targetDate:l.datetime}).some(f=>l.verify(s.buffer,f.publicKey)))throw new QHt.VerificationError({code:"CERTIFICATE_ERROR",message:"SCT verification failed"});return l.logID})}o(PHt,"verifySCTs")});var ZFe=A(NO=>{"use strict";Object.defineProperty(NO,"__esModule",{value:!0});NO.verifyPublicKey=GHt;NO.verifyCertificate=HHt;var OHt=Cc(),LHt=Mi(),FHt=yX(),MHt=XFe(),UHt="1.3.6.1.4.1.57264.1.1",qHt="1.3.6.1.4.1.57264.1.8";function GHt(t,e,r){let n=r.publicKey(t);return e.forEach(i=>{if(!n.validFor(i))throw new LHt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`Public key is not valid for timestamp: ${i.toISOString()}`})}),{key:n.publicKey}}o(GHt,"verifyPublicKey");function HHt(t,e,r){let n=[];return e.forEach(i=>{n=(0,FHt.verifyCertificateChain)(i,t,r.certificateAuthorities)}),{scts:(0,MHt.verifySCTs)(n[0],n[1],r.ctlogs),signer:VHt(n[0])}}o(HHt,"verifyCertificate");function VHt(t){let e,r=t.extension(qHt);r?e=r.valueObj.subs?.[0]?.value.toString("ascii"):e=t.extension(UHt)?.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:OHt.crypto.createPublicKey(t.publicKey),identity:i}}o(VHt,"getSigner")});var eMe=A(GB=>{"use strict";Object.defineProperty(GB,"__esModule",{value:!0});GB.verifySubjectAlternativeName=zHt;GB.verifyExtensions=jHt;GB.verifyOIDs=$Ht;var CX=Mi();function zHt(t,e){if(e===void 0||!e.match(t))throw new CX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`certificate identity error - expected ${t}, got ${e}`})}o(zHt,"verifySubjectAlternativeName");function jHt(t,e={}){let r;for(r in t)if(e[r]!==t[r])throw new CX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - expected ${r}=${t[r]}, got ${r}=${e[r]}`})}o(jHt,"verifyExtensions");function $Ht(t,e=[]){for(let r of t)if(!e.find(i=>JHt(r.oid?.id,i.oid?.id)&&r.value.equals(i.value))){let i=r.oid?.id.join(".")??"";throw new CX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - missing OID ${i}`})}}o($Ht,"verifyOIDs");function JHt(t,e){return t===void 0||e===void 0?!1:t.length===e.length&&t.every((r,n)=>r===e[n])}o(JHt,"oidEquals")});var rMe=A(wX=>{"use strict";Object.defineProperty(wX,"__esModule",{value:!0});wX.verifyRFC3161Timestamp=KHt;var bX=Cc(),tMe=Mi(),WHt=yX(),YHt=TC();function KHt(t,e,r){let n=t.signingTime;if(r=(0,YHt.filterCertAuthorities)(r,n),r=ZHt(r,{serialNumber:t.signerSerialNumber,issuer:t.signerIssuer}),!r.some(s=>{try{return XHt(t,e,s),!0}catch{return!1}}))throw new tMe.VerificationError({code:"TIMESTAMP_ERROR",message:"timestamp could not be verified"})}o(KHt,"verifyRFC3161Timestamp");function XHt(t,e,r){let[n,...i]=r.certChain,s=bX.crypto.createPublicKey(n.publicKey),a=t.signingTime;try{new WHt.CertificateChainVerifier({untrustedCert:n,trustedCerts:i,timestamp:a}).verify()}catch{throw new tMe.VerificationError({code:"TIMESTAMP_ERROR",message:"invalid certificate chain"})}t.verify(e,s)}o(XHt,"verifyTimestampForCA");function ZHt(t,e){return t.filter(r=>r.certChain.length>0&&bX.crypto.bufferEqual(r.certChain[0].serialNumber,e.serialNumber)&&bX.crypto.bufferEqual(r.certChain[0].issuer,e.issuer))}o(ZHt,"filterCAsBySerialAndIssuer")});var nMe=A(_O=>{"use strict";Object.defineProperty(_O,"__esModule",{value:!0});_O.getTSATimestamp=t4t;_O.getTLogTimestamp=r4t;var e4t=rMe();function t4t(t,e,r){return(0,e4t.verifyRFC3161Timestamp)(t,e,r),{type:"timestamp-authority",logID:t.signerSerialNumber,timestamp:t.signingTime}}o(t4t,"getTSATimestamp");function r4t(t){if(t.inclusionPromise)return{type:"transparency-log",logID:t.logId.keyId,timestamp:new Date(Number(t.integratedTime)*1e3)}}o(r4t,"getTLogTimestamp")});var TO=A(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.Signature=Ta.Verifier=Ta.PublicKey=void 0;var RO=wd();Ta.PublicKey={fromJSON(t){return{rawBytes:DC(t.rawBytes)?Buffer.from(iMe(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=sMe(t.rawBytes)),e}};Ta.Verifier={fromJSON(t){return{verifier:DC(t.publicKey)?{$case:"publicKey",publicKey:Ta.PublicKey.fromJSON(t.publicKey)}:DC(t.x509Certificate)?{$case:"x509Certificate",x509Certificate:RO.X509Certificate.fromJSON(t.x509Certificate)}:void 0,keyDetails:DC(t.keyDetails)?(0,RO.publicKeyDetailsFromJSON)(t.keyDetails):0}},toJSON(t){let e={};return t.verifier?.$case==="publicKey"?e.publicKey=Ta.PublicKey.toJSON(t.verifier.publicKey):t.verifier?.$case==="x509Certificate"&&(e.x509Certificate=RO.X509Certificate.toJSON(t.verifier.x509Certificate)),t.keyDetails!==0&&(e.keyDetails=(0,RO.publicKeyDetailsToJSON)(t.keyDetails)),e}};Ta.Signature={fromJSON(t){return{content:DC(t.content)?Buffer.from(iMe(t.content)):Buffer.alloc(0),verifier:DC(t.verifier)?Ta.Verifier.fromJSON(t.verifier):void 0}},toJSON(t){let e={};return t.content.length!==0&&(e.content=sMe(t.content)),t.verifier!==void 0&&(e.verifier=Ta.Verifier.toJSON(t.verifier)),e}};function iMe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(iMe,"bytesFromBase64");function sMe(t){return globalThis.Buffer.from(t).toString("base64")}o(sMe,"base64FromBytes");function DC(t){return t!=null}o(DC,"isSet")});var IX=A(QC=>{"use strict";Object.defineProperty(QC,"__esModule",{value:!0});QC.DSSELogEntryV002=QC.DSSERequestV002=void 0;var oMe=hP(),aMe=wd(),DO=TO();QC.DSSERequestV002={fromJSON(t){return{envelope:cMe(t.envelope)?oMe.Envelope.fromJSON(t.envelope):void 0,verifiers:globalThis.Array.isArray(t?.verifiers)?t.verifiers.map(e=>DO.Verifier.fromJSON(e)):[]}},toJSON(t){let e={};return t.envelope!==void 0&&(e.envelope=oMe.Envelope.toJSON(t.envelope)),t.verifiers?.length&&(e.verifiers=t.verifiers.map(r=>DO.Verifier.toJSON(r))),e}};QC.DSSELogEntryV002={fromJSON(t){return{payloadHash:cMe(t.payloadHash)?aMe.HashOutput.fromJSON(t.payloadHash):void 0,signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>DO.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payloadHash!==void 0&&(e.payloadHash=aMe.HashOutput.toJSON(t.payloadHash)),t.signatures?.length&&(e.signatures=t.signatures.map(r=>DO.Signature.toJSON(r))),e}};function cMe(t){return t!=null}o(cMe,"isSet")});var SX=A(kC=>{"use strict";Object.defineProperty(kC,"__esModule",{value:!0});kC.HashedRekordLogEntryV002=kC.HashedRekordRequestV002=void 0;var lMe=wd(),QO=TO();kC.HashedRekordRequestV002={fromJSON(t){return{digest:kO(t.digest)?Buffer.from(n4t(t.digest)):Buffer.alloc(0),signature:kO(t.signature)?QO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.digest.length!==0&&(e.digest=i4t(t.digest)),t.signature!==void 0&&(e.signature=QO.Signature.toJSON(t.signature)),e}};kC.HashedRekordLogEntryV002={fromJSON(t){return{data:kO(t.data)?lMe.HashOutput.fromJSON(t.data):void 0,signature:kO(t.signature)?QO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.data!==void 0&&(e.data=lMe.HashOutput.toJSON(t.data)),t.signature!==void 0&&(e.signature=QO.Signature.toJSON(t.signature)),e}};function n4t(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(n4t,"bytesFromBase64");function i4t(t){return globalThis.Buffer.from(t).toString("base64")}o(i4t,"base64FromBytes");function kO(t){return t!=null}o(kO,"isSet")});var uMe=A(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.CreateEntryRequest=nu.Spec=nu.Entry=void 0;var PO=IX(),OO=SX();nu.Entry={fromJSON(t){return{kind:KA(t.kind)?globalThis.String(t.kind):"",apiVersion:KA(t.apiVersion)?globalThis.String(t.apiVersion):"",spec:KA(t.spec)?nu.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=nu.Spec.toJSON(t.spec)),e}};nu.Spec={fromJSON(t){return{spec:KA(t.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:OO.HashedRekordLogEntryV002.fromJSON(t.hashedRekordV002)}:KA(t.dsseV002)?{$case:"dsseV002",dsseV002:PO.DSSELogEntryV002.fromJSON(t.dsseV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordV002"?e.hashedRekordV002=OO.HashedRekordLogEntryV002.toJSON(t.spec.hashedRekordV002):t.spec?.$case==="dsseV002"&&(e.dsseV002=PO.DSSELogEntryV002.toJSON(t.spec.dsseV002)),e}};nu.CreateEntryRequest={fromJSON(t){return{spec:KA(t.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:OO.HashedRekordRequestV002.fromJSON(t.hashedRekordRequestV002)}:KA(t.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:PO.DSSERequestV002.fromJSON(t.dsseRequestV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordRequestV002"?e.hashedRekordRequestV002=OO.HashedRekordRequestV002.toJSON(t.spec.hashedRekordRequestV002):t.spec?.$case==="dsseRequestV002"&&(e.dsseRequestV002=PO.DSSERequestV002.toJSON(t.spec.dsseRequestV002)),e}};function KA(t){return t!=null}o(KA,"isSet")});var dMe=A(iu=>{"use strict";var s4t=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]})),LO=iu&&iu.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&s4t(e,t,r)};Object.defineProperty(iu,"__esModule",{value:!0});LO(IX(),iu);LO(uMe(),iu);LO(SX(),iu);LO(TO(),iu)});var fMe=A(XA=>{"use strict";Object.defineProperty(XA,"__esModule",{value:!0});XA.DSSE_API_VERSION_V1=void 0;XA.verifyDSSETLogBody=o4t;XA.verifyDSSETLogBodyV2=a4t;var vd=Mi();XA.DSSE_API_VERSION_V1="0.0.1";function o4t(t,e){if(t.apiVersion===XA.DSSE_API_VERSION_V1)return c4t(t,e);throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported dsse version: ${t.apiVersion}`})}o(o4t,"verifyDSSETLogBody");function a4t(t,e){let r=t.spec?.spec;if(!r)throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="dsseV002")return l4t(r.dsseV002,e);throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(a4t,"verifyDSSETLogBodyV2");function c4t(t,e){if(t.spec.signatures?.length!==1)throw new vd.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 vd.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 vd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(c4t,"verifyDSSE001TLogBody");function l4t(t,e){if(t.signatures?.length!==1)throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.signatures[0].content;if(!e.compareSignature(r))throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.payloadHash?.digest||Buffer.from("");if(!e.compareDigest(n))throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(l4t,"verifyDSSE002TLogBody")});var hMe=A(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.HASHEDREKORD_API_VERSION_V1=void 0;em.verifyHashedRekordTLogBody=u4t;em.verifyHashedRekordTLogBodyV2=d4t;var ZA=Mi();em.HASHEDREKORD_API_VERSION_V1="0.0.1";function u4t(t,e){if(t.apiVersion===em.HASHEDREKORD_API_VERSION_V1)return f4t(t,e);throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported hashedrekord version: ${t.apiVersion}`})}o(u4t,"verifyHashedRekordTLogBody");function d4t(t,e){let r=t.spec?.spec;if(!r)throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="hashedRekordV002")return h4t(r.hashedRekordV002,e);throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(d4t,"verifyHashedRekordTLogBodyV2");function f4t(t,e){let r=t.spec.signature.content||"";if(!e.compareSignature(Buffer.from(r,"base64")))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.spec.data.hash?.value||"";if(!e.compareSignedDigest(Buffer.from(n,"hex")))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(f4t,"verifyHashedrekord001TLogBody");function h4t(t,e){let r=t.signature?.content||Buffer.from("");if(!e.compareSignature(r))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.data?.digest||Buffer.from("");if(!e.compareSignedDigest(n))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(h4t,"verifyHashedrekord002TLogBody")});var pMe=A(BX=>{"use strict";Object.defineProperty(BX,"__esModule",{value:!0});BX.verifyIntotoTLogBody=p4t;var FO=Mi();function p4t(t,e){if(t.apiVersion==="0.0.2")return A4t(t,e);throw new FO.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported intoto version: ${t.apiVersion}`})}o(p4t,"verifyIntotoTLogBody");function A4t(t,e){if(t.spec.content.envelope.signatures?.length!==1)throw new FO.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=m4t(t.spec.content.envelope.signatures[0].sig);if(!e.compareSignature(Buffer.from(r,"base64")))throw new FO.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 FO.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(A4t,"verifyIntoto002TLogBody");function m4t(t){return Buffer.from(t,"base64").toString("utf-8")}o(m4t,"base64Decode")});var mMe=A(VB=>{"use strict";Object.defineProperty(VB,"__esModule",{value:!0});VB.LogCheckpoint=void 0;VB.verifyCheckpoint=y4t;var AMe=Cc(),HB=Mi(),xX=` +`)}o(qGt,"fromDER")});var yO=A(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.SHA2_HASH_ALGOS=yh.RSA_SIGNATURE_ALGOS=yh.ECDSA_SIGNATURE_ALGOS=void 0;yh.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"};yh.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"};yh.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 W7=A(EO=>{"use strict";Object.defineProperty(EO,"__esModule",{value:!0});EO.RFC3161TimestampVerificationError=void 0;var J7=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};EO.RFC3161TimestampVerificationError=J7});var kFe=A(eu=>{"use strict";var GGt=eu&&eu.__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]})),HGt=eu&&eu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),VGt=eu&&eu.__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 $Gt=tu&&tu.__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]})),JGt=tu&&tu.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),WGt=tu&&tu.__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()===eHt)}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]}};tu.RFC3161Timestamp=X7});var LFe=A(CO=>{"use strict";Object.defineProperty(CO,"__esModule",{value:!0});CO.RFC3161Timestamp=void 0;var tHt=OFe();Object.defineProperty(CO,"RFC3161Timestamp",{enumerable:!0,get:o(function(){return tHt.RFC3161Timestamp},"get")})});var MFe=A(ru=>{"use strict";var rHt=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]})),nHt=ru&&ru.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iHt=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;i0&&n.appendView(this.extensions),sHt.verify(n.buffer,r,this.signature,this.algorithm)}static parse(e){let r=new FFe.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})}};ru.SignedCertificateTimestamp=Z7});var oX=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 oHt=OB(),aHt=MFe(),xd=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=xd;var eX=class extends xd{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=eX;var tX=class extends xd{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=tX;var rX=class extends xd{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=rX;var nX=class extends xd{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=nX;var iX=class extends xd{static{o(this,"X509SubjectKeyIDExtension")}get keyIdentifier(){return this.extnValueObj.subs[0].value}};Fi.X509SubjectKeyIDExtension=iX;var sX=class extends xd{static{o(this,"X509SCTExtension")}constructor(e){super(e)}get signedCertificateTimestamps(){let e=this.extnValueObj.subs[0].value,r=new oHt.ByteStream(e),n=r.getUint16()+2,i=[];for(;r.position{"use strict";var cHt=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]})),lHt=Ro&&Ro.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),qFe=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=cX});var VFe=A(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.X509SCTExtension=Eh.X509Certificate=Eh.EXTENSION_OID_SCT=void 0;var HFe=GFe();Object.defineProperty(Eh,"EXTENSION_OID_SCT",{enumerable:!0,get:o(function(){return HFe.EXTENSION_OID_SCT},"get")});Object.defineProperty(Eh,"X509Certificate",{enumerable:!0,get:o(function(){return HFe.X509Certificate},"get")});var gHt=oX();Object.defineProperty(Eh,"X509SCTExtension",{enumerable:!0,get:o(function(){return gHt.X509SCTExtension},"get")})});var Cc=A(qt=>{"use strict";var yHt=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]})),EHt=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MB=qt&&qt.__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(bO,"__esModule",{value:!0});bO.DSSESignatureContent=void 0;var WA=Cc(),uX=class{static{o(this,"DSSESignatureContent")}env;constructor(e){this.env=e}compareDigest(e){return WA.crypto.bufferEqual(e,WA.crypto.digest("sha256",this.env.payload))}compareSignedDigest(e){return WA.crypto.bufferEqual(e,WA.crypto.digest("sha256",this.preAuthEncoding))}compareSignature(e){return WA.crypto.bufferEqual(e,this.signature)}verifySignature(e){return WA.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 WA.dsse.preAuthEncoding(this.env.payloadType,this.env.payload)}};bO.DSSESignatureContent=uX});var jFe=A(wO=>{"use strict";Object.defineProperty(wO,"__esModule",{value:!0});wO.MessageSignatureContent=void 0;var dX=Cc(),NC=oC(),IHt={[NC.HashAlgorithm.HASH_ALGORITHM_UNSPECIFIED]:"sha256",[NC.HashAlgorithm.SHA2_256]:"sha256",[NC.HashAlgorithm.SHA2_384]:"sha384",[NC.HashAlgorithm.SHA2_512]:"sha512",[NC.HashAlgorithm.SHA3_256]:"sha3-256",[NC.HashAlgorithm.SHA3_384]:"sha3-384"},fX=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=IHt[e.messageDigest.algorithm]??"sha256"}compareSignature(e){return dX.crypto.bufferEqual(e,this.signature)}compareDigest(e){return dX.crypto.bufferEqual(e,this.messageDigest)}compareSignedDigest(e){return this.compareDigest(e)}verifySignature(e){return dX.crypto.verify(this.artifact,e,this.signature,this.hashAlgorithm)}};wO.MessageSignatureContent=fX});var JFe=A(IO=>{"use strict";Object.defineProperty(IO,"__esModule",{value:!0});IO.toSignedEntity=xHt;IO.signatureContent=$Fe;var hX=Cc(),SHt=zFe(),BHt=jFe();function xHt(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:hX.RFC3161Timestamp.parse(Buffer.from(s.signedTimestamp))});return{signature:$Fe(t,e),key:vHt(t),tlogEntries:r,timestamps:i}}o(xHt,"toSignedEntity");function $Fe(t,e){switch(t.content.$case){case"dsseEnvelope":return new SHt.DSSESignatureContent(t.content.dsseEnvelope);case"messageSignature":return new BHt.MessageSignatureContent(t.content.messageSignature,e)}}o($Fe,"signatureContent");function vHt(t){switch(t.verificationMaterial.content.$case){case"publicKey":return{$case:"public-key",hint:t.verificationMaterial.content.publicKey.hint};case"x509CertificateChain":return{$case:"certificate",certificate:hX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes))};case"certificate":return{$case:"certificate",certificate:hX.X509Certificate.parse(Buffer.from(t.verificationMaterial.content.certificate.rawBytes))}}}o(vHt,"key")});var Mi=A(_C=>{"use strict";Object.defineProperty(_C,"__esModule",{value:!0});_C.PolicyError=_C.VerificationError=void 0;var SO=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}},pX=class extends SO{static{o(this,"VerificationError")}};_C.VerificationError=pX;var AX=class extends SO{static{o(this,"PolicyError")}};_C.PolicyError=AX});var WFe=A(BO=>{"use strict";Object.defineProperty(BO,"__esModule",{value:!0});BO.filterCertAuthorities=NHt;BO.filterTLogAuthorities=_Ht;function NHt(t,e){return t.filter(r=>r.validFor.start<=e&&r.validFor.end>=e)}o(NHt,"filterCertAuthorities");function _Ht(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(_Ht,"filterTLogAuthorities")});var RC=A(YA=>{"use strict";Object.defineProperty(YA,"__esModule",{value:!0});YA.filterTLogAuthorities=YA.filterCertAuthorities=void 0;YA.toTrustMaterial=THt;var mX=Cc(),UB=oC(),RHt=Mi(),gX=new Date(0),yX=new Date(864e13),XFe=WFe();Object.defineProperty(YA,"filterCertAuthorities",{enumerable:!0,get:o(function(){return XFe.filterCertAuthorities},"get")});Object.defineProperty(YA,"filterTLogAuthorities",{enumerable:!0,get:o(function(){return XFe.filterTLogAuthorities},"get")});function THt(t,e){let r=typeof e=="function"?e:DHt(e);return{certificateAuthorities:t.certificateAuthorities.map(KFe),timestampAuthorities:t.timestampAuthorities.map(KFe),tlogs:t.tlogs.map(YFe),ctlogs:t.ctlogs.map(YFe),publicKey:r}}o(THt,"toTrustMaterial");function YFe(t){let e=t.publicKey.keyDetails,r=e===UB.PublicKeyDetails.PKCS1_RSA_PKCS1V5||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V5||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V15_2048_SHA256||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256||e===UB.PublicKeyDetails.PKIX_RSA_PKCS1V15_4096_SHA256?"pkcs1":"spki";return{baseURL:t.baseUrl,logID:t.checkpointKeyId?t.checkpointKeyId.keyId:t.logId.keyId,publicKey:mX.crypto.createPublicKey(t.publicKey.rawBytes,r),validFor:{start:t.publicKey.validFor?.start||gX,end:t.publicKey.validFor?.end||yX}}}o(YFe,"createTLogAuthority");function KFe(t){return{certChain:t.certChain.certificates.map(e=>mX.X509Certificate.parse(Buffer.from(e.rawBytes))),validFor:{start:t.validFor?.start||gX,end:t.validFor?.end||yX}}}o(KFe,"createCertAuthority");function DHt(t){return e=>{let r=(t||{})[e];if(!r)throw new RHt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`key not found: ${e}`});return{publicKey:mX.crypto.createPublicKey(r.rawBytes),validFor:o(n=>(r.validFor?.start||gX)<=n&&(r.validFor?.end||yX)>=n,"validFor")}}}o(DHt,"keyLocator")});var EX=A(qB=>{"use strict";Object.defineProperty(qB,"__esModule",{value:!0});qB.CertificateChainVerifier=void 0;qB.verifyCertificateChain=kHt;var Ch=Mi(),QHt=RC();function kHt(t,e,r){let n=(0,QHt.filterCertAuthorities)(r,t),i;for(let s of n)try{return new xO({trustedCerts:s.certChain,untrustedCert:e,timestamp:t}).verify()}catch(a){i=a}throw new Ch.VerificationError({code:"CERTIFICATE_ERROR",message:"Failed to verify certificate chain",cause:i})}o(kHt,"verifyCertificateChain");var xO=class{static{o(this,"CertificateChainVerifier")}untrustedCert;trustedCerts;localCerts;timestamp;constructor(e){this.untrustedCert=e.untrustedCert,this.trustedCerts=e.trustedCerts,this.localCerts=PHt([...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 Ch.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 Ch.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 Ch.VerificationError({code:"CERTIFICATE_ERROR",message:"certificate chain must contain at least one certificate"});if(!e.slice(1).every(n=>n.isCA))throw new Ch.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 Ch.VerificationError({code:"CERTIFICATE_ERROR",message:"incorrect certificate name chaining"});for(let n=0;n{"use strict";Object.defineProperty(CX,"__esModule",{value:!0});CX.verifySCTs=FHt;var vO=Cc(),OHt=Mi(),LHt=RC();function FHt(t,e,r){let n,i=t.clone();for(let l=0;l{if(!(0,LHt.filterTLogAuthorities)(r,{logID:l.logID,targetDate:l.datetime}).some(f=>l.verify(s.buffer,f.publicKey)))throw new OHt.VerificationError({code:"CERTIFICATE_ERROR",message:"SCT verification failed"});return l.logID})}o(FHt,"verifySCTs")});var eMe=A(NO=>{"use strict";Object.defineProperty(NO,"__esModule",{value:!0});NO.verifyPublicKey=zHt;NO.verifyCertificate=jHt;var MHt=Cc(),UHt=Mi(),qHt=EX(),GHt=ZFe(),HHt="1.3.6.1.4.1.57264.1.1",VHt="1.3.6.1.4.1.57264.1.8";function zHt(t,e,r){let n=r.publicKey(t);return e.forEach(i=>{if(!n.validFor(i))throw new UHt.VerificationError({code:"PUBLIC_KEY_ERROR",message:`Public key is not valid for timestamp: ${i.toISOString()}`})}),{key:n.publicKey}}o(zHt,"verifyPublicKey");function jHt(t,e,r){let n=[];return e.forEach(i=>{n=(0,qHt.verifyCertificateChain)(i,t,r.certificateAuthorities)}),{scts:(0,GHt.verifySCTs)(n[0],n[1],r.ctlogs),signer:$Ht(n[0])}}o(jHt,"verifyCertificate");function $Ht(t){let e,r=t.extension(VHt);r?e=r.valueObj.subs?.[0]?.value.toString("ascii"):e=t.extension(HHt)?.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:MHt.crypto.createPublicKey(t.publicKey),identity:i}}o($Ht,"getSigner")});var tMe=A(GB=>{"use strict";Object.defineProperty(GB,"__esModule",{value:!0});GB.verifySubjectAlternativeName=JHt;GB.verifyExtensions=WHt;GB.verifyOIDs=YHt;var bX=Mi();function JHt(t,e){if(e===void 0||!e.match(t))throw new bX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`certificate identity error - expected ${t}, got ${e}`})}o(JHt,"verifySubjectAlternativeName");function WHt(t,e={}){let r;for(r in t)if(e[r]!==t[r])throw new bX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - expected ${r}=${t[r]}, got ${r}=${e[r]}`})}o(WHt,"verifyExtensions");function YHt(t,e=[]){for(let r of t)if(!e.find(i=>KHt(r.oid?.id,i.oid?.id)&&r.value.equals(i.value))){let i=r.oid?.id.join(".")??"";throw new bX.PolicyError({code:"UNTRUSTED_SIGNER_ERROR",message:`invalid certificate extension - missing OID ${i}`})}}o(YHt,"verifyOIDs");function KHt(t,e){return t===void 0||e===void 0?!1:t.length===e.length&&t.every((r,n)=>r===e[n])}o(KHt,"oidEquals")});var nMe=A(IX=>{"use strict";Object.defineProperty(IX,"__esModule",{value:!0});IX.verifyRFC3161Timestamp=e4t;var wX=Cc(),rMe=Mi(),XHt=EX(),ZHt=RC();function e4t(t,e,r){let n=t.signingTime;if(r=(0,ZHt.filterCertAuthorities)(r,n),r=r4t(r,{serialNumber:t.signerSerialNumber,issuer:t.signerIssuer}),!r.some(s=>{try{return t4t(t,e,s),!0}catch{return!1}}))throw new rMe.VerificationError({code:"TIMESTAMP_ERROR",message:"timestamp could not be verified"})}o(e4t,"verifyRFC3161Timestamp");function t4t(t,e,r){let[n,...i]=r.certChain,s=wX.crypto.createPublicKey(n.publicKey),a=t.signingTime;try{new XHt.CertificateChainVerifier({untrustedCert:n,trustedCerts:i,timestamp:a}).verify()}catch{throw new rMe.VerificationError({code:"TIMESTAMP_ERROR",message:"invalid certificate chain"})}t.verify(e,s)}o(t4t,"verifyTimestampForCA");function r4t(t,e){return t.filter(r=>r.certChain.length>0&&wX.crypto.bufferEqual(r.certChain[0].serialNumber,e.serialNumber)&&wX.crypto.bufferEqual(r.certChain[0].issuer,e.issuer))}o(r4t,"filterCAsBySerialAndIssuer")});var iMe=A(_O=>{"use strict";Object.defineProperty(_O,"__esModule",{value:!0});_O.getTSATimestamp=i4t;_O.getTLogTimestamp=s4t;var n4t=nMe();function i4t(t,e,r){return(0,n4t.verifyRFC3161Timestamp)(t,e,r),{type:"timestamp-authority",logID:t.signerSerialNumber,timestamp:t.signingTime}}o(i4t,"getTSATimestamp");function s4t(t){if(t.inclusionPromise)return{type:"transparency-log",logID:t.logId.keyId,timestamp:new Date(Number(t.integratedTime)*1e3)}}o(s4t,"getTLogTimestamp")});var TO=A(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.Signature=Ta.Verifier=Ta.PublicKey=void 0;var RO=wd();Ta.PublicKey={fromJSON(t){return{rawBytes:TC(t.rawBytes)?Buffer.from(sMe(t.rawBytes)):Buffer.alloc(0)}},toJSON(t){let e={};return t.rawBytes.length!==0&&(e.rawBytes=oMe(t.rawBytes)),e}};Ta.Verifier={fromJSON(t){return{verifier:TC(t.publicKey)?{$case:"publicKey",publicKey:Ta.PublicKey.fromJSON(t.publicKey)}:TC(t.x509Certificate)?{$case:"x509Certificate",x509Certificate:RO.X509Certificate.fromJSON(t.x509Certificate)}:void 0,keyDetails:TC(t.keyDetails)?(0,RO.publicKeyDetailsFromJSON)(t.keyDetails):0}},toJSON(t){let e={};return t.verifier?.$case==="publicKey"?e.publicKey=Ta.PublicKey.toJSON(t.verifier.publicKey):t.verifier?.$case==="x509Certificate"&&(e.x509Certificate=RO.X509Certificate.toJSON(t.verifier.x509Certificate)),t.keyDetails!==0&&(e.keyDetails=(0,RO.publicKeyDetailsToJSON)(t.keyDetails)),e}};Ta.Signature={fromJSON(t){return{content:TC(t.content)?Buffer.from(sMe(t.content)):Buffer.alloc(0),verifier:TC(t.verifier)?Ta.Verifier.fromJSON(t.verifier):void 0}},toJSON(t){let e={};return t.content.length!==0&&(e.content=oMe(t.content)),t.verifier!==void 0&&(e.verifier=Ta.Verifier.toJSON(t.verifier)),e}};function sMe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(sMe,"bytesFromBase64");function oMe(t){return globalThis.Buffer.from(t).toString("base64")}o(oMe,"base64FromBytes");function TC(t){return t!=null}o(TC,"isSet")});var SX=A(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.DSSELogEntryV002=DC.DSSERequestV002=void 0;var aMe=hP(),cMe=wd(),DO=TO();DC.DSSERequestV002={fromJSON(t){return{envelope:lMe(t.envelope)?aMe.Envelope.fromJSON(t.envelope):void 0,verifiers:globalThis.Array.isArray(t?.verifiers)?t.verifiers.map(e=>DO.Verifier.fromJSON(e)):[]}},toJSON(t){let e={};return t.envelope!==void 0&&(e.envelope=aMe.Envelope.toJSON(t.envelope)),t.verifiers?.length&&(e.verifiers=t.verifiers.map(r=>DO.Verifier.toJSON(r))),e}};DC.DSSELogEntryV002={fromJSON(t){return{payloadHash:lMe(t.payloadHash)?cMe.HashOutput.fromJSON(t.payloadHash):void 0,signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>DO.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payloadHash!==void 0&&(e.payloadHash=cMe.HashOutput.toJSON(t.payloadHash)),t.signatures?.length&&(e.signatures=t.signatures.map(r=>DO.Signature.toJSON(r))),e}};function lMe(t){return t!=null}o(lMe,"isSet")});var BX=A(QC=>{"use strict";Object.defineProperty(QC,"__esModule",{value:!0});QC.HashedRekordLogEntryV002=QC.HashedRekordRequestV002=void 0;var uMe=wd(),QO=TO();QC.HashedRekordRequestV002={fromJSON(t){return{digest:kO(t.digest)?Buffer.from(o4t(t.digest)):Buffer.alloc(0),signature:kO(t.signature)?QO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.digest.length!==0&&(e.digest=a4t(t.digest)),t.signature!==void 0&&(e.signature=QO.Signature.toJSON(t.signature)),e}};QC.HashedRekordLogEntryV002={fromJSON(t){return{data:kO(t.data)?uMe.HashOutput.fromJSON(t.data):void 0,signature:kO(t.signature)?QO.Signature.fromJSON(t.signature):void 0}},toJSON(t){let e={};return t.data!==void 0&&(e.data=uMe.HashOutput.toJSON(t.data)),t.signature!==void 0&&(e.signature=QO.Signature.toJSON(t.signature)),e}};function o4t(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(o4t,"bytesFromBase64");function a4t(t){return globalThis.Buffer.from(t).toString("base64")}o(a4t,"base64FromBytes");function kO(t){return t!=null}o(kO,"isSet")});var dMe=A(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.CreateEntryRequest=nu.Spec=nu.Entry=void 0;var PO=SX(),OO=BX();nu.Entry={fromJSON(t){return{kind:KA(t.kind)?globalThis.String(t.kind):"",apiVersion:KA(t.apiVersion)?globalThis.String(t.apiVersion):"",spec:KA(t.spec)?nu.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=nu.Spec.toJSON(t.spec)),e}};nu.Spec={fromJSON(t){return{spec:KA(t.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:OO.HashedRekordLogEntryV002.fromJSON(t.hashedRekordV002)}:KA(t.dsseV002)?{$case:"dsseV002",dsseV002:PO.DSSELogEntryV002.fromJSON(t.dsseV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordV002"?e.hashedRekordV002=OO.HashedRekordLogEntryV002.toJSON(t.spec.hashedRekordV002):t.spec?.$case==="dsseV002"&&(e.dsseV002=PO.DSSELogEntryV002.toJSON(t.spec.dsseV002)),e}};nu.CreateEntryRequest={fromJSON(t){return{spec:KA(t.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:OO.HashedRekordRequestV002.fromJSON(t.hashedRekordRequestV002)}:KA(t.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:PO.DSSERequestV002.fromJSON(t.dsseRequestV002)}:void 0}},toJSON(t){let e={};return t.spec?.$case==="hashedRekordRequestV002"?e.hashedRekordRequestV002=OO.HashedRekordRequestV002.toJSON(t.spec.hashedRekordRequestV002):t.spec?.$case==="dsseRequestV002"&&(e.dsseRequestV002=PO.DSSERequestV002.toJSON(t.spec.dsseRequestV002)),e}};function KA(t){return t!=null}o(KA,"isSet")});var fMe=A(iu=>{"use strict";var c4t=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]})),LO=iu&&iu.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&c4t(e,t,r)};Object.defineProperty(iu,"__esModule",{value:!0});LO(SX(),iu);LO(dMe(),iu);LO(BX(),iu);LO(TO(),iu)});var hMe=A(XA=>{"use strict";Object.defineProperty(XA,"__esModule",{value:!0});XA.DSSE_API_VERSION_V1=void 0;XA.verifyDSSETLogBody=l4t;XA.verifyDSSETLogBodyV2=u4t;var vd=Mi();XA.DSSE_API_VERSION_V1="0.0.1";function l4t(t,e){if(t.apiVersion===XA.DSSE_API_VERSION_V1)return d4t(t,e);throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported dsse version: ${t.apiVersion}`})}o(l4t,"verifyDSSETLogBody");function u4t(t,e){let r=t.spec?.spec;if(!r)throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="dsseV002")return f4t(r.dsseV002,e);throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(u4t,"verifyDSSETLogBodyV2");function d4t(t,e){if(t.spec.signatures?.length!==1)throw new vd.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 vd.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 vd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(d4t,"verifyDSSE001TLogBody");function f4t(t,e){if(t.signatures?.length!==1)throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=t.signatures[0].content;if(!e.compareSignature(r))throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"tlog entry signature mismatch"});let n=t.payloadHash?.digest||Buffer.from("");if(!e.compareDigest(n))throw new vd.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(f4t,"verifyDSSE002TLogBody")});var pMe=A(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.HASHEDREKORD_API_VERSION_V1=void 0;em.verifyHashedRekordTLogBody=h4t;em.verifyHashedRekordTLogBodyV2=p4t;var ZA=Mi();em.HASHEDREKORD_API_VERSION_V1="0.0.1";function h4t(t,e){if(t.apiVersion===em.HASHEDREKORD_API_VERSION_V1)return A4t(t,e);throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported hashedrekord version: ${t.apiVersion}`})}o(h4t,"verifyHashedRekordTLogBody");function p4t(t,e){let r=t.spec?.spec;if(!r)throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"missing dsse spec"});if(r.$case==="hashedRekordV002")return m4t(r.hashedRekordV002,e);throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported version: ${r.$case}`})}o(p4t,"verifyHashedRekordTLogBodyV2");function A4t(t,e){let r=t.spec.signature.content||"";if(!e.compareSignature(Buffer.from(r,"base64")))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.spec.data.hash?.value||"";if(!e.compareSignedDigest(Buffer.from(n,"hex")))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(A4t,"verifyHashedrekord001TLogBody");function m4t(t,e){let r=t.signature?.content||Buffer.from("");if(!e.compareSignature(r))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"signature mismatch"});let n=t.data?.digest||Buffer.from("");if(!e.compareSignedDigest(n))throw new ZA.VerificationError({code:"TLOG_BODY_ERROR",message:"digest mismatch"})}o(m4t,"verifyHashedrekord002TLogBody")});var AMe=A(xX=>{"use strict";Object.defineProperty(xX,"__esModule",{value:!0});xX.verifyIntotoTLogBody=g4t;var FO=Mi();function g4t(t,e){if(t.apiVersion==="0.0.2")return y4t(t,e);throw new FO.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported intoto version: ${t.apiVersion}`})}o(g4t,"verifyIntotoTLogBody");function y4t(t,e){if(t.spec.content.envelope.signatures?.length!==1)throw new FO.VerificationError({code:"TLOG_BODY_ERROR",message:"signature count mismatch"});let r=E4t(t.spec.content.envelope.signatures[0].sig);if(!e.compareSignature(Buffer.from(r,"base64")))throw new FO.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 FO.VerificationError({code:"TLOG_BODY_ERROR",message:"DSSE payload hash mismatch"})}o(y4t,"verifyIntoto002TLogBody");function E4t(t){return Buffer.from(t,"base64").toString("utf-8")}o(E4t,"base64Decode")});var gMe=A(VB=>{"use strict";Object.defineProperty(VB,"__esModule",{value:!0});VB.LogCheckpoint=void 0;VB.verifyCheckpoint=b4t;var mMe=Cc(),HB=Mi(),vX=` -`,g4t=/\u2014 (\S+) (\S+)\n/g;function y4t(t,e){let r=t.inclusionProof,n=vX.fromString(r.checkpoint.envelope),i=MO.fromString(n.note);if(!E4t(n,e))throw new HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}o(y4t,"verifyCheckpoint");function E4t(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let i=e.find(s=>AMe.crypto.bufferEqual(s.logID.subarray(0,4),n.keyHint)&&s.baseURL.match(n.name));return i?AMe.crypto.verify(r,i.publicKey,n.signature):!1})}o(E4t,"verifySignedNote");var vX=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(xX))throw new HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(xX),n=e.slice(0,r+1),s=e.slice(r+xX.length).matchAll(g4t),a=Array.from(s,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new HB.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 HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},MO=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 HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],i=BigInt(r[1]),s=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,i,s,a)}};VB.LogCheckpoint=MO});var gMe=A(TX=>{"use strict";Object.defineProperty(TX,"__esModule",{value:!0});TX.verifyMerkleInclusion=w4t;var RX=Cc(),NX=Mi(),C4t=Buffer.from([0]),b4t=Buffer.from([1]);function w4t(t,e){let r=t.inclusionProof,n=BigInt(r.logIndex),i=BigInt(e.logSize);if(n<0n||n>=i)throw new NX.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:s,border:a}=I4t(n,i);if(r.hashes.length!==s+a)throw new NX.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,s),l=r.hashes.slice(s),u=_4t(t.canonicalizedBody),d=B4t(S4t(u,c,n),l);if(!RX.crypto.bufferEqual(d,e.logHash))throw new NX.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(w4t,"verifyMerkleInclusion");function I4t(t,e){let r=x4t(t,e),n=v4t(t>>BigInt(r));return{inner:r,border:n}}o(I4t,"decompInclProof");function S4t(t,e,r){return e.reduce((n,i,s)=>r>>BigInt(s)&BigInt(1)?_X(i,n):_X(n,i),t)}o(S4t,"chainInner");function B4t(t,e){return e.reduce((r,n)=>_X(n,r),t)}o(B4t,"chainBorderRight");function x4t(t,e){return N4t(t^e-BigInt(1))}o(x4t,"innerProofSize");function v4t(t){return t.toString(2).split("1").length-1}o(v4t,"onesCount");function N4t(t){return t===0n?0:t.toString(2).length}o(N4t,"bitLength");function _X(t,e){return RX.crypto.digest("sha256",b4t,t,e)}o(_X,"hashChildren");function _4t(t){return RX.crypto.digest("sha256",C4t,t)}o(_4t,"hashLeaf")});var EMe=A(DX=>{"use strict";Object.defineProperty(DX,"__esModule",{value:!0});DX.verifyTLogSET=D4t;var yMe=Cc(),R4t=Mi(),T4t=TC();function D4t(t,e){if(!(0,T4t.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let s=Q4t(t),a=Buffer.from(yMe.json.canonicalize(s),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return yMe.crypto.verify(a,i.publicKey,c)}))throw new R4t.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(D4t,"verifyTLogSET");function Q4t(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(Q4t,"toVerificationPayload")});var bMe=A(UO=>{"use strict";Object.defineProperty(UO,"__esModule",{value:!0});UO.verifyTLogBody=F4t;UO.verifyTLogInclusion=M4t;var CMe=dMe(),PX=Mi(),QX=fMe(),kX=hMe(),k4t=pMe(),P4t=mMe(),O4t=gMe(),L4t=EMe();function F4t(t,e){let{kind:r,version:n}=t.kindVersion,i=JSON.parse(t.canonicalizedBody.toString("utf8"));if(r!==i.kind||n!==i.apiVersion)throw new PX.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${n}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(n==QX.DSSE_API_VERSION_V1)return(0,QX.verifyDSSETLogBody)(i,e);{let s=CMe.Entry.fromJSON(i);return(0,QX.verifyDSSETLogBodyV2)(s,e)}case"intoto":return(0,k4t.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(n==kX.HASHEDREKORD_API_VERSION_V1)return(0,kX.verifyHashedRekordTLogBody)(i,e);{let s=CMe.Entry.fromJSON(i);return(0,kX.verifyHashedRekordTLogBodyV2)(s,e)}default:throw new PX.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(F4t,"verifyTLogBody");function M4t(t,e){let r=!1;if(U4t(t)&&((0,L4t.verifyTLogSET)(t,e),r=!0),q4t(t)){let n=(0,P4t.verifyCheckpoint)(t,e);(0,O4t.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new PX.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(M4t,"verifyTLogInclusion");function U4t(t){return t.inclusionPromise!==void 0}o(U4t,"isTLogEntryWithInclusionPromise");function q4t(t){return t.inclusionProof!==void 0}o(q4t,"isTLogEntryWithInclusionProof")});var xMe=A(qO=>{"use strict";Object.defineProperty(qO,"__esModule",{value:!0});qO.Verifier=void 0;var G4t=require("util"),PC=Mi(),wMe=ZFe(),OX=eMe(),IMe=nMe(),SMe=bMe(),LX=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,IMe.getTSATimestamp)(n.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let i=(0,IMe.getTLogTimestamp)(n.tlogEntry);i&&r.push(i);break}}if(BMe(r))throw new PC.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.lengthn.timestamp)}verifySigningKey({key:e},r){switch(e.$case){case"public-key":return(0,wMe.verifyPublicKey)(e.hint,r,this.trustMaterial);case"certificate":{let n=(0,wMe.verifyCertificate)(e.certificate,r,this.trustMaterial);if(BMe(n.scts))throw new PC.VerificationError({code:"CERTIFICATE_ERROR",message:"duplicate SCT"});if(n.scts.length{n++,(0,SMe.verifyTLogInclusion)(i,this.trustMaterial.tlogs),(0,SMe.verifyTLogBody)(i,e)}),n{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.Verifier=Da.toTrustMaterial=Da.VerificationError=Da.PolicyError=Da.toSignedEntity=void 0;var H4t=$Fe();Object.defineProperty(Da,"toSignedEntity",{enumerable:!0,get:o(function(){return H4t.toSignedEntity},"get")});var vMe=Mi();Object.defineProperty(Da,"PolicyError",{enumerable:!0,get:o(function(){return vMe.PolicyError},"get")});Object.defineProperty(Da,"VerificationError",{enumerable:!0,get:o(function(){return vMe.VerificationError},"get")});var V4t=TC();Object.defineProperty(Da,"toTrustMaterial",{enumerable:!0,get:o(function(){return V4t.toTrustMaterial},"get")});var z4t=xMe();Object.defineProperty(Da,"Verifier",{enumerable:!0,get:o(function(){return z4t.Verifier},"get")})});var XMe=R(require("fs"),1),ZMe=R(require("path"),1);var NZ=R(require("os"),1);function fu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(fu,"toCommandValue");function dL(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(dL,"toCommandProperties");function hu(t,e,r){let n=new fL(t,e,r);process.stdout.write(n.toString()+NZ.EOL)}o(hu,"issueCommand");function hL(t,e=""){hu(t,{},e)}o(hL,"issue");var vZ="::",fL=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=vZ+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}=${UUe(i)}`)}}return e+=`${vZ}${MUe(this.message)}`,e}};function MUe(t){return fu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(MUe,"escapeData");function UUe(t){return fu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(UUe,"escapeProperty");var _Z=R(require("crypto"),1),Ix=R(require("fs"),1),wx=R(require("os"),1);function Sx(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Ix.existsSync(r))throw new Error(`Missing file at path: ${r}`);Ix.appendFileSync(r,`${fu(e)}${wx.EOL}`,{encoding:"utf8"})}o(Sx,"issueFileCommand");function pL(t,e){let r=`ghadelimiter_${_Z.randomUUID()}`,n=fu(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}${wx.EOL}${n}${wx.EOL}${r}`}o(pL,"prepareKeyValueMessage");var iq=R(require("os"),1),Nce=R(require("path"),1);var e0=R(require("http"),1),VU=R(require("https"),1);function AL(t){let e=t.protocol==="https:";if(qUe(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 Bx(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Bx(`http://${r}`)}else return}o(AL,"getProxyUrl");function qUe(t){if(!t.hostname)return!1;let e=t.hostname;if(GUe(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(qUe,"checkBypass");function GUe(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(GUe,"isLoopbackAddress");var Bx=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 Xd=R(lm(),1),ace=R(Kd(),1);var Kr=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())})},Gn;(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"})(Gn||(Gn={}));var Hi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Hi||(Hi={}));var _u;(function(t){t.ApplicationJson="application/json"})(_u||(_u={}));var nWe=[Gn.MovedPermanently,Gn.ResourceMoved,Gn.SeeOther,Gn.TemporaryRedirect,Gn.PermanentRedirect],iWe=[Gn.BadGateway,Gn.ServiceUnavailable,Gn.GatewayTimeout],sWe=["OPTIONS","GET","DELETE","HEAD"],oWe=10,aWe=5,GU=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},HU=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Kr(this,void 0,void 0,function*(){return new Promise(e=>Kr(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 Kr(this,void 0,void 0,function*(){return new Promise(e=>Kr(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 Mo=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 Kr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Kr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Kr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Kr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Kr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Kr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Kr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Kr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Kr(this,arguments,void 0,function*(r,n={}){n[Hi.Accept]=this._getExistingOrDefaultHeader(n,Hi.Accept,_u.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Kr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,_u.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,_u.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Kr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,_u.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,_u.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Kr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,_u.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,_u.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Kr(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&&sWe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Gn.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&&nWe.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||!iWe.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 HU(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=AL(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?VU:e0;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({},Zb(this.requestOptions.headers),Zb(e||{})):Zb(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=Zb(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=Zb(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=AL(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||e0.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?Xd.httpsOverHttps:Xd.httpsOverHttp:l=u?Xd.httpOverHttps:Xd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new VU.Agent(c):new e0.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 ace.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 Kr(this,void 0,void 0,function*(){e=Math.min(oWe,e);let r=aWe*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Kr(this,void 0,void 0,function*(){return new Promise((n,i)=>Kr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Gn.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 GU(d,s);f.result=a.result,i(f)}else n(a)}))})}},Zb=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var cWe=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 Zd=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 cWe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var uce=require("os"),t0=require("fs");var zU=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:lWe,appendFile:uWe,writeFile:dWe}=t0.promises,lce="GITHUB_STEP_SUMMARY";var jU=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return zU(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[lce];if(!e)throw new Error(`Unable to find environment variable for $${lce}. Check if your runtime environment supports job summaries.`);try{yield lWe(e,t0.constants.R_OK|t0.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 zU(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?dWe:uWe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return zU(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(uce.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()}},fWe=new jU;var $U=fWe;var rq=R(require("os"),1);var tq=require("string_decoder");var n0=R(require("os"),1),eq=R(require("events"),1),Ice=R(require("child_process"),1),Sce=R(require("path"),1);var yce=require("assert"),to=R(require("path"),1);var r0=R(require("fs"),1),ef=R(require("path"),1);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())})},{chmod:WU,copyFile:fce,lstat:CN,mkdir:hce,open:Yjt,readdir:YU,rename:hWe,rm:pce,rmdir:Kjt,stat:Zh,symlink:Ace,unlink:KU}=r0.promises,Pc=process.platform==="win32";function mce(t){return JU(this,void 0,void 0,function*(){let e=yield r0.promises.readlink(t);return Pc&&!e.endsWith("\\")?`${e}\\`:e})}o(mce,"readlink");var Xjt=r0.constants.O_RDONLY;function og(t){return JU(this,void 0,void 0,function*(){try{yield Zh(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(og,"exists");function bN(t){if(t=pWe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Pc?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(bN,"isRooted");function XU(t,e){return JU(this,void 0,void 0,function*(){let r;try{r=yield Zh(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Pc){let i=ef.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(dce(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield Zh(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(Pc){try{let s=ef.dirname(t),a=ef.basename(t).toUpperCase();for(let c of yield YU(s))if(a===c.toUpperCase()){t=ef.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(dce(r))return t}}return""})}o(XU,"tryGetExecutablePath");function pWe(t){return t=t||"",Pc?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(pWe,"normalizeSeparators");function dce(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(dce,"isUnixExecutable");var ep=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 Ece(t,e){return ep(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=mWe(i),l=(yield og(n))?yield Zh(n):null;if(l&&l.isFile()&&!s)return;let u=l&&l.isDirectory()&&c?to.join(n,to.basename(r)):n;if(!(yield og(r)))throw new Error(`no such file or directory: ${r}`);if((yield Zh(r)).isDirectory())if(a)yield Cce(r,u,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(to.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield bce(r,u,s)}})}o(Ece,"cp");function wN(t){return ep(this,void 0,void 0,function*(){if(Pc&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield pce(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(wN,"rmRF");function Ru(t){return ep(this,void 0,void 0,function*(){(0,yce.ok)(t,"a path argument must be provided"),yield hce(t,{recursive:!0})})}o(Ru,"mkdirP");function ai(t,e){return ep(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield ai(t,!1);if(!n)throw Pc?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 AWe(t);return r&&r.length>0?r[0]:""})}o(ai,"which");function AWe(t){return ep(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Pc&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(to.delimiter))i&&e.push(i);if(bN(t)){let i=yield XU(t,e);return i?[i]:[]}if(t.includes(to.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(to.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield XU(to.join(i,t),e);s&&n.push(s)}return n})}o(AWe,"findInPath");function mWe(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(mWe,"readCopyOptions");function Cce(t,e,r,n){return ep(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ru(e);let i=yield YU(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield CN(a)).isDirectory()?yield Cce(a,c,r,n):yield bce(a,c,n)}yield WU(e,(yield Zh(t)).mode)})}o(Cce,"cpDirRecursive");function bce(t,e,r){return ep(this,void 0,void 0,function*(){if((yield CN(t)).isSymbolicLink()){try{yield CN(e),yield KU(e)}catch(i){i.code==="EPERM"&&(yield WU(e,"0666"),yield KU(e))}let n=yield mce(t);yield Ace(n,e,Pc?"junction":null)}else(!(yield og(e))||r)&&(yield fce(t,e))})}o(bce,"copyFile");var Bce=require("timers");var wce=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())})},IN=process.platform==="win32",SN=class extends eq.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(IN)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(n0.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+n0.EOL.length),s=i.indexOf(n0.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return IN&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(IN&&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 wce(this,void 0,void 0,function*(){return!bN(this.toolPath)&&(this.toolPath.includes("/")||IN&&this.toolPath.includes("\\"))&&(this.toolPath=Sce.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ai(this.toolPath,!0),new Promise((e,r)=>wce(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)+n0.EOL);let i=new ZU(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield og(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Ice.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 xce(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(xce,"argStringToArray");var ZU=class t extends eq.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,Bce.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 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())})};function ro(t,e,r){return vce(this,void 0,void 0,function*(){let n=xce(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 SN(i,e,r).exec()})}o(ro,"exec");function cg(t,e,r){return vce(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new tq.StringDecoder("utf8"),l=new tq.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(g=>{a+=l.write(g),d&&d(g)},"stdErrListener"),h=o(g=>{s+=c.write(g),u&&u(g)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:h,stderr:f}),m=yield ro(t,e,Object.assign(Object.assign({},r),{listeners:p}));return s+=c.end(),a+=l.end(),{exitCode:m,stdout:s,stderr:a}})}o(cg,"getExecOutput");var i$t=rq.default.platform(),s$t=rq.default.arch();var EWe=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())})},nq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(nq||(nq={}));function kc(t){hu("add-mask",{},t)}o(kc,"setSecret");function Oc(t){process.env.GITHUB_PATH||""?Sx("PATH",t):hu("add-path",{},t),process.env.PATH=`${t}${Nce.delimiter}${process.env.PATH}`}o(Oc,"addPath");function ci(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(ci,"getInput");function tp(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=ci(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(tp,"getBooleanInput");function BN(t,e){if(process.env.GITHUB_OUTPUT||"")return Sx("OUTPUT",pL(t,e));process.stdout.write(iq.EOL),hu("set-output",{name:t},fu(e))}o(BN,"setOutput");function xN(t){process.exitCode=nq.Failure,ug(t)}o(xN,"setFailed");function rp(){return process.env.RUNNER_DEBUG==="1"}o(rp,"isDebug");function D(t){hu("debug",{},t)}o(D,"debug");function ug(t,e={}){hu("error",dL(e),t instanceof Error?t.toString():t)}o(ug,"error");function at(t,e={}){hu("warning",dL(e),t instanceof Error?t.toString():t)}o(at,"warning");function L(t){process.stdout.write(t+iq.EOL)}o(L,"info");function CWe(t){hL("group",t)}o(CWe,"startGroup");function bWe(){hL("endgroup")}o(bWe,"endGroup");function Qr(t,e){return EWe(this,void 0,void 0,function*(){CWe(t);let r;try{r=yield e()}finally{bWe()}return r})}o(Qr,"group");function za(t,e){if(process.env.GITHUB_STATE||"")return Sx("STATE",pL(t,e));hu("save-state",{name:t},fu(e))}o(za,"saveState");function _ce(t){return process.env[`STATE_${t}`]||""}o(_ce,"getState");var R2=R(require("fs"),1),mj=R(require("os"),1),gj=R(require("path"),1);var Tce=R(require("os"),1);function i0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(i0,"toCommandValue");function Dce(t,e,r){let n=new sq(t,e,r);process.stdout.write(n.toString()+Tce.EOL)}o(Dce,"issueCommand");var Rce="::",sq=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=Rce+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}=${IWe(i)}`)}}return e+=`${Rce}${wWe(this.message)}`,e}};function wWe(t){return i0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(wWe,"escapeData");function IWe(t){return i0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(IWe,"escapeProperty");var Oce=R(require("os"),1);var kce=require("os"),s0=require("fs");var oq=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:SWe,appendFile:BWe,writeFile:xWe}=s0.promises,Qce="GITHUB_STEP_SUMMARY";var aq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return oq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Qce];if(!e)throw new Error(`Unable to find environment variable for $${Qce}. Check if your runtime environment supports job summaries.`);try{yield SWe(e,s0.constants.R_OK|s0.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 oq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?xWe:BWe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return oq(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(kce.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()}},k$t=new aq;var cq=R(require("os"),1);var M$t=cq.default.platform(),U$t=cq.default.arch();var Pce;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Pce||(Pce={}));function lq(){return process.env.RUNNER_DEBUG==="1"}o(lq,"isDebug");function Xt(t){Dce("debug",{},t)}o(Xt,"debug");function uq(t){process.stdout.write(t+Oce.EOL)}o(uq,"info");var Dq=R(require("crypto"),1),xi=R(require("fs"),1);var IKe=R(Rq(),1);var qN=R(require("os"),1),ja=R(require("path"),1);var Go=R(Rq(),1),vue=R(require("stream"),1),Nue=R(require("util"),1),Qq=require("assert");var xue=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())})},MN=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 xue(this,void 0,void 0,function*(){let n=1;for(;nsetTimeout(r,e*1e3))})}};var Fc=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())})},UN=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},_ue=process.platform==="win32",V6t=process.platform==="darwin",BKe="actions/tool-cache";function Ho(t,e,r,n){return Fc(this,void 0,void 0,function*(){e=e||ja.join(Pue(),Dq.randomUUID()),yield Ru(ja.dirname(e)),Xt(`Downloading ${t}`),Xt(`Destination ${e}`);let i=3,s=Tq("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=Tq("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new MN(i,s,a).execute(()=>Fc(this,void 0,void 0,function*(){return yield xKe(t,e||"",r,n)}),l=>!(l instanceof UN&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(Ho,"downloadTool");function xKe(t,e,r,n){return Fc(this,void 0,void 0,function*(){if(xi.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new Mo(BKe,[],{allowRetries:!1});r&&(Xt("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let d=new UN(s.message.statusCode);throw Xt(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),d}let a=Nue.promisify(vue.pipeline),l=Tq("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),u=!1;try{return yield a(l,xi.createWriteStream(e)),Xt("download complete"),u=!0,e}finally{if(!u){Xt("download failed");try{yield wN(e)}catch(d){Xt(`Failed to delete '${e}'. ${d.message}`)}}}})}o(xKe,"downloadToolAttempt");function Rue(t,e){return Fc(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield Que(n),Xt("Checking tar --version");let s="";yield ro("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(d=>s+=d.toString(),"stdout"),stderr:o(d=>s+=d.toString(),"stderr")}}),Xt(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],lq()&&!i.includes("v")&&c.push("-v");let l=n,u=r;return _ue&&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 ro("tar",c),n})}o(Rue,"extractTar");function Tue(t,e){return Fc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Que(e),_ue?yield vKe(t,e):yield NKe(t,e),e})}o(Tue,"extractZip");function vKe(t,e){return Fc(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 ai("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(" ")];Xt(`Using pwsh at path: ${i}`),yield ro(`"${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 ai("powershell",!0);Xt(`Using powershell at path: ${c}`),yield ro(`"${c}"`,a)}})}o(vKe,"extractZipWin");function NKe(t,e){return Fc(this,void 0,void 0,function*(){let r=yield ai("unzip",!0),n=[t];lq()||n.unshift("-q"),n.unshift("-o"),yield ro(`"${r}"`,n,{cwd:e})})}o(NKe,"extractZipNix");function kq(t,e,r,n){return Fc(this,void 0,void 0,function*(){if(r=Go.clean(r)||r,n=n||qN.arch(),Xt(`Caching tool ${e} ${r} ${n}`),Xt(`source dir: ${t}`),!xi.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield RKe(e,r,n);for(let s of xi.readdirSync(t)){let a=ja.join(t,s);yield Ece(a,i,{recursive:!0})}return TKe(e,r,n),i})}o(kq,"cacheDir");function Due(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||qN.arch(),!kue(e)){let i=_Ke(t,r);e=DKe(i,e)}let n="";if(e){e=Go.clean(e)||"";let i=ja.join(GN(),t,e,r);Xt(`checking cache: ${i}`),xi.existsSync(i)&&xi.existsSync(`${i}.complete`)?(Xt(`Found tool in cache ${t} ${e} ${r}`),n=i):Xt("not found")}return n}o(Due,"find");function _Ke(t,e){let r=[];e=e||qN.arch();let n=ja.join(GN(),t);if(xi.existsSync(n)){let i=xi.readdirSync(n);for(let s of i)if(kue(s)){let a=ja.join(n,s,e||"");xi.existsSync(a)&&xi.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(_Ke,"findAllVersions");function Que(t){return Fc(this,void 0,void 0,function*(){return t||(t=ja.join(Pue(),Dq.randomUUID())),yield Ru(t),t})}o(Que,"_createExtractFolder");function RKe(t,e,r){return Fc(this,void 0,void 0,function*(){let n=ja.join(GN(),t,Go.clean(e)||e,r||"");Xt(`destination ${n}`);let i=`${n}.complete`;return yield wN(n),yield wN(i),yield Ru(n),n})}o(RKe,"_createToolPath");function TKe(t,e,r){let i=`${ja.join(GN(),t,Go.clean(e)||e,r||"")}.complete`;xi.writeFileSync(i,""),Xt("finished caching tool")}o(TKe,"_completeToolPath");function kue(t){let e=Go.clean(t)||"";Xt(`isExplicit: ${e}`);let r=Go.valid(e)!=null;return Xt(`explicit? ${r}`),r}o(kue,"isExplicitVersion");function DKe(t,e){let r="";Xt(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Go.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Go.satisfies(i,e)){r=i;break}}return r?Xt(`matched: ${r}`):Xt("match not found"),r}o(DKe,"evaluateVersions");function GN(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Qq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(GN,"_getCacheDirectory");function Pue(){let t=process.env.RUNNER_TEMP||"";return(0,Qq.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(Pue,"_getTempDirectory");function Tq(t,e){let r=global[t];return r!==void 0?r:e}o(Tq,"_getGlobal");var $w=R(require("path"),1);var Lue=R(require("os"),1);function h0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(h0,"toCommandValue");function Fue(t,e,r){let n=new Pq(t,e,r);process.stdout.write(n.toString()+Lue.EOL)}o(Fue,"issueCommand");var Oue="::",Pq=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=Oue+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}=${kKe(i)}`)}}return e+=`${Oue}${QKe(this.message)}`,e}};function QKe(t){return h0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(QKe,"escapeData");function kKe(t){return h0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(kKe,"escapeProperty");var Uue=require("os"),p0=require("fs");var Oq=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:PKe,appendFile:OKe,writeFile:LKe}=p0.promises,Mue="GITHUB_STEP_SUMMARY";var Lq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Oq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Mue];if(!e)throw new Error(`Unable to find environment variable for $${Mue}. Check if your runtime environment supports job summaries.`);try{yield PKe(e,p0.constants.R_OK|p0.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 Oq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?LKe:OKe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Oq(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(Uue.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()}},oJt=new Lq;var Fq=R(require("os"),1);var dJt=Fq.default.platform(),fJt=Fq.default.arch();var que;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(que||(que={}));function Vo(t){Fue("debug",{},t)}o(Vo,"debug");var gg=R(require("fs"),1);function Uq(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Vo(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Vo(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Vo(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Vo(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Vo(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Uq,"getOptions");var $N=R(require("path"),1);var hg=R(require("path"),1),tf=R(require("assert"),1);var rf=process.platform==="win32";function Du(t){if(t=Tu(t),rf&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=hg.dirname(t);return rf&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Tu(e)),e}o(Du,"dirname");function HN(t,e){if((0,tf.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,tf.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),A0(e))return e;if(rf){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,tf.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($a(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,tf.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,tf.default)(A0(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||rf&&t.endsWith("\\")||(t+=hg.sep),t+e}o(HN,"ensureAbsoluteRoot");function A0(t){return(0,tf.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=$a(t),rf?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(A0,"hasAbsoluteRoot");function m0(t){return(0,tf.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=$a(t),rf?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(m0,"hasRoot");function $a(t){return t=t||"",rf?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o($a,"normalizeSeparators");function Tu(t){return t?(t=$a(t),!t.endsWith(hg.sep)||t===hg.sep||rf&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Tu,"safeTrimTrailingSeparator");var Ja;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Ja||(Ja={}));var Gue=process.platform==="win32";function Gq(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=Gue?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=Gue?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=Du(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=Du(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(Gq,"getSearchPaths");function Hue(t,e){let r=Ja.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(Hue,"match");function Vue(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(Vue,"partialMatch");var dde=R(require("os"),1),mg=R(require("path"),1);var sf=R(require("assert"),1),fde=R(ude(),1);var sp=R(require("path"),1);var Ag=R(require("assert"),1);var c7e=process.platform==="win32",op=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=Tu(e),!m0(e))this.segments=e.split(sp.sep);else{let r=e,n=Du(r);for(;n!==r;){let i=sp.basename(r);this.segments.unshift(i),r=n,n=Du(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 op(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Qu?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Qu,nocomment:!0,noext:!0,nonegate:!0};s=Qu?s.replace(/\\/g,"/"):s,this.minimatch=new l7e(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=$a(e),!e.endsWith(mg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${mg.sep}`)):e=Tu(e),this.minimatch.match(e)?this.trailingSeparator?Ja.Directory:Ja.All:Ja.None}partialMatch(e){return e=Tu(e),Du(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Qu?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Qu?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,sf.default)(e,"pattern cannot be empty");let n=new op(e).segments.map(i=>t.getLiteral(i));if((0,sf.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,sf.default)(!m0(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=$a(e),e==="."||e.startsWith(`.${mg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${mg.sep}`))r=r||dde.homedir(),(0,sf.default)(r,"Unable to determine HOME directory"),(0,sf.default)(A0(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Qu&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=HN("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Qu&&(e==="\\"||e.match(/^\\[^\\]/))){let i=HN("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=HN(t.globEscape(process.cwd()),e);return $a(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 Jq=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())})},u7e=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)}},of=function(t){return this instanceof of?(this.v=t,this):new of(t)},d7e=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(m){return Promise.resolve(m).then(p,f)}}function c(p,m){n[p]&&(i[p]=function(g){return new Promise(function(E,y){s.push([p,g,E,y])>1||l(p,g)})},m&&(i[p]=m(i[p])))}function l(p,m){try{u(n[p](m))}catch(g){h(s[0][3],g)}}function u(p){p.value instanceof of?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,m){p(m),s.shift(),s.length&&l(s[0][0],s[0][1])}},f7e=process.platform==="win32",jN=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Uq(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Jq(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=u7e(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 d7e(this,arguments,o(function*(){let r=Uq(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 Gq(n)){Vo(`Search path '${a}'`);try{yield of(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=Hue(n,a.path),l=!!c||Vue(n,a.path);if(!c&&!l)continue;let u=yield of(t.stat(a,r,s));if(u&&!(r.excludeHiddenFiles&&$N.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&Ja.Directory&&r.matchDirectories)yield yield of(a.path);else if(!l)continue;let d=a.level+1,f=(yield of(gg.promises.readdir(a.path))).map(h=>new E0($N.join(a.path,h),d));i.push(...f.reverse())}else c&Ja.File&&(yield yield of(a.path))}},"globGenerator_1"))}static create(e,r){return Jq(this,void 0,void 0,function*(){let n=new t(r);f7e&&(e=e.replace(/\r\n/g,` +`,C4t=/\u2014 (\S+) (\S+)\n/g;function b4t(t,e){let r=t.inclusionProof,n=NX.fromString(r.checkpoint.envelope),i=MO.fromString(n.note);if(!w4t(n,e))throw new HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}o(b4t,"verifyCheckpoint");function w4t(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let i=e.find(s=>mMe.crypto.bufferEqual(s.logID.subarray(0,4),n.keyHint)&&s.baseURL.match(n.name));return i?mMe.crypto.verify(r,i.publicKey,n.signature):!1})}o(w4t,"verifySignedNote");var NX=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(vX))throw new HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(vX),n=e.slice(0,r+1),s=e.slice(r+vX.length).matchAll(C4t),a=Array.from(s,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new HB.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 HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},MO=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 HB.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],i=BigInt(r[1]),s=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,i,s,a)}};VB.LogCheckpoint=MO});var yMe=A(DX=>{"use strict";Object.defineProperty(DX,"__esModule",{value:!0});DX.verifyMerkleInclusion=B4t;var TX=Cc(),_X=Mi(),I4t=Buffer.from([0]),S4t=Buffer.from([1]);function B4t(t,e){let r=t.inclusionProof,n=BigInt(r.logIndex),i=BigInt(e.logSize);if(n<0n||n>=i)throw new _X.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:s,border:a}=x4t(n,i);if(r.hashes.length!==s+a)throw new _X.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,s),l=r.hashes.slice(s),u=D4t(t.canonicalizedBody),d=N4t(v4t(u,c,n),l);if(!TX.crypto.bufferEqual(d,e.logHash))throw new _X.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(B4t,"verifyMerkleInclusion");function x4t(t,e){let r=_4t(t,e),n=R4t(t>>BigInt(r));return{inner:r,border:n}}o(x4t,"decompInclProof");function v4t(t,e,r){return e.reduce((n,i,s)=>r>>BigInt(s)&BigInt(1)?RX(i,n):RX(n,i),t)}o(v4t,"chainInner");function N4t(t,e){return e.reduce((r,n)=>RX(n,r),t)}o(N4t,"chainBorderRight");function _4t(t,e){return T4t(t^e-BigInt(1))}o(_4t,"innerProofSize");function R4t(t){return t.toString(2).split("1").length-1}o(R4t,"onesCount");function T4t(t){return t===0n?0:t.toString(2).length}o(T4t,"bitLength");function RX(t,e){return TX.crypto.digest("sha256",S4t,t,e)}o(RX,"hashChildren");function D4t(t){return TX.crypto.digest("sha256",I4t,t)}o(D4t,"hashLeaf")});var CMe=A(QX=>{"use strict";Object.defineProperty(QX,"__esModule",{value:!0});QX.verifyTLogSET=P4t;var EMe=Cc(),Q4t=Mi(),k4t=RC();function P4t(t,e){if(!(0,k4t.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let s=O4t(t),a=Buffer.from(EMe.json.canonicalize(s),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return EMe.crypto.verify(a,i.publicKey,c)}))throw new Q4t.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(P4t,"verifyTLogSET");function O4t(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(O4t,"toVerificationPayload")});var wMe=A(UO=>{"use strict";Object.defineProperty(UO,"__esModule",{value:!0});UO.verifyTLogBody=q4t;UO.verifyTLogInclusion=G4t;var bMe=fMe(),OX=Mi(),kX=hMe(),PX=pMe(),L4t=AMe(),F4t=gMe(),M4t=yMe(),U4t=CMe();function q4t(t,e){let{kind:r,version:n}=t.kindVersion,i=JSON.parse(t.canonicalizedBody.toString("utf8"));if(r!==i.kind||n!==i.apiVersion)throw new OX.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${n}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(n==kX.DSSE_API_VERSION_V1)return(0,kX.verifyDSSETLogBody)(i,e);{let s=bMe.Entry.fromJSON(i);return(0,kX.verifyDSSETLogBodyV2)(s,e)}case"intoto":return(0,L4t.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(n==PX.HASHEDREKORD_API_VERSION_V1)return(0,PX.verifyHashedRekordTLogBody)(i,e);{let s=bMe.Entry.fromJSON(i);return(0,PX.verifyHashedRekordTLogBodyV2)(s,e)}default:throw new OX.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(q4t,"verifyTLogBody");function G4t(t,e){let r=!1;if(H4t(t)&&((0,U4t.verifyTLogSET)(t,e),r=!0),V4t(t)){let n=(0,F4t.verifyCheckpoint)(t,e);(0,M4t.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new OX.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o(G4t,"verifyTLogInclusion");function H4t(t){return t.inclusionPromise!==void 0}o(H4t,"isTLogEntryWithInclusionPromise");function V4t(t){return t.inclusionProof!==void 0}o(V4t,"isTLogEntryWithInclusionProof")});var vMe=A(qO=>{"use strict";Object.defineProperty(qO,"__esModule",{value:!0});qO.Verifier=void 0;var z4t=require("util"),kC=Mi(),IMe=eMe(),LX=tMe(),SMe=iMe(),BMe=wMe(),FX=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,SMe.getTSATimestamp)(n.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let i=(0,SMe.getTLogTimestamp)(n.tlogEntry);i&&r.push(i);break}}if(xMe(r))throw new kC.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.lengthn.timestamp)}verifySigningKey({key:e},r){switch(e.$case){case"public-key":return(0,IMe.verifyPublicKey)(e.hint,r,this.trustMaterial);case"certificate":{let n=(0,IMe.verifyCertificate)(e.certificate,r,this.trustMaterial);if(xMe(n.scts))throw new kC.VerificationError({code:"CERTIFICATE_ERROR",message:"duplicate SCT"});if(n.scts.length{n++,(0,BMe.verifyTLogInclusion)(i,this.trustMaterial.tlogs),(0,BMe.verifyTLogBody)(i,e)}),n{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.Verifier=Da.toTrustMaterial=Da.VerificationError=Da.PolicyError=Da.toSignedEntity=void 0;var j4t=JFe();Object.defineProperty(Da,"toSignedEntity",{enumerable:!0,get:o(function(){return j4t.toSignedEntity},"get")});var NMe=Mi();Object.defineProperty(Da,"PolicyError",{enumerable:!0,get:o(function(){return NMe.PolicyError},"get")});Object.defineProperty(Da,"VerificationError",{enumerable:!0,get:o(function(){return NMe.VerificationError},"get")});var $4t=RC();Object.defineProperty(Da,"toTrustMaterial",{enumerable:!0,get:o(function(){return $4t.toTrustMaterial},"get")});var J4t=vMe();Object.defineProperty(Da,"Verifier",{enumerable:!0,get:o(function(){return J4t.Verifier},"get")})});var ZMe=R(require("fs"),1),eUe=R(require("path"),1);var _Z=R(require("os"),1);function fu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(fu,"toCommandValue");function dL(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(dL,"toCommandProperties");function hu(t,e,r){let n=new fL(t,e,r);process.stdout.write(n.toString()+_Z.EOL)}o(hu,"issueCommand");function hL(t,e=""){hu(t,{},e)}o(hL,"issue");var NZ="::",fL=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=NZ+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}=${qUe(i)}`)}}return e+=`${NZ}${UUe(this.message)}`,e}};function UUe(t){return fu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(UUe,"escapeData");function qUe(t){return fu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(qUe,"escapeProperty");var RZ=R(require("crypto"),1),Ix=R(require("fs"),1),wx=R(require("os"),1);function Sx(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Ix.existsSync(r))throw new Error(`Missing file at path: ${r}`);Ix.appendFileSync(r,`${fu(e)}${wx.EOL}`,{encoding:"utf8"})}o(Sx,"issueFileCommand");function pL(t,e){let r=`ghadelimiter_${RZ.randomUUID()}`,n=fu(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}${wx.EOL}${n}${wx.EOL}${r}`}o(pL,"prepareKeyValueMessage");var iq=R(require("os"),1),_ce=R(require("path"),1);var Zb=R(require("http"),1),VU=R(require("https"),1);function AL(t){let e=t.protocol==="https:";if(GUe(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 Bx(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Bx(`http://${r}`)}else return}o(AL,"getProxyUrl");function GUe(t){if(!t.hostname)return!1;let e=t.hostname;if(HUe(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(GUe,"checkBypass");function HUe(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(HUe,"isLoopbackAddress");var Bx=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 Xd=R(lm(),1),cce=R(Kd(),1);var Kr=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())})},Gn;(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"})(Gn||(Gn={}));var Hi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Hi||(Hi={}));var _u;(function(t){t.ApplicationJson="application/json"})(_u||(_u={}));var iWe=[Gn.MovedPermanently,Gn.ResourceMoved,Gn.SeeOther,Gn.TemporaryRedirect,Gn.PermanentRedirect],sWe=[Gn.BadGateway,Gn.ServiceUnavailable,Gn.GatewayTimeout],oWe=["OPTIONS","GET","DELETE","HEAD"],aWe=10,cWe=5,GU=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},HU=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Kr(this,void 0,void 0,function*(){return new Promise(e=>Kr(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 Kr(this,void 0,void 0,function*(){return new Promise(e=>Kr(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 Mo=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 Kr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Kr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Kr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Kr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Kr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Kr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Kr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Kr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Kr(this,arguments,void 0,function*(r,n={}){n[Hi.Accept]=this._getExistingOrDefaultHeader(n,Hi.Accept,_u.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Kr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,_u.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,_u.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Kr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,_u.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,_u.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Kr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Hi.Accept]=this._getExistingOrDefaultHeader(s,Hi.Accept,_u.ApplicationJson),s[Hi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,_u.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Kr(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&&oWe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===Gn.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&&iWe.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||!sWe.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 HU(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=AL(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?VU: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=AL(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?Xd.httpsOverHttps:Xd.httpsOverHttp:l=u?Xd.httpOverHttps:Xd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new VU.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 cce.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 Kr(this,void 0,void 0,function*(){e=Math.min(aWe,e);let r=cWe*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Kr(this,void 0,void 0,function*(){return new Promise((n,i)=>Kr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===Gn.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 GU(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 lWe=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 Zd=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 lWe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var dce=require("os"),e0=require("fs");var zU=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:uWe,appendFile:dWe,writeFile:fWe}=e0.promises,uce="GITHUB_STEP_SUMMARY";var jU=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return zU(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[uce];if(!e)throw new Error(`Unable to find environment variable for $${uce}. Check if your runtime environment supports job summaries.`);try{yield uWe(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 zU(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?fWe:dWe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return zU(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(dce.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()}},hWe=new jU;var $U=hWe;var rq=R(require("os"),1);var tq=require("string_decoder");var r0=R(require("os"),1),eq=R(require("events"),1),Sce=R(require("child_process"),1),Bce=R(require("path"),1);var Ece=require("assert"),to=R(require("path"),1);var t0=R(require("fs"),1),ef=R(require("path"),1);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())})},{chmod:WU,copyFile:hce,lstat:CN,mkdir:pce,open:Zjt,readdir:YU,rename:pWe,rm:Ace,rmdir:e$t,stat:Zh,symlink:mce,unlink:KU}=t0.promises,Pc=process.platform==="win32";function gce(t){return JU(this,void 0,void 0,function*(){let e=yield t0.promises.readlink(t);return Pc&&!e.endsWith("\\")?`${e}\\`:e})}o(gce,"readlink");var t$t=t0.constants.O_RDONLY;function og(t){return JU(this,void 0,void 0,function*(){try{yield Zh(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(og,"exists");function bN(t){if(t=AWe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Pc?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(bN,"isRooted");function XU(t,e){return JU(this,void 0,void 0,function*(){let r;try{r=yield Zh(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Pc){let i=ef.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(fce(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield Zh(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(Pc){try{let s=ef.dirname(t),a=ef.basename(t).toUpperCase();for(let c of yield YU(s))if(a===c.toUpperCase()){t=ef.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(fce(r))return t}}return""})}o(XU,"tryGetExecutablePath");function AWe(t){return t=t||"",Pc?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(AWe,"normalizeSeparators");function fce(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(fce,"isUnixExecutable");var ep=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 Cce(t,e){return ep(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=gWe(i),l=(yield og(n))?yield Zh(n):null;if(l&&l.isFile()&&!s)return;let u=l&&l.isDirectory()&&c?to.join(n,to.basename(r)):n;if(!(yield og(r)))throw new Error(`no such file or directory: ${r}`);if((yield Zh(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(to.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield wce(r,u,s)}})}o(Cce,"cp");function wN(t){return ep(this,void 0,void 0,function*(){if(Pc&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Ace(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(wN,"rmRF");function Ru(t){return ep(this,void 0,void 0,function*(){(0,Ece.ok)(t,"a path argument must be provided"),yield pce(t,{recursive:!0})})}o(Ru,"mkdirP");function ai(t,e){return ep(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield ai(t,!1);if(!n)throw Pc?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 mWe(t);return r&&r.length>0?r[0]:""})}o(ai,"which");function mWe(t){return ep(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Pc&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(to.delimiter))i&&e.push(i);if(bN(t)){let i=yield XU(t,e);return i?[i]:[]}if(t.includes(to.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(to.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield XU(to.join(i,t),e);s&&n.push(s)}return n})}o(mWe,"findInPath");function gWe(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(gWe,"readCopyOptions");function bce(t,e,r,n){return ep(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ru(e);let i=yield YU(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield CN(a)).isDirectory()?yield bce(a,c,r,n):yield wce(a,c,n)}yield WU(e,(yield Zh(t)).mode)})}o(bce,"cpDirRecursive");function wce(t,e,r){return ep(this,void 0,void 0,function*(){if((yield CN(t)).isSymbolicLink()){try{yield CN(e),yield KU(e)}catch(i){i.code==="EPERM"&&(yield WU(e,"0666"),yield KU(e))}let n=yield gce(t);yield mce(n,e,Pc?"junction":null)}else(!(yield og(e))||r)&&(yield hce(t,e))})}o(wce,"copyFile");var xce=require("timers");var Ice=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())})},IN=process.platform==="win32",SN=class extends eq.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(IN)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 IN&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(IN&&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 Ice(this,void 0,void 0,function*(){return!bN(this.toolPath)&&(this.toolPath.includes("/")||IN&&this.toolPath.includes("\\"))&&(this.toolPath=Bce.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ai(this.toolPath,!0),new Promise((e,r)=>Ice(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 ZU(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield og(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Sce.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 vce(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(vce,"argStringToArray");var ZU=class t extends eq.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,xce.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 Nce=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 ro(t,e,r){return Nce(this,void 0,void 0,function*(){let n=vce(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 SN(i,e,r).exec()})}o(ro,"exec");function cg(t,e,r){return Nce(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new tq.StringDecoder("utf8"),l=new tq.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(g=>{a+=l.write(g),d&&d(g)},"stdErrListener"),h=o(g=>{s+=c.write(g),u&&u(g)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:h,stderr:f}),m=yield ro(t,e,Object.assign(Object.assign({},r),{listeners:p}));return s+=c.end(),a+=l.end(),{exitCode:m,stdout:s,stderr:a}})}o(cg,"getExecOutput");var a$t=rq.default.platform(),c$t=rq.default.arch();var CWe=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())})},nq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(nq||(nq={}));function kc(t){hu("add-mask",{},t)}o(kc,"setSecret");function Oc(t){process.env.GITHUB_PATH||""?Sx("PATH",t):hu("add-path",{},t),process.env.PATH=`${t}${_ce.delimiter}${process.env.PATH}`}o(Oc,"addPath");function ci(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(ci,"getInput");function tp(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=ci(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(tp,"getBooleanInput");function BN(t,e){if(process.env.GITHUB_OUTPUT||"")return Sx("OUTPUT",pL(t,e));process.stdout.write(iq.EOL),hu("set-output",{name:t},fu(e))}o(BN,"setOutput");function xN(t){process.exitCode=nq.Failure,ug(t)}o(xN,"setFailed");function rp(){return process.env.RUNNER_DEBUG==="1"}o(rp,"isDebug");function D(t){hu("debug",{},t)}o(D,"debug");function ug(t,e={}){hu("error",dL(e),t instanceof Error?t.toString():t)}o(ug,"error");function at(t,e={}){hu("warning",dL(e),t instanceof Error?t.toString():t)}o(at,"warning");function L(t){process.stdout.write(t+iq.EOL)}o(L,"info");function bWe(t){hL("group",t)}o(bWe,"startGroup");function wWe(){hL("endgroup")}o(wWe,"endGroup");function Qr(t,e){return CWe(this,void 0,void 0,function*(){bWe(t);let r;try{r=yield e()}finally{wWe()}return r})}o(Qr,"group");function za(t,e){if(process.env.GITHUB_STATE||"")return Sx("STATE",pL(t,e));hu("save-state",{name:t},fu(e))}o(za,"saveState");function Rce(t){return process.env[`STATE_${t}`]||""}o(Rce,"getState");var R2=R(require("fs"),1),gj=R(require("os"),1),yj=R(require("path"),1);var Dce=R(require("os"),1);function n0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(n0,"toCommandValue");function Qce(t,e,r){let n=new sq(t,e,r);process.stdout.write(n.toString()+Dce.EOL)}o(Qce,"issueCommand");var Tce="::",sq=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=Tce+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}=${SWe(i)}`)}}return e+=`${Tce}${IWe(this.message)}`,e}};function IWe(t){return n0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(IWe,"escapeData");function SWe(t){return n0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(SWe,"escapeProperty");var Lce=R(require("os"),1);var Pce=require("os"),i0=require("fs");var oq=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:BWe,appendFile:xWe,writeFile:vWe}=i0.promises,kce="GITHUB_STEP_SUMMARY";var aq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return oq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[kce];if(!e)throw new Error(`Unable to find environment variable for $${kce}. Check if your runtime environment supports job summaries.`);try{yield BWe(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 oq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?vWe:xWe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return oq(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(Pce.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()}},L$t=new aq;var cq=R(require("os"),1);var G$t=cq.default.platform(),H$t=cq.default.arch();var Oce;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Oce||(Oce={}));function lq(){return process.env.RUNNER_DEBUG==="1"}o(lq,"isDebug");function Xt(t){Qce("debug",{},t)}o(Xt,"debug");function uq(t){process.stdout.write(t+Lce.EOL)}o(uq,"info");var Dq=R(require("crypto"),1),xi=R(require("fs"),1);var SKe=R(Rq(),1);var qN=R(require("os"),1),ja=R(require("path"),1);var Go=R(Rq(),1),Nue=R(require("stream"),1),_ue=R(require("util"),1),Qq=require("assert");var vue=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())})},MN=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 vue(this,void 0,void 0,function*(){let n=1;for(;nsetTimeout(r,e*1e3))})}};var Fc=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())})},UN=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},Rue=process.platform==="win32",$6t=process.platform==="darwin",xKe="actions/tool-cache";function Ho(t,e,r,n){return Fc(this,void 0,void 0,function*(){e=e||ja.join(Oue(),Dq.randomUUID()),yield Ru(ja.dirname(e)),Xt(`Downloading ${t}`),Xt(`Destination ${e}`);let i=3,s=Tq("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=Tq("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new MN(i,s,a).execute(()=>Fc(this,void 0,void 0,function*(){return yield vKe(t,e||"",r,n)}),l=>!(l instanceof UN&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(Ho,"downloadTool");function vKe(t,e,r,n){return Fc(this,void 0,void 0,function*(){if(xi.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new Mo(xKe,[],{allowRetries:!1});r&&(Xt("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let d=new UN(s.message.statusCode);throw Xt(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),d}let a=_ue.promisify(Nue.pipeline),l=Tq("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),u=!1;try{return yield a(l,xi.createWriteStream(e)),Xt("download complete"),u=!0,e}finally{if(!u){Xt("download failed");try{yield wN(e)}catch(d){Xt(`Failed to delete '${e}'. ${d.message}`)}}}})}o(vKe,"downloadToolAttempt");function Tue(t,e){return Fc(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield kue(n),Xt("Checking tar --version");let s="";yield ro("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(d=>s+=d.toString(),"stdout"),stderr:o(d=>s+=d.toString(),"stderr")}}),Xt(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],lq()&&!i.includes("v")&&c.push("-v");let l=n,u=r;return Rue&&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 ro("tar",c),n})}o(Tue,"extractTar");function Due(t,e){return Fc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield kue(e),Rue?yield NKe(t,e):yield _Ke(t,e),e})}o(Due,"extractZip");function NKe(t,e){return Fc(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 ai("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(" ")];Xt(`Using pwsh at path: ${i}`),yield ro(`"${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 ai("powershell",!0);Xt(`Using powershell at path: ${c}`),yield ro(`"${c}"`,a)}})}o(NKe,"extractZipWin");function _Ke(t,e){return Fc(this,void 0,void 0,function*(){let r=yield ai("unzip",!0),n=[t];lq()||n.unshift("-q"),n.unshift("-o"),yield ro(`"${r}"`,n,{cwd:e})})}o(_Ke,"extractZipNix");function kq(t,e,r,n){return Fc(this,void 0,void 0,function*(){if(r=Go.clean(r)||r,n=n||qN.arch(),Xt(`Caching tool ${e} ${r} ${n}`),Xt(`source dir: ${t}`),!xi.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield TKe(e,r,n);for(let s of xi.readdirSync(t)){let a=ja.join(t,s);yield Cce(a,i,{recursive:!0})}return DKe(e,r,n),i})}o(kq,"cacheDir");function Que(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||qN.arch(),!Pue(e)){let i=RKe(t,r);e=QKe(i,e)}let n="";if(e){e=Go.clean(e)||"";let i=ja.join(GN(),t,e,r);Xt(`checking cache: ${i}`),xi.existsSync(i)&&xi.existsSync(`${i}.complete`)?(Xt(`Found tool in cache ${t} ${e} ${r}`),n=i):Xt("not found")}return n}o(Que,"find");function RKe(t,e){let r=[];e=e||qN.arch();let n=ja.join(GN(),t);if(xi.existsSync(n)){let i=xi.readdirSync(n);for(let s of i)if(Pue(s)){let a=ja.join(n,s,e||"");xi.existsSync(a)&&xi.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(RKe,"findAllVersions");function kue(t){return Fc(this,void 0,void 0,function*(){return t||(t=ja.join(Oue(),Dq.randomUUID())),yield Ru(t),t})}o(kue,"_createExtractFolder");function TKe(t,e,r){return Fc(this,void 0,void 0,function*(){let n=ja.join(GN(),t,Go.clean(e)||e,r||"");Xt(`destination ${n}`);let i=`${n}.complete`;return yield wN(n),yield wN(i),yield Ru(n),n})}o(TKe,"_createToolPath");function DKe(t,e,r){let i=`${ja.join(GN(),t,Go.clean(e)||e,r||"")}.complete`;xi.writeFileSync(i,""),Xt("finished caching tool")}o(DKe,"_completeToolPath");function Pue(t){let e=Go.clean(t)||"";Xt(`isExplicit: ${e}`);let r=Go.valid(e)!=null;return Xt(`explicit? ${r}`),r}o(Pue,"isExplicitVersion");function QKe(t,e){let r="";Xt(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Go.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Go.satisfies(i,e)){r=i;break}}return r?Xt(`matched: ${r}`):Xt("match not found"),r}o(QKe,"evaluateVersions");function GN(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Qq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(GN,"_getCacheDirectory");function Oue(){let t=process.env.RUNNER_TEMP||"";return(0,Qq.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(Oue,"_getTempDirectory");function Tq(t,e){let r=global[t];return r!==void 0?r:e}o(Tq,"_getGlobal");var $w=R(require("path"),1);var Fue=R(require("os"),1);function f0(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(f0,"toCommandValue");function Mue(t,e,r){let n=new Pq(t,e,r);process.stdout.write(n.toString()+Fue.EOL)}o(Mue,"issueCommand");var Lue="::",Pq=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=Lue+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}=${PKe(i)}`)}}return e+=`${Lue}${kKe(this.message)}`,e}};function kKe(t){return f0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(kKe,"escapeData");function PKe(t){return f0(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(PKe,"escapeProperty");var que=require("os"),h0=require("fs");var Oq=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:OKe,appendFile:LKe,writeFile:FKe}=h0.promises,Uue="GITHUB_STEP_SUMMARY";var Lq=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Oq(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Uue];if(!e)throw new Error(`Unable to find environment variable for $${Uue}. Check if your runtime environment supports job summaries.`);try{yield OKe(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 Oq(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?FKe:LKe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Oq(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(que.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()}},lJt=new Lq;var Fq=R(require("os"),1);var pJt=Fq.default.platform(),AJt=Fq.default.arch();var Gue;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Gue||(Gue={}));function Vo(t){Mue("debug",{},t)}o(Vo,"debug");var mg=R(require("fs"),1);function Uq(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Vo(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Vo(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Vo(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Vo(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Vo(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Uq,"getOptions");var $N=R(require("path"),1);var hg=R(require("path"),1),tf=R(require("assert"),1);var rf=process.platform==="win32";function Du(t){if(t=Tu(t),rf&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=hg.dirname(t);return rf&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Tu(e)),e}o(Du,"dirname");function HN(t,e){if((0,tf.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,tf.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),p0(e))return e;if(rf){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,tf.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($a(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,tf.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,tf.default)(p0(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||rf&&t.endsWith("\\")||(t+=hg.sep),t+e}o(HN,"ensureAbsoluteRoot");function p0(t){return(0,tf.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=$a(t),rf?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(p0,"hasAbsoluteRoot");function A0(t){return(0,tf.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=$a(t),rf?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(A0,"hasRoot");function $a(t){return t=t||"",rf?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o($a,"normalizeSeparators");function Tu(t){return t?(t=$a(t),!t.endsWith(hg.sep)||t===hg.sep||rf&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Tu,"safeTrimTrailingSeparator");var Ja;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Ja||(Ja={}));var Hue=process.platform==="win32";function Gq(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=Hue?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=Hue?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=Du(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=Du(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(Gq,"getSearchPaths");function Vue(t,e){let r=Ja.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(Vue,"match");function zue(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(zue,"partialMatch");var fde=R(require("os"),1),Ag=R(require("path"),1);var sf=R(require("assert"),1),hde=R(dde(),1);var sp=R(require("path"),1);var pg=R(require("assert"),1);var d7e=process.platform==="win32",op=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,pg.default)(e,"Parameter 'itemPath' must not be empty"),e=Tu(e),!A0(e))this.segments=e.split(sp.sep);else{let r=e,n=Du(r);for(;n!==r;){let i=sp.basename(r);this.segments.unshift(i),r=n,n=Du(r)}this.segments.unshift(r)}else{(0,pg.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 op(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Qu?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Qu,nocomment:!0,noext:!0,nonegate:!0};s=Qu?s.replace(/\\/g,"/"):s,this.minimatch=new f7e(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=$a(e),!e.endsWith(Ag.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Ag.sep}`)):e=Tu(e),this.minimatch.match(e)?this.trailingSeparator?Ja.Directory:Ja.All:Ja.None}partialMatch(e){return e=Tu(e),Du(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Qu?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Qu?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,sf.default)(e,"pattern cannot be empty");let n=new op(e).segments.map(i=>t.getLiteral(i));if((0,sf.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,sf.default)(!A0(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=$a(e),e==="."||e.startsWith(`.${Ag.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Ag.sep}`))r=r||fde.homedir(),(0,sf.default)(r,"Unable to determine HOME directory"),(0,sf.default)(p0(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Qu&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=HN("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Qu&&(e==="\\"||e.match(/^\\[^\\]/))){let i=HN("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=HN(t.globEscape(process.cwd()),e);return $a(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 Wq=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())})},h7e=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)}},of=function(t){return this instanceof of?(this.v=t,this):new of(t)},p7e=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(m){return Promise.resolve(m).then(p,f)}}function c(p,m){n[p]&&(i[p]=function(g){return new Promise(function(E,y){s.push([p,g,E,y])>1||l(p,g)})},m&&(i[p]=m(i[p])))}function l(p,m){try{u(n[p](m))}catch(g){h(s[0][3],g)}}function u(p){p.value instanceof of?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,m){p(m),s.shift(),s.length&&l(s[0][0],s[0][1])}},A7e=process.platform==="win32",jN=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Uq(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Wq(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=h7e(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 p7e(this,arguments,o(function*(){let r=Uq(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 Gq(n)){Vo(`Search path '${a}'`);try{yield of(mg.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=Vue(n,a.path),l=!!c||zue(n,a.path);if(!c&&!l)continue;let u=yield of(t.stat(a,r,s));if(u&&!(r.excludeHiddenFiles&&$N.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&Ja.Directory&&r.matchDirectories)yield yield of(a.path);else if(!l)continue;let d=a.level+1,f=(yield of(mg.promises.readdir(a.path))).map(h=>new E0($N.join(a.path,h),d));i.push(...f.reverse())}else c&Ja.File&&(yield yield of(a.path))}},"globGenerator_1"))}static create(e,r){return Wq(this,void 0,void 0,function*(){let n=new t(r);A7e&&(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(...Gq(n.patterns)),n})}static stat(e,r,n){return Jq(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){Vo(`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)){Vo(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};var h7e=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 hde(t,e){return h7e(this,void 0,void 0,function*(){return yield jN.create(t,e)})}o(hde,"create");var c_=R(require("crypto"),1),bg=R(require("fs"),1),ap=R(require("path"),1),ohe=R(ihe(),1),ahe=R(require("util"),1);var B0;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(B0||(B0={}));var Ji;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Ji||(Ji={}));var io;(function(t){t.GNU="gnu",t.BSD="bsd"})(io||(io={}));var o_=2,a_=5e3,A3=5e3,m3=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,she=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,x0="cache.tar",g3="manifest.txt",H9t=10*Math.pow(1024,3);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())})},bet=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=ap.join(n,"actions","temp")}let r=ap.join(e,c_.randomUUID());return yield Ru(r),r})}o(v0,"createTempDirectory");function Uc(t){return bg.statSync(t).size}o(Uc,"getArchiveFileSizeInBytes");function y3(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 hde(t.join(` -`),{implicitDescendants:!1});try{for(var u=!0,d=bet(l.globGenerator()),f;f=yield d.next(),e=f.done,!e;u=!0){i=f.value,u=!1;let p=ap.relative(c,i).replace(new RegExp(`\\${ap.sep}`,"g"),"/");D(`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(y3,"resolvePaths");function N0(t){return Cg(this,void 0,void 0,function*(){return ahe.promisify(bg.unlink)(t)})}o(N0,"unlinkFile");function che(t){return Cg(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),D(`Checking ${e} ${r.join(" ")}`);try{yield ro(`${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(che,"getVersion");function _0(){return Cg(this,void 0,void 0,function*(){let t=yield che("zstd",["--quiet"]),e=ohe.clean(t);return D(`zstd version: ${e}`),t===""?Ji.Gzip:Ji.ZstdWithoutLong})}o(_0,"getCompressionMethod");function cf(t){return t===Ji.Gzip?B0.Gzip:B0.Zstd}o(cf,"getCacheFileName");function lhe(){return Cg(this,void 0,void 0,function*(){return bg.existsSync(m3)?m3:(yield che("tar")).toLowerCase().includes("gnu tar")?ai("tar"):""})}o(lhe,"getGnuTarPathOnWindows");function E3(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(E3,"assertDefined");function wg(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(wet),c_.createHash("sha256").update(n.join("|")).digest("hex")}o(wg,"getCacheVersion");function uhe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(uhe,"getRuntimeToken");var T0=R(require("http"),1),w3=R(require("https"),1);function C3(t){let e=t.protocol==="https:";if(Iet(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 u_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new u_(`http://${r}`)}else return}o(C3,"getProxyUrl");function Iet(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(Iet,"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 u_=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 lf=R(lm(),1),dhe=R(Kd(),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())})},kr;(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"})(kr||(kr={}));var Wi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Wi||(Wi={}));var ku;(function(t){t.ApplicationJson="application/json"})(ku||(ku={}));var vet=[kr.MovedPermanently,kr.ResourceMoved,kr.SeeOther,kr.TemporaryRedirect,kr.PermanentRedirect],Net=[kr.BadGateway,kr.ServiceUnavailable,kr.GatewayTimeout],_et=["OPTIONS","GET","DELETE","HEAD"],Ret=10,Tet=5,qc=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 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 Pu=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[Wi.Accept]=this._getExistingOrDefaultHeader(n,Wi.Accept,ku.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[Wi.Accept]=this._getExistingOrDefaultHeader(s,Wi.Accept,ku.ApplicationJson),s[Wi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ku.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[Wi.Accept]=this._getExistingOrDefaultHeader(s,Wi.Accept,ku.ApplicationJson),s[Wi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ku.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[Wi.Accept]=this._getExistingOrDefaultHeader(s,Wi.Accept,ku.ApplicationJson),s[Wi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ku.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&&_et.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===kr.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 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=C3(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?w3:T0;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({},R0(this.requestOptions.headers),R0(e||{})):R0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=R0(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=R0(this.requestOptions.headers)[Wi.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Wi.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=C3(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||T0.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?lf.httpsOverHttps:lf.httpsOverHttp:l=u?lf.httpOverHttps:lf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new w3.Agent(c):new T0.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 dhe.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(Ret,e);let r=Tet*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===kr.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 qc(d,s);f.result=a.result,i(f)}else n(a)}))})}},R0=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Det=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 Ig=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 Det(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Zg=R(require("fs"),1),Fye=require("url");var Gc=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var fhe=require("node:os"),hhe=R(require("node:util"),1),phe=R(require("node:process"),1);function Ahe(t,...e){phe.default.stderr.write(`${hhe.default.format(t,...e)}${fhe.EOL}`)}o(Ahe,"log");var mhe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,yhe,I3=[],S3=[],d_=[];mhe&&B3(mhe);var Ehe=Object.assign(t=>Che(t),{enable:B3,enabled:x3,disable:Qet,log:Ahe});function B3(t){yhe=t,I3=[],S3=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?S3.push(r.substring(1)):I3.push(r);for(let r of d_)r.enabled=x3(r.namespace)}o(B3,"enable");function x3(t){if(t.endsWith("*"))return!0;for(let e of S3)if(ghe(t,e))return!1;for(let e of I3)if(ghe(t,e))return!0;return!1}o(x3,"enabled");function ghe(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let h=[],p="";for(let m of e)m==="*"&&p==="*"||(p=m,h.push(m));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(ghe,"namespaceMatches");function Qet(){let t=yhe||"";return B3(""),t}o(Qet,"disable");function Che(t){let e=Object.assign(r,{enabled:x3(t),destroy:ket,log:Ehe.log,namespace:t,extend:Pet});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),d_.push(e),e}o(Che,"createDebugger");function ket(){let t=d_.indexOf(this);return t>=0?(d_.splice(t,1),!0):!1}o(ket,"destroy");function Pet(t){let e=Che(`${this.namespace}:${t}`);return e.log=this.log,e}o(Pet,"extend");var Sg=Ehe;var v3=["verbose","info","warning","error"],bhe={verbose:400,info:300,warning:200,error:100};function whe(t,e){e.log=(...r)=>{t.log(...r)}}o(whe,"patchLogMethod");function Ihe(t){return v3.includes(t)}o(Ihe,"isTypeSpecRuntimeLogLevel");function f_(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&&!Ihe(d))throw new Error(`Unknown log level '${d}'. Acceptable values: ${v3.join(",")}`);n=d;let f=[];for(let h of e)a(h)&&f.push(h.namespace);Sg.enable(f.join(","))}o(s,"contextSetLogLevel"),r&&(Ihe(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${v3.join(", ")}.`));function a(d){return!!(n&&bhe[d.level]<=bhe[n])}o(a,"shouldEnable");function c(d,f){let h=Object.assign(d.extend(f),{level:f});if(whe(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 whe(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(f_,"createLoggerContext");var She=f_({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Oet=She.logger;function D0(t){return She.createClientLogger(t)}o(D0,"createClientLogger");function h_(t){return t.toLowerCase()}o(h_,"normalizeName");function*Let(t){for(let e of t.values())yield[e.name,e.value]}o(Let,"headerIterator");var N3=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(h_(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(h_(e))?.value}has(e){return this._headersMap.has(h_(e))}delete(e){this._headersMap.delete(h_(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 Let(this._headersMap)}};function so(t){return new N3(t)}o(so,"createHttpHeaders");function cp(){return crypto.randomUUID()}o(cp,"randomUUID");var _3=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??so(),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||cp(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function p_(t){return new _3(t)}o(p_,"createPipelineRequest");var Bhe=new Set(["Deserialize","Serialize","Retry","Sign"]),R3=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&&!Bhe.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!Bhe.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(m){return{name:m,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(m){return m==="Retry"?c:m==="Serialize"?i:m==="Deserialize"?a:m==="Sign"?l:s}o(d,"getPhase");for(let m of this._policies){let g=m.policy,E=m.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=d(E.afterPhase),C.afterPhase.hasAfterPolicies=!0),r.set(y,C),d(E.phase).policies.add(C)}for(let m of this._policies){let{policy:g,options:E}=m,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 B=r.get(w);B&&(C.dependsOn.add(B),B.dependants.add(C))}if(E.beforePolicies)for(let w of E.beforePolicies){let B=r.get(w);B&&(B.dependsOn.add(C),C.dependants.add(B))}}function f(m){m.hasRun=!0;for(let g of m.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),m.policies.delete(g)}}o(f,"walkPhase");function h(){for(let m of u){if(f(m),m.policies.size>0&&m!==s){s.hasRun||f(s);return}m.hasAfterPolicies&&f(s)}}o(h,"walkPhases");let p=0;for(;r.size>0;){p++;let m=e.length;if(h(),e.length<=m&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function A_(){return R3.create()}o(A_,"createEmptyPipeline");function Bg(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Bg,"isObject");function lp(t){if(Bg(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(lp,"isError");var xhe=require("node:util"),vhe=xhe.inspect.custom;var T3="REDACTED",Fet=["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"],Met=["api-version"],Wa=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Fet.concat(e),r=Met.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,T3);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]=T3;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]=T3;return r}};var Uet=new Wa,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,vhe,{value:o(()=>`RestError: ${this.message} - ${Uet.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function m_(t){return t instanceof Yi?!0:lp(t)&&t.name==="RestError"}o(m_,"isRestError");function ws(t,e){return Buffer.from(t,e)}o(ws,"stringToUint8Array");var g_=R(require("node:http"),1),y_=R(require("node:https"),1),D3=R(require("node:zlib"),1),_he=require("node:stream");var $o=D0("ts-http-runtime");var qet={};function Q0(t){return t&&typeof t.pipe=="function"}o(Q0,"isReadableStream");function Nhe(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(Nhe,"isStreamComplete");function Rhe(t){return t&&typeof t.byteLength=="number"}o(Rhe,"isArrayBuffer");var E_=class extends _he.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}},Q3=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 Gc("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 Wa;$o.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=zet(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let m=e.onUploadProgress,g=new E_(m);g.on("error",E=>{$o.error("Error in upload progress",E)}),Q0(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let d=Get(u),h={status:u.statusCode??0,headers:d,request:e};if(e.method==="HEAD")return u.resume(),h;l=a?Het(u,d):u;let p=e.onDownloadProgress;if(p){let m=new E_(p);m.on("error",g=>{$o.error("Error in download progress",g)}),l.pipe(m),l=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(h.status)?h.readableStreamBody=l:h.bodyAsText=await Vet(l),h}finally{if(e.abortSignal&&n){let u=Promise.resolve();Q0(c)&&(u=Nhe(c));let d=Promise.resolve();Q0(l)&&(d=Nhe(l)),Promise.all([u,d]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(f=>{$o.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?g_.default.request(c,l):y_.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 Gc("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):Rhe(n)?d.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):($o.error("Unrecognized body type",n),u(new Yi("Unrecognized body type"))):d.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?g_.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new g_.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return y_.default.globalAgent;let i=e.tlsSettings??qet,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||($o.info("No cached TLS Agent exist, creating a new Agent"),s=new y_.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function Get(t){let e=so();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(Get,"getResponseHeaders");function Het(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=D3.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=D3.default.createInflate();return t.pipe(n),n}return t}o(Het,"getDecodedResponseStream");function Vet(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(Vet,"streamToText");function zet(t){return t?Buffer.isBuffer(t)?t.length:Q0(t)?null:Rhe(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(zet,"getBodyLength");function The(){return new Q3}o(The,"createNodeHttpClient");function C_(){return The()}o(C_,"createDefaultHttpClient");var k3="logPolicy";function b_(t={}){let e=t.logger??$o.info,r=new Wa({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:k3,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(b_,"logPolicy");var w_="redirectPolicy",Dhe=["GET","HEAD"];function I_(t={}){let{maxRetries:e=20}=t;return{name:w_,async sendRequest(r,n){let i=await n(r);return Qhe(n,i,e)}}}o(I_,"redirectPolicy");async function Qhe(t,e,r,n=0){let{request:i,status:s,headers:a}=e,c=a.get("location");if(c&&(s===300||s===301&&Dhe.includes(i.method)||s===302&&Dhe.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n{let s,a,c=o(()=>i(new Gc(r?.abortErrorMsg?r?.abortErrorMsg:jet)),"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(Ohe,"delay");function Lhe(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Lhe,"parseHeaderValueAsNumber");var P3="Retry-After",$et=["retry-after-ms","x-ms-retry-after-ms",P3];function Fhe(t){if(t&&[429,503].includes(t.status))try{for(let i of $et){let s=Lhe(t,i);if(s===0||s)return s*(i===P3?1e3:1)}let e=t.headers.get(P3);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(Fhe,"getRetryAfterInMs");function Mhe(t){return Number.isFinite(Fhe(t))}o(Mhe,"isThrottlingRetryResponse");function O3(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=Fhe(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(O3,"throttlingRetryStrategy");var Jet=1e3,Wet=1e3*64;function v_(t={}){let e=t.retryDelayInMs??Jet,r=t.maxRetryDelayInMs??Wet;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=Ket(s),c=a&&t.ignoreSystemErrors,l=Yet(i),u=l&&t.ignoreHttpStatusCodes;return i&&(Mhe(i)||!l)||u||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:x_(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(v_,"exponentialRetryStrategy");function Yet(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Yet,"isExponentialRetryResponse");function Ket(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(Ket,"isSystemError");var Xet=D0("ts-http-runtime retryPolicy"),Zet="retryPolicy";function dp(t,e={maxRetries:3}){let r=e.logger||Xet;return{name:Zet,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 Gc;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 Ohe(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(dp,"retryPolicy");var L3="defaultRetryPolicy";function N_(t={}){return{name:L3,sendRequest:dp([O3(),v_(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(N_,"defaultRetryPolicy");var Uhe=typeof window<"u"&&typeof window.document<"u",qhe=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),Ghe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",Hhe=typeof Bun<"u"&&typeof Bun.version<"u",fp=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var Vhe=typeof navigator<"u"&&navigator?.product==="ReactNative";var F3="formDataPolicy";function ett(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(ett,"formDataToFormDataMap");function __(){return{name:F3,async sendRequest(t,e){if(fp&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=ett(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=ttt(t.formData):await rtt(t.formData,t),t.formData=void 0}return e(t)}}}o(__,"formDataPolicy");function ttt(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(ttt,"wwwFormUrlEncode");async function rtt(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:so({"Content-Disposition":`form-data; name="${i}"`}),body:ws(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=so();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(rtt,"prepareFormData");var Npe=R(ppe(),1),_pe=R(Spe(),1);var drt="HTTPS_PROXY",frt="HTTP_PROXY",hrt="ALL_PROXY",prt="NO_PROXY",j3="proxyPolicy",Bpe=[],Rpe=!1,Art=new Map;function M_(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(M_,"getEnvironmentValue");function Tpe(){if(!process)return;let t=M_(drt),e=M_(hrt),r=M_(frt);return t||e||r}o(Tpe,"loadEnvironmentProxyValue");function mrt(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(mrt,"isBypassed");function grt(){let t=M_(prt);return Rpe=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(grt,"loadNoProxy");function $3(t){if(!t&&(t=Tpe(),!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($3,"getDefaultProxySettings");function yrt(){let t=Tpe();return t?new URL(t):void 0}o(yrt,"getDefaultProxySettingsInternal");function xpe(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(xpe,"getUrlFromProxySettings");function vpe(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&$o.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 _pe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new Npe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(vpe,"setProxyAgentOnRequest");function U_(t,e){Rpe||Bpe.push(...grt());let r=t?xpe(t):yrt(),n={};return{name:j3,async sendRequest(i,s){return!i.proxySettings&&r&&!mrt(i.url,e?.customNoProxyList??Bpe,e?.customNoProxyList?void 0:Art)?vpe(i,n,r):i.proxySettings&&vpe(i,n,xpe(i.proxySettings)),s(i)}}}o(U_,"proxyPolicy");var J3="agentPolicy";function q_(t){return{name:J3,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(q_,"agentPolicy");var W3="tlsPolicy";function G_(t){return{name:W3,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(G_,"tlsPolicy");function H_(t){return typeof t.stream=="function"}o(H_,"isBlob");var V_=require("stream");async function*Dpe(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(Dpe,"streamAsyncIterator");function Ert(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=Dpe.bind(t)),t.values||(t.values=Dpe.bind(t))}o(Ert,"makeAsyncIterable");function Qpe(t){return t instanceof ReadableStream?(Ert(t),V_.Readable.fromWeb(t)):t}o(Qpe,"ensureNodeStream");function Crt(t){return t instanceof Uint8Array?V_.Readable.from(Buffer.from(t)):H_(t)?Qpe(t.stream()):Qpe(t)}o(Crt,"toStream");async function kpe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Crt);return V_.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(kpe,"concat");function brt(){return`----AzSDKFormBoundary${cp()}`}o(brt,"generateBoundary");function wrt(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r -`;return e}o(wrt,"encodeHeaders");function Irt(t){return t instanceof Uint8Array?t.byteLength:H_(t)?t.size===-1?void 0:t.size:void 0}o(Irt,"getLength");function Srt(t){let e=0;for(let r of t){let n=Irt(r);if(n===void 0)return;e+=n}return e}o(Srt,"getTotalLength");async function Brt(t,e,r){let n=[ws(`--${r}`,"utf-8"),...e.flatMap(s=>[ws(`\r -`,"utf-8"),ws(wrt(s.headers),"utf-8"),ws(`\r +`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new y0(s));return n.searchPaths.push(...Gq(n.patterns)),n})}static stat(e,r,n){return Wq(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield mg.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Vo(`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 mg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield mg.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){Vo(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};var m7e=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 pde(t,e){return m7e(this,void 0,void 0,function*(){return yield jN.create(t,e)})}o(pde,"create");var c_=R(require("crypto"),1),Cg=R(require("fs"),1),ap=R(require("path"),1),ahe=R(she(),1),che=R(require("util"),1);var B0;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(B0||(B0={}));var Ji;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Ji||(Ji={}));var io;(function(t){t.GNU="gnu",t.BSD="bsd"})(io||(io={}));var o_=2,a_=5e3,m3=5e3,g3=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,ohe=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,x0="cache.tar",y3="manifest.txt",$9t=10*Math.pow(1024,3);var Eg=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())})},Bet=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)}},xet="1.0";function v0(){return Eg(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=ap.join(n,"actions","temp")}let r=ap.join(e,c_.randomUUID());return yield Ru(r),r})}o(v0,"createTempDirectory");function Uc(t){return Cg.statSync(t).size}o(Uc,"getArchiveFileSizeInBytes");function E3(t){return Eg(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 pde(t.join(` +`),{implicitDescendants:!1});try{for(var u=!0,d=Bet(l.globGenerator()),f;f=yield d.next(),e=f.done,!e;u=!0){i=f.value,u=!1;let p=ap.relative(c,i).replace(new RegExp(`\\${ap.sep}`,"g"),"/");D(`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(E3,"resolvePaths");function N0(t){return Eg(this,void 0,void 0,function*(){return che.promisify(Cg.unlink)(t)})}o(N0,"unlinkFile");function lhe(t){return Eg(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),D(`Checking ${e} ${r.join(" ")}`);try{yield ro(`${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(lhe,"getVersion");function _0(){return Eg(this,void 0,void 0,function*(){let t=yield lhe("zstd",["--quiet"]),e=ahe.clean(t);return D(`zstd version: ${e}`),t===""?Ji.Gzip:Ji.ZstdWithoutLong})}o(_0,"getCompressionMethod");function cf(t){return t===Ji.Gzip?B0.Gzip:B0.Zstd}o(cf,"getCacheFileName");function uhe(){return Eg(this,void 0,void 0,function*(){return Cg.existsSync(g3)?g3:(yield lhe("tar")).toLowerCase().includes("gnu tar")?ai("tar"):""})}o(uhe,"getGnuTarPathOnWindows");function C3(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(C3,"assertDefined");function bg(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(xet),c_.createHash("sha256").update(n.join("|")).digest("hex")}o(bg,"getCacheVersion");function dhe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(dhe,"getRuntimeToken");var T0=R(require("http"),1),I3=R(require("https"),1);function b3(t){let e=t.protocol==="https:";if(vet(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 u_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new u_(`http://${r}`)}else return}o(b3,"getProxyUrl");function vet(t){if(!t.hostname)return!1;let e=t.hostname;if(Net(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(vet,"checkBypass");function Net(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(Net,"isLoopbackAddress");var u_=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 lf=R(lm(),1),fhe=R(Kd(),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())})},kr;(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"})(kr||(kr={}));var Wi;(function(t){t.Accept="accept",t.ContentType="content-type"})(Wi||(Wi={}));var ku;(function(t){t.ApplicationJson="application/json"})(ku||(ku={}));var Ret=[kr.MovedPermanently,kr.ResourceMoved,kr.SeeOther,kr.TemporaryRedirect,kr.PermanentRedirect],Tet=[kr.BadGateway,kr.ServiceUnavailable,kr.GatewayTimeout],Det=["OPTIONS","GET","DELETE","HEAD"],Qet=10,ket=5,qc=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},w3=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 Pu=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[Wi.Accept]=this._getExistingOrDefaultHeader(n,Wi.Accept,ku.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[Wi.Accept]=this._getExistingOrDefaultHeader(s,Wi.Accept,ku.ApplicationJson),s[Wi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ku.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[Wi.Accept]=this._getExistingOrDefaultHeader(s,Wi.Accept,ku.ApplicationJson),s[Wi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ku.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[Wi.Accept]=this._getExistingOrDefaultHeader(s,Wi.Accept,ku.ApplicationJson),s[Wi.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,ku.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&&Det.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===kr.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&&Ret.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||!Tet.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 w3(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=b3(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:T0;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({},R0(this.requestOptions.headers),R0(e||{})):R0(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=R0(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=R0(this.requestOptions.headers)[Wi.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Wi.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=b3(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||T0.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?lf.httpsOverHttps:lf.httpsOverHttp:l=u?lf.httpOverHttps:lf.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new I3.Agent(c):new T0.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 fhe.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(Qet,e);let r=ket*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===kr.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 qc(d,s);f.result=a.result,i(f)}else n(a)}))})}},R0=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Pet=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 Pet(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Xg=R(require("fs"),1),Mye=require("url");var Gc=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var hhe=require("node:os"),phe=R(require("node:util"),1),Ahe=R(require("node:process"),1);function mhe(t,...e){Ahe.default.stderr.write(`${phe.default.format(t,...e)}${hhe.EOL}`)}o(mhe,"log");var ghe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Ehe,S3=[],B3=[],d_=[];ghe&&x3(ghe);var Che=Object.assign(t=>bhe(t),{enable:x3,enabled:v3,disable:Oet,log:mhe});function x3(t){Ehe=t,S3=[],B3=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?B3.push(r.substring(1)):S3.push(r);for(let r of d_)r.enabled=v3(r.namespace)}o(x3,"enable");function v3(t){if(t.endsWith("*"))return!0;for(let e of B3)if(yhe(t,e))return!1;for(let e of S3)if(yhe(t,e))return!0;return!1}o(v3,"enabled");function yhe(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let h=[],p="";for(let m of e)m==="*"&&p==="*"||(p=m,h.push(m));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(yhe,"namespaceMatches");function Oet(){let t=Ehe||"";return x3(""),t}o(Oet,"disable");function bhe(t){let e=Object.assign(r,{enabled:v3(t),destroy:Let,log:Che.log,namespace:t,extend:Fet});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),d_.push(e),e}o(bhe,"createDebugger");function Let(){let t=d_.indexOf(this);return t>=0?(d_.splice(t,1),!0):!1}o(Let,"destroy");function Fet(t){let e=bhe(`${this.namespace}:${t}`);return e.log=this.log,e}o(Fet,"extend");var Ig=Che;var N3=["verbose","info","warning","error"],whe={verbose:400,info:300,warning:200,error:100};function Ihe(t,e){e.log=(...r)=>{t.log(...r)}}o(Ihe,"patchLogMethod");function She(t){return N3.includes(t)}o(She,"isTypeSpecRuntimeLogLevel");function f_(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=Ig(t.namespace);i.log=(...d)=>{Ig.log(...d)};function s(d){if(d&&!She(d))throw new Error(`Unknown log level '${d}'. Acceptable values: ${N3.join(",")}`);n=d;let f=[];for(let h of e)a(h)&&f.push(h.namespace);Ig.enable(f.join(","))}o(s,"contextSetLogLevel"),r&&(She(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${N3.join(", ")}.`));function a(d){return!!(n&&whe[d.level]<=whe[n])}o(a,"shouldEnable");function c(d,f){let h=Object.assign(d.extend(f),{level:f});if(Ihe(d,h),a(h)){let p=Ig.disable();Ig.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 Ihe(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(f_,"createLoggerContext");var Bhe=f_({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Met=Bhe.logger;function D0(t){return Bhe.createClientLogger(t)}o(D0,"createClientLogger");function h_(t){return t.toLowerCase()}o(h_,"normalizeName");function*Uet(t){for(let e of t.values())yield[e.name,e.value]}o(Uet,"headerIterator");var _3=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(h_(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(h_(e))?.value}has(e){return this._headersMap.has(h_(e))}delete(e){this._headersMap.delete(h_(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 Uet(this._headersMap)}};function so(t){return new _3(t)}o(so,"createHttpHeaders");function cp(){return crypto.randomUUID()}o(cp,"randomUUID");var R3=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??so(),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||cp(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function p_(t){return new R3(t)}o(p_,"createPipelineRequest");var xhe=new Set(["Deserialize","Serialize","Retry","Sign"]),T3=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&&!xhe.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!xhe.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(m){return{name:m,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(m){return m==="Retry"?c:m==="Serialize"?i:m==="Deserialize"?a:m==="Sign"?l:s}o(d,"getPhase");for(let m of this._policies){let g=m.policy,E=m.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=d(E.afterPhase),C.afterPhase.hasAfterPolicies=!0),r.set(y,C),d(E.phase).policies.add(C)}for(let m of this._policies){let{policy:g,options:E}=m,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 B=r.get(w);B&&(C.dependsOn.add(B),B.dependants.add(C))}if(E.beforePolicies)for(let w of E.beforePolicies){let B=r.get(w);B&&(B.dependsOn.add(C),C.dependants.add(B))}}function f(m){m.hasRun=!0;for(let g of m.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),m.policies.delete(g)}}o(f,"walkPhase");function h(){for(let m of u){if(f(m),m.policies.size>0&&m!==s){s.hasRun||f(s);return}m.hasAfterPolicies&&f(s)}}o(h,"walkPhases");let p=0;for(;r.size>0;){p++;let m=e.length;if(h(),e.length<=m&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function A_(){return T3.create()}o(A_,"createEmptyPipeline");function Sg(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Sg,"isObject");function lp(t){if(Sg(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(lp,"isError");var vhe=require("node:util"),Nhe=vhe.inspect.custom;var D3="REDACTED",qet=["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"],Get=["api-version"],Wa=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=qet.concat(e),r=Get.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)||Sg(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,D3);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]=D3;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]=D3;return r}};var Het=new Wa,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,Nhe,{value:o(()=>`RestError: ${this.message} + ${Het.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function m_(t){return t instanceof Yi?!0:lp(t)&&t.name==="RestError"}o(m_,"isRestError");function ws(t,e){return Buffer.from(t,e)}o(ws,"stringToUint8Array");var g_=R(require("node:http"),1),y_=R(require("node:https"),1),Q3=R(require("node:zlib"),1),Rhe=require("node:stream");var $o=D0("ts-http-runtime");var Vet={};function Q0(t){return t&&typeof t.pipe=="function"}o(Q0,"isReadableStream");function _he(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(_he,"isStreamComplete");function The(t){return t&&typeof t.byteLength=="number"}o(The,"isArrayBuffer");var E_=class extends Rhe.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}},k3=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 Gc("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 Wa;$o.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=Jet(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let m=e.onUploadProgress,g=new E_(m);g.on("error",E=>{$o.error("Error in upload progress",E)}),Q0(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let d=zet(u),h={status:u.statusCode??0,headers:d,request:e};if(e.method==="HEAD")return u.resume(),h;l=a?jet(u,d):u;let p=e.onDownloadProgress;if(p){let m=new E_(p);m.on("error",g=>{$o.error("Error in download progress",g)}),l.pipe(m),l=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(h.status)?h.readableStreamBody=l:h.bodyAsText=await $et(l),h}finally{if(e.abortSignal&&n){let u=Promise.resolve();Q0(c)&&(u=_he(c));let d=Promise.resolve();Q0(l)&&(d=_he(l)),Promise.all([u,d]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(f=>{$o.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?g_.default.request(c,l):y_.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 Gc("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):The(n)?d.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):($o.error("Unrecognized body type",n),u(new Yi("Unrecognized body type"))):d.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?g_.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new g_.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return y_.default.globalAgent;let i=e.tlsSettings??Vet,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||($o.info("No cached TLS Agent exist, creating a new Agent"),s=new y_.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function zet(t){let e=so();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(zet,"getResponseHeaders");function jet(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=Q3.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=Q3.default.createInflate();return t.pipe(n),n}return t}o(jet,"getDecodedResponseStream");function $et(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($et,"streamToText");function Jet(t){return t?Buffer.isBuffer(t)?t.length:Q0(t)?null:The(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Jet,"getBodyLength");function Dhe(){return new k3}o(Dhe,"createNodeHttpClient");function C_(){return Dhe()}o(C_,"createDefaultHttpClient");var P3="logPolicy";function b_(t={}){let e=t.logger??$o.info,r=new Wa({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:P3,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(b_,"logPolicy");var w_="redirectPolicy",Qhe=["GET","HEAD"];function I_(t={}){let{maxRetries:e=20}=t;return{name:w_,async sendRequest(r,n){let i=await n(r);return khe(n,i,e)}}}o(I_,"redirectPolicy");async function khe(t,e,r,n=0){let{request:i,status:s,headers:a}=e,c=a.get("location");if(c&&(s===300||s===301&&Qhe.includes(i.method)||s===302&&Qhe.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n{let s,a,c=o(()=>i(new Gc(r?.abortErrorMsg?r?.abortErrorMsg:Wet)),"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(Lhe,"delay");function Fhe(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Fhe,"parseHeaderValueAsNumber");var O3="Retry-After",Yet=["retry-after-ms","x-ms-retry-after-ms",O3];function Mhe(t){if(t&&[429,503].includes(t.status))try{for(let i of Yet){let s=Fhe(t,i);if(s===0||s)return s*(i===O3?1e3:1)}let e=t.headers.get(O3);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(Mhe,"getRetryAfterInMs");function Uhe(t){return Number.isFinite(Mhe(t))}o(Uhe,"isThrottlingRetryResponse");function L3(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=Mhe(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(L3,"throttlingRetryStrategy");var Ket=1e3,Xet=1e3*64;function v_(t={}){let e=t.retryDelayInMs??Ket,r=t.maxRetryDelayInMs??Xet;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=ett(s),c=a&&t.ignoreSystemErrors,l=Zet(i),u=l&&t.ignoreHttpStatusCodes;return i&&(Uhe(i)||!l)||u||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:x_(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(v_,"exponentialRetryStrategy");function Zet(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Zet,"isExponentialRetryResponse");function ett(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(ett,"isSystemError");var ttt=D0("ts-http-runtime retryPolicy"),rtt="retryPolicy";function dp(t,e={maxRetries:3}){let r=e.logger||ttt;return{name:rtt,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 Gc;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 Lhe(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(dp,"retryPolicy");var F3="defaultRetryPolicy";function N_(t={}){return{name:F3,sendRequest:dp([L3(),v_(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(N_,"defaultRetryPolicy");var qhe=typeof window<"u"&&typeof window.document<"u",Ghe=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),Hhe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",Vhe=typeof Bun<"u"&&typeof Bun.version<"u",fp=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var zhe=typeof navigator<"u"&&navigator?.product==="ReactNative";var M3="formDataPolicy";function ntt(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(ntt,"formDataToFormDataMap");function __(){return{name:M3,async sendRequest(t,e){if(fp&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=ntt(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=itt(t.formData):await stt(t.formData,t),t.formData=void 0}return e(t)}}}o(__,"formDataPolicy");function itt(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(itt,"wwwFormUrlEncode");async function stt(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:so({"Content-Disposition":`form-data; name="${i}"`}),body:ws(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=so();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(stt,"prepareFormData");var _pe=R(Ape(),1),Rpe=R(Bpe(),1);var prt="HTTPS_PROXY",Art="HTTP_PROXY",mrt="ALL_PROXY",grt="NO_PROXY",$3="proxyPolicy",xpe=[],Tpe=!1,yrt=new Map;function M_(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(M_,"getEnvironmentValue");function Dpe(){if(!process)return;let t=M_(prt),e=M_(mrt),r=M_(Art);return t||e||r}o(Dpe,"loadEnvironmentProxyValue");function Ert(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(Ert,"isBypassed");function Crt(){let t=M_(grt);return Tpe=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Crt,"loadNoProxy");function J3(t){if(!t&&(t=Dpe(),!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(J3,"getDefaultProxySettings");function brt(){let t=Dpe();return t?new URL(t):void 0}o(brt,"getDefaultProxySettingsInternal");function vpe(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(vpe,"getUrlFromProxySettings");function Npe(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&$o.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 Rpe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new _pe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(Npe,"setProxyAgentOnRequest");function U_(t,e){Tpe||xpe.push(...Crt());let r=t?vpe(t):brt(),n={};return{name:$3,async sendRequest(i,s){return!i.proxySettings&&r&&!Ert(i.url,e?.customNoProxyList??xpe,e?.customNoProxyList?void 0:yrt)?Npe(i,n,r):i.proxySettings&&Npe(i,n,vpe(i.proxySettings)),s(i)}}}o(U_,"proxyPolicy");var W3="agentPolicy";function q_(t){return{name:W3,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(q_,"agentPolicy");var Y3="tlsPolicy";function G_(t){return{name:Y3,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(G_,"tlsPolicy");function H_(t){return typeof t.stream=="function"}o(H_,"isBlob");var V_=require("stream");async function*Qpe(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(Qpe,"streamAsyncIterator");function wrt(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=Qpe.bind(t)),t.values||(t.values=Qpe.bind(t))}o(wrt,"makeAsyncIterable");function kpe(t){return t instanceof ReadableStream?(wrt(t),V_.Readable.fromWeb(t)):t}o(kpe,"ensureNodeStream");function Irt(t){return t instanceof Uint8Array?V_.Readable.from(Buffer.from(t)):H_(t)?kpe(t.stream()):kpe(t)}o(Irt,"toStream");async function Ppe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Irt);return V_.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(Ppe,"concat");function Srt(){return`----AzSDKFormBoundary${cp()}`}o(Srt,"generateBoundary");function Brt(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r +`;return e}o(Brt,"encodeHeaders");function xrt(t){return t instanceof Uint8Array?t.byteLength:H_(t)?t.size===-1?void 0:t.size:void 0}o(xrt,"getLength");function vrt(t){let e=0;for(let r of t){let n=xrt(r);if(n===void 0)return;e+=n}return e}o(vrt,"getTotalLength");async function Nrt(t,e,r){let n=[ws(`--${r}`,"utf-8"),...e.flatMap(s=>[ws(`\r +`,"utf-8"),ws(Brt(s.headers),"utf-8"),ws(`\r `,"utf-8"),s.body,ws(`\r --${r}`,"utf-8")]),ws(`--\r \r -`,"utf-8")],i=Srt(n);i&&t.headers.set("Content-Length",i),t.body=await kpe(n)}o(Brt,"buildRequestBody");var O0="multipartPolicy",xrt=70,vrt=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Nrt(t){if(t.length>xrt)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!vrt.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Nrt,"assertValidBoundary");function z_(){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?Nrt(r):r=brt(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Brt(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(z_,"multipartPolicy");function j_(){return A_()}o(j_,"createEmptyPipeline");var Ppe=f_({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),qZt=Ppe.logger;function zc(t){return Ppe.createClientLogger(t)}o(zc,"createClientLogger");var jc=zc("core-rest-pipeline");function X3(t={}){return b_({logger:jc.info,...t})}o(X3,"logPolicy");var Z3=w_;function eG(t={}){return I_(t)}o(eG,"redirectPolicy");var $_=R(require("node:os"),1),J_=R(require("node:process"),1);function Ope(){return"User-Agent"}o(Ope,"getHeaderName");async function Lpe(t){if(J_.default&&J_.default.versions){let e=`${$_.default.type()} ${$_.default.release()}; ${$_.default.arch()}`,r=J_.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(Lpe,"setPlatformSpecificData");var W_="1.22.2";function Ort(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(Ort,"getUserAgentString");function Fpe(){return Ope()}o(Fpe,"getUserAgentHeaderName");async function Y_(t){let e=new Map;e.set("core-rest-pipeline",W_),await Lpe(e);let r=Ort(e);return t?`${t} ${r}`:r}o(Y_,"getUserAgentValue");var Mpe=Fpe(),Upe="userAgentPolicy";function tG(t={}){let e=Y_(t.userAgentPrefix);return{name:Upe,async sendRequest(r,n){return r.headers.has(Mpe)||r.headers.set(Mpe,await e),n(r)}}}o(tG,"userAgentPolicy");var lo=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function rG(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new lo(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(rG,"createAbortablePromise");var qrt="The delay was aborted.";function L0(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return rG(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??qrt})}o(L0,"delay");function df(t){if(lp(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(df,"getErrorMessage");function qpe(t){return lp(t)}o(qpe,"isError");function Tg(){return cp()}o(Tg,"randomUUID");var Ot=fp;var Gpe=Symbol("rawContent");function iG(t){return typeof t[Gpe]=="function"}o(iG,"hasRawContent");function Hpe(t){return iG(t)?t[Gpe]():t}o(Hpe,"getRawContent");var K_=O0;function sG(){let t=z_();return{name:K_,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)iG(n.body)&&(n.body=Hpe(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(sG,"multipartPolicy");var oG=S_;function aG(){return B_()}o(aG,"decompressResponsePolicy");function cG(t={}){return N_(t)}o(cG,"defaultRetryPolicy");function lG(){return __()}o(lG,"formDataPolicy");function ff(t){return $3(t)}o(ff,"getDefaultProxySettings");function uG(t,e){return U_(t,e)}o(uG,"proxyPolicy");var Vpe="setClientRequestIdPolicy";function dG(t="x-ms-client-request-id"){return{name:Vpe,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(dG,"setClientRequestIdPolicy");function fG(t){return q_(t)}o(fG,"agentPolicy");function hG(t){return G_(t)}o(hG,"tlsPolicy");var Dg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function zpe(t={}){let e=new pG(t.parentContext);return t.span&&(e=e.setValue(Dg.span,t.span)),t.namespace&&(e=e.setValue(Dg.namespace,t.namespace)),e}o(zpe,"createTracingContext");var pG=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 $pe=R(jpe(),1),Z_=$pe.state;function Grt(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Grt,"createDefaultTracingSpan");function Hrt(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Grt(),tracingContext:zpe({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Hrt,"createDefaultInstrumenter");function F0(){return Z_.instrumenterImplementation||(Z_.instrumenterImplementation=Hrt()),Z_.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,m=h.span;p.getValue(Dg.namespace)||(p=p.setValue(Dg.namespace,e)),m.setAttribute("az.namespace",p.getValue(Dg.namespace));let g=Object.assign({},d,{tracingOptions:{...d?.tracingOptions,tracingContext:p}});return{span:m,updatedOptions:g}}o(i,"startSpan");async function s(u,d,f,h){let{span:p,updatedOptions:m}=i(u,d,h);try{let g=await a(m.tracingOptions.tracingContext,()=>Promise.resolve(f(m,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,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 Ou=Yi;function pp(t){return m_(t)}o(pp,"isRestError");var Jpe="tracingPolicy";function AG(t={}){let e=Y_(t.userAgentPrefix),r=new Wa({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Vrt();return{name:Jpe,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}=zrt(n,i,c)??{};if(!l||!u)return s(i);try{let d=await n.withContext(u,s,i);return $rt(l,d),d}catch(d){throw jrt(l,d),d}}}}o(AG,"tracingPolicy");function Vrt(){try{return M0({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:W_})}catch(t){jc.warning(`Error when creating the TracingClient: ${df(t)}`);return}}o(Vrt,"tryCreateTracingClient");function zrt(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){jc.warning(`Skipping creating a tracing span due to an error: ${df(n)}`);return}}o(zrt,"tryCreateSpan");function jrt(t,e){try{t.setStatus({status:"error",error:qpe(e)?e:void 0}),pp(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){jc.warning(`Skipping tracing span processing due to an error: ${df(r)}`)}}o(jrt,"tryProcessError");function $rt(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){jc.warning(`Skipping tracing span processing due to an error: ${df(r)}`)}}o($rt,"tryProcessResponse");function eR(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(eR,"wrapAbortSignalLike");var Jrt="wrapAbortSignalLikePolicy";function Wpe(){return{name:Jrt,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=eR(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(Wpe,"wrapAbortSignalLikePolicy");function mG(t){let e=j_();return Ot&&(t.agent&&e.addPolicy(fG(t.agent)),t.tlsOptions&&e.addPolicy(hG(t.tlsOptions)),e.addPolicy(uG(t.proxyOptions)),e.addPolicy(aG())),e.addPolicy(Wpe()),e.addPolicy(lG(),{beforePolicies:[K_]}),e.addPolicy(tG(t.userAgentOptions)),e.addPolicy(dG(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(sG(),{afterPhase:"Deserialize"}),e.addPolicy(cG(t.retryOptions),{phase:"Retry"}),e.addPolicy(AG({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ot&&e.addPolicy(eG(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(X3(t.loggingOptions),{afterPhase:"Sign"}),e}o(mG,"createPipelineFromOptions");function U0(){let t=C_();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?eR(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(U0,"createDefaultHttpClient");function Lu(t){return so(t)}o(Lu,"createHttpHeaders");function q0(t){return p_(t)}o(q0,"createPipelineRequest");var gnr=zc("core-rest-pipeline retryPolicy");var Wrt={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Yrt(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(gG,"createTokenCycler");var Zpe="bearerTokenAuthenticationPolicy";async function tR(t,e){try{return[await e(t),void 0]}catch(r){if(pp(r)&&r.response)return[r.response,r];throw r}}o(tR,"trySendRequest");async function Krt(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(Krt,"defaultAuthorizeRequest");function Ype(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(Ype,"isChallengeResponse");async function Kpe(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(Kpe,"authorizeRequestOnCaeChallenge");function Qg(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||jc,s={authorizeRequest:n?.authorizeRequest?.bind(n)??Krt,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?gG(e):()=>Promise.resolve(null);return{name:Zpe,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 tR(c,l),Ype(u)){let h=Xpe(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 Kpe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await tR(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 tR(c,l)),Ype(u)&&(h=Xpe(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 Kpe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await tR(c,l))}}if(d)throw d;return u}}}o(Qg,"bearerTokenAuthenticationPolicy");function Xrt(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(Xrt,"parseChallenges");function Xpe(t){return t?Xrt(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(Xpe,"getCaeChallengeClaims");function uo(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(uo,"isTokenCredential");var yG="DisableKeepAlivePolicy";function eAe(){return{name:yG,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(eAe,"createDisableKeepAlivePolicy");function tAe(t){return t.getOrderedPolicies().some(e=>e.name===yG)}o(tAe,"pipelineContainsDisableKeepAlivePolicy");function EG(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(EG,"encodeByteArray");function CG(t){return Buffer.from(t,"base64")}o(CG,"decodeString");function ent(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(ent,"isPrimitiveBody");var tnt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function rAe(t){return tnt.test(t)}o(rAe,"isDuration");var rnt=/^[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 nAe(t){return rnt.test(t)}o(nAe,"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:ent(t.parsedBody,s)})}o(bG,"flattenResponse");var wG=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:m,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),d!==void 0&&r.length>d&&i("MaxLength",d),f!==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=lnt(c,n,r):c.match(/^Enum$/i)!==null?a=unt(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=hnt(c,r,n):c.match(/^ByteArray$/i)!==null?a=dnt(n,r):c.match(/^Base64Url$/i)!==null?a=fnt(n,r):c.match(/^Sequence$/i)!==null?a=pnt(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=Ant(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=Ent(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=cnt(r):c.match(/^ByteArray$/i)!==null?a=CG(r):c.match(/^Base64Url$/i)!==null?a=ont(r):c.match(/^Sequence$/i)!==null?a=bnt(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=Cnt(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function fo(t={},e=!1){return new wG(t,e)}o(fo,"createSerializer");function int(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(int,"trimEnd");function snt(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=EG(t);return int(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(snt,"bufferToBase64Url");function ont(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,"/"),CG(t)}}o(ont,"base64UrlToByteArray");function IG(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(IG,"splitSerializeName");function ant(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(ant,"dateToUnixTime");function cnt(t){if(t)return new Date(t*1e3)}o(cnt,"unixTimeToDate");function lnt(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"&&nAe(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(lnt,"serializeBasicTypes");function unt(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(unt,"serializeEnumType");function dnt(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=EG(e)}return e}o(dnt,"serializeByteArrayType");function fnt(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=snt(e)}return e}o(fnt,"serializeBase64UrlType");function hnt(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=ant(e)}else if(t.match(/^TimeSpan$/i)!==null&&!rAe(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(hnt,"serializeDateTypes");function pnt(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 aAe(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(aAe,"getXmlObjectValue");function ynt(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(ynt,"isSpecialXmlProperty");function Ent(t,e,r,n,i){let s=i.xml.xmlCharKey??"_";rR(t,e)&&(e=cAe(t,e,r,"serializedName"));let a=oAe(t,e,n),c={},l=[];for(let d of Object.keys(a)){let f=a[d],h=IG(a[d].serializedName);l.push(h[0]);let{serializedName:p,xmlName:m,xmlElementName:g}=f,E=n;p!==""&&p!==void 0&&(E=n+"."+p);let y=f.headerCollectionPrefix;if(y){let C={};for(let w of Object.keys(r))w.startsWith(y)&&(C[w.substring(y.length)]=t.deserialize(f.type.value,r[w],E,i)),l.push(w);c[d]=C}else if(t.isXML)if(f.xmlIsAttribute&&r["$"])c[d]=t.deserialize(f,r["$"][m],E,i);else if(f.xmlIsMsText)r[s]!==void 0?c[d]=r[s]:typeof r=="string"&&(c[d]=r);else{let C=g||m||p;if(f.xmlIsWrapped){let B=r[m]?.[g]??[];c[d]=t.deserialize(f,B,E,i),l.push(m)}else{let w=r[C];c[d]=t.deserialize(f,w,E,i),l.push(C)}}else{let C,w=r,B=0;for(let v of h){if(!w)break;B++,w=w[v]}w===null&&B{for(let h in a)if(IG(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)&&!ynt(d,i)&&(c[d]=r[d]);return c}o(Ent,"deserializeCompositeType");function Cnt(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(Cnt,"deserializeDictionaryType");function bnt(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=dAe(t,n);!a.propertyFound&&r&&(a=dAe(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=pf(t,{parameterPath:l,mapper:c},r);u!==void 0&&(s||(s={}),s[a]=u)}}return s}o(pf,"getOperationArgumentValueFromParameter");function dAe(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(Nnt,"deserializeResponseBody");function _nt(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(_nt,"isOperationSpecEmpty");function Rnt(t,e,r,n){let i=200<=t.status&&t.status<300;if(_nt(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 Ou(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 m=f;if(e.isXML&&u.type.name===$c.Sequence){m=[];let g=u.xmlElementName;typeof f=="object"&&g&&(m=f[g])}h=e.serializer.deserialize(u,m,"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(Rnt,"handleErrorResponse");async function Tnt(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||Ou.PARSE_ERROR;throw new Ou(u,{code:d,statusCode:r.status,request:r.request,response:r})}}return r}o(Tnt,"parse");function pAe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===$c.Stream&&e.add(Number(r))}return e}o(pAe,"getStreamingResponseStatusCodes");function Jc(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(Jc,"getPathStringFromParameter");var AAe="serializationPolicy";function iR(t={}){let e=t.stringifyXML;return{name:AAe,async sendRequest(r,n){let i=Fu(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(Dnt(r,a,s),Qnt(r,a,s,e)),n(r)}}}o(iR,"serializationPolicy");function Dnt(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=pf(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,Jc(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||Jc(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(Dnt,"serializeHeaders");function Qnt(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=pf(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:d,xmlElementName:f,xmlNamespace:h,xmlNamespacePrefix:p,nullable:m}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||m&&t.body===null||l){let E=Jc(r.requestBody);t.body=r.serializer.serialize(c,t.body,E,s);let y=g===$c.Stream;if(r.isXML){let C=p?`xmlns:${p}`:"xmlns",w=knt(h,C,g,t.body,s);g===$c.Sequence?t.body=n(Pnt(w,f||d||u,C,h),{rootName:d||u,xmlCharKey:a}):y||(t.body=n(w,{rootName:d||u,xmlCharKey:a}))}else{if(g===$c.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=pf(e,c);if(l!=null){let u=c.mapper.serializedName||Jc(c);t.formData[u]=r.serializer.serialize(c.mapper,l,Jc(c),s)}}}}o(Qnt,"serializeRequestBody");function knt(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(knt,"getXmlValueWithNamespace");function Pnt(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(Pnt,"prepareXMLRootList");function G0(t={}){let e=mG(t??{});return t.credentialOptions&&e.addPolicy(Qg({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(iR(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(BG(t.deserializationOptions),{phase:"Deserialize"}),e}o(G0,"createClientPipeline");var xG;function mAe(){return xG||(xG=U0()),xG}o(mAe,"getCachedDefaultHttpClient");var Ont={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function yAe(t,e,r,n){let i=Lnt(e,r,n),s=!1,a=gAe(t,i);if(e.path){let u=gAe(e.path,i);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),Fnt(u)?(a=u,s=!0):a=Mnt(a,u)}let{queryParams:c,sequenceParams:l}=Unt(e,r,n);return a=Gnt(a,c,l,s),a}o(yAe,"getRequestUrl");function gAe(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(gAe,"replaceAll");function Lnt(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=pf(e,i,r),a=Jc(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(Lnt,"calculateUrlReplacements");function Fnt(t){return t.includes("://")}o(Fnt,"isAbsoluteUrl");function Mnt(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(Mnt,"appendPath");function Unt(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=pf(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,Jc(s));let c=s.collectionFormat?Ont[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||Jc(s),a)}}return{queryParams:n,sequenceParams:i}}o(Unt,"calculateQueryParameters");function qnt(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(qnt,"simpleParseQueryParams");function Gnt(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=qnt(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(Gnt,"appendQueryParams");var vG=zc("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&&vG.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||mAe(),this.pipeline=e.pipeline||Hnt(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=yAe(n,r,e,this),s=q0({url:i});s.method=r.httpMethod;let a=Fu(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=pAe(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 Hnt(t){let e=Vnt(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return G0({...t,credentialOptions:r})}o(Hnt,"createDefaultPipeline");function Vnt(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(Vnt,"getCredentialScopes");var EAe={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function znt(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(znt,"isUuid");var sR=o(async t=>{let e=Ynt(t.request),r=Jnt(t.response);if(r){let n=Wnt(r),i=$nt(t,n),s=jnt(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(EAe.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function jnt(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&znt(n))return n}o(jnt,"extractTenantId");function $nt(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=EAe.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o($nt,"buildScopes");function Jnt(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Jnt,"getChallenge");function Wnt(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(Wnt,"parseChallenge");function Ynt(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Ynt,"requestToOptions");var CAe=Symbol("Original PipelineRequest"),Knt=Symbol.for("@azure/core-client original request");function z0(t,e={}){let n=t[CAe],i=Lu(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[Knt]=e.originalRequest),s}}o(z0,"toPipelineRequest");function Ap(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:j0(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===CAe?t:s==="clone"?()=>Ap(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(Ap,"toWebResourceLike");function j0(t){return new NG(t.toJSON({preserveCase:!0}))}o(j0,"toHttpHeadersLike");function V0(t){return t.toLowerCase()}o(V0,"getHeaderKey");var NG=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(Ap(e,{createProxy:!0}));return aR(r)},"sendRequest")}}o(TG,"convertHttpClient");var IAe=":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",eit=IAe+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",tit="["+IAe+"]["+eit+"]*",rit=new RegExp("^"+tit+"$");function cR(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 SAe(t){return typeof t<"u"}o(SAe,"isExist");var J0=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],lR=["__proto__","constructor","prototype"];var nit={allowBooleanAttributes:!1,unpairedTags:[]};function uR(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--),!dit(l)){let f;return l.trim().length===0?f="Invalid space after '<'.":f="Tag '"+l+"' is an invalid name.",Zr("InvalidTag",f,Ki(t,s))}let u=oit(t,s);if(u===!1)return Zr("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=NAe(d,e);if(h===!0)n=!0;else return Zr(h.err.code,h.err.msg,Ki(t,f+h.err.line))}else if(c)if(u.tagClosed){if(d.trim().length>0)return Zr("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Ki(t,a));if(r.length===0)return Zr("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 Zr("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 Zr("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Ki(t,s));else{let f=NAe(d,e);if(f!==!0)return Zr(f.err.code,f.err.msg,Ki(t,s-d.length+f.err.line));if(i===!0)return Zr("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 Zr("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Zr("InvalidXml","Start tag expected.",1);return!0}o(uR,"validate");function BAe(t){return t===" "||t===" "||t===` -`||t==="\r"}o(BAe,"isWhiteSpace");function xAe(t,e){let r=e;for(;e5&&n==="xml")return Zr("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(xAe,"readPI");function vAe(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(vAe,"readCommentAndCDATA");var iit='"',sit="'";function oit(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(oit,"readAttributeStr");var ait=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function NAe(t,e){let r=cR(t,ait),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"},RAe={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"},TAe={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"},DAe={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"},QAe={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"},kAe={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:"<"},PAe={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"},OAe={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"},LAe={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"},FAe={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"},dR={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"},MAe={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"},UAe={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"},fit={..._Ae,...RAe,...TAe,...DAe,...QAe,...kAe,...PAe,...OAe,...LAe,...FAe,...dR,...MAe,...UAe},Y0={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},QG={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 hit=new Set("!?\\\\/[]$%{}^&*()<>|+");function qAe(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(hit.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(qAe,"validateEntityName");function kG(...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(kG,"mergeEntityMaps");var mp="external",fR="base",PG="all";function pit(t){return!t||t===mp?new Set([mp]):t===PG?new Set([PG]):t===fR?new Set([fR]):Array.isArray(t)?new Set(t):new Set([mp])}o(pit,"parseLimitTiers");var Bs=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ait=new Set([9,10,13]);function mit(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(mit,"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=pit(this._limit.applyLimitsTo??mp),this._numericAllowed=e.numericAllowed??!0,this._baseMap=kG(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=mit(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))qAe(r);this._externalMap=kG(e)}addExternalEntity(e,r){qAe(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=kG(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,m;if(this._removeSet.has(h))p="",m===void 0&&(m=mp);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,m=fR}else{let g=this._resolveName(h);p=g?.value,m=g?.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(m)){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&&!Ait.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&&iJ0.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:GAe};function yit(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(J0.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(lR.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(yit,"validatePropertyName");function HAe(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"}:HAe(!0)}o(HAe,"normalizeProcessEntities");var VAe=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&&yit(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=GAe),e.processEntities=HAe(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 hR;typeof Symbol!="function"?hR="@@xmlMetadata":hR=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][hR]={startIndex:r})}static getMetaDataSymbol(){return hR}};var zAe=":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",Eit=zAe+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",jAe=":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}",Cit=jAe+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",$Ae=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"),bit=$Ae(zAe,Eit),wit=$Ae(jAe,Cit,"u"),Iit=o((t="1.0")=>t==="1.1"?wit:bit,"getRegexes");var gp=o((t,{xmlVersion:e="1.0"}={})=>Iit(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&&yp(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&yp(e,"!ATTLIST",r))r+=8;else if(a&&yp(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(yp(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 Dit(t,Number(r),e)}o(LG,"toNumber");var _it=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Rit(t,e,r){if(!r.eNotation)return t;let n=e.match(_it);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(Rit,"resolveEnotation");function Tit(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(Tit,"trimZeros");function OG(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(OG,"parse_int");function Dit(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(Dit,"handleInfinity");function FG(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(FG,"getIgnoreAttributesFn");var ho=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)}},Wc=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new MG(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 Qit(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(Qit,"extractRawAttributes");function kit(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(kit,"extractNamespace");var Z0=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Mit,this.parseTextData=Pit,this.resolveNameSpace=Oit,this.buildAttributesMap=Fit,this.isItStopNode=Hit,this.replaceEntitiesValue=qit,this.readStopNodeData=jit,this.saveTextToParentTag=Git,this.addChild=Uit,this.ignoreAttributesFn=FG(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={...QG,...dR}),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 Wc,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?GG(t,c.parseTagValue,c.numberParseOptions):t}}o(Pit,"parseTextData");function Oit(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(Oit,"resolveNameSpace");var Lit=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Fit(t,e,r,n=!1){let i=this.options;if(n===!0||i.ignoreAttributes!==!0&&typeof t=="string"){let s=cR(t,Lit),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=UG(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=qG(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=qG(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,m=d.attrExpPresent,g=d.closeIndex;if({tagName:f,tagExp:p}=UG(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),m=f!==p);let C=null,w={},B;B=kit(h),f!==e.tagname&&this.matcher.push(f,{},B),f!==p&&m&&(C=this.buildAttributesMap(p,this.matcher,f),C&&(w=Qit(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 j=this.readStopNodeData(t,h,g+1);if(!j)throw new Error(`Unexpected end of ${h}`);c=j.i,M=j.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}=UG(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=g}}}else n+=t[c];return e.child},"parseXml");function Uit(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(Uit,"addChild");function qit(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(qit,"replaceEntitiesValue");function Git(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(Git,"saveTextToParentTag");function Hit(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Hit,"isItStopNode");function Vit(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=qG(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&i++,r=c.closeIndex)}}}o(jit,"readStopNodeData");function GG(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:LG(t,r)}else return SAe(t)?t:""}o(GG,"parseValue");function UG(t,e,r,n){if(t){let i=t(e);r===e&&(r=i),e=i}return e=JAe(e,n),{tagName:e,tagExp:r}}o(UG,"transformTagName");function JAe(t,e){if(lR.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return J0.includes(t)?e.onDangerousProperty(t):t}o(JAe,"sanitizeName");var HG=xs.getMetaDataSymbol();function $it(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($it,"stripAttributePrefix");function VG(t,e,r,n){return WAe(t,e,r,n)}o(VG,"prettify");function WAe(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(WAe,"compress");function Jit(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(AR,"safeCdata");function Af(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(Af,"escapeAttribute");var Kit=` -`;function Xit(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if($G(r)==="?xml"){let i=r[":@"];if(i){let s=e.attributeNamePrefix+"version";if(i[s])return i[s]}}return"1.0"}o(Xit,"detectXmlVersionFromArray");function KAe(t,e,r,n,i){return!r.sanitizeName||gp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(KAe,"resolveTagName");function jG(t,e){let r="";e.format&&(r=Kit);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=zG(l,e),l}return""}for(let l=0;l`,c=!1,n.pop();continue}else if(h===e.commentPropName){let w=u[d][0][e.textNodeName],B=pR(w);a+=r+``,c=!0,n.pop();continue}else if(h[0]==="?"){let w=YAe(u[":@"],e,m,n,s);a+=(h==="?xml"?"":r)+`<${h}${w}?>`,c=!0,n.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let E=YAe(u[":@"],e,m,n,s),y=r+`<${h}${E}`,C;m?C=ZAe(u[d],e):C=XAe(u[d],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(XAe,"arrToStr");function Zit(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]=Af(t[i]),n=!0}return n?r:null}o(Zit,"extractAttributeValues");function ZAe(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(ZAe,"getRawContent");function est(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)}="${Af(i)}"`}return r}o(est,"attr_to_str_raw");function $G(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(JG,"getIgnoreAttributesFn");var rst={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({},rst,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=vrt(n);i&&t.headers.set("Content-Length",i),t.body=await Ppe(n)}o(Nrt,"buildRequestBody");var O0="multipartPolicy",_rt=70,Rrt=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Trt(t){if(t.length>_rt)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Rrt.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Trt,"assertValidBoundary");function z_(){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?Trt(r):r=Srt(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Nrt(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(z_,"multipartPolicy");function j_(){return A_()}o(j_,"createEmptyPipeline");var Ope=f_({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),zZt=Ope.logger;function zc(t){return Ope.createClientLogger(t)}o(zc,"createClientLogger");var jc=zc("core-rest-pipeline");function Z3(t={}){return b_({logger:jc.info,...t})}o(Z3,"logPolicy");var eG=w_;function tG(t={}){return I_(t)}o(tG,"redirectPolicy");var $_=R(require("node:os"),1),J_=R(require("node:process"),1);function Lpe(){return"User-Agent"}o(Lpe,"getHeaderName");async function Fpe(t){if(J_.default&&J_.default.versions){let e=`${$_.default.type()} ${$_.default.release()}; ${$_.default.arch()}`,r=J_.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(Fpe,"setPlatformSpecificData");var W_="1.22.2";function Mrt(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(Mrt,"getUserAgentString");function Mpe(){return Lpe()}o(Mpe,"getUserAgentHeaderName");async function Y_(t){let e=new Map;e.set("core-rest-pipeline",W_),await Fpe(e);let r=Mrt(e);return t?`${t} ${r}`:r}o(Y_,"getUserAgentValue");var Upe=Mpe(),qpe="userAgentPolicy";function rG(t={}){let e=Y_(t.userAgentPrefix);return{name:qpe,async sendRequest(r,n){return r.headers.has(Upe)||r.headers.set(Upe,await e),n(r)}}}o(rG,"userAgentPolicy");var lo=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function nG(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new lo(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(nG,"createAbortablePromise");var Vrt="The delay was aborted.";function L0(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return nG(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??Vrt})}o(L0,"delay");function df(t){if(lp(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(df,"getErrorMessage");function Gpe(t){return lp(t)}o(Gpe,"isError");function Rg(){return cp()}o(Rg,"randomUUID");var Ot=fp;var Hpe=Symbol("rawContent");function sG(t){return typeof t[Hpe]=="function"}o(sG,"hasRawContent");function Vpe(t){return sG(t)?t[Hpe]():t}o(Vpe,"getRawContent");var K_=O0;function oG(){let t=z_();return{name:K_,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)sG(n.body)&&(n.body=Vpe(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(oG,"multipartPolicy");var aG=S_;function cG(){return B_()}o(cG,"decompressResponsePolicy");function lG(t={}){return N_(t)}o(lG,"defaultRetryPolicy");function uG(){return __()}o(uG,"formDataPolicy");function ff(t){return J3(t)}o(ff,"getDefaultProxySettings");function dG(t,e){return U_(t,e)}o(dG,"proxyPolicy");var zpe="setClientRequestIdPolicy";function fG(t="x-ms-client-request-id"){return{name:zpe,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(fG,"setClientRequestIdPolicy");function hG(t){return q_(t)}o(hG,"agentPolicy");function pG(t){return G_(t)}o(pG,"tlsPolicy");var Tg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function jpe(t={}){let e=new AG(t.parentContext);return t.span&&(e=e.setValue(Tg.span,t.span)),t.namespace&&(e=e.setValue(Tg.namespace,t.namespace)),e}o(jpe,"createTracingContext");var AG=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 Jpe=R($pe(),1),Z_=Jpe.state;function zrt(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(zrt,"createDefaultTracingSpan");function jrt(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:zrt(),tracingContext:jpe({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(jrt,"createDefaultInstrumenter");function F0(){return Z_.instrumenterImplementation||(Z_.instrumenterImplementation=jrt()),Z_.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,m=h.span;p.getValue(Tg.namespace)||(p=p.setValue(Tg.namespace,e)),m.setAttribute("az.namespace",p.getValue(Tg.namespace));let g=Object.assign({},d,{tracingOptions:{...d?.tracingOptions,tracingContext:p}});return{span:m,updatedOptions:g}}o(i,"startSpan");async function s(u,d,f,h){let{span:p,updatedOptions:m}=i(u,d,h);try{let g=await a(m.tracingOptions.tracingContext,()=>Promise.resolve(f(m,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,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 Ou=Yi;function pp(t){return m_(t)}o(pp,"isRestError");var Wpe="tracingPolicy";function mG(t={}){let e=Y_(t.userAgentPrefix),r=new Wa({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=$rt();return{name:Wpe,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}=Jrt(n,i,c)??{};if(!l||!u)return s(i);try{let d=await n.withContext(u,s,i);return Yrt(l,d),d}catch(d){throw Wrt(l,d),d}}}}o(mG,"tracingPolicy");function $rt(){try{return M0({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:W_})}catch(t){jc.warning(`Error when creating the TracingClient: ${df(t)}`);return}}o($rt,"tryCreateTracingClient");function Jrt(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){jc.warning(`Skipping creating a tracing span due to an error: ${df(n)}`);return}}o(Jrt,"tryCreateSpan");function Wrt(t,e){try{t.setStatus({status:"error",error:Gpe(e)?e:void 0}),pp(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){jc.warning(`Skipping tracing span processing due to an error: ${df(r)}`)}}o(Wrt,"tryProcessError");function Yrt(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){jc.warning(`Skipping tracing span processing due to an error: ${df(r)}`)}}o(Yrt,"tryProcessResponse");function eR(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(eR,"wrapAbortSignalLike");var Krt="wrapAbortSignalLikePolicy";function Ype(){return{name:Krt,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=eR(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(Ype,"wrapAbortSignalLikePolicy");function gG(t){let e=j_();return Ot&&(t.agent&&e.addPolicy(hG(t.agent)),t.tlsOptions&&e.addPolicy(pG(t.tlsOptions)),e.addPolicy(dG(t.proxyOptions)),e.addPolicy(cG())),e.addPolicy(Ype()),e.addPolicy(uG(),{beforePolicies:[K_]}),e.addPolicy(rG(t.userAgentOptions)),e.addPolicy(fG(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(oG(),{afterPhase:"Deserialize"}),e.addPolicy(lG(t.retryOptions),{phase:"Retry"}),e.addPolicy(mG({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ot&&e.addPolicy(tG(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(Z3(t.loggingOptions),{afterPhase:"Sign"}),e}o(gG,"createPipelineFromOptions");function U0(){let t=C_();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?eR(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(U0,"createDefaultHttpClient");function Lu(t){return so(t)}o(Lu,"createHttpHeaders");function q0(t){return p_(t)}o(q0,"createPipelineRequest");var bnr=zc("core-rest-pipeline retryPolicy");var Xrt={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Zrt(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(yG,"createTokenCycler");var eAe="bearerTokenAuthenticationPolicy";async function tR(t,e){try{return[await e(t),void 0]}catch(r){if(pp(r)&&r.response)return[r.response,r];throw r}}o(tR,"trySendRequest");async function ent(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(ent,"defaultAuthorizeRequest");function Kpe(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(Kpe,"isChallengeResponse");async function Xpe(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(Xpe,"authorizeRequestOnCaeChallenge");function Dg(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||jc,s={authorizeRequest:n?.authorizeRequest?.bind(n)??ent,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?yG(e):()=>Promise.resolve(null);return{name:eAe,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 tR(c,l),Kpe(u)){let h=Zpe(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 Xpe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await tR(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 tR(c,l)),Kpe(u)&&(h=Zpe(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 Xpe({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},p),f&&([u,d]=await tR(c,l))}}if(d)throw d;return u}}}o(Dg,"bearerTokenAuthenticationPolicy");function tnt(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(tnt,"parseChallenges");function Zpe(t){return t?tnt(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(Zpe,"getCaeChallengeClaims");function uo(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(uo,"isTokenCredential");var EG="DisableKeepAlivePolicy";function tAe(){return{name:EG,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(tAe,"createDisableKeepAlivePolicy");function rAe(t){return t.getOrderedPolicies().some(e=>e.name===EG)}o(rAe,"pipelineContainsDisableKeepAlivePolicy");function CG(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(CG,"encodeByteArray");function bG(t){return Buffer.from(t,"base64")}o(bG,"decodeString");function nnt(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(nnt,"isPrimitiveBody");var int=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function nAe(t){return int.test(t)}o(nAe,"isDuration");var snt=/^[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 iAe(t){return snt.test(t)}o(iAe,"isValidUuid");function ont(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(ont,"handleNullableResponseAndWrappableBody");function wG(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 ont({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:nnt(t.parsedBody,s)})}o(wG,"flattenResponse");var IG=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:m,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),d!==void 0&&r.length>d&&i("MaxLength",d),f!==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=fnt(c,n,r):c.match(/^Enum$/i)!==null?a=hnt(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=mnt(c,r,n):c.match(/^ByteArray$/i)!==null?a=pnt(n,r):c.match(/^Base64Url$/i)!==null?a=Ant(n,r):c.match(/^Sequence$/i)!==null?a=gnt(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=ynt(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=Cnt(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=wnt(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=dnt(r):c.match(/^ByteArray$/i)!==null?a=bG(r):c.match(/^Base64Url$/i)!==null?a=lnt(r):c.match(/^Sequence$/i)!==null?a=Snt(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=Int(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function fo(t={},e=!1){return new IG(t,e)}o(fo,"createSerializer");function ant(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(ant,"trimEnd");function cnt(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=CG(t);return ant(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(cnt,"bufferToBase64Url");function lnt(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,"/"),bG(t)}}o(lnt,"base64UrlToByteArray");function SG(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(SG,"splitSerializeName");function unt(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(unt,"dateToUnixTime");function dnt(t){if(t)return new Date(t*1e3)}o(dnt,"unixTimeToDate");function fnt(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"&&iAe(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(fnt,"serializeBasicTypes");function hnt(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(hnt,"serializeEnumType");function pnt(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=CG(e)}return e}o(pnt,"serializeByteArrayType");function Ant(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=cnt(e)}return e}o(Ant,"serializeBase64UrlType");function mnt(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=unt(e)}else if(t.match(/^TimeSpan$/i)!==null&&!nAe(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(mnt,"serializeDateTypes");function gnt(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(Cnt,"serializeCompositeType");function cAe(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(cAe,"getXmlObjectValue");function bnt(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(bnt,"isSpecialXmlProperty");function wnt(t,e,r,n,i){let s=i.xml.xmlCharKey??"_";rR(t,e)&&(e=lAe(t,e,r,"serializedName"));let a=aAe(t,e,n),c={},l=[];for(let d of Object.keys(a)){let f=a[d],h=SG(a[d].serializedName);l.push(h[0]);let{serializedName:p,xmlName:m,xmlElementName:g}=f,E=n;p!==""&&p!==void 0&&(E=n+"."+p);let y=f.headerCollectionPrefix;if(y){let C={};for(let w of Object.keys(r))w.startsWith(y)&&(C[w.substring(y.length)]=t.deserialize(f.type.value,r[w],E,i)),l.push(w);c[d]=C}else if(t.isXML)if(f.xmlIsAttribute&&r["$"])c[d]=t.deserialize(f,r["$"][m],E,i);else if(f.xmlIsMsText)r[s]!==void 0?c[d]=r[s]:typeof r=="string"&&(c[d]=r);else{let C=g||m||p;if(f.xmlIsWrapped){let B=r[m]?.[g]??[];c[d]=t.deserialize(f,B,E,i),l.push(m)}else{let w=r[C];c[d]=t.deserialize(f,w,E,i),l.push(C)}}else{let C,w=r,B=0;for(let v of h){if(!w)break;B++,w=w[v]}w===null&&B{for(let h in a)if(SG(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)&&!bnt(d,i)&&(c[d]=r[d]);return c}o(wnt,"deserializeCompositeType");function Int(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(Int,"deserializeDictionaryType");function Snt(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=fAe(t,n);!a.propertyFound&&r&&(a=fAe(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=pf(t,{parameterPath:l,mapper:c},r);u!==void 0&&(s||(s={}),s[a]=u)}}return s}o(pf,"getOperationArgumentValueFromParameter");function fAe(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(Tnt,"deserializeResponseBody");function Dnt(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Dnt,"isOperationSpecEmpty");function Qnt(t,e,r,n){let i=200<=t.status&&t.status<300;if(Dnt(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 Ou(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 m=f;if(e.isXML&&u.type.name===$c.Sequence){m=[];let g=u.xmlElementName;typeof f=="object"&&g&&(m=f[g])}h=e.serializer.deserialize(u,m,"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(Qnt,"handleErrorResponse");async function knt(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||Ou.PARSE_ERROR;throw new Ou(u,{code:d,statusCode:r.status,request:r.request,response:r})}}return r}o(knt,"parse");function AAe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===$c.Stream&&e.add(Number(r))}return e}o(AAe,"getStreamingResponseStatusCodes");function Jc(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(Jc,"getPathStringFromParameter");var mAe="serializationPolicy";function iR(t={}){let e=t.stringifyXML;return{name:mAe,async sendRequest(r,n){let i=Fu(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(Pnt(r,a,s),Ont(r,a,s,e)),n(r)}}}o(iR,"serializationPolicy");function Pnt(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=pf(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,Jc(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||Jc(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(Pnt,"serializeHeaders");function Ont(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=pf(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:d,xmlElementName:f,xmlNamespace:h,xmlNamespacePrefix:p,nullable:m}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||m&&t.body===null||l){let E=Jc(r.requestBody);t.body=r.serializer.serialize(c,t.body,E,s);let y=g===$c.Stream;if(r.isXML){let C=p?`xmlns:${p}`:"xmlns",w=Lnt(h,C,g,t.body,s);g===$c.Sequence?t.body=n(Fnt(w,f||d||u,C,h),{rootName:d||u,xmlCharKey:a}):y||(t.body=n(w,{rootName:d||u,xmlCharKey:a}))}else{if(g===$c.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=pf(e,c);if(l!=null){let u=c.mapper.serializedName||Jc(c);t.formData[u]=r.serializer.serialize(c.mapper,l,Jc(c),s)}}}}o(Ont,"serializeRequestBody");function Lnt(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(Lnt,"getXmlValueWithNamespace");function Fnt(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(Fnt,"prepareXMLRootList");function G0(t={}){let e=gG(t??{});return t.credentialOptions&&e.addPolicy(Dg({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(iR(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(xG(t.deserializationOptions),{phase:"Deserialize"}),e}o(G0,"createClientPipeline");var vG;function gAe(){return vG||(vG=U0()),vG}o(gAe,"getCachedDefaultHttpClient");var Mnt={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function EAe(t,e,r,n){let i=Unt(e,r,n),s=!1,a=yAe(t,i);if(e.path){let u=yAe(e.path,i);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),qnt(u)?(a=u,s=!0):a=Gnt(a,u)}let{queryParams:c,sequenceParams:l}=Hnt(e,r,n);return a=znt(a,c,l,s),a}o(EAe,"getRequestUrl");function yAe(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(yAe,"replaceAll");function Unt(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=pf(e,i,r),a=Jc(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(Unt,"calculateUrlReplacements");function qnt(t){return t.includes("://")}o(qnt,"isAbsoluteUrl");function Gnt(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(Gnt,"appendPath");function Hnt(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=pf(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,Jc(s));let c=s.collectionFormat?Mnt[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||Jc(s),a)}}return{queryParams:n,sequenceParams:i}}o(Hnt,"calculateQueryParameters");function Vnt(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(Vnt,"simpleParseQueryParams");function znt(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=Vnt(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(znt,"appendQueryParams");var NG=zc("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&&NG.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||gAe(),this.pipeline=e.pipeline||jnt(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=EAe(n,r,e,this),s=q0({url:i});s.method=r.httpMethod;let a=Fu(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=AAe(r));try{let u=await this.sendRequest(s),d=wG(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=wG(d,r.responses[u.statusCode]||r.responses.default);u.details=f,l?.onResponse&&l.onResponse(d,f,u)}throw u}}};function jnt(t){let e=$nt(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return G0({...t,credentialOptions:r})}o(jnt,"createDefaultPipeline");function $nt(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($nt,"getCredentialScopes");var CAe={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Jnt(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(Jnt,"isUuid");var sR=o(async t=>{let e=Znt(t.request),r=Knt(t.response);if(r){let n=Xnt(r),i=Ynt(t,n),s=Wnt(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(CAe.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function Wnt(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Jnt(n))return n}o(Wnt,"extractTenantId");function Ynt(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=CAe.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Ynt,"buildScopes");function Knt(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Knt,"getChallenge");function Xnt(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(Xnt,"parseChallenge");function Znt(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Znt,"requestToOptions");var bAe=Symbol("Original PipelineRequest"),eit=Symbol.for("@azure/core-client original request");function z0(t,e={}){let n=t[bAe],i=Lu(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[eit]=e.originalRequest),s}}o(z0,"toPipelineRequest");function Ap(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:j0(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===bAe?t:s==="clone"?()=>Ap(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(Ap,"toWebResourceLike");function j0(t){return new _G(t.toJSON({preserveCase:!0}))}o(j0,"toHttpHeadersLike");function V0(t){return t.toLowerCase()}o(V0,"getHeaderKey");var _G=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(Ap(e,{createProxy:!0}));return aR(r)},"sendRequest")}}o(DG,"convertHttpClient");var SAe=":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",nit=SAe+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",iit="["+SAe+"]["+nit+"]*",sit=new RegExp("^"+iit+"$");function cR(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 BAe(t){return typeof t<"u"}o(BAe,"isExist");var J0=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],lR=["__proto__","constructor","prototype"];var oit={allowBooleanAttributes:!1,unpairedTags:[]};function uR(t,e){e=Object.assign({},oit,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--),!pit(l)){let f;return l.trim().length===0?f="Invalid space after '<'.":f="Tag '"+l+"' is an invalid name.",Zr("InvalidTag",f,Ki(t,s))}let u=lit(t,s);if(u===!1)return Zr("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=_Ae(d,e);if(h===!0)n=!0;else return Zr(h.err.code,h.err.msg,Ki(t,f+h.err.line))}else if(c)if(u.tagClosed){if(d.trim().length>0)return Zr("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Ki(t,a));if(r.length===0)return Zr("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 Zr("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 Zr("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Ki(t,s));else{let f=_Ae(d,e);if(f!==!0)return Zr(f.err.code,f.err.msg,Ki(t,s-d.length+f.err.line));if(i===!0)return Zr("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 Zr("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Zr("InvalidXml","Start tag expected.",1);return!0}o(uR,"validate");function xAe(t){return t===" "||t===" "||t===` +`||t==="\r"}o(xAe,"isWhiteSpace");function vAe(t,e){let r=e;for(;e5&&n==="xml")return Zr("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(vAe,"readPI");function NAe(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(NAe,"readCommentAndCDATA");var ait='"',cit="'";function lit(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(lit,"readAttributeStr");var uit=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function _Ae(t,e){let r=cR(t,uit),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"},TAe={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"},DAe={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"},QAe={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"},kAe={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"},PAe={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:"<"},OAe={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"},LAe={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"},FAe={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"},MAe={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"},dR={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"},UAe={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"},qAe={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"},Ait={...RAe,...TAe,...DAe,...QAe,...kAe,...PAe,...OAe,...LAe,...FAe,...MAe,...dR,...UAe,...qAe},Y0={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},kG={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 mit=new Set("!?\\\\/[]$%{}^&*()<>|+");function GAe(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(mit.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(GAe,"validateEntityName");function PG(...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(PG,"mergeEntityMaps");var mp="external",fR="base",OG="all";function git(t){return!t||t===mp?new Set([mp]):t===OG?new Set([OG]):t===fR?new Set([fR]):Array.isArray(t)?new Set(t):new Set([mp])}o(git,"parseLimitTiers");var Bs=Object.freeze({allow:0,leave:1,remove:2,throw:3}),yit=new Set([9,10,13]);function Eit(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(Eit,"parseNCRConfig");var kg=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=git(this._limit.applyLimitsTo??mp),this._numericAllowed=e.numericAllowed??!0,this._baseMap=PG(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=Eit(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))GAe(r);this._externalMap=PG(e)}addExternalEntity(e,r){GAe(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=PG(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,m;if(this._removeSet.has(h))p="",m===void 0&&(m=mp);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,m=fR}else{let g=this._resolveName(h);p=g?.value,m=g?.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(m)){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&&!yit.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&&iJ0.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Cit={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:HAe};function bit(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(J0.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(lR.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(bit,"validatePropertyName");function VAe(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"}:VAe(!0)}o(VAe,"normalizeProcessEntities");var zAe=o(function(t){let e=Object.assign({},Cit,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&&bit(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=HAe),e.processEntities=VAe(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 hR;typeof Symbol!="function"?hR="@@xmlMetadata":hR=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][hR]={startIndex:r})}static getMetaDataSymbol(){return hR}};var jAe=":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",wit=jAe+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",$Ae=":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}",Iit=$Ae+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",JAe=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"),Sit=JAe(jAe,wit),Bit=JAe($Ae,Iit,"u"),xit=o((t="1.0")=>t==="1.1"?Bit:Sit,"getRegexes");var gp=o((t,{xmlVersion:e="1.0"}={})=>xit(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&&yp(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&yp(e,"!ATTLIST",r))r+=8;else if(a&&yp(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(yp(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 Pit(t,Number(r),e)}o(FG,"toNumber");var Dit=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Qit(t,e,r){if(!r.eNotation)return t;let n=e.match(Dit);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(Qit,"resolveEnotation");function kit(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(kit,"trimZeros");function LG(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(LG,"parse_int");function Pit(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(Pit,"handleInfinity");function MG(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(MG,"getIgnoreAttributesFn");var ho=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)}},Wc=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new UG(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 Oit(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(Oit,"extractRawAttributes");function Lit(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(Lit,"extractNamespace");var Z0=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Git,this.parseTextData=Fit,this.resolveNameSpace=Mit,this.buildAttributesMap=qit,this.isItStopNode=jit,this.replaceEntitiesValue=Vit,this.readStopNodeData=Wit,this.saveTextToParentTag=zit,this.addChild=Hit,this.ignoreAttributesFn=MG(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={...kG,...dR}),this.entityDecoder=new kg({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 Wc,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Pg;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?HG(t,c.parseTagValue,c.numberParseOptions):t}}o(Fit,"parseTextData");function Mit(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(Mit,"resolveNameSpace");var Uit=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function qit(t,e,r,n=!1){let i=this.options;if(n===!0||i.ignoreAttributes!==!0&&typeof t=="string"){let s=cR(t,Uit),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=qG(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=GG(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=Og(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=Og(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=GG(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,m=d.attrExpPresent,g=d.closeIndex;if({tagName:f,tagExp:p}=qG(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),m=f!==p);let C=null,w={},B;B=Lit(h),f!==e.tagname&&this.matcher.push(f,{},B),f!==p&&m&&(C=this.buildAttributesMap(p,this.matcher,f),C&&(w=Oit(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 j=this.readStopNodeData(t,h,g+1);if(!j)throw new Error(`Unexpected end of ${h}`);c=j.i,M=j.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}=qG(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=g}}}else n+=t[c];return e.child},"parseXml");function Hit(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(Hit,"addChild");function Vit(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(Vit,"replaceEntitiesValue");function zit(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(zit,"saveTextToParentTag");function jit(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(jit,"isItStopNode");function $it(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=Og(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Og(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Og(t,"]]>",r,"StopNode is not closed.")-2;else{let c=GG(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&i++,r=c.closeIndex)}}}o(Wit,"readStopNodeData");function HG(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:FG(t,r)}else return BAe(t)?t:""}o(HG,"parseValue");function qG(t,e,r,n){if(t){let i=t(e);r===e&&(r=i),e=i}return e=WAe(e,n),{tagName:e,tagExp:r}}o(qG,"transformTagName");function WAe(t,e){if(lR.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return J0.includes(t)?e.onDangerousProperty(t):t}o(WAe,"sanitizeName");var VG=xs.getMetaDataSymbol();function Yit(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(Yit,"stripAttributePrefix");function zG(t,e,r,n){return YAe(t,e,r,n)}o(zG,"prettify");function YAe(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(YAe,"compress");function Kit(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(AR,"safeCdata");function Af(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(Af,"escapeAttribute");var est=` +`;function tst(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(JG(r)==="?xml"){let i=r[":@"];if(i){let s=e.attributeNamePrefix+"version";if(i[s])return i[s]}}return"1.0"}o(tst,"detectXmlVersionFromArray");function XAe(t,e,r,n,i){return!r.sanitizeName||gp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(XAe,"resolveTagName");function $G(t,e){let r="";e.format&&(r=est);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 w=u[d][0][e.textNodeName],B=pR(w);a+=r+``,c=!0,n.pop();continue}else if(h[0]==="?"){let w=KAe(u[":@"],e,m,n,s);a+=(h==="?xml"?"":r)+`<${h}${w}?>`,c=!0,n.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let E=KAe(u[":@"],e,m,n,s),y=r+`<${h}${E}`,C;m?C=eme(u[d],e):C=ZAe(u[d],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(ZAe,"arrToStr");function rst(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]=Af(t[i]),n=!0}return n?r:null}o(rst,"extractAttributeValues");function eme(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(eme,"getRawContent");function nst(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)}="${Af(i)}"`}return r}o(nst,"attr_to_str_raw");function JG(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(WG,"getIgnoreAttributesFn");var sst={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({},sst,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 WG(t,e,r,n,i){return!r.sanitizeName||gp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(WG,"resolveTagName");Ns.prototype.build=function(t){if(this.options.preserveOrder)return jG(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Wc,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:WG(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=WG(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(g===null)d[0]==="?"?s+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(d);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,d,e,r,n);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(d,g);E=this.replaceEntitiesValue(E),h+=E}else{r.push(d);let E=this.checkStopNode(r);if(r.pop(),E){let y=""+g;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=pR(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(mR,"stringifyXML");async function KG(t,e={}){if(!t)throw new Error("Document is empty");let r=eme.validate(t);if(r!==!0)throw r;let i=new Fg(cst(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(KG,"parseXML");var gR=zc("storage-blob");var ome=require("events");var ime=require("node:stream");var yR=class extends ime.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 sme=R(require("node:buffer"),1);var ER=sme.default.constants.MAX_LENGTH,CR=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/ER);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new yR(this.buffers,this.size)}};var bR=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new ome.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 CR(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 XG;function ZG(){return XG||(XG=U0()),XG}o(ZG,"getCachedDefaultHttpClient");var Yc=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 Mu={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 mf(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(mf,"setURLParameter");function wR(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(wR,"setURLHost");function IR(t){try{return new URL(t).pathname}catch{return}}o(IR,"getURLPath");function SR(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(BR,"delay");var ew=class extends Yc{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ot?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=mf(e.url,Mu.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 tw=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new ew(e,r)}};var Ep=class extends Yc{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var rw=class extends Ep{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var Cp=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var yr=class extends Cp{static{o(this,"AnonymousCredential")}create(e,r){return new rw(e,r)}};var ame=require("node:crypto");var lst=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]),ust=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]),dst=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 xR(t,e){return fst(t,e)?-1:1}o(xR,"compareHeader");function fst(t,e){let r=[lst,ust,dst],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(Ns,"Builder");function ost(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(ost,"detectXmlVersionFromObj");function YG(t,e,r,n,i){return!r.sanitizeName||gp(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(YG,"resolveTagName");Ns.prototype.build=function(t){if(this.options.preserveOrder)return $G(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Wc,r=ost(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:YG(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=YG(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(g===null)d[0]==="?"?s+=this.indentate(e)+"<"+d+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+d+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(d);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,d,e,r,n);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(d,g);E=this.replaceEntitiesValue(E),h+=E}else{r.push(d);let E=this.checkStopNode(r);if(r.pop(),E){let y=""+g;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=pR(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(mR,"stringifyXML");async function XG(t,e={}){if(!t)throw new Error("Document is empty");let r=tme.validate(t);if(r!==!0)throw r;let i=new Lg(dst(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(XG,"parseXML");var gR=zc("storage-blob");var ame=require("events");var sme=require("node:stream");var yR=class extends sme.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 ome=R(require("node:buffer"),1);var ER=ome.default.constants.MAX_LENGTH,CR=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/ER);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new yR(this.buffers,this.size)}};var bR=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new ame.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 CR(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 ZG;function eH(){return ZG||(ZG=U0()),ZG}o(eH,"getCachedDefaultHttpClient");var Yc=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 Mu={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 mf(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(mf,"setURLParameter");function wR(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(wR,"setURLHost");function IR(t){try{return new URL(t).pathname}catch{return}}o(IR,"getURLPath");function SR(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(BR,"delay");var ew=class extends Yc{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ot?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=mf(e.url,Mu.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 tw=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new ew(e,r)}};var Ep=class extends Yc{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var rw=class extends Ep{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var Cp=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var yr=class extends Cp{static{o(this,"AnonymousCredential")}create(e,r){return new rw(e,r)}};var cme=require("node:crypto");var fst=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]),hst=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]),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,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 xR(t,e){return Ast(t,e)?-1:1}o(xR,"compareHeader");function Ast(t,e){let r=[fst,hst,pst],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)=>xR(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=IR(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=SR(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 Pr=class extends Cp{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new nw(e,r,this)}computeHMACSHA256(e){return(0,ame.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var vn=zc("storage-common");var Ko;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Ko||(Ko={}));var gf={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ko.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},hst=new lo("The operation was aborted."),iw=class extends Yc{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=gf){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:gf.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):gf.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:gf.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:gf.maxRetryDelayInMs):gf.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:gf.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:gf.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=wR(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=mf(i.url,Mu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(vn.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(vn.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 vn.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 vn.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 vn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return vn.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')?(vn.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 Ko.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Ko.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return vn.info(`RetryPolicy: Delay for ${i}ms`),BR(i,n,hst)}};var sw=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new iw(e,r,this.retryOptions)}};var pst="storageBrowserPolicy";function cme(){return{name:pst,async sendRequest(t,e){return Ot||((t.method==="GET"||t.method==="HEAD")&&(t.url=mf(t.url,Mu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ve.COOKIE),t.headers.delete(Ve.CONTENT_LENGTH)),e(t)}}}o(cme,"storageBrowserPolicy");var Ast="StorageCorrectContentLengthPolicy";function lme(){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:Ast,async sendRequest(e,r){return t(e),r(e)}}}o(lme,"storageCorrectContentLengthPolicy");var mst="storageRetryPolicy",Mg={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ko.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},gst=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],yst=new lo("The operation was aborted.");function ume(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 vn.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 vn.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(h?.code==="PARSE_ERROR"&&h?.message.startsWith('Error "Error: Unclosed root tag'))return vn.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 vn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return vn.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 Ko.EXPONENTIAL:f=Math.min((Math.pow(2,d-1)-1)*n,i);break;case Ko.FIXED:f=n;break}else f=Math.random()*1e3;return vn.info(`RetryPolicy: Delay for ${f}ms`),f}return o(l,"calculateDelay"),{name:mst,async sendRequest(u,d){a&&(u.url=mf(u.url,Mu.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let f=u.url,h=s?wR(u.url,s):void 0,p=!1,m=1,g=!0,E,y;for(;g;){let C=p||!h||!["GET","HEAD","OPTIONS"].includes(u.method)||m%2===1;u.url=C?f:h,E=void 0,y=void 0;try{vn.info(`RetryPolicy: =====> Try=${m} ${C?"Primary":"Secondary"}`),E=await d(u),p=p||!C&&E.status===404}catch(w){if(pp(w))vn.error(`RetryPolicy: Caught error, message: ${w.message}, code: ${w.code}`),y=w;else throw vn.error(`RetryPolicy: Caught error, message: ${df(w)}`),w}g=c({isPrimaryRetry:C,attempt:m,response:E,error:y}),g&&await BR(l(C,m),u.abortSignal,yst),m++}if(E)return E;throw y??new Ou("RetryPolicy failed without known error.")}}}o(ume,"storageRetryPolicy");var dme=require("node:crypto");var Est="storageSharedKeyCredentialPolicy";function eH(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(` +${c}:${decodeURIComponent(s[c])}`}return n}};var Pr=class extends Cp{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new nw(e,r,this)}computeHMACSHA256(e){return(0,cme.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var vn=zc("storage-common");var Ko;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Ko||(Ko={}));var gf={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ko.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},mst=new lo("The operation was aborted."),iw=class extends Yc{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=gf){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:gf.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):gf.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:gf.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:gf.maxRetryDelayInMs):gf.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:gf.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:gf.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=wR(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=mf(i.url,Mu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(vn.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(vn.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 vn.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 vn.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 vn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return vn.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')?(vn.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 Ko.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Ko.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return vn.info(`RetryPolicy: Delay for ${i}ms`),BR(i,n,mst)}};var sw=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new iw(e,r,this.retryOptions)}};var gst="storageBrowserPolicy";function lme(){return{name:gst,async sendRequest(t,e){return Ot||((t.method==="GET"||t.method==="HEAD")&&(t.url=mf(t.url,Mu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ve.COOKIE),t.headers.delete(Ve.CONTENT_LENGTH)),e(t)}}}o(lme,"storageBrowserPolicy");var yst="StorageCorrectContentLengthPolicy";function ume(){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:yst,async sendRequest(e,r){return t(e),r(e)}}}o(ume,"storageCorrectContentLengthPolicy");var Est="storageRetryPolicy",Fg={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ko.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Cst=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],bst=new lo("The operation was aborted.");function dme(t={}){let e=t.retryPolicyType??Fg.retryPolicyType,r=t.maxTries??Fg.maxTries,n=t.retryDelayInMs??Fg.retryDelayInMs,i=t.maxRetryDelayInMs??Fg.maxRetryDelayInMs,s=t.secondaryHost??Fg.secondaryHost,a=t.tryTimeoutInMs??Fg.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:d,response:f,error:h}){if(d>=r)return vn.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${r}, no further try.`),!1;if(h){for(let p of Cst)if(h.name.toUpperCase().includes(p)||h.message.toUpperCase().includes(p)||h.code&&h.code.toString().toUpperCase()===p)return vn.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(h?.code==="PARSE_ERROR"&&h?.message.startsWith('Error "Error: Unclosed root tag'))return vn.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 vn.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return vn.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 Ko.EXPONENTIAL:f=Math.min((Math.pow(2,d-1)-1)*n,i);break;case Ko.FIXED:f=n;break}else f=Math.random()*1e3;return vn.info(`RetryPolicy: Delay for ${f}ms`),f}return o(l,"calculateDelay"),{name:Est,async sendRequest(u,d){a&&(u.url=mf(u.url,Mu.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let f=u.url,h=s?wR(u.url,s):void 0,p=!1,m=1,g=!0,E,y;for(;g;){let C=p||!h||!["GET","HEAD","OPTIONS"].includes(u.method)||m%2===1;u.url=C?f:h,E=void 0,y=void 0;try{vn.info(`RetryPolicy: =====> Try=${m} ${C?"Primary":"Secondary"}`),E=await d(u),p=p||!C&&E.status===404}catch(w){if(pp(w))vn.error(`RetryPolicy: Caught error, message: ${w.message}, code: ${w.code}`),y=w;else throw vn.error(`RetryPolicy: Caught error, message: ${df(w)}`),w}g=c({isPrimaryRetry:C,attempt:m,response:E,error:y}),g&&await BR(l(C,m),u.abortSignal,bst),m++}if(E)return E;throw y??new Ou("RetryPolicy failed without known error.")}}}o(dme,"storageRetryPolicy");var fme=require("node:crypto");var wst="storageSharedKeyCredentialPolicy";function tH(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,dme.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)=>xR(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()} +`+n(s)+i(s),c=(0,fme.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)=>xR(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=IR(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=SR(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:Est,async sendRequest(s,a){return e(s),a(s)}}}o(eH,"storageSharedKeyCredentialPolicy");var Cst="storageRequestFailureDetailsParserPolicy";function fme(){return{name:Cst,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(fme,"storageRequestFailureDetailsParserPolicy");var hme=require("node:crypto");var vR=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,hme.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var NR="12.31.0",_R="2026-02-06";var RR="https://storage.azure.com/.default",Uu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Ya="",tH="*",bst=1*1024*1024;var wst=4*bst;var pme="AES256",Ame="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",mme=["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"],gme=["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"],yme="BlobUsesCustomerSpecifiedEncryption",Eme="BlobDoesNotUseCustomerSpecifiedEncryption",Cme=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function qu(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(qu,"isPipelineLike");var ow=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 en(t,e={}){t||(t=new yr);let r=new ow([],e);return r._credential=t,r}o(en,"newPipeline");function Ist(t){let e=[Sst,bme,Bst,xst,vst,Nst,Rst];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>_st(i));return{wrappedPolicies:RG(r),afterRetry:n}}}}o(Ist,"processDownlevelPipeline");function rH(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?TG(e):ZG(),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=G0({...r,loggingOptions:{additionalAllowedHeaderNames:mme,additionalAllowedQueryParameters:gme,logger:gR.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:mR,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:KG,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:oG}),i.addPolicy(lme()),i.addPolicy(ume(r.retryOptions),{phase:"Retry"}),i.addPolicy(fme()),i.addPolicy(cme());let c=Ist(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=nH(t);uo(l)?i.addPolicy(Qg({credential:l,scopes:r.audience??RR,challengeCallbacks:{authorizeRequestOnChallenge:sR}}),{phase:"Sign"}):l instanceof Pr&&i.addPolicy(eH({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(rH,"getCoreClientOptions");function nH(t){if(t._credential)return t._credential;let e=new yr;for(let r of t.factories)if(uo(r.credential))e=r.credential;else if(bme(r))return r;return e}o(nH,"getCredentialFromPipeline");function bme(t){return t instanceof Pr?!0:t.constructor.name==="StorageSharedKeyCredential"}o(bme,"isStorageSharedKeyCredential");function Sst(t){return t instanceof yr?!0:t.constructor.name==="AnonymousCredential"}o(Sst,"isAnonymousCredential");function Bst(t){return uo(t.credential)}o(Bst,"isCoreHttpBearerTokenFactory");function xst(t){return t instanceof tw?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(xst,"isStorageBrowserPolicyFactory");function vst(t){return t instanceof sw?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(vst,"isStorageRetryPolicyFactory");function Nst(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Nst,"isStorageTelemetryPolicyFactory");function _st(t){return t.constructor.name==="InjectorPolicyFactory"}o(_st,"isInjectorPolicyFactory");function Rst(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(Rst,"isCoreHttpPolicyFactory");var wme;(function(t){t.AES256="AES256"})(wme||(wme={}));var Ime;(function(t){t.Backup="backup"})(Ime||(Ime={}));var Sme;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(Sme||(Sme={}));var Bme;(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"})(Bme||(Bme={}));var po={};LUe(po,{AccessPolicy:()=>Gst,AppendBlobAppendBlockExceptionHeaders:()=>I5,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>B5,AppendBlobAppendBlockFromUrlHeaders:()=>S5,AppendBlobAppendBlockHeaders:()=>w5,AppendBlobCreateExceptionHeaders:()=>b5,AppendBlobCreateHeaders:()=>C5,AppendBlobSealExceptionHeaders:()=>v5,AppendBlobSealHeaders:()=>x5,ArrowConfiguration:()=>rot,ArrowField:()=>not,BlobAbortCopyFromURLExceptionHeaders:()=>$4,BlobAbortCopyFromURLHeaders:()=>j4,BlobAcquireLeaseExceptionHeaders:()=>T4,BlobAcquireLeaseHeaders:()=>R4,BlobBreakLeaseExceptionHeaders:()=>M4,BlobBreakLeaseHeaders:()=>F4,BlobChangeLeaseExceptionHeaders:()=>L4,BlobChangeLeaseHeaders:()=>O4,BlobCopyFromURLExceptionHeaders:()=>z4,BlobCopyFromURLHeaders:()=>V4,BlobCreateSnapshotExceptionHeaders:()=>q4,BlobCreateSnapshotHeaders:()=>U4,BlobDeleteExceptionHeaders:()=>A4,BlobDeleteHeaders:()=>p4,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>B4,BlobDeleteImmutabilityPolicyHeaders:()=>S4,BlobDownloadExceptionHeaders:()=>d4,BlobDownloadHeaders:()=>DR,BlobFlatListSegment:()=>Hst,BlobGetAccountInfoExceptionHeaders:()=>Y4,BlobGetAccountInfoHeaders:()=>W4,BlobGetPropertiesExceptionHeaders:()=>h4,BlobGetPropertiesHeaders:()=>f4,BlobGetTagsExceptionHeaders:()=>Z4,BlobGetTagsHeaders:()=>X4,BlobHierarchyListSegment:()=>$st,BlobItemInternal:()=>Vst,BlobName:()=>zst,BlobPrefix:()=>Jst,BlobPropertiesInternal:()=>jst,BlobQueryExceptionHeaders:()=>K4,BlobQueryHeaders:()=>kR,BlobReleaseLeaseExceptionHeaders:()=>Q4,BlobReleaseLeaseHeaders:()=>D4,BlobRenewLeaseExceptionHeaders:()=>P4,BlobRenewLeaseHeaders:()=>k4,BlobServiceProperties:()=>aw,BlobServiceStatistics:()=>iH,BlobSetExpiryExceptionHeaders:()=>E4,BlobSetExpiryHeaders:()=>y4,BlobSetHttpHeadersExceptionHeaders:()=>b4,BlobSetHttpHeadersHeaders:()=>C4,BlobSetImmutabilityPolicyExceptionHeaders:()=>I4,BlobSetImmutabilityPolicyHeaders:()=>w4,BlobSetLegalHoldExceptionHeaders:()=>v4,BlobSetLegalHoldHeaders:()=>x4,BlobSetMetadataExceptionHeaders:()=>_4,BlobSetMetadataHeaders:()=>N4,BlobSetTagsExceptionHeaders:()=>t5,BlobSetTagsHeaders:()=>e5,BlobSetTierExceptionHeaders:()=>J4,BlobSetTierHeaders:()=>QR,BlobStartCopyFromURLExceptionHeaders:()=>H4,BlobStartCopyFromURLHeaders:()=>G4,BlobTag:()=>Ust,BlobTags:()=>lw,BlobUndeleteExceptionHeaders:()=>g4,BlobUndeleteHeaders:()=>m4,Block:()=>Wst,BlockBlobCommitBlockListExceptionHeaders:()=>L5,BlockBlobCommitBlockListHeaders:()=>O5,BlockBlobGetBlockListExceptionHeaders:()=>M5,BlockBlobGetBlockListHeaders:()=>F5,BlockBlobPutBlobFromUrlExceptionHeaders:()=>T5,BlockBlobPutBlobFromUrlHeaders:()=>R5,BlockBlobStageBlockExceptionHeaders:()=>Q5,BlockBlobStageBlockFromURLExceptionHeaders:()=>P5,BlockBlobStageBlockFromURLHeaders:()=>k5,BlockBlobStageBlockHeaders:()=>D5,BlockBlobUploadExceptionHeaders:()=>_5,BlockBlobUploadHeaders:()=>N5,BlockList:()=>dH,BlockLookupList:()=>uH,ClearRange:()=>Kst,ContainerAcquireLeaseExceptionHeaders:()=>YH,ContainerAcquireLeaseHeaders:()=>WH,ContainerBreakLeaseExceptionHeaders:()=>r4,ContainerBreakLeaseHeaders:()=>t4,ContainerChangeLeaseExceptionHeaders:()=>i4,ContainerChangeLeaseHeaders:()=>n4,ContainerCreateExceptionHeaders:()=>RH,ContainerCreateHeaders:()=>_H,ContainerDeleteExceptionHeaders:()=>kH,ContainerDeleteHeaders:()=>QH,ContainerFilterBlobsExceptionHeaders:()=>JH,ContainerFilterBlobsHeaders:()=>$H,ContainerGetAccessPolicyExceptionHeaders:()=>FH,ContainerGetAccessPolicyHeaders:()=>LH,ContainerGetAccountInfoExceptionHeaders:()=>u4,ContainerGetAccountInfoHeaders:()=>l4,ContainerGetPropertiesExceptionHeaders:()=>DH,ContainerGetPropertiesHeaders:()=>TH,ContainerItem:()=>Lst,ContainerListBlobFlatSegmentExceptionHeaders:()=>o4,ContainerListBlobFlatSegmentHeaders:()=>s4,ContainerListBlobHierarchySegmentExceptionHeaders:()=>c4,ContainerListBlobHierarchySegmentHeaders:()=>a4,ContainerProperties:()=>Fst,ContainerReleaseLeaseExceptionHeaders:()=>XH,ContainerReleaseLeaseHeaders:()=>KH,ContainerRenameExceptionHeaders:()=>VH,ContainerRenameHeaders:()=>HH,ContainerRenewLeaseExceptionHeaders:()=>e4,ContainerRenewLeaseHeaders:()=>ZH,ContainerRestoreExceptionHeaders:()=>GH,ContainerRestoreHeaders:()=>qH,ContainerSetAccessPolicyExceptionHeaders:()=>UH,ContainerSetAccessPolicyHeaders:()=>MH,ContainerSetMetadataExceptionHeaders:()=>OH,ContainerSetMetadataHeaders:()=>PH,ContainerSubmitBatchExceptionHeaders:()=>jH,ContainerSubmitBatchHeaders:()=>zH,CorsRule:()=>kst,DelimitedTextConfiguration:()=>eot,FilterBlobItem:()=>Mst,FilterBlobSegment:()=>cw,GeoReplication:()=>Ost,JsonTextConfiguration:()=>tot,KeyInfo:()=>oH,ListBlobsFlatSegmentResponse:()=>cH,ListBlobsHierarchySegmentResponse:()=>lH,ListContainersSegmentResponse:()=>sH,Logging:()=>Tst,Metrics:()=>Qst,PageBlobClearPagesExceptionHeaders:()=>a5,PageBlobClearPagesHeaders:()=>o5,PageBlobCopyIncrementalExceptionHeaders:()=>E5,PageBlobCopyIncrementalHeaders:()=>y5,PageBlobCreateExceptionHeaders:()=>n5,PageBlobCreateHeaders:()=>r5,PageBlobGetPageRangesDiffExceptionHeaders:()=>h5,PageBlobGetPageRangesDiffHeaders:()=>f5,PageBlobGetPageRangesExceptionHeaders:()=>d5,PageBlobGetPageRangesHeaders:()=>u5,PageBlobResizeExceptionHeaders:()=>A5,PageBlobResizeHeaders:()=>p5,PageBlobUpdateSequenceNumberExceptionHeaders:()=>g5,PageBlobUpdateSequenceNumberHeaders:()=>m5,PageBlobUploadPagesExceptionHeaders:()=>s5,PageBlobUploadPagesFromURLExceptionHeaders:()=>l5,PageBlobUploadPagesFromURLHeaders:()=>c5,PageBlobUploadPagesHeaders:()=>i5,PageList:()=>TR,PageRange:()=>Yst,QueryFormat:()=>Zst,QueryRequest:()=>fH,QuerySerialization:()=>Xst,RetentionPolicy:()=>Dst,ServiceFilterBlobsExceptionHeaders:()=>NH,ServiceFilterBlobsHeaders:()=>vH,ServiceGetAccountInfoExceptionHeaders:()=>SH,ServiceGetAccountInfoHeaders:()=>IH,ServiceGetPropertiesExceptionHeaders:()=>mH,ServiceGetPropertiesHeaders:()=>AH,ServiceGetStatisticsExceptionHeaders:()=>yH,ServiceGetStatisticsHeaders:()=>gH,ServiceGetUserDelegationKeyExceptionHeaders:()=>wH,ServiceGetUserDelegationKeyHeaders:()=>bH,ServiceListContainersSegmentExceptionHeaders:()=>CH,ServiceListContainersSegmentHeaders:()=>EH,ServiceSetPropertiesExceptionHeaders:()=>pH,ServiceSetPropertiesHeaders:()=>hH,ServiceSubmitBatchExceptionHeaders:()=>xH,ServiceSubmitBatchHeaders:()=>BH,SignedIdentifier:()=>qst,StaticWebsite:()=>Pst,StorageError:()=>te,UserDelegationKey:()=>aH});var aw={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"}}}}},Tst={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"}}}}},Dst={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"}}}}},Qst={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"}}}}},kst={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"}}}}},Pst={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"}}}}},iH={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Ost={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"}}}}},sH={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"}}}}},Lst={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"}}}}}}},Fst={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"}}}}},oH={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"}}}}},aH={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"}}}}},cw={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"}}}}},Mst={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"}}}}},lw={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"}}}}}}},Ust={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"}}}}},qst={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"}}}}},Gst={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"}}}}},cH={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"}}}}},Hst={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"}}}}}}},Vst={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"}}}}},zst={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"}}}}},jst={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"}}}}},lH={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"}}}}},$st={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"}}}}}}},Jst={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},uH={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"}}}}}}},dH={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"}}}}}}},Wst={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"}}}}},TR={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"}}}}},Yst={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"}}}}},Kst={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"}}}}},fH={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"}}}}},Xst={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Zst={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"}}}}}}},eot={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"}}}}},tot={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},rot={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"}}}}},hH={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"}}}}},pH={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AH={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"}}}}},mH={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gH={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"}}}}},yH={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EH={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"}}}}},CH={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"}}}}},wH={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IH={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"}}}}},SH={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BH={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"}}}}},xH={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vH={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"}}}}},NH={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_H={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"}}}}},RH={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TH={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"}}}}},DH={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QH={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"}}}}},kH={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PH={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"}}}}},OH={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LH={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"}}}}},FH={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MH={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"}}}}},UH={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qH={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"}}}}},GH={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HH={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"}}}}},VH={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zH={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"}}}}},jH={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$H={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"}}}}},JH={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WH={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"}}}}},YH={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KH={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"}}}}},XH={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZH={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"}}}}},e4={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},t4={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"}}}}},r4={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},n4={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"}}}}},i4={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s4={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"}}}}},o4={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a4={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"}}}}},c4={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},l4={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"}}}}},u4={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DR={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"}}}}},d4={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f4={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"}}}}},h4={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},p4={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"}}}}},A4={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},m4={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"}}}}},g4={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y4={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"}}}}},E4={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},C4={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"}}}}},w4={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"]}}}}},I4={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S4={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"}}}}},B4={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},x4={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"}}}}},v4={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={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"}}}}},_4={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},R4={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"}}}}},T4={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},D4={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"}}}}},Q4={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},k4={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"}}}}},P4={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},O4={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"}}}}},L4={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},F4={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"}}}}},M4={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},U4={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"}}}}},q4={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},G4={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"}}}}},H4={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"}}}}},V4={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"}}}}},z4={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"}}}}},j4={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"}}}}},$4={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={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"}}}}},J4={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},W4={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"}}}}},Y4={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},K4={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},X4={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"}}}}},Z4={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},e5={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"}}}}},t5={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},r5={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"}}}}},n5={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},i5={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"}}}}},s5={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o5={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"}}}}},a5={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},c5={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"}}}}},l5={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"}}}}},u5={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"}}}}},d5={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f5={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"}}}}},h5={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},p5={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"}}}}},A5={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},m5={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"}}}}},g5={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y5={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"}}}}},E5={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},C5={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"}}}}},b5={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},w5={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"}}}}},I5={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S5={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"}}}}},B5={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"}}}}},x5={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"}}}}},v5={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N5={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"}}}}},_5={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},R5={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"}}}}},T5={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"}}}}},D5={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"}}}}},Q5={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},k5={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"}}}}},P5={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"}}}}},O5={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"}}}}},L5={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},F5={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"}}}}},M5={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Kc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},xme={parameterPath:"blobServiceProperties",mapper:aw},Xo={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},uw={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Zo={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"}}},vme={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dw={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},fw={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Xc={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Zc={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},Nme={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},_me={parameterPath:"keyInfo",mapper:oH},Rme={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"}}},PR={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},OR={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Vn={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},LR={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},FR={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},MR={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},zn={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},vi={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},U5={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},Tme={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},Dme={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"}}},We={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"}}},UR={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},q5={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qme={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},qR={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kme={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},Pme={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},Ome={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Lme={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},Fme={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},ea={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"}}},HR={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},VR={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},zR={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yf={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},jR={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},$R={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},JR={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},WR={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},YR={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},G5={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"},H5={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},Mme={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Xi={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},el={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},bp={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},Ume={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},qme={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Or={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Lr={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Fr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},xt={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},vt={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},ut={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},Gme={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},Hme={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},Vme={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zme={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},jme={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},tl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},rl={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},nl={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},il={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},sl={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ol={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},V5={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ka={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Xa={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},$me={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Jme={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},yn={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},Wme={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gu={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"]}}},z5={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},al={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},cl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ll={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},ul={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},KR={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"}}},Za={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},Yme={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},dl={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Kme={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Hu={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Vu={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"]}}},zu={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},Xme={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Zme={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},ege={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},tge={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},rge={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"]}}},nge={parameterPath:["options","queryRequest"],mapper:fH},ige={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},j5={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$5={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},J5={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},W5={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},Y5={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},sge={parameterPath:["options","tags"],mapper:lw},ta={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},fl={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},oge={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},K5={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},X5={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ip={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sp={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Bp={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},ZR={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Z5={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},eT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},tT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},rT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},age={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"}}},cge={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"}}},lge={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},eV={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},uge={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},dge={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},fge={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},hge={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pge={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},tV={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},rV={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},nT={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},iT={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},Age={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nV={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},mge={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},iV={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sV={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},gge={parameterPath:"blocks",mapper:uH},oV={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yge={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var sT=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},iot)}getProperties(e){return this.client.sendOperationRequest({options:e},sot)}getStatistics(e){return this.client.sendOperationRequest({options:e},oot)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},aot)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},cot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},lot)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},uot)}filterBlobs(e){return this.client.sendOperationRequest({options:e},dot)}},Ef=fo(po,!0),iot={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:hH},default:{bodyMapper:te,headersMapper:pH}},requestBody:xme,queryParameters:[uw,Zo,ie],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ef},sot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aw,headersMapper:AH},default:{bodyMapper:te,headersMapper:mH}},queryParameters:[uw,Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},oot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:iH,headersMapper:gH},default:{bodyMapper:te,headersMapper:yH}},queryParameters:[uw,ie,vme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},aot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sH,headersMapper:EH},default:{bodyMapper:te,headersMapper:CH}},queryParameters:[ie,dw,fw,Xc,Zc,Nme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},cot={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:aH,headersMapper:bH},default:{bodyMapper:te,headersMapper:wH}},requestBody:_me,queryParameters:[uw,ie,Rme],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ef},lot={path:"/",httpMethod:"GET",responses:{200:{headersMapper:IH},default:{bodyMapper:te,headersMapper:SH}},queryParameters:[Zo,ie,Ug],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},uot={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:BH},default:{bodyMapper:te,headersMapper:xH}},requestBody:PR,queryParameters:[ie,OR],urlParameters:[ne],headerParameters:[Xo,se,oe,Vn,LR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ef},dot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:cw,headersMapper:vH},default:{bodyMapper:te,headersMapper:NH}},queryParameters:[ie,Xc,Zc,FR,MR],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef};var oT=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},fot)}getProperties(e){return this.client.sendOperationRequest({options:e},hot)}delete(e){return this.client.sendOperationRequest({options:e},pot)}setMetadata(e){return this.client.sendOperationRequest({options:e},Aot)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},mot)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},got)}restore(e){return this.client.sendOperationRequest({options:e},yot)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Eot)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},Cot)}filterBlobs(e){return this.client.sendOperationRequest({options:e},bot)}acquireLease(e){return this.client.sendOperationRequest({options:e},wot)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Iot)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Sot)}breakLease(e){return this.client.sendOperationRequest({options:e},Bot)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},xot)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},vot)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Not)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},_ot)}},jn=fo(po,!0),fot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:_H},default:{bodyMapper:te,headersMapper:RH}},queryParameters:[ie,zn],urlParameters:[ne],headerParameters:[se,oe,ye,vi,U5,Tme,Dme],isXML:!0,serializer:jn},hot={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:TH},default:{bodyMapper:te,headersMapper:DH}},queryParameters:[ie,zn],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},pot={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:QH},default:{bodyMapper:te,headersMapper:kH}},queryParameters:[ie,zn],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye],isXML:!0,serializer:jn},Aot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:PH},default:{bodyMapper:te,headersMapper:OH}},queryParameters:[ie,zn,UR],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We],isXML:!0,serializer:jn},mot={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:LH},default:{bodyMapper:te,headersMapper:FH}},queryParameters:[ie,zn,q5],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},got={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:MH},default:{bodyMapper:te,headersMapper:UH}},requestBody:Qme,queryParameters:[ie,zn,q5],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,U5,rt,We,Ye],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},yot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:qH},default:{bodyMapper:te,headersMapper:GH}},queryParameters:[ie,zn,qR],urlParameters:[ne],headerParameters:[se,oe,ye,kme,Pme],isXML:!0,serializer:jn},Eot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:HH},default:{bodyMapper:te,headersMapper:VH}},queryParameters:[ie,zn,Ome],urlParameters:[ne],headerParameters:[se,oe,ye,Lme,Fme],isXML:!0,serializer:jn},Cot={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:zH},default:{bodyMapper:te,headersMapper:jH}},requestBody:PR,queryParameters:[ie,OR,zn],urlParameters:[ne],headerParameters:[Xo,se,oe,Vn,LR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},bot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:cw,headersMapper:$H},default:{bodyMapper:te,headersMapper:JH}},queryParameters:[ie,Xc,Zc,FR,MR,zn],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},wot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:WH},default:{bodyMapper:te,headersMapper:YH}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,GR,HR,VR],isXML:!0,serializer:jn},Iot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:KH},default:{bodyMapper:te,headersMapper:XH}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,zR,yf],isXML:!0,serializer:jn},Sot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ZH},default:{bodyMapper:te,headersMapper:e4}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,jR],isXML:!0,serializer:jn},Bot={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:t4},default:{bodyMapper:te,headersMapper:r4}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,$R,JR],isXML:!0,serializer:jn},xot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:n4},default:{bodyMapper:te,headersMapper:i4}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,WR,YR],isXML:!0,serializer:jn},vot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:cH,headersMapper:s4},default:{bodyMapper:te,headersMapper:o4}},queryParameters:[ie,dw,fw,Xc,Zc,zn,G5,H5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Not={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:lH,headersMapper:a4},default:{bodyMapper:te,headersMapper:c4}},queryParameters:[ie,dw,fw,Xc,Zc,zn,G5,H5,Mme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},_ot={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:l4},default:{bodyMapper:te,headersMapper:u4}},queryParameters:[Zo,ie,Ug],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn};var aT=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Rot)}getProperties(e){return this.client.sendOperationRequest({options:e},Tot)}delete(e){return this.client.sendOperationRequest({options:e},Dot)}undelete(e){return this.client.sendOperationRequest({options:e},Qot)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},kot)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Pot)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Oot)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Lot)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},Fot)}setMetadata(e){return this.client.sendOperationRequest({options:e},Mot)}acquireLease(e){return this.client.sendOperationRequest({options:e},Uot)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},qot)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Got)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Hot)}breakLease(e){return this.client.sendOperationRequest({options:e},Vot)}createSnapshot(e){return this.client.sendOperationRequest({options:e},zot)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},jot)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},$ot)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Jot)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Wot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Yot)}query(e){return this.client.sendOperationRequest({options:e},Kot)}getTags(e){return this.client.sendOperationRequest({options:e},Xot)}setTags(e){return this.client.sendOperationRequest({options:e},Zot)}},Er=fo(po,!0),Rot={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},default:{bodyMapper:te,headersMapper:d4}},queryParameters:[ie,Xi,el],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,bp,Ume,qme,Or,Lr,Fr,xt,vt,ut],isXML:!0,serializer:Er},Tot={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:f4},default:{bodyMapper:te,headersMapper:h4}},queryParameters:[ie,Xi,el],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,Or,Lr,Fr,xt,vt,ut],isXML:!0,serializer:Er},Dot={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:p4},default:{bodyMapper:te,headersMapper:A4}},queryParameters:[ie,Xi,el,Hme],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,ut,Gme],isXML:!0,serializer:Er},Qot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:m4},default:{bodyMapper:te,headersMapper:g4}},queryParameters:[ie,qR],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Er},kot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:y4},default:{bodyMapper:te,headersMapper:E4}},queryParameters:[ie,Vme],urlParameters:[ne],headerParameters:[se,oe,ye,zme,jme],isXML:!0,serializer:Er},Pot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C4},default:{bodyMapper:te,headersMapper:b4}},queryParameters:[Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,ut,tl,rl,nl,il,sl,ol],isXML:!0,serializer:Er},Oot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:w4},default:{bodyMapper:te,headersMapper:I4}},queryParameters:[ie,Xi,el,V5],urlParameters:[ne],headerParameters:[se,oe,ye,Ye,Ka,Xa],isXML:!0,serializer:Er},Lot={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:S4},default:{bodyMapper:te,headersMapper:B4}},queryParameters:[ie,Xi,el,V5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Er},Fot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:x4},default:{bodyMapper:te,headersMapper:v4}},queryParameters:[ie,Xi,el,$me],urlParameters:[ne],headerParameters:[se,oe,ye,Jme],isXML:!0,serializer:Er},Mot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:N4},default:{bodyMapper:te,headersMapper:_4}},queryParameters:[ie,UR],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn],isXML:!0,serializer:Er},Uot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:R4},default:{bodyMapper:te,headersMapper:T4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,GR,HR,VR,xt,vt,ut],isXML:!0,serializer:Er},qot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:D4},default:{bodyMapper:te,headersMapper:Q4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,zR,yf,xt,vt,ut],isXML:!0,serializer:Er},Got={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:k4},default:{bodyMapper:te,headersMapper:P4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,jR,xt,vt,ut],isXML:!0,serializer:Er},Hot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:O4},default:{bodyMapper:te,headersMapper:L4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,WR,YR,xt,vt,ut],isXML:!0,serializer:Er},Vot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:F4},default:{bodyMapper:te,headersMapper:M4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,$R,JR,xt,vt,ut],isXML:!0,serializer:Er},zot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:U4},default:{bodyMapper:te,headersMapper:q4}},queryParameters:[ie,Wme],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn],isXML:!0,serializer:Er},jot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:G4},default:{bodyMapper:te,headersMapper:H4}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,xt,vt,ut,Ka,Xa,Gu,z5,al,cl,ll,ul,KR,wp,Za,Yme,dl],isXML:!0,serializer:Er},$ot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:V4},default:{bodyMapper:te,headersMapper:z4}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,xt,vt,ut,Ka,Xa,yn,Gu,al,cl,ll,ul,wp,Za,dl,Kme,Hu,Vu,XR,zu],isXML:!0,serializer:Er},Jot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:j4},default:{bodyMapper:te,headersMapper:$4}},queryParameters:[ie,Xme,ege],urlParameters:[ne],headerParameters:[se,oe,ye,rt,Zme],isXML:!0,serializer:Er},Wot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QR},202:{headersMapper:QR},default:{bodyMapper:te,headersMapper:J4}},queryParameters:[ie,Xi,el,tge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ut,z5,rge],isXML:!0,serializer:Er},Yot={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:W4},default:{bodyMapper:te,headersMapper:Y4}},queryParameters:[Zo,ie,Ug],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Er},Kot={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:kR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:kR},default:{bodyMapper:te,headersMapper:K4}},requestBody:nge,queryParameters:[ie,Xi,ige],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,rt,We,Ye,Or,Lr,Fr,xt,vt,ut],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Er},Xot={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:lw,headersMapper:X4},default:{bodyMapper:te,headersMapper:Z4}},queryParameters:[ie,Xi,el,j5],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ut,$5,J5,W5,Y5],isXML:!0,serializer:Er},Zot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:e5},default:{bodyMapper:te,headersMapper:t5}},requestBody:sge,queryParameters:[ie,el,j5],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,rt,ut,$5,J5,W5,Y5,ta,fl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Er};var cT=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},eat)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},tat)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},rat)}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},iat)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},sat)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},oat)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},aat)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},cat)}},ju=fo(po,!0),eat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:r5},default:{bodyMapper:te,headersMapper:n5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Gu,Za,dl,oge,K5,X5],isXML:!0,serializer:ju},tat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:i5},default:{bodyMapper:te,headersMapper:s5}},requestBody:Sp,queryParameters:[ie,ZR],urlParameters:[ne],headerParameters:[se,oe,Vn,rt,We,Ye,bp,Or,Lr,Fr,xt,vt,ut,yn,ta,fl,Ip,Bp,Z5,eT,tT,rT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ju},rat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:o5},default:{bodyMapper:te,headersMapper:a5}},queryParameters:[ie,ZR],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,We,Ye,bp,Or,Lr,Fr,xt,vt,ut,yn,eT,tT,rT,age],isXML:!0,serializer:ju},nat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:c5},default:{bodyMapper:te,headersMapper:l5}},queryParameters:[ie,ZR],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,al,cl,ll,ul,Hu,Vu,zu,Z5,eT,tT,rT,qg,cge,Gg,lge],isXML:!0,serializer:ju},iat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:TR,headersMapper:u5},default:{bodyMapper:te,headersMapper:d5}},queryParameters:[ie,Xc,Zc,Xi,eV],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,bp,xt,vt,ut],isXML:!0,serializer:ju},sat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:TR,headersMapper:f5},default:{bodyMapper:te,headersMapper:h5}},queryParameters:[ie,Xc,Zc,Xi,eV,uge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,bp,xt,vt,ut,dge],isXML:!0,serializer:ju},oat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:p5},default:{bodyMapper:te,headersMapper:A5}},queryParameters:[Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,K5],isXML:!0,serializer:ju},aat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:m5},default:{bodyMapper:te,headersMapper:g5}},queryParameters:[Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,ut,X5,fge],isXML:!0,serializer:ju},cat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:y5},default:{bodyMapper:te,headersMapper:E5}},queryParameters:[ie,hge],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,xt,vt,ut,wp],isXML:!0,serializer:ju};var lT=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},lat)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},uat)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},dat)}seal(e){return this.client.sendOperationRequest({options:e},fat)}},uT=fo(po,!0),lat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C5},default:{bodyMapper:te,headersMapper:b5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Za,dl,pge],isXML:!0,serializer:uT},uat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:w5},default:{bodyMapper:te,headersMapper:I5}},requestBody:Sp,queryParameters:[ie,tV],urlParameters:[ne],headerParameters:[se,oe,Vn,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,ta,fl,Ip,Bp,rV,nT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:uT},dat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:S5},default:{bodyMapper:te,headersMapper:B5}},queryParameters:[ie,tV],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,al,cl,ll,ul,Hu,Vu,zu,ta,qg,Gg,rV,nT,iT],isXML:!0,serializer:uT},fat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:x5},default:{bodyMapper:te,headersMapper:v5}},queryParameters:[ie,Age],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,nT],isXML:!0,serializer:uT};var dT=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},hat)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},pat)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},Aat)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},mat)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},gat)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},yat)}},Vg=fo(po,!0),hat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:N5},default:{bodyMapper:te,headersMapper:_5}},requestBody:Sp,queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Gu,Za,dl,ta,fl,Ip,Bp,nV],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Vg},pat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:R5},default:{bodyMapper:te,headersMapper:T5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,yn,Gu,al,cl,ll,ul,KR,wp,Za,Hu,Vu,XR,zu,ta,nV,mge],isXML:!0,serializer:Vg},Aat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:D5},default:{bodyMapper:te,headersMapper:Q5}},requestBody:Sp,queryParameters:[ie,iV,sV],urlParameters:[ne],headerParameters:[se,oe,Vn,rt,Or,Lr,Fr,yn,ta,fl,Ip,Bp],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Vg},mat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:k5},default:{bodyMapper:te,headersMapper:P5}},queryParameters:[ie,iV,sV],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,Or,Lr,Fr,yn,al,cl,ll,ul,Hu,Vu,zu,qg,Gg,iT],isXML:!0,serializer:Vg},gat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:O5},default:{bodyMapper:te,headersMapper:L5}},requestBody:gge,queryParameters:[ie,oV],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Gu,Za,dl,ta,fl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vg},yat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:dH,headersMapper:F5},default:{bodyMapper:te,headersMapper:M5}},queryParameters:[ie,Xi,oV,yge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ut],isXML:!0,serializer:Vg};var hw=class extends $0{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 sT(this),this.container=new oT(this),this.blob=new aT(this),this.pageBlob=new cT(this),this.appendBlob=new lT(this),this.blockBlob=new dT(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var pw=class extends hw{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 Cge(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Cat(r),e.pathname=r,e.toString()}o(Cge,"escapeURLPath");function Eat(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(Eat,"getProxyUriFromDevConnString");function xp(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(xp,"getValueInConnString");function vp(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=Eat(t),t=Ame);let r=xp(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=xp(t,"AccountName"),s=Buffer.from(xp(t,"AccountKey"),"base64"),!r){n=xp(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=xp(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=xp(t,"SharedAccessSignature"),i=xp(t,"AccountName");if(i||(i=uV(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(vp,"extractConnectionStringParts");function Cat(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Cat,"escape");function Nn(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(Nn,"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 aV(t,e){return new URL(t).searchParams.get(e)??void 0}o(aV,"getURLParameter");function bge(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(bge,"getURLScheme");function Aw(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Aw,"appendToURLQuery");function Lt(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Lt,"truncatedISO8061Date");function bat(t){return Ot?Buffer.from(t).toString("base64"):btoa(t)}o(bat,"base64encode");function cV(t,e){t.length>42&&(t=t.slice(0,42));let s=t+wat(e.toString(),48-t.length,"0");return bat(s)}o(cV,"generateBlockID");function wat(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(wat,"padStart");function lV(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(lV,"iEqual");function uV(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:fT(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(uV,"getAccountNameFromUrl");function fT(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&&Cme.includes(t.port)}o(fT,"isIpEndpointStyle");function Cf(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(Cf,"toBlobTagsString");function wge(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(wge,"toBlobTags");function hT(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(hT,"toTags");function dV(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(dV,"toQuerySerialization");function pT(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(pT,"parseObjectReplicationRecord");function jg(t){return t?t.scheme+" "+t.value:void 0}o(jg,"httpAuthorizationToString");function*fV(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 mw(t,e,r){return gw(t,e,r).sasQueryParameters}o(mw,"generateBlobSASQueryParameters");function gw(t,e,r){let n=t.version?t.version:_R,i=e instanceof Pr?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new vR(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?Bat(t,i):n>="2025-07-05"?_at(t,s):Nat(t,s);if(n>="2018-11-09")return i!==void 0?Sat(t,i):n>="2020-02-10"?vat(t,s):xat(t,s);if(n>="2015-04-05"){if(i!==void 0)return Iat(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 Iat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():n=pl.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ec(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 tc(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(Iat,"generateBlobSASQueryParameters20150405");function Sat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ec(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 tc(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(Sat,"generateBlobSASQueryParameters20181109");function Bat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ec(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 tc(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(Bat,"generateBlobSASQueryParameters20201206");function xat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ec(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 tc(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(xat,"generateBlobSASQueryParametersUDK20181109");function vat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ec(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 tc(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(vat,"generateBlobSASQueryParametersUDK20200210");function Nat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ec(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 tc(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(Nat,"generateBlobSASQueryParametersUDK20201206");function _at(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?ec(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 tc(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(_at,"generateBlobSASQueryParametersUDK20250705");function Np(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Np,"getCanonicalName");function _p(t){let e=t.version?t.version:_R;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(_p,"SASSignatureValuesSanityCheckAndAutofill");var yw=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=Tg()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ya||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ya||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!==Ya||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ya||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!==Ya||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ya||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!==Ya||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ya||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!==Ya||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ya||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 Sge=require("node:stream");var AT=class extends Sge.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 lo("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 mT=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 Ot?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new AT(this.originalResponse.readableStreamBody,r,n,i,s)}};var Rge=require("node:stream");var hV=new Uint8Array([79,98,106,1]),Bge="avro.codec",xge="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}},Rp;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Rp||(Rp={}));var $n;(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"})($n||($n={}));var $u=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 $n.NULL:case $n.BOOLEAN:case $n.INT:case $n.LONG:case $n.FLOAT:case $n.DOUBLE:case $n.BYTES:case $n.STRING:return new pV(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new mV(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 yV(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 AV(e.symbols);case Rp.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new gV(t.fromSchema(e.values));case Rp.ARRAY:case Rp.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},pV=class extends $u{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case $n.NULL:return xr.readNull();case $n.BOOLEAN:return xr.readBoolean(e,r);case $n.INT:return xr.readInt(e,r);case $n.LONG:return xr.readLong(e,r);case $n.FLOAT:return xr.readFloat(e,r);case $n.DOUBLE:return xr.readDouble(e,r);case $n.BYTES:return xr.readBytes(e,r);case $n.STRING:return xr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},AV=class extends $u{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]}},mV=class extends $u{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)}},gV=class extends $u{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)}},yV=class extends $u{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 EV(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,!EV(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 Cw=class{static{o(this,"AvroReadable")}};var _ge=require("buffer");var Nge=new lo("Reading from the avro stream was aborted."),bw=class extends Cw{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?_ge.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 Nge;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(Nge)},"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 gT=class extends Rge.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 Ew(new bw(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 yT=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 Ot?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new gT(this.originalResponse.readableStreamBody,r)}};var CV;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(CV||(CV={}));var bV;(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"})(bV||(bV={}));function bf(t){if(t!==void 0)return t}o(bf,"toAccessTier");function _n(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=pme)}o(_n,"ensureCpkIfSpecified");var wV;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(wV||(wV={}));function ET(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(ET,"rangeResponseFromModel");var Aye=R(pye(),1);var _T=class extends Aye.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=Bw({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return L0(this.intervalInMs)}},xct=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Bw(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Bw(r)):(r.isCancelled=!0,Bw(r))},"cancel"),vct=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 Bw(r)},"update"),Nct=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Bw(t){return{state:{...t},cancel:xct,toString:Nct,update:vct}}o(Bw,"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 mye=require("events");var xw;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(xw||(xw={}));var vw=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=xw.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new mye.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=xw.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(yye,"streamToBuffer");async function Eye(t,e){return new Promise((r,n)=>{let i=RT.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(Eye,"readStreamToLocalFile");var Cye=gye.default.promisify(RT.default.stat),bye=RT.default.createReadStream;var rc=class t extends $g{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(qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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=aV(this.url,Uu.Parameters.SNAPSHOT),this._versionId=aV(this.url,Uu.Parameters.VERSIONID)}withSnapshot(e){return new t(zg(this.url,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(zg(this.url,Uu.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new DT(this.url,this.pipeline)}getBlockBlobClient(){return new Yg(this.url,this.pipeline)}getPageBlobClient(){return new QT(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},_n(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:Ot?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:pT(s.objectReplicationRules)};if(!Ot)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 mT(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 _n(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===yme||n.details.errorCode===Eme))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},_n(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:pT(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||{},_n(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||{},_n(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:wge(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:hT({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new yw(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},_n(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 _T({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:jg(r.sourceAuthorization),tier:bf(r.tier),blobTagsString:Cf(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(bf(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 m=a+c;p+u{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await Eye(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(fT(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:bf(r.tier),blobTagsString:Cf(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Pr))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=mw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Aw(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Pr))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=mw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Aw(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=>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})))}},DT=class t extends rc{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},_n(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:Cf(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:tH};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||{},_n(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||{},_n(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:jg(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}},Yg=class t extends rc{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(_n(r.customerProvidedKey,this.isHttps),!Ot)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:dV(r.inputTextConfiguration),outputSerialization:dV(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new yT(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},_n(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:bf(n.tier),blobTagsString:Cf(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},_n(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:jg(r.sourceAuthorization),tier:bf(r.tier),blobTagsString:Cf(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return _n(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 _n(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:jg(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},_n(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:bf(r.tier),blobTagsString:Cf(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(Ot){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=Tg(),d=0,f=new vw(n.concurrency);for(let h=0;h{let p=cV(u,h),m=i*h,E=(h===c-1?r:m+i)-m;l.push(p),await this.stageBlock(p,e(m,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 Cye(e)).size;return this.uploadSeekableInternal((s,a)=>()=>bye(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=Tg(),l=0,u=[];return await new bR(e,r,n,async(f,h)=>{let p=cV(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}))})}},QT=class t extends rc{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},_n(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:bf(r.tier),blobTagsString:Cf(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return Ce.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:tH},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||{},_n(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||{},_n(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:jg(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 ET(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*fV(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 ET(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*fV(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 ET(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 wye;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(wye||(wye={}));var Iye;(function(t){t.AES256="AES256"})(Iye||(Iye={}));var kT=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 Qp=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"}};Qp.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Nw=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var Mct=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())})},jV=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);L(`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 Sye(t,e,r){return Mct(this,void 0,void 0,function*(){var n;let i=new rc(t),s=i.getBlockBlobClient(),a=new jV((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 kT(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw at(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(Sye,"uploadCacheArchiveSDK");var xye=R(require("buffer"),1),Al=R(require("fs"),1),vye=R(require("stream"),1),Nye=R(require("util"),1);var PT=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 OT(t){return t?t>=200&&t<300:!1}o(OT,"isSuccessStatusCode");function Uct(t){return t?t>=500:!0}o(Uct,"isServerErrorStatusCode");function qct(t){return t?[kr.BadGateway,kr.ServiceUnavailable,kr.GatewayTimeout].includes(t):!1}o(qct,"isRetryableStatusCode");function Gct(t){return PT(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Gct,"sleep");function Bye(t,e,r){return PT(this,arguments,void 0,function*(n,i,s,a=o_,c=a_,l=void 0){let u="",d=1;for(;d<=a;){let f,h,p=!1;try{f=yield i()}catch(m){l&&(f=l(m)),p=!0,u=m.message}if(f&&(h=s(f),!Uct(h)))return f;if(h&&(p=qct(h),u=`Cache service responded with ${h}`),D(`${n} - Attempt ${d} of ${a} failed with error: ${u}`),!p){D(`${n} - Error is not retryable`);break}yield Gct(c),d++}throw Error(`${n} failed: ${u}`)})}o(Bye,"retry");function _w(t,e){return PT(this,arguments,void 0,function*(r,n,i=o_,s=a_){return yield Bye(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof qc)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(_w,"retryTypedResponse");function Xg(t,e){return PT(this,arguments,void 0,function*(r,n,i=o_,s=a_){return yield Bye(r,n,a=>a.message.statusCode,i,s)})}o(Xg,"retryHttpClientResponse");var ra=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 Hct(t,e){return ra(this,void 0,void 0,function*(){yield Nye.promisify(vye.pipeline)(t.message,e)})}o(Hct,"pipeResponseToStream");var LT=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);L(`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 FT(t,e){return ra(this,void 0,void 0,function*(){let r=Al.createWriteStream(e),n=new Pu("actions/cache"),i=yield Xg("downloadCache",()=>ra(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(A3,()=>{i.message.destroy(),D(`Aborting download, socket timed out after ${A3} ms`)}),yield Hct(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Uc(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(FT,"downloadCacheHttpClient");function _ye(t,e,r){return ra(this,void 0,void 0,function*(){var n;let i=yield Al.promises.open(e,"w"),s=new Pu("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Xg("downloadCacheMetadata",()=>ra(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;Cra(this,void 0,void 0,function*(){return yield Vct(s,t,C,w)}),"promiseGetter")})}u.reverse();let f=0,h=0,p=new LT(l);p.startDisplayTimer();let m=p.onProgress(),g=[],E,y=o(()=>ra(this,void 0,void 0,function*(){let C=yield Promise.race(Object.values(g));yield i.write(C.buffer,0,C.count,C.offset),f--,delete g[C.offset],h+=C.count,m({loadedBytes:h})}),"waitAndWrite");for(;E=u.pop();)g[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(_ye,"downloadCacheHttpClientConcurrent");function Vct(t,e,r,n){return ra(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield Tye(3e4,zct(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(Vct,"downloadSegmentRetry");function zct(t,e,r,n){return ra(this,void 0,void 0,function*(){let i=yield Xg("downloadCachePart",()=>ra(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(zct,"downloadSegment");function Rye(t,e,r){return ra(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)D("Unable to determine content length, downloading file with http-client..."),yield FT(t,e);else{let c=Math.min(134217728,xye.constants.MAX_LENGTH),l=new LT(a),u=Al.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 m=yield Tye(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(h,p,{abortSignal:f,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(m==="timeout")throw d.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(m)&&Al.writeFileSync(u,m)}}finally{l.stopDisplayTimer(),Al.closeSync(u)}}})}o(Rye,"downloadCacheStorageSDK");var Tye=o((t,e)=>ra(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 $V(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($V,"getUploadOptions");function Dye(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(Dye,"getDownloadOptions");function JV(){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(JV,"isGhes");function Rw(){return JV()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(Rw,"getCacheServiceVersion");function MT(){let t=Rw();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(MT,"getCacheServiceURL");var Oye=R(Pye(),1);function UT(){return`@actions/cache-${Oye.version}`}o(UT,"getUserAgentString");var Rs=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 Tw(t){let e=MT();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(Tw,"getCacheApiUrl");function Jct(t,e){return`${t};api-version=${e}`}o(Jct,"createAcceptHeader");function Wct(){return{headers:{Accept:Jct("application/json","6.0-preview.1")}}}o(Wct,"getRequestOptions");function WV(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new Ig(t);return new Pu(UT(),[e],Wct())}o(WV,"createHttpClient");function Mye(t,e,r){return Rs(this,void 0,void 0,function*(){let n=WV(),i=wg(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,a=yield _w("getCacheEntry",()=>Rs(this,void 0,void 0,function*(){return n.getJson(Tw(s))}));if(a.statusCode===204)return rp()&&(yield Yct(t[0],n,i)),null;if(!OT(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return kc(l),D("Cache Result:"),D(JSON.stringify(c)),c})}o(Mye,"getCacheEntry");function Yct(t,e,r){return Rs(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield _w("listCache",()=>Rs(this,void 0,void 0,function*(){return e.getJson(Tw(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(Yct,"printCachesListForDiagnostics");function YV(t,e,r){return Rs(this,void 0,void 0,function*(){let n=new Fye.URL(t),i=Dye(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield Rye(t,e,i):i.concurrentBlobDownloads?yield _ye(t,e,i):yield FT(t,e):yield FT(t,e)})}o(YV,"downloadCache");function Uye(t,e,r){return Rs(this,void 0,void 0,function*(){let n=WV(),i=wg(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield _w("reserveCache",()=>Rs(this,void 0,void 0,function*(){return n.postJson(Tw("caches"),s)}))})}o(Uye,"reserveCache");function Lye(t,e){return`bytes ${t}-${e}/*`}o(Lye,"getContentRange");function Kct(t,e,r,n,i){return Rs(this,void 0,void 0,function*(){D(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${Lye(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":Lye(n,i)},a=yield Xg(`uploadChunk (start: ${n}, end: ${i})`,()=>Rs(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!OT(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(Kct,"uploadChunk");function Xct(t,e,r,n){return Rs(this,void 0,void 0,function*(){let i=Uc(r),s=Tw(`caches/${e.toString()}`),a=Zg.openSync(r,"r"),c=$V(n),l=E3("uploadConcurrency",c.uploadConcurrency),u=E3("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];D("Awaiting all uploads");let f=0;try{yield Promise.all(d.map(()=>Rs(this,void 0,void 0,function*(){for(;fZg.createReadStream(r,{fd:a,start:p,end:m,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,m)}})))}finally{Zg.closeSync(a)}})}o(Xct,"uploadFile");function Zct(t,e,r){return Rs(this,void 0,void 0,function*(){let n={size:r};return yield _w("commitCache",()=>Rs(this,void 0,void 0,function*(){return t.postJson(Tw(`caches/${e.toString()}`),n)}))})}o(Zct,"commitCache");function KV(t,e,r,n){return Rs(this,void 0,void 0,function*(){if($V(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Sye(r,e,n)}else{let s=WV();D("Upload cache"),yield Xct(s,t,e,n),D("Commiting cache");let a=Uc(e);L(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield Zct(s,t,a);if(!OT(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);L("Cache saved successfully")}})}o(KV,"saveCache");var kEe=R(vEe(),1),nn=R(rn(),1),mo=R(rn(),1),Fp=R(rn(),1),Mp=R(rn(),1),Up=R(rn(),1);var zz=R(rn(),1),jz=R(rn(),1),TEe=R(rn(),1),DEe=R(rn(),1),QEe=R(rn(),1);var Gz=R(rn(),1),Hz=R(rn(),1),NEe=R(rn(),1),_Ee=R(rn(),1),REe=R(rn(),1);var Vz=class extends REe.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,_Ee.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,NEe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posB2,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,DEe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,TEe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCl,"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,Mp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Fp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCl,"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,Mp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Fp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCl,"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,Mp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Fp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.postj.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=rj.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>nj.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=ij.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>sj.fromJson(i,{ignoreUnknownFields:!0}))}};function PEe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(kc(r),kc(encodeURIComponent(r)))}catch(e){D(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(PEe,"maskSigUrl");function OEe(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"&&PEe(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&PEe(t.signed_download_url)}o(OEe,"maskSecretUrls");var v2=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())})},oj=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=uhe();this.baseUrl=MT(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Pu(e,[new Ig(s)])}request(e,r,n,i){return v2(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(()=>v2(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 v2(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&at(`You've hit a rate limit, your rate limit will reset in ${f} seconds`)}throw new Nw(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&D(`Raw Body: ${i}`),c instanceof Qp||c instanceof Nw)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);L(`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?[kr.BadGateway,kr.GatewayTimeout,kr.InternalServerError,kr.ServiceUnavailable].includes(e):!1}sleep(e){return v2(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 aj(t){let e=new oj(UT(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new x2(e)}o(aj,"internalCacheTwirpClient");var N2=require("fs"),go=R(require("path"),1);var Wu=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())})},Bf=process.platform==="win32";function ldt(){return Wu(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield lhe(),e=she;if(t)return{path:t,type:io.GNU};if((0,N2.existsSync)(e))return{path:e,type:io.BSD};break}case"darwin":{let t=yield ai("gtar",!1);return t?{path:t,type:io.GNU}:{path:yield ai("tar",!0),type:io.BSD}}default:break}return{path:yield ai("tar",!0),type:io.GNU}})}o(ldt,"getTarPath");function udt(t,e,r){return Wu(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=cf(i),u="cache.tar",d=LEe(),f=n.type===io.BSD&&i!==Ji.Gzip&&Bf;switch(s){case"create":c.push("--posix","-cf",f?u:l.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"--exclude",f?u:l.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"--files-from",g3);break;case"extract":c.push("-xf",f?u:a.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${go.sep}`,"g"),"/"));break;case"list":c.push("-tf",f?u:a.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"-P");break}if(n.type===io.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(udt,"getTarArgs");function cj(t,e){return Wu(this,arguments,void 0,function*(r,n,i=""){let s,a=yield ldt(),c=yield udt(a,r,n,i),l=n!=="create"?yield ddt(a,r,i):yield fdt(a,r),u=a.type===io.BSD&&r!==Ji.Gzip&&Bf;return u&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],u?s:[s.join(" ")]})}o(cj,"getCommands");function LEe(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(LEe,"getWorkingDirectory");function ddt(t,e,r){return Wu(this,void 0,void 0,function*(){let n=t.type===io.BSD&&e!==Ji.Gzip&&Bf;switch(e){case Ji.Zstd:return n?["zstd -d --long=30 --force -o",x0,r.replace(new RegExp(`\\${go.sep}`,"g"),"/")]:["--use-compress-program",Bf?'"zstd -d --long=30"':"unzstd --long=30"];case Ji.ZstdWithoutLong:return n?["zstd -d --force -o",x0,r.replace(new RegExp(`\\${go.sep}`,"g"),"/")]:["--use-compress-program",Bf?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(ddt,"getDecompressionProgram");function fdt(t,e){return Wu(this,void 0,void 0,function*(){let r=cf(e),n=t.type===io.BSD&&e!==Ji.Gzip&&Bf;switch(e){case Ji.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${go.sep}`,"g"),"/"),x0]:["--use-compress-program",Bf?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Ji.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${go.sep}`,"g"),"/"),x0]:["--use-compress-program",Bf?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(fdt,"getCompressionProgram");function lj(t,e){return Wu(this,void 0,void 0,function*(){for(let r of t)try{yield ro(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(lj,"execCommands");function jw(t,e){return Wu(this,void 0,void 0,function*(){let r=yield cj(e,"list",t);yield lj(r)})}o(jw,"listTar");function uj(t,e){return Wu(this,void 0,void 0,function*(){let r=LEe();yield Ru(r);let n=yield cj(e,"extract",t);yield lj(n)})}o(uj,"extractTar");function dj(t,e,r){return Wu(this,void 0,void 0,function*(){(0,N2.writeFileSync)(go.join(t,g3),e.join(` -`));let n=yield cj(r,"create");yield lj(n,t)})}o(dj,"createTar");var my=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())})},sc=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},qp=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},fj="cache write denied:",Ay=class t extends qp{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",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 FEe(t){if(!t||t.length===0)throw new sc("Path Validation Error: At least one directory or file path is required")}o(FEe,"checkPaths");function hj(t){if(t.length>512)throw new sc(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new sc(`Key Validation Error: ${t} cannot contain commas.`)}o(hj,"checkKey");function pj(){return Rw()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(pj,"isFeatureAvailable");function MEe(t,e,r,n){return my(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=Rw();return D(`Cache service version: ${u}`),FEe(i),u==="v2"?yield pdt(i,s,a,c,l):yield hdt(i,s,a,c,l)})}o(MEe,"restoreCache");function hdt(t,e,r,n){return my(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let u=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(u)),u.length>10)throw new sc("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of u)hj(h);let d=yield _0(),f="";try{let h=yield Mye(u,i,{compressionMethod:d,enableCrossOsArchive:l});if(!h?.archiveLocation)return;if(c?.lookupOnly)return L("Lookup only - skipping download"),h.cacheKey;f=$w.join(yield v0(),cf(d)),D(`Archive Path: ${f}`),yield YV(h.archiveLocation,f,c),rp()&&(yield jw(f,d));let p=Uc(f);return L(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield uj(f,d),L("Cache restored successfully"),h.cacheKey}catch(h){let p=h;if(p.name===sc.name)throw h;p instanceof qc&&typeof p.statusCode=="number"&&p.statusCode>=500?ug(`Failed to restore: ${h.message}`):at(`Failed to restore: ${h.message}`)}finally{try{yield N0(f)}catch(h){D(`Failed to delete archive: ${h}`)}}})}o(hdt,"restoreCacheV1");function pdt(t,e,r,n){return my(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(u)),u.length>10)throw new sc("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of u)hj(f);let d="";try{let f=aj(),h=yield _0(),p={key:s,restoreKeys:a,version:wg(i,h,l)},m=yield f.GetCacheEntryDownloadURL(p);if(!m.ok){D(`Cache not found for version ${p.version} of keys: ${u.join(", ")}`);return}if(p.key!==m.matchedKey?L(`Cache hit for restore-key: ${m.matchedKey}`):L(`Cache hit for: ${m.matchedKey}`),c?.lookupOnly)return L("Lookup only - skipping download"),m.matchedKey;d=$w.join(yield v0(),cf(h)),D(`Archive path: ${d}`),D(`Starting download of archive to: ${d}`),yield YV(m.signedDownloadUrl,d,c);let E=Uc(d);return L(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),rp()&&(yield jw(d,h)),yield uj(d,h),L("Cache restored successfully"),m.matchedKey}catch(f){let h=f;if(h.name===sc.name)throw f;h instanceof qc&&typeof h.statusCode=="number"&&h.statusCode>=500?ug(`Failed to restore: ${f.message}`):at(`Failed to restore: ${f.message}`)}finally{try{d&&(yield N0(d))}catch(f){D(`Failed to delete archive: ${f}`)}}})}o(pdt,"restoreCacheV2");function Aj(t,e,r){return my(this,arguments,void 0,function*(n,i,s,a=!1){let c=Rw();return D(`Cache service version: ${c}`),FEe(n),hj(i),c==="v2"?yield mdt(n,i,s,a):yield Adt(n,i,s,a)})}o(Aj,"saveCache");function Adt(t,e,r){return my(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,u,d,f,h;let p=yield _0(),m=-1,g=yield y3(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 v0(),y=$w.join(E,cf(p));D(`Archive Path: ${y}`);try{yield dj(E,g,p),rp()&&(yield jw(y,p));let C=10*1024*1024*1024,w=Uc(y);if(D(`File Size: ${w}`),w>C&&!JV())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 B=yield Uye(i,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:w});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)m=(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(w/(1024*1024))} MB (${w} 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(fj)?new Ay(`Unable to reserve cache with key ${i}. More details: ${Q}`):new qp(`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}`)}}D(`Saving Cache (ID: ${m})`),yield KV(m,y,"",s)}catch(C){let w=C;if(w.name===sc.name)throw C;w.name===Ay.name?at(`Failed to save: ${w.message}`):w.name===qp.name?L(`Failed to save: ${w.message}`):w instanceof qc&&typeof w.statusCode=="number"&&w.statusCode>=500?ug(`Failed to save: ${w.message}`):at(`Failed to save: ${w.message}`)}finally{try{yield N0(y)}catch(C){D(`Failed to delete archive: ${C}`)}}return m})}o(Adt,"saveCacheV1");function mdt(t,e,r){return my(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=aj(),d=-1,f=yield y3(n);if(D("Cache Paths:"),D(`${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=$w.join(h,cf(l));D(`Archive Path: ${p}`);try{yield dj(h,f,l),rp()&&(yield jw(p,l));let m=Uc(p);D(`File Size: ${m}`),s.archiveSizeBytes=m,D("Reserving Cache");let g=wg(n,l,a),E={key:i,version:g},y;try{let B=yield u.CreateCacheEntry(E);if(!B.ok)throw B.message&&!B.message.startsWith(fj)&&at(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){D(`Failed to reserve cache: ${B}`);let Q=(c=B?.message)!==null&&c!==void 0?c:"";throw Q.startsWith(fj)?new Ay(`Unable to reserve cache with key ${i}. More details: ${Q}`):new qp(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}D(`Attempting to upload cache located at: ${p}`),yield KV(d,p,y,s);let C={key:i,version:g,sizeBytes:`${m}`},w=yield u.FinalizeCacheEntryUpload(C);if(D(`FinalizeCacheEntryUploadResponse: ${w.ok}`),!w.ok)throw w.message?new _2(w.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);d=parseInt(w.entryId)}catch(m){let g=m;if(g.name===sc.name)throw m;g.name===Ay.name?at(`Failed to save: ${g.message}`):g.name===qp.name?L(`Failed to save: ${g.message}`):g.name===_2.name?at(g.message):g instanceof qc&&typeof g.statusCode=="number"&&g.statusCode>=500?ug(`Failed to save: ${g.message}`):at(`Failed to save: ${g.message}`)}finally{try{yield N0(p)}catch(m){D(`Failed to delete archive: ${m}`)}}return d})}o(mdt,"saveCacheV2");var UEe=R(require("util"),1);var Wn=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=UEe.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=gj.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=gj.default.join(this.cacheDir,this.opts.cacheFile),R2.default.existsSync(this.cacheDir)||R2.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){D(`Cache.save ${e}`);let n=this.copyToCache(e),i=await kq(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(D(`Cache.save cached to hosted tool cache ${i}`),!this.ghaNoCache&&pj())if(r)try{D(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Aj([this.cacheDir],this.ghaCacheKey)}catch(s){at(`Failed to save cache: ${s}`)}else D(`Cache.save sending ${this.ghaCacheKey} to post state`),za(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Due(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return L(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&pj()){if(D("GitHub Actions cache feature available"),await MEe([this.cacheDir],this.ghaCacheKey))return L(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await kq(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),L(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?L("GitHub Actions cache disabled"):L("GitHub Actions cache feature not available")}catch(e){at(`Failed to restore cache: ${e}`)}return""}static async post(){let e=_ce(t.POST_CACHE_KEY);if(!e)return L("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{L(`Caching ${r.key} to GitHub Actions cache`),await Aj([r.dir],r.key)}catch(n){at(`Failed to save cache: ${n}`)}return r}copyToCache(e){return L(`Copying ${e} to ${this.cachePath}`),R2.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${mj.default.platform()}-${mj.default.arch()}${e?"v"+e:""}`}};var qEe=!!process.env.STATE_isPost;qEe||za("isPost","true");async function GEe(t,e){if(qEe)e&&await e(),await Qr("Post cache",async()=>{await Wn.post()});else try{await t()}catch(r){xN(r.message)}}o(GEe,"run");var da=R(require("fs"),1),Ps=R(require("path"),1);var $Ie=R(oc(),1);var H2=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 U$=R(require("fs"),1),Wwe=R(require("os"),1),AI=R(require("path"),1);var Hj=R(require("fs"),1),Kbe=R(require("os"),1),Xbe=R(require("path"),1),Zbe=R(Ybe(),1);var mt=class t{static{o(this,"Context")}static _tmpDir=Hj.default.mkdtempSync(Xbe.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||Kbe.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Hj.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return Zbe.tmpNameSync(e)}};var _e=class{static{o(this,"Exec")}static async exec(e,r,n){return D(`Exec.exec: ${e} ${r?.join(" ")}`),ro(e,r,n)}static async getExecOutput(e,r,n){return D(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),cg(e,r,n)}};var M$=R(require("crypto"),1),$we=R(require("fs"),1),pI=R(require("path"),1),Jwe=R(O$(),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 hI=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var _D=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}},F$=L$;var Hwe=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 F$(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 F$(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 Vwe=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[Vwe(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=_D(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(!hI(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(!hI(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 zwe=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=RD({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=Lgt(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"),Lgt=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 jwe=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),Fgt=13,Mgt=10,Dy={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},RD=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:Hwe(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(zwe(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(j===!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 Dy)if(Dy[z].compare(ae,0,Dy[z].length)===0){let Ie=Dy[z].length;this.state.bufBytesStart+=Ie,ae=ae.slice(Ie);let Be=Ty({...this.original_options,encoding:z});for(let it in Be)this.options[it]=Be[it];({comment:B,escape:Q,quote:M}=this.options);break}this.state.bomSkipped=!0}let Ae=ae.length,Y;for(Y=0;Yw){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(m===!0&&V.append(z),(z===Fgt||z===Mgt)&&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.lengthDy[fn].equals(this.state.field.toString())?fn:!1).filter(Boolean)[0],fr=this.__error(new dt("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(it.column)} at line ${it.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Et?`(${Et} bom)`:void 0],this.options,it,{field:this.state.field}));if(fr!==void 0)return fr}}else{this.state.quoting=!0,Y+=M.length-1;continue}if(this.state.quoting===!1){let it=this.__isRecordDelimiter(z,ae,Y);if(it!==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+=it-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,Y+=it-1;continue}this.info.bytes=this.state.bufBytesStart+Y;let fn=this.__onField();if(fn!==void 0)return fn;this.info.bytes=this.state.bufBytesStart+Y+it;let si=this.__onRecord(s);if(si!==void 0)return si;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,Y+=it-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 Et=this.__isDelimiter(ae,Y,z);if(Et!==0){this.info.bytes=this.state.bufBytesStart+Y;let fr=this.__onField();if(fr!==void 0)return fr;Y+=Et-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(ae,Y),Be=E===!1||this.state.wasQuoting===!1;if(Ie===!0&&Be===!0)this.state.field.append(z);else{if(E===!0&&!this.__isCharTrimable(ae,Y))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&&(Y+=this.__isCharTrimable(ae,Y)-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+Y;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+=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:m,record:g}=this.state;if(m===!1)return this.__resetRecord();let E=g.length;if(i===!0){if(p===!0&&jwe(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||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&&jwe(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,B=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;c!e.some(i=>i(n)));if(r.length){let n=r.some(i=>Dst(i));return{wrappedPolicies:TG(r),afterRetry:n}}}}o(xst,"processDownlevelPipeline");function nH(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?DG(e):eH(),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=G0({...r,loggingOptions:{additionalAllowedHeaderNames:gme,additionalAllowedQueryParameters:yme,logger:gR.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:mR,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:XG,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:aG}),i.addPolicy(ume()),i.addPolicy(dme(r.retryOptions),{phase:"Retry"}),i.addPolicy(hme()),i.addPolicy(lme());let c=xst(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=iH(t);uo(l)?i.addPolicy(Dg({credential:l,scopes:r.audience??RR,challengeCallbacks:{authorizeRequestOnChallenge:sR}}),{phase:"Sign"}):l instanceof Pr&&i.addPolicy(tH({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(nH,"getCoreClientOptions");function iH(t){if(t._credential)return t._credential;let e=new yr;for(let r of t.factories)if(uo(r.credential))e=r.credential;else if(wme(r))return r;return e}o(iH,"getCredentialFromPipeline");function wme(t){return t instanceof Pr?!0:t.constructor.name==="StorageSharedKeyCredential"}o(wme,"isStorageSharedKeyCredential");function vst(t){return t instanceof yr?!0:t.constructor.name==="AnonymousCredential"}o(vst,"isAnonymousCredential");function Nst(t){return uo(t.credential)}o(Nst,"isCoreHttpBearerTokenFactory");function _st(t){return t instanceof tw?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(_st,"isStorageBrowserPolicyFactory");function Rst(t){return t instanceof sw?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Rst,"isStorageRetryPolicyFactory");function Tst(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Tst,"isStorageTelemetryPolicyFactory");function Dst(t){return t.constructor.name==="InjectorPolicyFactory"}o(Dst,"isInjectorPolicyFactory");function Qst(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(Qst,"isCoreHttpPolicyFactory");var Ime;(function(t){t.AES256="AES256"})(Ime||(Ime={}));var Sme;(function(t){t.Backup="backup"})(Sme||(Sme={}));var Bme;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(Bme||(Bme={}));var xme;(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"})(xme||(xme={}));var po={};FUe(po,{AccessPolicy:()=>zst,AppendBlobAppendBlockExceptionHeaders:()=>S5,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>x5,AppendBlobAppendBlockFromUrlHeaders:()=>B5,AppendBlobAppendBlockHeaders:()=>I5,AppendBlobCreateExceptionHeaders:()=>w5,AppendBlobCreateHeaders:()=>b5,AppendBlobSealExceptionHeaders:()=>N5,AppendBlobSealHeaders:()=>v5,ArrowConfiguration:()=>sot,ArrowField:()=>oot,BlobAbortCopyFromURLExceptionHeaders:()=>J4,BlobAbortCopyFromURLHeaders:()=>$4,BlobAcquireLeaseExceptionHeaders:()=>D4,BlobAcquireLeaseHeaders:()=>T4,BlobBreakLeaseExceptionHeaders:()=>U4,BlobBreakLeaseHeaders:()=>M4,BlobChangeLeaseExceptionHeaders:()=>F4,BlobChangeLeaseHeaders:()=>L4,BlobCopyFromURLExceptionHeaders:()=>j4,BlobCopyFromURLHeaders:()=>z4,BlobCreateSnapshotExceptionHeaders:()=>G4,BlobCreateSnapshotHeaders:()=>q4,BlobDeleteExceptionHeaders:()=>m4,BlobDeleteHeaders:()=>A4,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>x4,BlobDeleteImmutabilityPolicyHeaders:()=>B4,BlobDownloadExceptionHeaders:()=>f4,BlobDownloadHeaders:()=>DR,BlobFlatListSegment:()=>jst,BlobGetAccountInfoExceptionHeaders:()=>K4,BlobGetAccountInfoHeaders:()=>Y4,BlobGetPropertiesExceptionHeaders:()=>p4,BlobGetPropertiesHeaders:()=>h4,BlobGetTagsExceptionHeaders:()=>e5,BlobGetTagsHeaders:()=>Z4,BlobHierarchyListSegment:()=>Yst,BlobItemInternal:()=>$st,BlobName:()=>Jst,BlobPrefix:()=>Kst,BlobPropertiesInternal:()=>Wst,BlobQueryExceptionHeaders:()=>X4,BlobQueryHeaders:()=>kR,BlobReleaseLeaseExceptionHeaders:()=>k4,BlobReleaseLeaseHeaders:()=>Q4,BlobRenewLeaseExceptionHeaders:()=>O4,BlobRenewLeaseHeaders:()=>P4,BlobServiceProperties:()=>aw,BlobServiceStatistics:()=>sH,BlobSetExpiryExceptionHeaders:()=>C4,BlobSetExpiryHeaders:()=>E4,BlobSetHttpHeadersExceptionHeaders:()=>w4,BlobSetHttpHeadersHeaders:()=>b4,BlobSetImmutabilityPolicyExceptionHeaders:()=>S4,BlobSetImmutabilityPolicyHeaders:()=>I4,BlobSetLegalHoldExceptionHeaders:()=>N4,BlobSetLegalHoldHeaders:()=>v4,BlobSetMetadataExceptionHeaders:()=>R4,BlobSetMetadataHeaders:()=>_4,BlobSetTagsExceptionHeaders:()=>r5,BlobSetTagsHeaders:()=>t5,BlobSetTierExceptionHeaders:()=>W4,BlobSetTierHeaders:()=>QR,BlobStartCopyFromURLExceptionHeaders:()=>V4,BlobStartCopyFromURLHeaders:()=>H4,BlobTag:()=>Hst,BlobTags:()=>lw,BlobUndeleteExceptionHeaders:()=>y4,BlobUndeleteHeaders:()=>g4,Block:()=>Xst,BlockBlobCommitBlockListExceptionHeaders:()=>F5,BlockBlobCommitBlockListHeaders:()=>L5,BlockBlobGetBlockListExceptionHeaders:()=>U5,BlockBlobGetBlockListHeaders:()=>M5,BlockBlobPutBlobFromUrlExceptionHeaders:()=>D5,BlockBlobPutBlobFromUrlHeaders:()=>T5,BlockBlobStageBlockExceptionHeaders:()=>k5,BlockBlobStageBlockFromURLExceptionHeaders:()=>O5,BlockBlobStageBlockFromURLHeaders:()=>P5,BlockBlobStageBlockHeaders:()=>Q5,BlockBlobUploadExceptionHeaders:()=>R5,BlockBlobUploadHeaders:()=>_5,BlockList:()=>fH,BlockLookupList:()=>dH,ClearRange:()=>eot,ContainerAcquireLeaseExceptionHeaders:()=>KH,ContainerAcquireLeaseHeaders:()=>YH,ContainerBreakLeaseExceptionHeaders:()=>n4,ContainerBreakLeaseHeaders:()=>r4,ContainerChangeLeaseExceptionHeaders:()=>s4,ContainerChangeLeaseHeaders:()=>i4,ContainerCreateExceptionHeaders:()=>TH,ContainerCreateHeaders:()=>RH,ContainerDeleteExceptionHeaders:()=>PH,ContainerDeleteHeaders:()=>kH,ContainerFilterBlobsExceptionHeaders:()=>WH,ContainerFilterBlobsHeaders:()=>JH,ContainerGetAccessPolicyExceptionHeaders:()=>MH,ContainerGetAccessPolicyHeaders:()=>FH,ContainerGetAccountInfoExceptionHeaders:()=>d4,ContainerGetAccountInfoHeaders:()=>u4,ContainerGetPropertiesExceptionHeaders:()=>QH,ContainerGetPropertiesHeaders:()=>DH,ContainerItem:()=>Ust,ContainerListBlobFlatSegmentExceptionHeaders:()=>a4,ContainerListBlobFlatSegmentHeaders:()=>o4,ContainerListBlobHierarchySegmentExceptionHeaders:()=>l4,ContainerListBlobHierarchySegmentHeaders:()=>c4,ContainerProperties:()=>qst,ContainerReleaseLeaseExceptionHeaders:()=>ZH,ContainerReleaseLeaseHeaders:()=>XH,ContainerRenameExceptionHeaders:()=>zH,ContainerRenameHeaders:()=>VH,ContainerRenewLeaseExceptionHeaders:()=>t4,ContainerRenewLeaseHeaders:()=>e4,ContainerRestoreExceptionHeaders:()=>HH,ContainerRestoreHeaders:()=>GH,ContainerSetAccessPolicyExceptionHeaders:()=>qH,ContainerSetAccessPolicyHeaders:()=>UH,ContainerSetMetadataExceptionHeaders:()=>LH,ContainerSetMetadataHeaders:()=>OH,ContainerSubmitBatchExceptionHeaders:()=>$H,ContainerSubmitBatchHeaders:()=>jH,CorsRule:()=>Lst,DelimitedTextConfiguration:()=>not,FilterBlobItem:()=>Gst,FilterBlobSegment:()=>cw,GeoReplication:()=>Mst,JsonTextConfiguration:()=>iot,KeyInfo:()=>aH,ListBlobsFlatSegmentResponse:()=>lH,ListBlobsHierarchySegmentResponse:()=>uH,ListContainersSegmentResponse:()=>oH,Logging:()=>kst,Metrics:()=>Ost,PageBlobClearPagesExceptionHeaders:()=>c5,PageBlobClearPagesHeaders:()=>a5,PageBlobCopyIncrementalExceptionHeaders:()=>C5,PageBlobCopyIncrementalHeaders:()=>E5,PageBlobCreateExceptionHeaders:()=>i5,PageBlobCreateHeaders:()=>n5,PageBlobGetPageRangesDiffExceptionHeaders:()=>p5,PageBlobGetPageRangesDiffHeaders:()=>h5,PageBlobGetPageRangesExceptionHeaders:()=>f5,PageBlobGetPageRangesHeaders:()=>d5,PageBlobResizeExceptionHeaders:()=>m5,PageBlobResizeHeaders:()=>A5,PageBlobUpdateSequenceNumberExceptionHeaders:()=>y5,PageBlobUpdateSequenceNumberHeaders:()=>g5,PageBlobUploadPagesExceptionHeaders:()=>o5,PageBlobUploadPagesFromURLExceptionHeaders:()=>u5,PageBlobUploadPagesFromURLHeaders:()=>l5,PageBlobUploadPagesHeaders:()=>s5,PageList:()=>TR,PageRange:()=>Zst,QueryFormat:()=>rot,QueryRequest:()=>hH,QuerySerialization:()=>tot,RetentionPolicy:()=>Pst,ServiceFilterBlobsExceptionHeaders:()=>_H,ServiceFilterBlobsHeaders:()=>NH,ServiceGetAccountInfoExceptionHeaders:()=>BH,ServiceGetAccountInfoHeaders:()=>SH,ServiceGetPropertiesExceptionHeaders:()=>gH,ServiceGetPropertiesHeaders:()=>mH,ServiceGetStatisticsExceptionHeaders:()=>EH,ServiceGetStatisticsHeaders:()=>yH,ServiceGetUserDelegationKeyExceptionHeaders:()=>IH,ServiceGetUserDelegationKeyHeaders:()=>wH,ServiceListContainersSegmentExceptionHeaders:()=>bH,ServiceListContainersSegmentHeaders:()=>CH,ServiceSetPropertiesExceptionHeaders:()=>AH,ServiceSetPropertiesHeaders:()=>pH,ServiceSubmitBatchExceptionHeaders:()=>vH,ServiceSubmitBatchHeaders:()=>xH,SignedIdentifier:()=>Vst,StaticWebsite:()=>Fst,StorageError:()=>te,UserDelegationKey:()=>cH});var aw={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"}}}}},kst={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"}}}}},Pst={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"}}}}},Ost={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"}}}}},Lst={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"}}}}},Fst={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"}}}}},sH={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Mst={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"}}}}},oH={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"}}}}},Ust={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"}}}}}}},qst={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"}}}}},aH={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"}}}}},cH={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"}}}}},cw={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"}}}}},Gst={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"}}}}},lw={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"}}}}}}},Hst={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"}}}}},Vst={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"}}}}},zst={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"}}}}},lH={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"}}}}},jst={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"}}}}}}},$st={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"}}}}},Jst={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"}}}}},Wst={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"}}}}},uH={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"}}}}},Yst={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"}}}}}}},Kst={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},dH={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"}}}}}}},fH={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"}}}}}}},Xst={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"}}}}},TR={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"}}}}},Zst={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"}}}}},eot={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"}}}}},hH={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"}}}}},tot={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},rot={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"}}}}}}},not={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"}}}}},iot={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},sot={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"}}}}}}},oot={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"}}}}},pH={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"}}}}},AH={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mH={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"}}}}},gH={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yH={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"}}}}},EH={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CH={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"}}}}},bH={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wH={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"}}}}},IH={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SH={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"}}}}},BH={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xH={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"}}}}},vH={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NH={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"}}}}},_H={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RH={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"}}}}},TH={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DH={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"}}}}},QH={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kH={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"}}}}},PH={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OH={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"}}}}},LH={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FH={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"}}}}},MH={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UH={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"}}}}},qH={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GH={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"}}}}},HH={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VH={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"}}}}},zH={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"}}}}},$H={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JH={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"}}}}},WH={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YH={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"}}}}},KH={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XH={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"}}}}},ZH={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},e4={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"}}}}},t4={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},r4={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"}}}}},n4={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},i4={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"}}}}},s4={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o4={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"}}}}},a4={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},c4={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"}}}}},l4={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},u4={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"}}}}},d4={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DR={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"}}}}},f4={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},h4={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"}}}}},p4={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},A4={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"}}}}},m4={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},g4={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"}}}}},y4={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E4={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"}}}}},C4={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},b4={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"}}}}},w4={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},I4={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"]}}}}},S4={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},B4={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"}}}}},x4={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},v4={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"}}}}},N4={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_4={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"}}}}},R4={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T4={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"}}}}},D4={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q4={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"}}}}},k4={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},P4={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"}}}}},O4={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},L4={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"}}}}},F4={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},M4={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"}}}}},U4={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},q4={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"}}}}},G4={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},H4={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"}}}}},V4={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"}}}}},z4={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"}}}}},$4={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"}}}}},J4={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={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"}}}}},W4={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Y4={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"}}}}},K4={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},X4={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Z4={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"}}}}},e5={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},t5={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"}}}}},r5={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},n5={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"}}}}},i5={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s5={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"}}}}},o5={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a5={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"}}}}},c5={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},l5={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"}}}}},u5={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"}}}}},d5={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"}}}}},f5={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},h5={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"}}}}},p5={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},A5={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"}}}}},m5={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},g5={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"}}}}},y5={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E5={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"}}}}},C5={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},b5={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"}}}}},w5={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},I5={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"}}}}},S5={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},B5={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"}}}}},x5={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"}}}}},v5={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"}}}}},N5={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_5={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"}}}}},R5={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T5={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"}}}}},D5={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"}}}}},Q5={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"}}}}},k5={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},P5={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"}}}}},O5={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"}}}}},L5={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"}}}}},F5={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},M5={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"}}}}},U5={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Kc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},vme={parameterPath:"blobServiceProperties",mapper:aw},Xo={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},uw={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Zo={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"}}},Nme={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dw={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},fw={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Xc={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Zc={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},_me={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},Rme={parameterPath:"keyInfo",mapper:aH},Tme={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mg={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},PR={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},OR={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Vn={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},LR={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},FR={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},MR={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},zn={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},vi={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},q5={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},Dme={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},Qme={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"}}},We={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"}}},UR={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},G5={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kme={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},qR={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Pme={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},Ome={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},Lme={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Fme={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},Mme={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},ea={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"}}},HR={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},VR={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},zR={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yf={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},jR={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},$R={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},JR={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},WR={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},YR={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},H5={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"},V5={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},Ume={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Xi={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},el={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},bp={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},qme={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},Gme={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Or={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Lr={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Fr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},xt={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},vt={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},ut={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},Hme={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},Vme={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},zme={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jme={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},$me={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},tl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},rl={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},nl={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},il={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},sl={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ol={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},z5={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ka={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Xa={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},Jme={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wme={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},yn={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},Yme={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gu={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"]}}},j5={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},al={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},cl={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ll={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},ul={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},KR={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"}}},Za={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},Kme={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},dl={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Xme={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Hu={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Vu={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"]}}},zu={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},Zme={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ege={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},tge={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},rge={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nge={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"]}}},ige={parameterPath:["options","queryRequest"],mapper:hH},sge={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$5={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},J5={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},W5={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Y5={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},K5={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},oge={parameterPath:["options","tags"],mapper:lw},ta={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},fl={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},age={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},X5={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},Z5={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ip={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sp={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Bp={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},ZR={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},eV={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},eT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},tT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},rT={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},cge={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Ug={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},lge={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},qg={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},uge={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},tV={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dge={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},fge={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},hge={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},pge={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Age={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},rV={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nV={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},nT={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},iT={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},mge={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},iV={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},gge={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},sV={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oV={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},yge={parameterPath:"blocks",mapper:dH},aV={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ege={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var sT=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},aot)}getProperties(e){return this.client.sendOperationRequest({options:e},cot)}getStatistics(e){return this.client.sendOperationRequest({options:e},lot)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},uot)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},dot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},fot)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},hot)}filterBlobs(e){return this.client.sendOperationRequest({options:e},pot)}},Ef=fo(po,!0),aot={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:pH},default:{bodyMapper:te,headersMapper:AH}},requestBody:vme,queryParameters:[uw,Zo,ie],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ef},cot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aw,headersMapper:mH},default:{bodyMapper:te,headersMapper:gH}},queryParameters:[uw,Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},lot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sH,headersMapper:yH},default:{bodyMapper:te,headersMapper:EH}},queryParameters:[uw,ie,Nme],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},uot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:oH,headersMapper:CH},default:{bodyMapper:te,headersMapper:bH}},queryParameters:[ie,dw,fw,Xc,Zc,_me],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},dot={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:cH,headersMapper:wH},default:{bodyMapper:te,headersMapper:IH}},requestBody:Rme,queryParameters:[uw,ie,Tme],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ef},fot={path:"/",httpMethod:"GET",responses:{200:{headersMapper:SH},default:{bodyMapper:te,headersMapper:BH}},queryParameters:[Zo,ie,Mg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef},hot={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:xH},default:{bodyMapper:te,headersMapper:vH}},requestBody:PR,queryParameters:[ie,OR],urlParameters:[ne],headerParameters:[Xo,se,oe,Vn,LR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ef},pot={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:cw,headersMapper:NH},default:{bodyMapper:te,headersMapper:_H}},queryParameters:[ie,Xc,Zc,FR,MR],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Ef};var oT=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Aot)}getProperties(e){return this.client.sendOperationRequest({options:e},mot)}delete(e){return this.client.sendOperationRequest({options:e},got)}setMetadata(e){return this.client.sendOperationRequest({options:e},yot)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Eot)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Cot)}restore(e){return this.client.sendOperationRequest({options:e},bot)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},wot)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},Iot)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Sot)}acquireLease(e){return this.client.sendOperationRequest({options:e},Bot)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},xot)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},vot)}breakLease(e){return this.client.sendOperationRequest({options:e},Not)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},_ot)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Rot)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Tot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Dot)}},jn=fo(po,!0),Aot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:RH},default:{bodyMapper:te,headersMapper:TH}},queryParameters:[ie,zn],urlParameters:[ne],headerParameters:[se,oe,ye,vi,q5,Dme,Qme],isXML:!0,serializer:jn},mot={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:DH},default:{bodyMapper:te,headersMapper:QH}},queryParameters:[ie,zn],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},got={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:kH},default:{bodyMapper:te,headersMapper:PH}},queryParameters:[ie,zn],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye],isXML:!0,serializer:jn},yot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:OH},default:{bodyMapper:te,headersMapper:LH}},queryParameters:[ie,zn,UR],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We],isXML:!0,serializer:jn},Eot={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:FH},default:{bodyMapper:te,headersMapper:MH}},queryParameters:[ie,zn,G5],urlParameters:[ne],headerParameters:[se,oe,ye,rt],isXML:!0,serializer:jn},Cot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:UH},default:{bodyMapper:te,headersMapper:qH}},requestBody:kme,queryParameters:[ie,zn,G5],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,q5,rt,We,Ye],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},bot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:GH},default:{bodyMapper:te,headersMapper:HH}},queryParameters:[ie,zn,qR],urlParameters:[ne],headerParameters:[se,oe,ye,Pme,Ome],isXML:!0,serializer:jn},wot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:VH},default:{bodyMapper:te,headersMapper:zH}},queryParameters:[ie,zn,Lme],urlParameters:[ne],headerParameters:[se,oe,ye,Fme,Mme],isXML:!0,serializer:jn},Iot={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:jH},default:{bodyMapper:te,headersMapper:$H}},requestBody:PR,queryParameters:[ie,OR,zn],urlParameters:[ne],headerParameters:[Xo,se,oe,Vn,LR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jn},Sot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:cw,headersMapper:JH},default:{bodyMapper:te,headersMapper:WH}},queryParameters:[ie,Xc,Zc,FR,MR,zn],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Bot={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:YH},default:{bodyMapper:te,headersMapper:KH}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,GR,HR,VR],isXML:!0,serializer:jn},xot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:XH},default:{bodyMapper:te,headersMapper:ZH}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,zR,yf],isXML:!0,serializer:jn},vot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:e4},default:{bodyMapper:te,headersMapper:t4}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,jR],isXML:!0,serializer:jn},Not={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:r4},default:{bodyMapper:te,headersMapper:n4}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,$R,JR],isXML:!0,serializer:jn},_ot={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:i4},default:{bodyMapper:te,headersMapper:s4}},queryParameters:[ie,zn,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,WR,YR],isXML:!0,serializer:jn},Rot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:lH,headersMapper:o4},default:{bodyMapper:te,headersMapper:a4}},queryParameters:[ie,dw,fw,Xc,Zc,zn,H5,V5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Tot={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:uH,headersMapper:c4},default:{bodyMapper:te,headersMapper:l4}},queryParameters:[ie,dw,fw,Xc,Zc,zn,H5,V5,Ume],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn},Dot={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:u4},default:{bodyMapper:te,headersMapper:d4}},queryParameters:[Zo,ie,Mg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:jn};var aT=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Qot)}getProperties(e){return this.client.sendOperationRequest({options:e},kot)}delete(e){return this.client.sendOperationRequest({options:e},Pot)}undelete(e){return this.client.sendOperationRequest({options:e},Oot)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},Lot)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Fot)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Mot)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Uot)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},qot)}setMetadata(e){return this.client.sendOperationRequest({options:e},Got)}acquireLease(e){return this.client.sendOperationRequest({options:e},Hot)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Vot)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},zot)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},jot)}breakLease(e){return this.client.sendOperationRequest({options:e},$ot)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Jot)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Wot)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Yot)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Kot)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Xot)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Zot)}query(e){return this.client.sendOperationRequest({options:e},eat)}getTags(e){return this.client.sendOperationRequest({options:e},tat)}setTags(e){return this.client.sendOperationRequest({options:e},rat)}},Er=fo(po,!0),Qot={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},default:{bodyMapper:te,headersMapper:f4}},queryParameters:[ie,Xi,el],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,bp,qme,Gme,Or,Lr,Fr,xt,vt,ut],isXML:!0,serializer:Er},kot={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:h4},default:{bodyMapper:te,headersMapper:p4}},queryParameters:[ie,Xi,el],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,Or,Lr,Fr,xt,vt,ut],isXML:!0,serializer:Er},Pot={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:A4},default:{bodyMapper:te,headersMapper:m4}},queryParameters:[ie,Xi,el,Vme],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,ut,Hme],isXML:!0,serializer:Er},Oot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:g4},default:{bodyMapper:te,headersMapper:y4}},queryParameters:[ie,qR],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Er},Lot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:E4},default:{bodyMapper:te,headersMapper:C4}},queryParameters:[ie,zme],urlParameters:[ne],headerParameters:[se,oe,ye,jme,$me],isXML:!0,serializer:Er},Fot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:b4},default:{bodyMapper:te,headersMapper:w4}},queryParameters:[Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,ut,tl,rl,nl,il,sl,ol],isXML:!0,serializer:Er},Mot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:I4},default:{bodyMapper:te,headersMapper:S4}},queryParameters:[ie,Xi,el,z5],urlParameters:[ne],headerParameters:[se,oe,ye,Ye,Ka,Xa],isXML:!0,serializer:Er},Uot={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:B4},default:{bodyMapper:te,headersMapper:x4}},queryParameters:[ie,Xi,el,z5],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Er},qot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v4},default:{bodyMapper:te,headersMapper:N4}},queryParameters:[ie,Xi,el,Jme],urlParameters:[ne],headerParameters:[se,oe,ye,Wme],isXML:!0,serializer:Er},Got={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_4},default:{bodyMapper:te,headersMapper:R4}},queryParameters:[ie,UR],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn],isXML:!0,serializer:Er},Hot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:T4},default:{bodyMapper:te,headersMapper:D4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,GR,HR,VR,xt,vt,ut],isXML:!0,serializer:Er},Vot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q4},default:{bodyMapper:te,headersMapper:k4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,zR,yf,xt,vt,ut],isXML:!0,serializer:Er},zot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:P4},default:{bodyMapper:te,headersMapper:O4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,jR,xt,vt,ut],isXML:!0,serializer:Er},jot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:L4},default:{bodyMapper:te,headersMapper:F4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,yf,WR,YR,xt,vt,ut],isXML:!0,serializer:Er},$ot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:M4},default:{bodyMapper:te,headersMapper:U4}},queryParameters:[ie,ea],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,$R,JR,xt,vt,ut],isXML:!0,serializer:Er},Jot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:q4},default:{bodyMapper:te,headersMapper:G4}},queryParameters:[ie,Yme],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn],isXML:!0,serializer:Er},Wot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:H4},default:{bodyMapper:te,headersMapper:V4}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,xt,vt,ut,Ka,Xa,Gu,j5,al,cl,ll,ul,KR,wp,Za,Kme,dl],isXML:!0,serializer:Er},Yot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:z4},default:{bodyMapper:te,headersMapper:j4}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,vi,rt,We,Ye,xt,vt,ut,Ka,Xa,yn,Gu,al,cl,ll,ul,wp,Za,dl,Xme,Hu,Vu,XR,zu],isXML:!0,serializer:Er},Kot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:$4},default:{bodyMapper:te,headersMapper:J4}},queryParameters:[ie,Zme,tge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ege],isXML:!0,serializer:Er},Xot={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QR},202:{headersMapper:QR},default:{bodyMapper:te,headersMapper:W4}},queryParameters:[ie,Xi,el,rge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ut,j5,nge],isXML:!0,serializer:Er},Zot={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Y4},default:{bodyMapper:te,headersMapper:K4}},queryParameters:[Zo,ie,Mg],urlParameters:[ne],headerParameters:[se,oe,ye],isXML:!0,serializer:Er},eat={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:kR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:kR},default:{bodyMapper:te,headersMapper:X4}},requestBody:ige,queryParameters:[ie,Xi,sge],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,rt,We,Ye,Or,Lr,Fr,xt,vt,ut],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Er},tat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:lw,headersMapper:Z4},default:{bodyMapper:te,headersMapper:e5}},queryParameters:[ie,Xi,el,$5],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ut,J5,W5,Y5,K5],isXML:!0,serializer:Er},rat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:t5},default:{bodyMapper:te,headersMapper:r5}},requestBody:oge,queryParameters:[ie,el,$5],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,rt,ut,J5,W5,Y5,K5,ta,fl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Er};var cT=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},nat)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},iat)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},sat)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},oat)}getPageRanges(e){return this.client.sendOperationRequest({options:e},aat)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},cat)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},lat)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},uat)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},dat)}},ju=fo(po,!0),nat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:n5},default:{bodyMapper:te,headersMapper:i5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Gu,Za,dl,age,X5,Z5],isXML:!0,serializer:ju},iat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:s5},default:{bodyMapper:te,headersMapper:o5}},requestBody:Sp,queryParameters:[ie,ZR],urlParameters:[ne],headerParameters:[se,oe,Vn,rt,We,Ye,bp,Or,Lr,Fr,xt,vt,ut,yn,ta,fl,Ip,Bp,eV,eT,tT,rT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ju},sat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:a5},default:{bodyMapper:te,headersMapper:c5}},queryParameters:[ie,ZR],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,We,Ye,bp,Or,Lr,Fr,xt,vt,ut,yn,eT,tT,rT,cge],isXML:!0,serializer:ju},oat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:l5},default:{bodyMapper:te,headersMapper:u5}},queryParameters:[ie,ZR],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,al,cl,ll,ul,Hu,Vu,zu,eV,eT,tT,rT,Ug,lge,qg,uge],isXML:!0,serializer:ju},aat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:TR,headersMapper:d5},default:{bodyMapper:te,headersMapper:f5}},queryParameters:[ie,Xc,Zc,Xi,tV],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,bp,xt,vt,ut],isXML:!0,serializer:ju},cat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:TR,headersMapper:h5},default:{bodyMapper:te,headersMapper:p5}},queryParameters:[ie,Xc,Zc,Xi,tV,dge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,bp,xt,vt,ut,fge],isXML:!0,serializer:ju},lat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A5},default:{bodyMapper:te,headersMapper:m5}},queryParameters:[Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,X5],isXML:!0,serializer:ju},uat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:g5},default:{bodyMapper:te,headersMapper:y5}},queryParameters:[Zo,ie],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,ut,Z5,hge],isXML:!0,serializer:ju},dat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:E5},default:{bodyMapper:te,headersMapper:C5}},queryParameters:[ie,pge],urlParameters:[ne],headerParameters:[se,oe,ye,We,Ye,xt,vt,ut,wp],isXML:!0,serializer:ju};var lT=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},fat)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},hat)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},pat)}seal(e){return this.client.sendOperationRequest({options:e},Aat)}},uT=fo(po,!0),fat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:b5},default:{bodyMapper:te,headersMapper:w5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Za,dl,Age],isXML:!0,serializer:uT},hat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:I5},default:{bodyMapper:te,headersMapper:S5}},requestBody:Sp,queryParameters:[ie,rV],urlParameters:[ne],headerParameters:[se,oe,Vn,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,ta,fl,Ip,Bp,nV,nT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:uT},pat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:B5},default:{bodyMapper:te,headersMapper:x5}},queryParameters:[ie,rV],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,yn,al,cl,ll,ul,Hu,Vu,zu,ta,Ug,qg,nV,nT,iT],isXML:!0,serializer:uT},Aat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v5},default:{bodyMapper:te,headersMapper:N5}},queryParameters:[ie,mge],urlParameters:[ne],headerParameters:[se,oe,ye,rt,We,Ye,xt,vt,nT],isXML:!0,serializer:uT};var dT=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},mat)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},gat)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},yat)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},Eat)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},Cat)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},bat)}},Hg=fo(po,!0),mat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_5},default:{bodyMapper:te,headersMapper:R5}},requestBody:Sp,queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Gu,Za,dl,ta,fl,Ip,Bp,iV],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Hg},gat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:T5},default:{bodyMapper:te,headersMapper:D5}},queryParameters:[ie],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,yn,Gu,al,cl,ll,ul,KR,wp,Za,Hu,Vu,XR,zu,ta,iV,gge],isXML:!0,serializer:Hg},yat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Q5},default:{bodyMapper:te,headersMapper:k5}},requestBody:Sp,queryParameters:[ie,sV,oV],urlParameters:[ne],headerParameters:[se,oe,Vn,rt,Or,Lr,Fr,yn,ta,fl,Ip,Bp],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Hg},Eat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:P5},default:{bodyMapper:te,headersMapper:O5}},queryParameters:[ie,sV,oV],urlParameters:[ne],headerParameters:[se,oe,ye,Vn,rt,Or,Lr,Fr,yn,al,cl,ll,ul,Hu,Vu,zu,Ug,qg,iT],isXML:!0,serializer:Hg},Cat={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:L5},default:{bodyMapper:te,headersMapper:F5}},requestBody:yge,queryParameters:[ie,aV],urlParameters:[ne],headerParameters:[Kc,Xo,se,oe,vi,rt,We,Ye,Or,Lr,Fr,xt,vt,ut,tl,rl,nl,il,sl,ol,Ka,Xa,yn,Gu,Za,dl,ta,fl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Hg},bat={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:fH,headersMapper:M5},default:{bodyMapper:te,headersMapper:U5}},queryParameters:[ie,Xi,aV,Ege],urlParameters:[ne],headerParameters:[se,oe,ye,rt,ut],isXML:!0,serializer:Hg};var hw=class extends $0{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 sT(this),this.container=new oT(this),this.blob=new aT(this),this.pageBlob=new cT(this),this.appendBlob=new lT(this),this.blockBlob=new dT(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var pw=class extends hw{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 bge(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Iat(r),e.pathname=r,e.toString()}o(bge,"escapeURLPath");function wat(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(wat,"getProxyUriFromDevConnString");function xp(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(xp,"getValueInConnString");function vp(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=wat(t),t=mme);let r=xp(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=xp(t,"AccountName"),s=Buffer.from(xp(t,"AccountKey"),"base64"),!r){n=xp(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=xp(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=xp(t,"SharedAccessSignature"),i=xp(t,"AccountName");if(i||(i=dV(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(vp,"extractConnectionStringParts");function Iat(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Iat,"escape");function Nn(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(Nn,"appendToURLPath");function Vg(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(Vg,"setURLParameter");function cV(t,e){return new URL(t).searchParams.get(e)??void 0}o(cV,"getURLParameter");function wge(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(wge,"getURLScheme");function Aw(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Aw,"appendToURLQuery");function Lt(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Lt,"truncatedISO8061Date");function Sat(t){return Ot?Buffer.from(t).toString("base64"):btoa(t)}o(Sat,"base64encode");function lV(t,e){t.length>42&&(t=t.slice(0,42));let s=t+Bat(e.toString(),48-t.length,"0");return Sat(s)}o(lV,"generateBlockID");function Bat(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(Bat,"padStart");function uV(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(uV,"iEqual");function dV(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:fT(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(dV,"getAccountNameFromUrl");function fT(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&&bme.includes(t.port)}o(fT,"isIpEndpointStyle");function Cf(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(Cf,"toBlobTagsString");function Ige(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(Ige,"toBlobTags");function hT(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(hT,"toTags");function fV(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(fV,"toQuerySerialization");function pT(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(pT,"parseObjectReplicationRecord");function zg(t){return t?t.scheme+" "+t.value:void 0}o(zg,"httpAuthorizationToString");function*hV(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 mw(t,e,r){return gw(t,e,r).sasQueryParameters}o(mw,"generateBlobSASQueryParameters");function gw(t,e,r){let n=t.version?t.version:_R,i=e instanceof Pr?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new vR(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?Nat(t,i):n>="2025-07-05"?Dat(t,s):Tat(t,s);if(n>="2018-11-09")return i!==void 0?vat(t,i):n>="2020-02-10"?Rat(t,s):_at(t,s);if(n>="2015-04-05"){if(i!==void 0)return xat(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 xat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():n=pl.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ec(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 tc(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(xat,"generateBlobSASQueryParameters20150405");function vat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ec(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 tc(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(vat,"generateBlobSASQueryParameters20181109");function Nat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ec(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 tc(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(Nat,"generateBlobSASQueryParameters20201206");function _at(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ec(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 tc(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(_at,"generateBlobSASQueryParametersUDK20181109");function Rat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ec(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 tc(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(Rat,"generateBlobSASQueryParametersUDK20200210");function Tat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ec(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 tc(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(Tat,"generateBlobSASQueryParametersUDK20201206");function Dat(t,e){if(t=_p(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=hl.parse(t.permissions.toString()).toString():i=pl.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Lt(t.startsOn,!1):"",t.expiresOn?Lt(t.expiresOn,!1):"",Np(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Lt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Lt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?ec(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 tc(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(Dat,"generateBlobSASQueryParametersUDK20250705");function Np(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Np,"getCanonicalName");function _p(t){let e=t.version?t.version:_R;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(_p,"SASSignatureValuesSanityCheckAndAutofill");var yw=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!==Ya||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ya||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!==Ya||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ya||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!==Ya||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ya||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!==Ya||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ya||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!==Ya||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ya||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 Bge=require("node:stream");var AT=class extends Bge.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 lo("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 mT=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 Ot?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new AT(this.originalResponse.readableStreamBody,r,n,i,s)}};var Tge=require("node:stream");var pV=new Uint8Array([79,98,106,1]),xge="avro.codec",vge="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}},Rp;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Rp||(Rp={}));var $n;(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"})($n||($n={}));var $u=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 $n.NULL:case $n.BOOLEAN:case $n.INT:case $n.LONG:case $n.FLOAT:case $n.DOUBLE:case $n.BYTES:case $n.STRING:return new AV(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new gV(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 EV(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 mV(e.symbols);case Rp.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new yV(t.fromSchema(e.values));case Rp.ARRAY:case Rp.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},AV=class extends $u{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case $n.NULL:return xr.readNull();case $n.BOOLEAN:return xr.readBoolean(e,r);case $n.INT:return xr.readInt(e,r);case $n.LONG:return xr.readLong(e,r);case $n.FLOAT:return xr.readFloat(e,r);case $n.DOUBLE:return xr.readDouble(e,r);case $n.BYTES:return xr.readBytes(e,r);case $n.STRING:return xr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},mV=class extends $u{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]}},gV=class extends $u{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)}},yV=class extends $u{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)}},EV=class extends $u{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 CV(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,!CV(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 Cw=class{static{o(this,"AvroReadable")}};var Rge=require("buffer");var _ge=new lo("Reading from the avro stream was aborted."),bw=class extends Cw{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?Rge.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 _ge;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(_ge)},"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 gT=class extends Tge.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 Ew(new bw(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 yT=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 Ot?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new gT(this.originalResponse.readableStreamBody,r)}};var bV;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(bV||(bV={}));var wV;(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"})(wV||(wV={}));function bf(t){if(t!==void 0)return t}o(bf,"toAccessTier");function _n(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=Ame)}o(_n,"ensureCpkIfSpecified");var IV;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(IV||(IV={}));function ET(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(ET,"rangeResponseFromModel");var mye=R(Aye(),1);var _T=class extends mye.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=Bw({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return L0(this.intervalInMs)}},_ct=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Bw(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Bw(r)):(r.isCancelled=!0,Bw(r))},"cancel"),Rct=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 Bw(r)},"update"),Tct=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Bw(t){return{state:{...t},cancel:_ct,toString:Tct,update:Rct}}o(Bw,"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 gye=require("events");var xw;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(xw||(xw={}));var vw=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=xw.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new gye.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=xw.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(Eye,"streamToBuffer");async function Cye(t,e){return new Promise((r,n)=>{let i=RT.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(Cye,"readStreamToLocalFile");var bye=yye.default.promisify(RT.default.stat),wye=RT.default.createReadStream;var rc=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(qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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=cV(this.url,Uu.Parameters.SNAPSHOT),this._versionId=cV(this.url,Uu.Parameters.VERSIONID)}withSnapshot(e){return new t(Vg(this.url,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Vg(this.url,Uu.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new DT(this.url,this.pipeline)}getBlockBlobClient(){return new Wg(this.url,this.pipeline)}getPageBlobClient(){return new QT(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},_n(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:Ot?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:pT(s.objectReplicationRules)};if(!Ot)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 mT(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 _n(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===Eme||n.details.errorCode===Cme))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},_n(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:pT(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||{},_n(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||{},_n(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:Ige(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:hT({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new yw(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},_n(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 _T({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:zg(r.sourceAuthorization),tier:bf(r.tier),blobTagsString:Cf(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(bf(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 m=a+c;p+u{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await Cye(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(fT(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:bf(r.tier),blobTagsString:Cf(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Pr))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=mw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Aw(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Pr))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=mw({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Aw(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=>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})))}},DT=class t extends rc{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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(Vg(this.url,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},_n(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:Cf(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:rH};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||{},_n(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||{},_n(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:zg(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}},Wg=class t extends rc{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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(Vg(this.url,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(_n(r.customerProvidedKey,this.isHttps),!Ot)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:fV(r.inputTextConfiguration),outputSerialization:fV(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new yT(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},_n(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:bf(n.tier),blobTagsString:Cf(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},_n(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:zg(r.sourceAuthorization),tier:bf(r.tier),blobTagsString:Cf(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return _n(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 _n(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:zg(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},_n(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:bf(r.tier),blobTagsString:Cf(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(Ot){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 vw(n.concurrency);for(let h=0;h{let p=lV(u,h),m=i*h,E=(h===c-1?r:m+i)-m;l.push(p),await this.stageBlock(p,e(m,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 bye(e)).size;return this.uploadSeekableInternal((s,a)=>()=>wye(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 bR(e,r,n,async(f,h)=>{let p=lV(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}))})}},QT=class t extends rc{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},qu(r))a=e,s=r;else if(Ot&&r instanceof Pr||r instanceof yr||uo(r))a=e,i=n,s=en(r,i);else if(!r&&typeof r!="string")a=e,s=en(new yr,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=vp(e);if(u.kind==="AccountConnString")if(Ot){let d=new Pr(u.accountName,u.accountKey);a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=ff(u.proxyUri)),s=en(d,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Nn(Nn(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=en(new yr,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(Vg(this.url,Uu.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},_n(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:bf(r.tier),blobTagsString:Cf(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return Ce.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:rH},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||{},_n(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||{},_n(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:zg(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 ET(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*hV(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 ET(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*hV(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 ET(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 Iye;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(Iye||(Iye={}));var Sye;(function(t){t.AES256="AES256"})(Sye||(Sye={}));var kT=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Yg=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"}};Yg.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Qp=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"}};Qp.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Nw=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var Gct=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())})},$V=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);L(`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 Bye(t,e,r){return Gct(this,void 0,void 0,function*(){var n;let i=new rc(t),s=i.getBlockBlobClient(),a=new $V((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 kT(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw at(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(Bye,"uploadCacheArchiveSDK");var vye=R(require("buffer"),1),Al=R(require("fs"),1),Nye=R(require("stream"),1),_ye=R(require("util"),1);var PT=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 OT(t){return t?t>=200&&t<300:!1}o(OT,"isSuccessStatusCode");function Hct(t){return t?t>=500:!0}o(Hct,"isServerErrorStatusCode");function Vct(t){return t?[kr.BadGateway,kr.ServiceUnavailable,kr.GatewayTimeout].includes(t):!1}o(Vct,"isRetryableStatusCode");function zct(t){return PT(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(zct,"sleep");function xye(t,e,r){return PT(this,arguments,void 0,function*(n,i,s,a=o_,c=a_,l=void 0){let u="",d=1;for(;d<=a;){let f,h,p=!1;try{f=yield i()}catch(m){l&&(f=l(m)),p=!0,u=m.message}if(f&&(h=s(f),!Hct(h)))return f;if(h&&(p=Vct(h),u=`Cache service responded with ${h}`),D(`${n} - Attempt ${d} of ${a} failed with error: ${u}`),!p){D(`${n} - Error is not retryable`);break}yield zct(c),d++}throw Error(`${n} failed: ${u}`)})}o(xye,"retry");function _w(t,e){return PT(this,arguments,void 0,function*(r,n,i=o_,s=a_){return yield xye(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof qc)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(_w,"retryTypedResponse");function Kg(t,e){return PT(this,arguments,void 0,function*(r,n,i=o_,s=a_){return yield xye(r,n,a=>a.message.statusCode,i,s)})}o(Kg,"retryHttpClientResponse");var ra=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 jct(t,e){return ra(this,void 0,void 0,function*(){yield _ye.promisify(Nye.pipeline)(t.message,e)})}o(jct,"pipeResponseToStream");var LT=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);L(`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 FT(t,e){return ra(this,void 0,void 0,function*(){let r=Al.createWriteStream(e),n=new Pu("actions/cache"),i=yield Kg("downloadCache",()=>ra(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(m3,()=>{i.message.destroy(),D(`Aborting download, socket timed out after ${m3} ms`)}),yield jct(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Uc(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(FT,"downloadCacheHttpClient");function Rye(t,e,r){return ra(this,void 0,void 0,function*(){var n;let i=yield Al.promises.open(e,"w"),s=new Pu("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Kg("downloadCacheMetadata",()=>ra(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;Cra(this,void 0,void 0,function*(){return yield $ct(s,t,C,w)}),"promiseGetter")})}u.reverse();let f=0,h=0,p=new LT(l);p.startDisplayTimer();let m=p.onProgress(),g=[],E,y=o(()=>ra(this,void 0,void 0,function*(){let C=yield Promise.race(Object.values(g));yield i.write(C.buffer,0,C.count,C.offset),f--,delete g[C.offset],h+=C.count,m({loadedBytes:h})}),"waitAndWrite");for(;E=u.pop();)g[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(Rye,"downloadCacheHttpClientConcurrent");function $ct(t,e,r,n){return ra(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield Dye(3e4,Jct(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($ct,"downloadSegmentRetry");function Jct(t,e,r,n){return ra(this,void 0,void 0,function*(){let i=yield Kg("downloadCachePart",()=>ra(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(Jct,"downloadSegment");function Tye(t,e,r){return ra(this,void 0,void 0,function*(){var n;let i=new Wg(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 FT(t,e);else{let c=Math.min(134217728,vye.constants.MAX_LENGTH),l=new LT(a),u=Al.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 m=yield Dye(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(h,p,{abortSignal:f,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(m==="timeout")throw d.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(m)&&Al.writeFileSync(u,m)}}finally{l.stopDisplayTimer(),Al.closeSync(u)}}})}o(Tye,"downloadCacheStorageSDK");var Dye=o((t,e)=>ra(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 JV(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(JV,"getUploadOptions");function Qye(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(Qye,"getDownloadOptions");function WV(){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(WV,"isGhes");function Rw(){return WV()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(Rw,"getCacheServiceVersion");function MT(){let t=Rw();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(MT,"getCacheServiceURL");var Lye=R(Oye(),1);function UT(){return`@actions/cache-${Lye.version}`}o(UT,"getUserAgentString");var Rs=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 Tw(t){let e=MT();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(Tw,"getCacheApiUrl");function Kct(t,e){return`${t};api-version=${e}`}o(Kct,"createAcceptHeader");function Xct(){return{headers:{Accept:Kct("application/json","6.0-preview.1")}}}o(Xct,"getRequestOptions");function YV(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new wg(t);return new Pu(UT(),[e],Xct())}o(YV,"createHttpClient");function Uye(t,e,r){return Rs(this,void 0,void 0,function*(){let n=YV(),i=bg(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,a=yield _w("getCacheEntry",()=>Rs(this,void 0,void 0,function*(){return n.getJson(Tw(s))}));if(a.statusCode===204)return rp()&&(yield Zct(t[0],n,i)),null;if(!OT(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return kc(l),D("Cache Result:"),D(JSON.stringify(c)),c})}o(Uye,"getCacheEntry");function Zct(t,e,r){return Rs(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield _w("listCache",()=>Rs(this,void 0,void 0,function*(){return e.getJson(Tw(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(Zct,"printCachesListForDiagnostics");function KV(t,e,r){return Rs(this,void 0,void 0,function*(){let n=new Mye.URL(t),i=Qye(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield Tye(t,e,i):i.concurrentBlobDownloads?yield Rye(t,e,i):yield FT(t,e):yield FT(t,e)})}o(KV,"downloadCache");function qye(t,e,r){return Rs(this,void 0,void 0,function*(){let n=YV(),i=bg(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield _w("reserveCache",()=>Rs(this,void 0,void 0,function*(){return n.postJson(Tw("caches"),s)}))})}o(qye,"reserveCache");function Fye(t,e){return`bytes ${t}-${e}/*`}o(Fye,"getContentRange");function elt(t,e,r,n,i){return Rs(this,void 0,void 0,function*(){D(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${Fye(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":Fye(n,i)},a=yield Kg(`uploadChunk (start: ${n}, end: ${i})`,()=>Rs(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!OT(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(elt,"uploadChunk");function tlt(t,e,r,n){return Rs(this,void 0,void 0,function*(){let i=Uc(r),s=Tw(`caches/${e.toString()}`),a=Xg.openSync(r,"r"),c=JV(n),l=C3("uploadConcurrency",c.uploadConcurrency),u=C3("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];D("Awaiting all uploads");let f=0;try{yield Promise.all(d.map(()=>Rs(this,void 0,void 0,function*(){for(;fXg.createReadStream(r,{fd:a,start:p,end:m,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,m)}})))}finally{Xg.closeSync(a)}})}o(tlt,"uploadFile");function rlt(t,e,r){return Rs(this,void 0,void 0,function*(){let n={size:r};return yield _w("commitCache",()=>Rs(this,void 0,void 0,function*(){return t.postJson(Tw(`caches/${e.toString()}`),n)}))})}o(rlt,"commitCache");function XV(t,e,r,n){return Rs(this,void 0,void 0,function*(){if(JV(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Bye(r,e,n)}else{let s=YV();D("Upload cache"),yield tlt(s,t,e,n),D("Commiting cache");let a=Uc(e);L(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield rlt(s,t,a);if(!OT(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);L("Cache saved successfully")}})}o(XV,"saveCache");var PEe=R(NEe(),1),nn=R(rn(),1),mo=R(rn(),1),Fp=R(rn(),1),Mp=R(rn(),1),Up=R(rn(),1);var jz=R(rn(),1),$z=R(rn(),1),DEe=R(rn(),1),QEe=R(rn(),1),kEe=R(rn(),1);var Hz=R(rn(),1),Vz=R(rn(),1),_Ee=R(rn(),1),REe=R(rn(),1),TEe=R(rn(),1);var zz=class extends TEe.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,REe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,_Ee.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posB2,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,QEe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,DEe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCl,"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,Mp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Fp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCl,"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,Mp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Fp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCl,"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,Mp.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Fp.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posrj.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=nj.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>ij.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=sj.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>oj.fromJson(i,{ignoreUnknownFields:!0}))}};function OEe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(kc(r),kc(encodeURIComponent(r)))}catch(e){D(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(OEe,"maskSigUrl");function LEe(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"&&OEe(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&OEe(t.signed_download_url)}o(LEe,"maskSecretUrls");var v2=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())})},aj=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=dhe();this.baseUrl=MT(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Pu(e,[new wg(s)])}request(e,r,n,i){return v2(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(()=>v2(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 v2(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&at(`You've hit a rate limit, your rate limit will reset in ${f} seconds`)}throw new Nw(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&D(`Raw Body: ${i}`),c instanceof Qp||c instanceof Nw)throw c;if(Yg.isNetworkErrorCode(c?.code))throw new Yg(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);L(`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?[kr.BadGateway,kr.GatewayTimeout,kr.InternalServerError,kr.ServiceUnavailable].includes(e):!1}sleep(e){return v2(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 cj(t){let e=new aj(UT(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new x2(e)}o(cj,"internalCacheTwirpClient");var N2=require("fs"),go=R(require("path"),1);var Wu=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())})},Bf=process.platform==="win32";function fdt(){return Wu(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield uhe(),e=ohe;if(t)return{path:t,type:io.GNU};if((0,N2.existsSync)(e))return{path:e,type:io.BSD};break}case"darwin":{let t=yield ai("gtar",!1);return t?{path:t,type:io.GNU}:{path:yield ai("tar",!0),type:io.BSD}}default:break}return{path:yield ai("tar",!0),type:io.GNU}})}o(fdt,"getTarPath");function hdt(t,e,r){return Wu(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=cf(i),u="cache.tar",d=FEe(),f=n.type===io.BSD&&i!==Ji.Gzip&&Bf;switch(s){case"create":c.push("--posix","-cf",f?u:l.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"--exclude",f?u:l.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"--files-from",y3);break;case"extract":c.push("-xf",f?u:a.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"-P","-C",d.replace(new RegExp(`\\${go.sep}`,"g"),"/"));break;case"list":c.push("-tf",f?u:a.replace(new RegExp(`\\${go.sep}`,"g"),"/"),"-P");break}if(n.type===io.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(hdt,"getTarArgs");function lj(t,e){return Wu(this,arguments,void 0,function*(r,n,i=""){let s,a=yield fdt(),c=yield hdt(a,r,n,i),l=n!=="create"?yield pdt(a,r,i):yield Adt(a,r),u=a.type===io.BSD&&r!==Ji.Gzip&&Bf;return u&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],u?s:[s.join(" ")]})}o(lj,"getCommands");function FEe(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(FEe,"getWorkingDirectory");function pdt(t,e,r){return Wu(this,void 0,void 0,function*(){let n=t.type===io.BSD&&e!==Ji.Gzip&&Bf;switch(e){case Ji.Zstd:return n?["zstd -d --long=30 --force -o",x0,r.replace(new RegExp(`\\${go.sep}`,"g"),"/")]:["--use-compress-program",Bf?'"zstd -d --long=30"':"unzstd --long=30"];case Ji.ZstdWithoutLong:return n?["zstd -d --force -o",x0,r.replace(new RegExp(`\\${go.sep}`,"g"),"/")]:["--use-compress-program",Bf?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(pdt,"getDecompressionProgram");function Adt(t,e){return Wu(this,void 0,void 0,function*(){let r=cf(e),n=t.type===io.BSD&&e!==Ji.Gzip&&Bf;switch(e){case Ji.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${go.sep}`,"g"),"/"),x0]:["--use-compress-program",Bf?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Ji.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${go.sep}`,"g"),"/"),x0]:["--use-compress-program",Bf?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(Adt,"getCompressionProgram");function uj(t,e){return Wu(this,void 0,void 0,function*(){for(let r of t)try{yield ro(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(uj,"execCommands");function jw(t,e){return Wu(this,void 0,void 0,function*(){let r=yield lj(e,"list",t);yield uj(r)})}o(jw,"listTar");function dj(t,e){return Wu(this,void 0,void 0,function*(){let r=FEe();yield Ru(r);let n=yield lj(e,"extract",t);yield uj(n)})}o(dj,"extractTar");function fj(t,e,r){return Wu(this,void 0,void 0,function*(){(0,N2.writeFileSync)(go.join(t,y3),e.join(` +`));let n=yield lj(r,"create");yield uj(n,t)})}o(fj,"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())})},sc=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},qp=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},hj="cache write denied:",py=class t extends qp{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",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 MEe(t){if(!t||t.length===0)throw new sc("Path Validation Error: At least one directory or file path is required")}o(MEe,"checkPaths");function pj(t){if(t.length>512)throw new sc(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new sc(`Key Validation Error: ${t} cannot contain commas.`)}o(pj,"checkKey");function Aj(){return Rw()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Aj,"isFeatureAvailable");function UEe(t,e,r,n){return Ay(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=Rw();return D(`Cache service version: ${u}`),MEe(i),u==="v2"?yield gdt(i,s,a,c,l):yield mdt(i,s,a,c,l)})}o(UEe,"restoreCache");function mdt(t,e,r,n){return Ay(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let u=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(u)),u.length>10)throw new sc("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of u)pj(h);let d=yield _0(),f="";try{let h=yield Uye(u,i,{compressionMethod:d,enableCrossOsArchive:l});if(!h?.archiveLocation)return;if(c?.lookupOnly)return L("Lookup only - skipping download"),h.cacheKey;f=$w.join(yield v0(),cf(d)),D(`Archive Path: ${f}`),yield KV(h.archiveLocation,f,c),rp()&&(yield jw(f,d));let p=Uc(f);return L(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield dj(f,d),L("Cache restored successfully"),h.cacheKey}catch(h){let p=h;if(p.name===sc.name)throw h;p instanceof qc&&typeof p.statusCode=="number"&&p.statusCode>=500?ug(`Failed to restore: ${h.message}`):at(`Failed to restore: ${h.message}`)}finally{try{yield N0(f)}catch(h){D(`Failed to delete archive: ${h}`)}}})}o(mdt,"restoreCacheV1");function gdt(t,e,r,n){return Ay(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[s,...a];if(D("Resolved Keys:"),D(JSON.stringify(u)),u.length>10)throw new sc("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of u)pj(f);let d="";try{let f=cj(),h=yield _0(),p={key:s,restoreKeys:a,version:bg(i,h,l)},m=yield f.GetCacheEntryDownloadURL(p);if(!m.ok){D(`Cache not found for version ${p.version} of keys: ${u.join(", ")}`);return}if(p.key!==m.matchedKey?L(`Cache hit for restore-key: ${m.matchedKey}`):L(`Cache hit for: ${m.matchedKey}`),c?.lookupOnly)return L("Lookup only - skipping download"),m.matchedKey;d=$w.join(yield v0(),cf(h)),D(`Archive path: ${d}`),D(`Starting download of archive to: ${d}`),yield KV(m.signedDownloadUrl,d,c);let E=Uc(d);return L(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),rp()&&(yield jw(d,h)),yield dj(d,h),L("Cache restored successfully"),m.matchedKey}catch(f){let h=f;if(h.name===sc.name)throw f;h instanceof qc&&typeof h.statusCode=="number"&&h.statusCode>=500?ug(`Failed to restore: ${f.message}`):at(`Failed to restore: ${f.message}`)}finally{try{d&&(yield N0(d))}catch(f){D(`Failed to delete archive: ${f}`)}}})}o(gdt,"restoreCacheV2");function mj(t,e,r){return Ay(this,arguments,void 0,function*(n,i,s,a=!1){let c=Rw();return D(`Cache service version: ${c}`),MEe(n),pj(i),c==="v2"?yield Edt(n,i,s,a):yield ydt(n,i,s,a)})}o(mj,"saveCache");function ydt(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(),m=-1,g=yield E3(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 v0(),y=$w.join(E,cf(p));D(`Archive Path: ${y}`);try{yield fj(E,g,p),rp()&&(yield jw(y,p));let C=10*1024*1024*1024,w=Uc(y);if(D(`File Size: ${w}`),w>C&&!WV())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 B=yield qye(i,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:w});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)m=(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(w/(1024*1024))} MB (${w} 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(hj)?new py(`Unable to reserve cache with key ${i}. More details: ${Q}`):new qp(`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}`)}}D(`Saving Cache (ID: ${m})`),yield XV(m,y,"",s)}catch(C){let w=C;if(w.name===sc.name)throw C;w.name===py.name?at(`Failed to save: ${w.message}`):w.name===qp.name?L(`Failed to save: ${w.message}`):w instanceof qc&&typeof w.statusCode=="number"&&w.statusCode>=500?ug(`Failed to save: ${w.message}`):at(`Failed to save: ${w.message}`)}finally{try{yield N0(y)}catch(C){D(`Failed to delete archive: ${C}`)}}return m})}o(ydt,"saveCacheV1");function Edt(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=cj(),d=-1,f=yield E3(n);if(D("Cache Paths:"),D(`${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=$w.join(h,cf(l));D(`Archive Path: ${p}`);try{yield fj(h,f,l),rp()&&(yield jw(p,l));let m=Uc(p);D(`File Size: ${m}`),s.archiveSizeBytes=m,D("Reserving Cache");let g=bg(n,l,a),E={key:i,version:g},y;try{let B=yield u.CreateCacheEntry(E);if(!B.ok)throw B.message&&!B.message.startsWith(hj)&&at(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){D(`Failed to reserve cache: ${B}`);let Q=(c=B?.message)!==null&&c!==void 0?c:"";throw Q.startsWith(hj)?new py(`Unable to reserve cache with key ${i}. More details: ${Q}`):new qp(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}D(`Attempting to upload cache located at: ${p}`),yield XV(d,p,y,s);let C={key:i,version:g,sizeBytes:`${m}`},w=yield u.FinalizeCacheEntryUpload(C);if(D(`FinalizeCacheEntryUploadResponse: ${w.ok}`),!w.ok)throw w.message?new _2(w.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);d=parseInt(w.entryId)}catch(m){let g=m;if(g.name===sc.name)throw m;g.name===py.name?at(`Failed to save: ${g.message}`):g.name===qp.name?L(`Failed to save: ${g.message}`):g.name===_2.name?at(g.message):g instanceof qc&&typeof g.statusCode=="number"&&g.statusCode>=500?ug(`Failed to save: ${g.message}`):at(`Failed to save: ${g.message}`)}finally{try{yield N0(p)}catch(m){D(`Failed to delete archive: ${m}`)}}return d})}o(Edt,"saveCacheV2");var qEe=R(require("util"),1);var Wn=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=qEe.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=yj.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=yj.default.join(this.cacheDir,this.opts.cacheFile),R2.default.existsSync(this.cacheDir)||R2.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){D(`Cache.save ${e}`);let n=this.copyToCache(e),i=await kq(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(D(`Cache.save cached to hosted tool cache ${i}`),!this.ghaNoCache&&Aj())if(r)try{D(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await mj([this.cacheDir],this.ghaCacheKey)}catch(s){at(`Failed to save cache: ${s}`)}else D(`Cache.save sending ${this.ghaCacheKey} to post state`),za(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Que(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return L(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Aj()){if(D("GitHub Actions cache feature available"),await UEe([this.cacheDir],this.ghaCacheKey))return L(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await kq(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),L(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?L("GitHub Actions cache disabled"):L("GitHub Actions cache feature not available")}catch(e){at(`Failed to restore cache: ${e}`)}return""}static async post(){let e=Rce(t.POST_CACHE_KEY);if(!e)return L("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{L(`Caching ${r.key} to GitHub Actions cache`),await mj([r.dir],r.key)}catch(n){at(`Failed to save cache: ${n}`)}return r}copyToCache(e){return L(`Copying ${e} to ${this.cachePath}`),R2.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${gj.default.platform()}-${gj.default.arch()}${e?"v"+e:""}`}};var GEe=!!process.env.STATE_isPost;GEe||za("isPost","true");async function HEe(t,e){if(GEe)e&&await e(),await Qr("Post cache",async()=>{await Wn.post()});else try{await t()}catch(r){xN(r.message)}}o(HEe,"run");var da=R(require("fs"),1),Ps=R(require("path"),1);var JIe=R(oc(),1);var H2=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 q$=R(require("fs"),1),Ywe=R(require("os"),1),AI=R(require("path"),1);var Vj=R(require("fs"),1),Xbe=R(require("os"),1),Zbe=R(require("path"),1),e0e=R(Kbe(),1);var mt=class t{static{o(this,"Context")}static _tmpDir=Vj.default.mkdtempSync(Zbe.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||Xbe.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Vj.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return e0e.tmpNameSync(e)}};var _e=class{static{o(this,"Exec")}static async exec(e,r,n){return D(`Exec.exec: ${e} ${r?.join(" ")}`),ro(e,r,n)}static async getExecOutput(e,r,n){return D(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),cg(e,r,n)}};var U$=R(require("crypto"),1),Jwe=R(require("fs"),1),pI=R(require("path"),1),Wwe=R(L$(),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 hI=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var _D=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}},M$=F$;var Vwe=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 M$(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 M$(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 zwe=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var Ry=o(function(t){let e={};for(let n in t)e[zwe(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=_D(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(!hI(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(!hI(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 jwe=o(function(t,e){e||({delimiter_auto:e}=Ry({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(i=>{let s=[],a=RD({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=Ugt(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"),Ugt=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 $we=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),qgt=13,Ggt=10,Ty={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},RD=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=Ry(t);return{info:e,original_options:t,options:r,state:Vwe(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(jwe(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(j===!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 Ty)if(Ty[z].compare(ae,0,Ty[z].length)===0){let Ie=Ty[z].length;this.state.bufBytesStart+=Ie,ae=ae.slice(Ie);let Be=Ry({...this.original_options,encoding:z});for(let it in Be)this.options[it]=Be[it];({comment:B,escape:Q,quote:M}=this.options);break}this.state.bomSkipped=!0}let Ae=ae.length,Y;for(Y=0;Yw){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(m===!0&&V.append(z),(z===qgt||z===Ggt)&&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.lengthTy[fn].equals(this.state.field.toString())?fn:!1).filter(Boolean)[0],fr=this.__error(new dt("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(it.column)} at line ${it.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Et?`(${Et} bom)`:void 0],this.options,it,{field:this.state.field}));if(fr!==void 0)return fr}}else{this.state.quoting=!0,Y+=M.length-1;continue}if(this.state.quoting===!1){let it=this.__isRecordDelimiter(z,ae,Y);if(it!==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+=it-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,Y+=it-1;continue}this.info.bytes=this.state.bufBytesStart+Y;let fn=this.__onField();if(fn!==void 0)return fn;this.info.bytes=this.state.bufBytesStart+Y+it;let si=this.__onRecord(s);if(si!==void 0)return si;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,Y+=it-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 Et=this.__isDelimiter(ae,Y,z);if(Et!==0){this.info.bytes=this.state.bufBytesStart+Y;let fr=this.__onField();if(fr!==void 0)return fr;Y+=Et-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(ae,Y),Be=E===!1||this.state.wasQuoting===!1;if(Ie===!0&&Be===!0)this.state.field.append(z);else{if(E===!0&&!this.__isCharTrimable(ae,Y))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&&(Y+=this.__isCharTrimable(ae,Y)-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+Y;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+=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:m,record:g}=this.state;if(m===!1)return this.__resetRecord();let E=g.length;if(i===!0){if(p===!0&&$we(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||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&&$we(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,B=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 bo=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=RD(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(ci(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let i=bo(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=ci(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;nsetTimeout(r,e*1e3))}static hash(e){return M$.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 M$.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return Jwe.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=pI.default.resolve(e);return pI.default.resolve(r).startsWith(n.endsWith(pI.default.sep)?n:`${n}${pI.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 sn=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||AI.default.join(Wwe.default.homedir(),".docker")}static configFile(){let e=AI.default.join(t.configDir,"config.json");if(U$.default.existsSync(e))return JSON.parse(U$.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ai("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 _e.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return _e.getExecOutput("docker",e,t.execOptions(r))}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 Wn({htcName:i,htcVersion:s,baseCacheDir:AI.default.join(t.configDir,".cache","images",i),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(L(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&at(`Failed to load image from cache: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0){l=!1;let d=u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(c)at(`Failed to pull image, using one from cache: ${d}`);else throw new Error(d)}}),r&&l){let u=AI.default.join(mt.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)at(`Failed to save image: ${d.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let f=await a.save(u);L(`Image cached to ${f}`)}})}}};var TD=require("fs"),Ywe=require("os");var Qy=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${Ywe.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 V$=R(tIe(),1),rIe=R(Kd(),1);var Xgt=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 nIe(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(nIe,"getAuthString");function iIe(t){return new V$.HttpClient().getAgent(t)}o(iIe,"getProxyAgent");function Zgt(t){return new V$.HttpClient().getAgentDispatcher(t)}o(Zgt,"getProxyAgentDispatcher");function sIe(t){let e=Zgt(t);return o((n,i)=>Xgt(this,void 0,void 0,function*(){return(0,rIe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(sIe,"getProxyFetch");function oIe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(oIe,"getApiBaseUrl");function z$(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(z$,"getUserAgentWithOrchestrationId");function _f(){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(_f,"getUserAgent");function FD(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)=>FD.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(FD,"register");function aIe(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(aIe,"addHook");function cIe(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(cIe,"removeHook");var lIe=Function.bind,uIe=lIe.bind(lIe);function dIe(t,e,r){let n=uIe(cIe,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]=uIe(aIe,null).apply(null,s)})}o(dIe,"bindApi");function tyt(){let t=Symbol("Singular"),e={registry:{}},r=FD.bind(null,e,t);return dIe(r,e,t),r}o(tyt,"Singular");function ryt(){let t={registry:{}},e=FD.bind(null,t);return dIe(e,t),e}o(ryt,"Collection");var fIe={Singular:tyt,Collection:ryt};var nyt="0.0.0-development",iyt=`octokit-endpoint.js/${nyt} ${_f()}`,syt={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":iyt},mediaType:{format:""}};function oyt(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(oyt,"lowercaseKeys");function ayt(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(ayt,"isPlainObject");function AIe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{ayt(e[n])?n in t?r[n]=AIe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}o(AIe,"mergeDeep");function hIe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(hIe,"removeUndefinedProperties");function $$(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=oyt(r.headers),hIe(r),hIe(r.headers);let n=AIe(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($$,"merge");function cyt(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(cyt,"addQueryParameters");var lyt=/\{[^{}}]+\}/g;function uyt(t){return t.replace(/(?:^\W+)|(?:(?r.concat(n),[]):[]}o(dyt,"extractUrlVariableNames");function pIe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}o(pIe,"omit");function mIe(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(mIe,"encodeReserved");function Py(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(Py,"encodeUnreserved");function gI(t,e,r){return e=t==="+"||t==="#"?mIe(e):Py(e),r?Py(r)+"="+e:e}o(gI,"encodeValue");function ky(t){return t!=null}o(ky,"isDefined");function j$(t){return t===";"||t==="&"||t==="?"}o(j$,"isKeyOperator");function fyt(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(gI(e,i,j$(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(ky).forEach(function(a){s.push(gI(e,a,j$(e)?r:""))}):Object.keys(i).forEach(function(a){ky(i[a])&&s.push(gI(e,i[a],a))});else{let a=[];Array.isArray(i)?i.filter(ky).forEach(function(c){a.push(gI(e,c))}):Object.keys(i).forEach(function(c){ky(i[c])&&(a.push(Py(c)),a.push(gI(e,i[c].toString())))}),j$(e)?s.push(Py(r)+"="+a.join(",")):a.length!==0&&s.push(a.join(","))}else e===";"?ky(i)&&s.push(Py(r)):i===""&&(e==="&"||e==="?")?s.push(Py(r)+"="):i===""&&s.push("");return s}o(fyt,"getValues");function hyt(t){return{expand:pyt.bind(null,t)}}o(hyt,"parseUrl");function pyt(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(fyt(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 mIe(s)}),t==="/"?t:t.replace(/\/$/,"")}o(pyt,"expand");function gIe(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=pIe(t,["method","baseUrl","url","headers","request","mediaType"]),a=dyt(r);r=hyt(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(d=>a.includes(d)).concat("baseUrl"),l=pIe(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=cyt(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(gIe,"parse");function Ayt(t,e,r){return gIe($$(t,e,r))}o(Ayt,"endpointWithDefaults");function yIe(t,e){let r=$$(t,e),n=Ayt.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:yIe.bind(null,r),merge:$$.bind(null,r),parse:gIe})}o(yIe,"withDefaults");var EIe=yIe(null,syt);var DIe=R(IIe(),1);var myt=/^-?\d+$/,xIe=/^-?\d+n+$/,J$=JSON.stringify,SIe=JSON.parse,gyt=/^-?\d+n$/,yyt=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,Eyt=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,vIe=o((t,e,r)=>"rawJSON"in JSON?J$(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?J$(t,(a,c)=>typeof c=="string"&&!!c.match(xIe)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace(yyt,"$1$2$3").replace(Eyt,"$1$2$3"):J$(t,e,r),"JSONStringify"),Cyt=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),byt=o((t,e,r,n)=>typeof e=="string"&&e.match(gyt)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(xIe)?e.slice(0,-1):typeof n!="function"?e:n(t,e,r),"convertMarkedBigIntsReviver"),wyt=o((t,e)=>JSON.parse(t,(r,n,i)=>{let s=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return SIe(t,e);if(Cyt())return wyt(t,e);let r=t.replace(Iyt,(n,i,s,a)=>{let c=n[0]==='"';if(c&&!!n.match(Syt))return n.substring(0,n.length-1)+'n"';let u=s||a,d=i&&(i.lengthbyt(n,i,s,e))},"JSONParse");var td=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 TIe(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=vyt(t.body)||Array.isArray(t.body)?vIe(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 td(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 td(a.statusText,c,{response:d,request:t})}if(c===304)throw d.data=await W$(a),new td("Not modified",c,{response:d,request:t});if(c>=400)throw d.data=await W$(a),new td(_yt(d.data),c,{response:d,request:t});return d.data=n?await W$(a):a.body,d}o(TIe,"fetchWrapper");async function W$(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(RIe);let r=(0,DIe.safeParse)(e);if(Nyt(r)){let n="";try{return n=await t.text(),_Ie(n)}catch{return n}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(RIe):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(W$,"getResponseData");function Nyt(t){return t.type==="application/json"||t.type==="application/scim+json"}o(Nyt,"isJSONResponse");function _yt(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(_yt,"toErrorMessage");function Y$(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 TIe(r.parse(a));let c=o((l,u)=>TIe(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:Y$.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:Y$.bind(null,r)})}o(Y$,"withDefaults");var EI=Y$(EIe,xyt);var Ryt="0.0.0-development";function Tyt(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 bo=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=RD(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(ci(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let i=bo(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=ci(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;nsetTimeout(r,e*1e3))}static hash(e){return U$.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 U$.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return Wwe.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=pI.default.resolve(e);return pI.default.resolve(r).startsWith(n.endsWith(pI.default.sep)?n:`${n}${pI.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 sn=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||AI.default.join(Ywe.default.homedir(),".docker")}static configFile(){let e=AI.default.join(t.configDir,"config.json");if(q$.default.existsSync(e))return JSON.parse(q$.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ai("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 _e.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return _e.getExecOutput("docker",e,t.execOptions(r))}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 Wn({htcName:i,htcVersion:s,baseCacheDir:AI.default.join(t.configDir,".cache","images",i),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(L(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&at(`Failed to load image from cache: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0){l=!1;let d=u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(c)at(`Failed to pull image, using one from cache: ${d}`);else throw new Error(d)}}),r&&l){let u=AI.default.join(mt.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)at(`Failed to save image: ${d.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let f=await a.save(u);L(`Image cached to ${f}`)}})}}};var TD=require("fs"),Kwe=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${Kwe.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 z$=R(rIe(),1),nIe=R(Kd(),1);var tyt=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 iIe(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(iIe,"getAuthString");function sIe(t){return new z$.HttpClient().getAgent(t)}o(sIe,"getProxyAgent");function ryt(t){return new z$.HttpClient().getAgentDispatcher(t)}o(ryt,"getProxyAgentDispatcher");function oIe(t){let e=ryt(t);return o((n,i)=>tyt(this,void 0,void 0,function*(){return(0,nIe.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(oIe,"getProxyFetch");function aIe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(aIe,"getApiBaseUrl");function j$(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(j$,"getUserAgentWithOrchestrationId");function _f(){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(_f,"getUserAgent");function FD(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)=>FD.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(FD,"register");function cIe(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(cIe,"addHook");function lIe(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(lIe,"removeHook");var uIe=Function.bind,dIe=uIe.bind(uIe);function fIe(t,e,r){let n=dIe(lIe,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]=dIe(cIe,null).apply(null,s)})}o(fIe,"bindApi");function iyt(){let t=Symbol("Singular"),e={registry:{}},r=FD.bind(null,e,t);return fIe(r,e,t),r}o(iyt,"Singular");function syt(){let t={registry:{}},e=FD.bind(null,t);return fIe(e,t),e}o(syt,"Collection");var hIe={Singular:iyt,Collection:syt};var oyt="0.0.0-development",ayt=`octokit-endpoint.js/${oyt} ${_f()}`,cyt={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":ayt},mediaType:{format:""}};function lyt(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(lyt,"lowercaseKeys");function uyt(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(uyt,"isPlainObject");function mIe(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(n=>{uyt(e[n])?n in t?r[n]=mIe(t[n],e[n]):Object.assign(r,{[n]:e[n]}):Object.assign(r,{[n]:e[n]})}),r}o(mIe,"mergeDeep");function pIe(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(pIe,"removeUndefinedProperties");function J$(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=lyt(r.headers),pIe(r),pIe(r.headers);let n=mIe(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(J$,"merge");function dyt(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(dyt,"addQueryParameters");var fyt=/\{[^{}}]+\}/g;function hyt(t){return t.replace(/(?:^\W+)|(?:(?r.concat(n),[]):[]}o(pyt,"extractUrlVariableNames");function AIe(t,e){let r={__proto__:null};for(let n of Object.keys(t))e.indexOf(n)===-1&&(r[n]=t[n]);return r}o(AIe,"omit");function gIe(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(gIe,"encodeReserved");function ky(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(ky,"encodeUnreserved");function gI(t,e,r){return e=t==="+"||t==="#"?gIe(e):ky(e),r?ky(r)+"="+e:e}o(gI,"encodeValue");function Qy(t){return t!=null}o(Qy,"isDefined");function $$(t){return t===";"||t==="&"||t==="?"}o($$,"isKeyOperator");function Ayt(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(gI(e,i,$$(e)?r:""));else if(n==="*")Array.isArray(i)?i.filter(Qy).forEach(function(a){s.push(gI(e,a,$$(e)?r:""))}):Object.keys(i).forEach(function(a){Qy(i[a])&&s.push(gI(e,i[a],a))});else{let a=[];Array.isArray(i)?i.filter(Qy).forEach(function(c){a.push(gI(e,c))}):Object.keys(i).forEach(function(c){Qy(i[c])&&(a.push(ky(c)),a.push(gI(e,i[c].toString())))}),$$(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(Ayt,"getValues");function myt(t){return{expand:gyt.bind(null,t)}}o(myt,"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(Ayt(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 gIe(s)}),t==="/"?t:t.replace(/\/$/,"")}o(gyt,"expand");function yIe(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},t.headers),i,s=AIe(t,["method","baseUrl","url","headers","request","mediaType"]),a=pyt(r);r=myt(r).expand(s),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(d=>a.includes(d)).concat("baseUrl"),l=AIe(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=dyt(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(yIe,"parse");function yyt(t,e,r){return yIe(J$(t,e,r))}o(yyt,"endpointWithDefaults");function EIe(t,e){let r=J$(t,e),n=yyt.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:EIe.bind(null,r),merge:J$.bind(null,r),parse:yIe})}o(EIe,"withDefaults");var CIe=EIe(null,cyt);var QIe=R(SIe(),1);var Eyt=/^-?\d+$/,vIe=/^-?\d+n+$/,W$=JSON.stringify,BIe=JSON.parse,Cyt=/^-?\d+n$/,byt=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,wyt=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,NIe=o((t,e,r)=>"rawJSON"in JSON?W$(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?W$(t,(a,c)=>typeof c=="string"&&!!c.match(vIe)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace(byt,"$1$2$3").replace(wyt,"$1$2$3"):W$(t,e,r),"JSONStringify"),Iyt=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),Syt=o((t,e,r,n)=>typeof e=="string"&&e.match(Cyt)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(vIe)?e.slice(0,-1):typeof n!="function"?e:n(t,e,r),"convertMarkedBigIntsReviver"),Byt=o((t,e)=>JSON.parse(t,(r,n,i)=>{let s=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return BIe(t,e);if(Iyt())return Byt(t,e);let r=t.replace(xyt,(n,i,s,a)=>{let c=n[0]==='"';if(c&&!!n.match(vyt))return n.substring(0,n.length-1)+'n"';let u=s||a,d=i&&(i.lengthSyt(n,i,s,e))},"JSONParse");var td=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 DIe(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=Ryt(t.body)||Array.isArray(t.body)?NIe(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 td(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 td(a.statusText,c,{response:d,request:t})}if(c===304)throw d.data=await Y$(a),new td("Not modified",c,{response:d,request:t});if(c>=400)throw d.data=await Y$(a),new td(Dyt(d.data),c,{response:d,request:t});return d.data=n?await Y$(a):a.body,d}o(DIe,"fetchWrapper");async function Y$(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(TIe);let r=(0,QIe.safeParse)(e);if(Tyt(r)){let n="";try{return n=await t.text(),RIe(n)}catch{return n}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(TIe):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(Y$,"getResponseData");function Tyt(t){return t.type==="application/json"||t.type==="application/scim+json"}o(Tyt,"isJSONResponse");function Dyt(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(Dyt,"toErrorMessage");function K$(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 DIe(r.parse(a));let c=o((l,u)=>DIe(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:K$.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:K$.bind(null,r)})}o(K$,"withDefaults");var EI=K$(CIe,_yt);var Qyt="0.0.0-development";function kyt(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` -`)}o(Tyt,"_buildMessageForResponseErrors");var Dyt=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(Tyt(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},Qyt=["method","baseUrl","url","headers","request","query","mediaType","operationName"],kyt=["query","method","url"],QIe=/\/api\/v3\/?$/;function Pyt(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(kyt.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)=>Qyt.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 QIe.test(s)&&(i.url=s.replace(QIe,"/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 Dyt(i,c,a.data)}return a.data.data})}o(Pyt,"graphql");function K$(t,e){let r=t.defaults(e);return Object.assign(o((i,s)=>Pyt(r,i,s),"newApi"),{defaults:K$.bind(null,r),endpoint:r.endpoint})}o(K$,"withDefaults");var swr=K$(EI,{headers:{"user-agent":`octokit-graphql.js/${Ryt} ${_f()}`},method:"POST",url:"/graphql"});function kIe(t){return K$(t,{method:"POST",url:"/graphql"})}o(kIe,"withCustomRequest");var X$="(?:[a-zA-Z0-9_-]+)",PIe="\\.",OIe=new RegExp(`^${X$}${PIe}${X$}${PIe}${X$}$`),Oyt=OIe.test.bind(OIe);async function Lyt(t){let e=Oyt(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(Lyt,"auth");function Fyt(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(Fyt,"withAuthorizationPrefix");async function Myt(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=Fyt(t),e(i)}o(Myt,"hook");var LIe=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(Lyt.bind(null,e),{hook:Myt.bind(null,e)})},"createTokenAuth2");var Z$="7.0.6";var FIe=o(()=>{},"noop"),Uyt=console.warn.bind(console),qyt=console.error.bind(console);function Gyt(t={}){return typeof t.debug!="function"&&(t.debug=FIe),typeof t.info!="function"&&(t.info=FIe),typeof t.warn!="function"&&(t.warn=Uyt),typeof t.error!="function"&&(t.error=qyt),t}o(Gyt,"createLogger");var MIe=`octokit-core.js/${Z$} ${_f()}`,Oy=class{static{o(this,"Octokit")}static VERSION=Z$;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 fIe.Collection,n={baseUrl:EI.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} ${MIe}`:MIe,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=EI.defaults(n),this.graphql=kIe(this.request).defaults(n),this.log=Gyt(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=LIe(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=Jyt(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:GIe(t,e,r,n)})}o(GIe,"gather");var Twr=Object.assign(qIe,{iterator:r8});function bI(t){return{paginate:Object.assign(qIe.bind(null,t),{iterator:r8.bind(null,t)})}}o(bI,"paginateRest");bI.VERSION=$yt;var Lwr=new Qy,n8=oIe(),Wyt={baseUrl:n8,request:{agent:iIe(n8),fetch:sIe(n8)}},HIe=Oy.plugin(CI,bI).defaults(Wyt);function VIe(t,e){let r=Object.assign({},e||{}),n=nIe(t,r);n&&(r.auth=n);let i=z$(r.userAgent);return i&&(r.userAgent=i),r}o(VIe,"getOctokitOptions");var ns=new Qy;function GD(t,e,...r){let n=HIe.plugin(...r);return new n(VIe(t,e))}o(GD,"getOctokit");var II=R(require("http"),1),c8=R(require("https"),1);function s8(t){let e=t.protocol==="https:";if(Yyt(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 HD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new HD(`http://${r}`)}else return}o(s8,"getProxyUrl");function Yyt(t){if(!t.hostname)return!1;let e=t.hostname;if(Kyt(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(Yyt,"checkBypass");function Kyt(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(Kyt,"isLoopbackAddress");var HD=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=R(lm(),1),zIe=R(Kd(),1);var an=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 rd;(function(t){t.ApplicationJson="application/json"})(rd||(rd={}));var Zyt=[ks.MovedPermanently,ks.ResourceMoved,ks.SeeOther,ks.TemporaryRedirect,ks.PermanentRedirect],eEt=[ks.BadGateway,ks.ServiceUnavailable,ks.GatewayTimeout],tEt=["OPTIONS","GET","DELETE","HEAD"],rEt=10,nEt=5,o8=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},a8=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return an(this,void 0,void 0,function*(){return new Promise(e=>an(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))})}))})}};var VD=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[is.Accept]=this._getExistingOrDefaultHeader(n,is.Accept,rd.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[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,rd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,rd.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[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,rd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,rd.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[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,rd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,rd.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&&tEt.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&&Zyt.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||!eEt.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 a8(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=s8(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?c8:II;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)[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=s8(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||II.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 c8.Agent(c):new II.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 zIe.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(rEt,e);let r=nEt*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===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 o8(d,s);f.result=a.result,i(f)}else n(a)}))})}},wI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Yp=class extends Error{static{o(this,"InvalidTokenError")}};Yp.prototype.name="InvalidTokenError";function iEt(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(iEt,"b64DecodeUnicode");function sEt(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 iEt(e)}catch{return atob(e)}}o(sEt,"base64UrlDecode");function zD(t,e){if(typeof t!="string")throw new Yp("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 Yp(`Invalid token specified: missing part #${r+1}`);let i;try{i=sEt(n)}catch(s){throw new Yp(`Invalid token specified: invalid base64 for part #${r+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new Yp(`Invalid token specified: invalid json for part #${r+1} (${s.message})`)}}o(zD,"jwtDecode");var Ze=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=GD(`${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}`,a=await new VD("docker-actions-toolkit").get(i,n?{Authorization:`token ${n}`}:void 0),c=await a.readBody(),l=a.message.statusCode||500;if(l>=400)throw new Error(`Failed to get ${e} releases from ${i} with status code ${l}: ${c}`);return JSON.parse(c)}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?zD(e):void 0}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})`}L(`${r.Scope}: ${n}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var Dt=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(sn.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 sn.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 _e.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 _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]}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Buildx.versionSatisfies false: undefined version"),!1;let i=$Ie.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=Ps.default.join(t.certsDir,`cacert_${a}.pem`);da.default.writeFileSync(c,n.cacert),s.push(`cacert=${c}`)}if(n.cert!==void 0){let c=Ps.default.join(t.certsDir,`cert_${a}.pem`);da.default.writeFileSync(c,n.cert),s.push(`cert=${c}`)}if(n.key!==void 0){let c=Ps.default.join(t.certsDir,`key_${a}.pem`);da.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(!da.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(da.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)),!da.default.existsSync(c))return r;let l=da.default.readdirSync(c);for(let u of l){let d=Ps.default.join(c,u),f=da.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(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,m=!1;for(let g of a)if(g.remote||g.path.endsWith(u)&&g.content===d){c.push({title:f,message:h,file:g.path,startLine:p}),m=!0;break}m||D(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${f}`)}return c}};var l8=R(require("fs"),1),u8=R(require("path"),1);var jD=class t{static{o(this,"History")}buildx;constructor(e){this.buildx=e?.buildx||new Dt}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=u8.default.join(mt.tmpDir(),"export");L(`exporting build record to ${s}`),l8.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=u8.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=l8.default.statSync(c);return{dockerbuildFilename:c,dockerbuildSize:d.size,builderName:r,nodeName:n,refs:i,summaries:a}}static exportFilename(e){let r=`${Ze.context.repo.owner}~${Ze.context.repo.repo}~${e[0].substring(0,6).toUpperCase()}`;return e.length>1&&(r+=`+${e.length-1}`),r}};var FPe=R(require("fs"),1),jY=R(require("path"),1);var WIe=R(require("os"),1);function SI(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(SI,"toCommandValue");function d8(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(d8,"toCommandProperties");function BI(t,e,r){let n=new f8(t,e,r);process.stdout.write(n.toString()+WIe.EOL)}o(BI,"issueCommand");var JIe="::",f8=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=JIe+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}=${aEt(i)}`)}}return e+=`${JIe}${oEt(this.message)}`,e}};function oEt(t){return SI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(oEt,"escapeData");function aEt(t){return SI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(aEt,"escapeProperty");var ZIe=R(require("os"),1);var KIe=require("os"),xI=require("fs");var h8=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:cEt,appendFile:lEt,writeFile:uEt}=xI.promises,YIe="GITHUB_STEP_SUMMARY";var p8=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return h8(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[YIe];if(!e)throw new Error(`Unable to find environment variable for $${YIe}. Check if your runtime environment supports job summaries.`);try{yield cEt(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 h8(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?uEt:lEt)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return h8(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(KIe.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()}},IIr=new p8;var A8=R(require("os"),1);var NIr=A8.default.platform(),_Ir=A8.default.arch();var XIe;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(XIe||(XIe={}));function $D(t){BI("add-mask",{},t)}o($D,"setSecret");function Xe(t){BI("debug",{},t)}o(Xe,"debug");function vI(t,e={}){BI("error",d8(e),t instanceof Error?t.toString():t)}o(vI,"error");function Ai(t,e={}){BI("warning",d8(e),t instanceof Error?t.toString():t)}o(Ai,"warning");function ct(t){process.stdout.write(t+ZIe.EOL)}o(ct,"info");var eSe=R(require("os"),1);function Kp(){return 8*1024*1024}o(Kp,"getUploadChunkSize");function JD(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(JD,"getRuntimeToken");function tSe(){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(tSe,"getResultsServiceUrl");function Ly(){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(Ly,"isGhes");function rSe(){let t=process.env.GITHUB_WORKSPACE;if(!t)throw new Error("Unable to get the GITHUB_WORKSPACE env variable");return t}o(rSe,"getGitHubWorkspaceDir");function nSe(){let t=eSe.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,MSe.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=jy.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,FSe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,LSe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIo,"T")},{no:5,name:"version",kind:"scalar",T:5},{no:6,name:"mime_type",kind:"message",T:o(()=>Cn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCn,"T")},{no:4,name:"id_filter",kind:"message",T:o(()=>$y,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:""};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posE6,"T")}])}create(e){let r={artifacts:[]};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIo,"T")},{no:7,name:"digest",kind:"message",T:o(()=>Cn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posD6.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeArtifact(e){let r=Q6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",r).then(i=>k6.fromJson(i,{ignoreUnknownFields:!0}))}ListArtifacts(e){let r=P6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",r).then(i=>O6.fromJson(i,{ignoreUnknownFields:!0}))}GetSignedArtifactURL(e){let r=L6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",r).then(i=>F6.fromJson(i,{ignoreUnknownFields:!0}))}DeleteArtifact(e){let r=M6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",r).then(i=>U6.fromJson(i,{ignoreUnknownFields:!0}))}};function KSe(t){if(!t)return;let e=Ebt();e&&e"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],[` -`," Line feed \\n"]]),XSe=new Map([...q6,["\\"," Backslash \\"],["/"," Forward slash /"]]);function ZSe(t){if(!t)throw new Error("Provided artifact name input during validation is empty");for(let[e,r]of XSe)if(t.includes(e))throw new Error(`The artifact name is not valid: ${t}. Contains the following character: ${r} +`)}o(kyt,"_buildMessageForResponseErrors");var Pyt=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(kyt(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},Oyt=["method","baseUrl","url","headers","request","query","mediaType","operationName"],Lyt=["query","method","url"],kIe=/\/api\/v3\/?$/;function Fyt(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(Lyt.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)=>Oyt.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 kIe.test(s)&&(i.url=s.replace(kIe,"/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 Pyt(i,c,a.data)}return a.data.data})}o(Fyt,"graphql");function X$(t,e){let r=t.defaults(e);return Object.assign(o((i,s)=>Fyt(r,i,s),"newApi"),{defaults:X$.bind(null,r),endpoint:r.endpoint})}o(X$,"withDefaults");var lwr=X$(EI,{headers:{"user-agent":`octokit-graphql.js/${Qyt} ${_f()}`},method:"POST",url:"/graphql"});function PIe(t){return X$(t,{method:"POST",url:"/graphql"})}o(PIe,"withCustomRequest");var Z$="(?:[a-zA-Z0-9_-]+)",OIe="\\.",LIe=new RegExp(`^${Z$}${OIe}${Z$}${OIe}${Z$}$`),Myt=LIe.test.bind(LIe);async function Uyt(t){let e=Myt(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(Uyt,"auth");function qyt(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(qyt,"withAuthorizationPrefix");async function Gyt(t,e,r,n){let i=e.endpoint.merge(r,n);return i.headers.authorization=qyt(t),e(i)}o(Gyt,"hook");var FIe=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(Uyt.bind(null,e),{hook:Gyt.bind(null,e)})},"createTokenAuth2");var e8="7.0.6";var MIe=o(()=>{},"noop"),Hyt=console.warn.bind(console),Vyt=console.error.bind(console);function zyt(t={}){return typeof t.debug!="function"&&(t.debug=MIe),typeof t.info!="function"&&(t.info=MIe),typeof t.warn!="function"&&(t.warn=Hyt),typeof t.error!="function"&&(t.error=Vyt),t}o(zyt,"createLogger");var UIe=`octokit-core.js/${e8} ${_f()}`,Py=class{static{o(this,"Octokit")}static VERSION=e8;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 hIe.Collection,n={baseUrl:EI.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} ${UIe}`:UIe,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=EI.defaults(n),this.graphql=PIe(this.request).defaults(n),this.log=zyt(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=FIe(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=Kyt(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:HIe(t,e,r,n)})}o(HIe,"gather");var Pwr=Object.assign(GIe,{iterator:n8});function bI(t){return{paginate:Object.assign(GIe.bind(null,t),{iterator:n8.bind(null,t)})}}o(bI,"paginateRest");bI.VERSION=Yyt;var qwr=new Dy,i8=aIe(),Xyt={baseUrl:i8,request:{agent:sIe(i8),fetch:oIe(i8)}},VIe=Py.plugin(CI,bI).defaults(Xyt);function zIe(t,e){let r=Object.assign({},e||{}),n=iIe(t,r);n&&(r.auth=n);let i=j$(r.userAgent);return i&&(r.userAgent=i),r}o(zIe,"getOctokitOptions");var ns=new Dy;function GD(t,e,...r){let n=VIe.plugin(...r);return new n(zIe(t,e))}o(GD,"getOctokit");var II=R(require("http"),1),l8=R(require("https"),1);function o8(t){let e=t.protocol==="https:";if(Zyt(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 HD(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new HD(`http://${r}`)}else return}o(o8,"getProxyUrl");function Zyt(t){if(!t.hostname)return!1;let e=t.hostname;if(eEt(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(Zyt,"checkBypass");function eEt(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(eEt,"isLoopbackAddress");var HD=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=R(lm(),1),jIe=R(Kd(),1);var an=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 rd;(function(t){t.ApplicationJson="application/json"})(rd||(rd={}));var rEt=[ks.MovedPermanently,ks.ResourceMoved,ks.SeeOther,ks.TemporaryRedirect,ks.PermanentRedirect],nEt=[ks.BadGateway,ks.ServiceUnavailable,ks.GatewayTimeout],iEt=["OPTIONS","GET","DELETE","HEAD"],sEt=10,oEt=5,a8=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},c8=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return an(this,void 0,void 0,function*(){return new Promise(e=>an(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))})}))})}};var VD=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[is.Accept]=this._getExistingOrDefaultHeader(n,is.Accept,rd.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[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,rd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,rd.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[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,rd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,rd.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[is.Accept]=this._getExistingOrDefaultHeader(s,is.Accept,rd.ApplicationJson),s[is.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,rd.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&&iEt.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&&rEt.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 c8(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=o8(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?l8:II;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)[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=o8(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||II.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 l8.Agent(c):new II.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 jIe.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(sEt,e);let r=oEt*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===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 a8(d,s);f.result=a.result,i(f)}else n(a)}))})}},wI=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Yp=class extends Error{static{o(this,"InvalidTokenError")}};Yp.prototype.name="InvalidTokenError";function aEt(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(aEt,"b64DecodeUnicode");function cEt(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 aEt(e)}catch{return atob(e)}}o(cEt,"base64UrlDecode");function zD(t,e){if(typeof t!="string")throw new Yp("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 Yp(`Invalid token specified: missing part #${r+1}`);let i;try{i=cEt(n)}catch(s){throw new Yp(`Invalid token specified: invalid base64 for part #${r+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new Yp(`Invalid token specified: invalid json for part #${r+1} (${s.message})`)}}o(zD,"jwtDecode");var Ze=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=GD(`${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}`,a=await new VD("docker-actions-toolkit").get(i,n?{Authorization:`token ${n}`}:void 0),c=await a.readBody(),l=a.message.statusCode||500;if(l>=400)throw new Error(`Failed to get ${e} releases from ${i} with status code ${l}: ${c}`);return JSON.parse(c)}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?zD(e):void 0}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})`}L(`${r.Scope}: ${n}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var Dt=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(sn.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 sn.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 _e.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 _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]}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Buildx.versionSatisfies false: undefined version"),!1;let i=JIe.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=Ps.default.join(t.certsDir,`cacert_${a}.pem`);da.default.writeFileSync(c,n.cacert),s.push(`cacert=${c}`)}if(n.cert!==void 0){let c=Ps.default.join(t.certsDir,`cert_${a}.pem`);da.default.writeFileSync(c,n.cert),s.push(`cert=${c}`)}if(n.key!==void 0){let c=Ps.default.join(t.certsDir,`key_${a}.pem`);da.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(!da.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(da.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)),!da.default.existsSync(c))return r;let l=da.default.readdirSync(c);for(let u of l){let d=Ps.default.join(c,u),f=da.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(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,m=!1;for(let g of a)if(g.remote||g.path.endsWith(u)&&g.content===d){c.push({title:f,message:h,file:g.path,startLine:p}),m=!0;break}m||D(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${f}`)}return c}};var u8=R(require("fs"),1),d8=R(require("path"),1);var jD=class t{static{o(this,"History")}buildx;constructor(e){this.buildx=e?.buildx||new Dt}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=d8.default.join(mt.tmpDir(),"export");L(`exporting build record to ${s}`),u8.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=d8.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=u8.default.statSync(c);return{dockerbuildFilename:c,dockerbuildSize:d.size,builderName:r,nodeName:n,refs:i,summaries:a}}static exportFilename(e){let r=`${Ze.context.repo.owner}~${Ze.context.repo.repo}~${e[0].substring(0,6).toUpperCase()}`;return e.length>1&&(r+=`+${e.length-1}`),r}};var MPe=R(require("fs"),1),$Y=R(require("path"),1);var YIe=R(require("os"),1);function SI(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(SI,"toCommandValue");function f8(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(f8,"toCommandProperties");function BI(t,e,r){let n=new h8(t,e,r);process.stdout.write(n.toString()+YIe.EOL)}o(BI,"issueCommand");var WIe="::",h8=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=WIe+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}=${uEt(i)}`)}}return e+=`${WIe}${lEt(this.message)}`,e}};function lEt(t){return SI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(lEt,"escapeData");function uEt(t){return SI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(uEt,"escapeProperty");var eSe=R(require("os"),1);var XIe=require("os"),xI=require("fs");var p8=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:dEt,appendFile:fEt,writeFile:hEt}=xI.promises,KIe="GITHUB_STEP_SUMMARY";var A8=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return p8(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[KIe];if(!e)throw new Error(`Unable to find environment variable for $${KIe}. Check if your runtime environment supports job summaries.`);try{yield dEt(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 p8(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?hEt:fEt)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return p8(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(XIe.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()}},vIr=new A8;var m8=R(require("os"),1);var DIr=m8.default.platform(),QIr=m8.default.arch();var ZIe;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(ZIe||(ZIe={}));function $D(t){BI("add-mask",{},t)}o($D,"setSecret");function Xe(t){BI("debug",{},t)}o(Xe,"debug");function vI(t,e={}){BI("error",f8(e),t instanceof Error?t.toString():t)}o(vI,"error");function Ai(t,e={}){BI("warning",f8(e),t instanceof Error?t.toString():t)}o(Ai,"warning");function ct(t){process.stdout.write(t+eSe.EOL)}o(ct,"info");var tSe=R(require("os"),1);function Kp(){return 8*1024*1024}o(Kp,"getUploadChunkSize");function JD(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(JD,"getRuntimeToken");function rSe(){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(rSe,"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 nSe(){let t=process.env.GITHUB_WORKSPACE;if(!t)throw new Error("Unable to get the GITHUB_WORKSPACE env variable");return t}o(nSe,"getGitHubWorkspaceDir");function iSe(){let t=tSe.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,USe.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,MSe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,FSe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIo,"T")},{no:5,name:"version",kind:"scalar",T:5},{no:6,name:"mime_type",kind:"message",T:o(()=>Cn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCn,"T")},{no:4,name:"id_filter",kind:"message",T:o(()=>jy,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:""};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posC6,"T")}])}create(e){let r={artifacts:[]};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posIo,"T")},{no:7,name:"digest",kind:"message",T:o(()=>Cn,"T")}])}create(e){let r={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};return globalThis.Object.defineProperty(r,ma.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Aa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posQ6.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeArtifact(e){let r=k6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",r).then(i=>P6.fromJson(i,{ignoreUnknownFields:!0}))}ListArtifacts(e){let r=O6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",r).then(i=>L6.fromJson(i,{ignoreUnknownFields:!0}))}GetSignedArtifactURL(e){let r=F6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",r).then(i=>M6.fromJson(i,{ignoreUnknownFields:!0}))}DeleteArtifact(e){let r=U6.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",r).then(i=>q6.fromJson(i,{ignoreUnknownFields:!0}))}};function XSe(t){if(!t)return;let e=wbt();e&&e"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],[` +`," Line feed \\n"]]),ZSe=new Map([...G6,["\\"," Backslash \\"],["/"," Forward slash /"]]);function eBe(t){if(!t)throw new Error("Provided artifact name input during validation is empty");for(let[e,r]of ZSe)if(t.includes(e))throw new Error(`The artifact name is not valid: ${t}. Contains the following character: ${r} -Invalid characters include: ${Array.from(XSe.values()).toString()} +Invalid characters include: ${Array.from(ZSe.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(ZSe,"validateArtifactName");function G6(t){if(!t)throw new Error("Provided file path input during validation is empty");for(let[e,r]of q6)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(eBe,"validateArtifactName");function H6(t){if(!t)throw new Error("Provided file path input during validation is empty");for(let[e,r]of G6)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(q6.values()).toString()} +Invalid characters include: ${Array.from(G6.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(G6,"validateFilePath");var nBe=R(rBe(),1);function Ql(){return`@actions/artifact-${nBe.version}`}o(Ql,"getUserAgentString");var tE=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"}},uc=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}},sd=class extends Error{static{o(this,"ArtifactNotFoundError")}constructor(e="Artifact not found"){super(e),this.name="ArtifactNotFoundError"}},kf=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"}},od=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} + `)}o(H6,"validateFilePath");var iBe=R(nBe(),1);function Ql(){return`@actions/artifact-${iBe.version}`}o(Ql,"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"}},uc=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}},sd=class extends Error{static{o(this,"ArtifactNotFoundError")}constructor(e="Artifact not found"){super(e),this.name="ArtifactNotFoundError"}},kf=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"}},od=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"}};od.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var rA=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"}};rA.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 kl(){let t=JD(),e=zD(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 Xe(`Workflow Run Backend ID: ${s.workflowRunBackendId}`),Xe(`Workflow Job Run Backend ID: ${s.workflowJobRunBackendId}`),s}throw kQ}o(kl,"getBackendIdsFromToken");function iBe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&($D(r),$D(encodeURIComponent(r)))}catch(e){Xe(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(iBe,"maskSigUrl");function sBe(t){if(typeof t!="object"||t===null){Xe("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&iBe(t.signed_upload_url),"signed_url"in t&&typeof t.signed_url=="string"&&iBe(t.signed_url)}o(sBe,"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())})},H6=class{static{o(this,"ArtifactHttpClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=JD();this.baseUrl=tSe(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Mo(e,[new Zd(s)])}request(e,r,n,i){return PQ(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;Xe(`[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?[Gn.BadGateway,Gn.GatewayTimeout,Gn.InternalServerError,Gn.ServiceUnavailable,Gn.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 Pl(t){let e=new H6(Ql(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new QQ(e)}o(Pl,"internalArtifactTwirpClient");var nE=R(require("fs"),1);var rE=require("path");function oBe(t){if(!nE.existsSync(t))throw new Error(`The provided rootDirectory ${t} does not exist`);if(!nE.statSync(t).isDirectory())throw new Error(`The provided rootDirectory ${t} is not a valid directory`);ct("Root directory input is valid!")}o(oBe,"validateRootDirectory");function aBe(t,e){let r=[];e=(0,rE.normalize)(e),e=(0,rE.resolve)(e);for(let n of t){let i=nE.lstatSync(n,{throwIfNoEntry:!1});if(!i)throw new Error(`File ${n} does not exist`);if(i.isDirectory()){let s=n.replace(e,"");G6(s),r.push({sourcePath:null,destinationPath:s,stats:i})}else{if(n=(0,rE.normalize)(n),n=(0,rE.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,"");G6(s),r.push({sourcePath:n,destinationPath:s,stats:i})}}return r}o(aBe,"getUploadZipSpecification");var lBe=R(require("crypto"),1),uBe=R(require("stream"),1);var cBe=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 dBe(t,e,r){return cBe(this,void 0,void 0,function*(){let n=0,i=Date.now(),s=new AbortController,a=o(E=>cBe(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=nSe(),l=Kp(),d=new rc(t).getBlockBlobClient();Xe(`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,m=new uBe.PassThrough,g=lBe.createHash("sha256");e.pipe(m),e.pipe(g).setEncoding("hex"),ct("Beginning upload of artifact content to blob storage");try{yield Promise.race([d.uploadStream(m,l,c,h),a(iSe())])}catch(E){throw od.isNetworkErrorCode(E?.code)?new od(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&&Ai("No data was uploaded to blob storage. Reported upload byte count is 0."),{uploadSize:n,sha256Hash:p}})}o(dBe,"uploadToBlobStorage");var Ake=require("fs/promises"),mke=R(dke(),1);var fke=R(require("stream"),1),Vk=R(require("fs"),1),hke=require("fs/promises");var LPt=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())})},oB=class extends fke.Transform{static{o(this,"WaterMarkedUploadStream")}constructor(e){super({highWaterMark:e})}_transform(e,r,n){n(null,e)}};function pke(t){return LPt(this,void 0,void 0,function*(){Xe(`Creating raw file upload stream for: ${t}`);let e=Kp(),r=new oB(e),n=t;(yield Vk.promises.lstat(t)).isSymbolicLink()&&(n=yield(0,hke.realpath)(t));let s=Vk.createReadStream(n,{highWaterMark:e});return s.on("error",a=>{vI("An error has occurred while reading the file for upload"),vI(String(a)),r.destroy(new Error("An error has occurred during file read for the artifact"))}),s.pipe(r),r})}o(pke,"createRawFileUploadStream");var FPt=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())})},MPt=6;function gke(t){return FPt(this,arguments,void 0,function*(e,r=MPt){Xe(`Creating Artifact archive with compressionLevel: ${r}`);let n=mke.default.create("zip",{highWaterMark:Kp(),zlib:{level:r}});n.on("error",UPt),n.on("warning",qPt),n.on("finish",GPt),n.on("end",HPt);for(let a of e)if(a.sourcePath!==null){let c=a.sourcePath;a.stats.isSymbolicLink()&&(c=yield(0,Ake.realpath)(a.sourcePath)),n.file(c,{name:a.destinationPath})}else n.append("",{name:a.destinationPath});let i=Kp(),s=new oB(i);return Xe(`Zip write high watermark value ${s.writableHighWaterMark}`),Xe(`Zip read high watermark value ${s.readableHighWaterMark}`),n.pipe(s),n.finalize(),s})}o(gke,"createZipUploadStream");var UPt=o(t=>{throw vI("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"),qPt=o(t=>{t.code==="ENOENT"?(Ai("ENOENT warning during artifact zip creation. No such file or directory"),ct(t)):(Ai(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),ct(t))},"zipWarningCallback"),GPt=o(()=>{Xe("Zip stream for upload has finished.")},"zipFinishCallback"),HPt=o(()=>{Xe("Zip stream for upload has ended.")},"zipEndCallback");var yke=R(require("path"),1);var VPt={".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 Eke(t){let e=yke.extname(t).toLowerCase();return VPt[e]||"application/octet-stream"}o(Eke,"getMimeType");var zPt=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 wke(t,e,r,n){return zPt(this,void 0,void 0,function*(){let i=`${t}.zip`;if(n?.skipArchive){if(e.length===0)throw new tE([]);if(e.length>1)throw new Error("skipArchive option is only supported when uploading a single file");if(!Cke.existsSync(e[0]))throw new tE(e);i=bke.basename(e[0]),t=i}ZSe(t),oBe(r);let s=[];if(!n?.skipArchive&&(s=aBe(e,r),s.length===0))throw new tE(s.flatMap(y=>y.sourcePath?[y.sourcePath]:[]));let a=Eke(i),c=kl(),l=Pl(),u={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,mimeType:Cn.create({value:a}),version:7},d=KSe(n?.retentionDays);d&&(u.expiresAt=d);let f=yield l.CreateArtifact(u);if(!f.ok)throw new uc("CreateArtifact: response from backend was not ok");let h;n?.skipArchive?h=yield pke(e[0]):h=yield gke(s,n?.compressionLevel),ct(`Uploading artifact: ${i}`);let p=yield dBe(f.signedUploadUrl,h,a),m={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,size:p.uploadSize?p.uploadSize.toString():"0"};p.sha256Hash&&(m.hash=Cn.create({value:`sha256:${p.sha256Hash}`})),ct("Finalizing artifact upload");let g=yield l.FinalizeArtifact(m);if(!g.ok)throw new uc("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(wke,"uploadArtifact");var HY=R(require("fs/promises"),1),mPe=R(require("fs"),1),gPe=R(require("crypto"),1),yPe=R(require("stream"),1),Zk=R(require("path"),1);var zk=require("fs"),Ike=require("os");var KE=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${Ike.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 LY=R(Nke(),1),_ke=R(Kd(),1);var iOt=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 Rke(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(Rke,"getAuthString");function Tke(t){return new LY.HttpClient().getAgent(t)}o(Tke,"getProxyAgent");function sOt(t){return new LY.HttpClient().getAgentDispatcher(t)}o(sOt,"getProxyAgentDispatcher");function Dke(t){let e=sOt(t);return o((n,i)=>iOt(this,void 0,void 0,function*(){return(0,_ke.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(Dke,"getProxyFetch");function Qke(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(Qke,"getApiBaseUrl");var eQr=new KE,FY=Qke(),RA={baseUrl:FY,request:{agent:Tke(FY),fetch:Dke(FY)}},kke=Oy.plugin(CI,bI).defaults(RA);function Pke(t,e){let r=Object.assign({},e||{}),n=Rke(t,r);return n&&(r.auth=n),r}o(Pke,"getOctokitOptions");var iQr=new KE;function th(t,e,...r){let n=kke.plugin(...r);return new n(Pke(t,e))}o(th,"getOctokit");var EPe=R(APe(),1);var eC=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())})},CPe=o(t=>{let e=new URL(t);return e.search="",e.toString()},"scrubQueryParameters");function kOt(t){return eC(this,void 0,void 0,function*(){try{return yield HY.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}o(kOt,"exists");function bPe(t,e,r){return eC(this,void 0,void 0,function*(){let n=0;for(;n<5;)try{return yield POt(t,e,{skipDecompress:r})}catch(i){n++,Xe(`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(bPe,"streamExtract");function POt(t,e){return eC(this,arguments,void 0,function*(r,n,i={}){let{timeout:s=30*1e3,skipDecompress:a=!1}=i,l=yield new Mo(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"]||"",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,m=l.message.headers["content-disposition"]||"",g="artifact",E=m.match(/filename\*\s*=\s*UTF-8''([^;\r\n]*)/i),y=m.match(/(?{let v=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=>{Xe(`response.message: Artifact download failed: ${W.message}`),clearTimeout(v),Q(W)},"onError"),T=gPe.createHash("sha256").setEncoding("hex"),G=new yPe.PassThrough().on("data",()=>{v.refresh()}).on("error",j);l.message.pipe(G),G.pipe(T);let V=o(()=>{clearTimeout(v),T&&(T.end(),w=T.read(),ct(`SHA256 digest of downloaded artifact is ${w}`)),B({sha256Digest:`sha256:${w}`})},"onClose");if(p&&!a)G.pipe(EPe.default.Extract({path:n})).on("close",V).on("error",j);else{let W=Zk.join(n,g),ee=mPe.createWriteStream(W);ct(`Downloading raw file (non-zip) to: ${W}`),G.pipe(ee).on("close",V).on("error",j)}})})}o(POt,"streamExtractExternal");function wPe(t,e,r,n,i){return eC(this,void 0,void 0,function*(){let s=yield SPe(i?.path),a=th(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: ${CPe(d)}`);try{ct(`Starting download of artifact to: ${s}`);let f=yield bPe(d,s,i?.skipDecompress);ct("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==f.sha256Digest&&(c=!0,Xe(`Computed digest: ${f.sha256Digest}`),Xe(`Expected digest: ${i.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:s,digestMismatch:c}})}o(wPe,"downloadArtifactPublic");function IPe(t,e){return eC(this,void 0,void 0,function*(){let r=yield SPe(e?.path),n=Pl(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:a}=kl(),c={workflowRunBackendId:s,workflowJobRunBackendId:a,idFilter:$y.create({value:t.toString()})},{artifacts:l}=yield n.ListArtifacts(c);if(l.length===0)throw new sd(`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&&Ai("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: ${CPe(d)}`);try{ct(`Starting download of artifact to: ${r}`);let f=yield bPe(d,r,e?.skipDecompress);ct("Artifact download completed successfully."),e?.expectedHash&&e?.expectedHash!==f.sha256Digest&&(i=!0,Xe(`Computed digest: ${f.sha256Digest}`),Xe(`Expected digest: ${e.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:r,digestMismatch:i}})}o(IPe,"downloadArtifactInternal");function SPe(){return eC(this,arguments,void 0,function*(t=rSe()){return(yield kOt(t))?Xe(`Artifact destination folder already exists: ${t}`):(Xe(`Artifact destination folder does not exist, creating: ${t}`),yield HY.default.mkdir(t,{recursive:!0})),t})}o(SPe,"resolveOrCreateDirectory");var OOt=5,LOt=[400,401,403,404,422];function tC(t,e=OOt,r=LOt){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 Xe(`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(tC,"getRetryOptions");var BPe="6.0.0";function QA(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(QA,"requestLog");QA.VERSION=BPe;var NPe=R(xPe(),1);var FOt="0.0.0-development";function MOt(t){return t.request!==void 0}o(MOt,"isRequestError");async function vPe(t,e,r,n){if(!MOt(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(vPe,"errorRequest");async function UOt(t,e,r,n){let i=new NPe.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(qOt.bind(null,t,e,r),n)}o(UOt,"wrapRequest");async function qOt(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 td(i.data.errors[0].message,500,{request:n,response:i});return vPe(t,e,s,n)}return i}o(qOt,"requestWithGraphqlErrorHandling");function kA(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",vPe.bind(null,r,n)),t.hook.wrap("request",UOt.bind(null,r,n))),n}o(kA,"retry");kA.VERSION=FOt;var _Pe=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 _Pe(this,void 0,void 0,function*(){var s;let[a,c]=tC(RA),l={log:void 0,userAgent:Ql(),previews:void 0,retry:a,request:c},d=yield th(i,l,kA,QA).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 uc(`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 sd(`Artifact not found for name: ${t} +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"}};rA.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 kl(){let t=JD(),e=zD(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 Xe(`Workflow Run Backend ID: ${s.workflowRunBackendId}`),Xe(`Workflow Job Run Backend ID: ${s.workflowJobRunBackendId}`),s}throw kQ}o(kl,"getBackendIdsFromToken");function sBe(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&($D(r),$D(encodeURIComponent(r)))}catch(e){Xe(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(sBe,"maskSigUrl");function oBe(t){if(typeof t!="object"||t===null){Xe("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&sBe(t.signed_upload_url),"signed_url"in t&&typeof t.signed_url=="string"&&sBe(t.signed_url)}o(oBe,"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())})},V6=class{static{o(this,"ArtifactHttpClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=JD();this.baseUrl=rSe(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Mo(e,[new Zd(s)])}request(e,r,n,i){return PQ(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;Xe(`[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?[Gn.BadGateway,Gn.GatewayTimeout,Gn.InternalServerError,Gn.ServiceUnavailable,Gn.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 Pl(t){let e=new V6(Ql(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new QQ(e)}o(Pl,"internalArtifactTwirpClient");var rE=R(require("fs"),1);var tE=require("path");function aBe(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(aBe,"validateRootDirectory");function cBe(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,"");H6(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,"");H6(s),r.push({sourcePath:n,destinationPath:s,stats:i})}}return r}o(cBe,"getUploadZipSpecification");var uBe=R(require("crypto"),1),dBe=R(require("stream"),1);var lBe=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 fBe(t,e,r){return lBe(this,void 0,void 0,function*(){let n=0,i=Date.now(),s=new AbortController,a=o(E=>lBe(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=iSe(),l=Kp(),d=new rc(t).getBlockBlobClient();Xe(`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,m=new dBe.PassThrough,g=uBe.createHash("sha256");e.pipe(m),e.pipe(g).setEncoding("hex"),ct("Beginning upload of artifact content to blob storage");try{yield Promise.race([d.uploadStream(m,l,c,h),a(sSe())])}catch(E){throw od.isNetworkErrorCode(E?.code)?new od(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&&Ai("No data was uploaded to blob storage. Reported upload byte count is 0."),{uploadSize:n,sha256Hash:p}})}o(fBe,"uploadToBlobStorage");var mke=require("fs/promises"),gke=R(fke(),1);var hke=R(require("stream"),1),Vk=R(require("fs"),1),pke=require("fs/promises");var UPt=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())})},oB=class extends hke.Transform{static{o(this,"WaterMarkedUploadStream")}constructor(e){super({highWaterMark:e})}_transform(e,r,n){n(null,e)}};function Ake(t){return UPt(this,void 0,void 0,function*(){Xe(`Creating raw file upload stream for: ${t}`);let e=Kp(),r=new oB(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=>{vI("An error has occurred while reading the file for upload"),vI(String(a)),r.destroy(new Error("An error has occurred during file read for the artifact"))}),s.pipe(r),r})}o(Ake,"createRawFileUploadStream");var qPt=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())})},GPt=6;function yke(t){return qPt(this,arguments,void 0,function*(e,r=GPt){Xe(`Creating Artifact archive with compressionLevel: ${r}`);let n=gke.default.create("zip",{highWaterMark:Kp(),zlib:{level:r}});n.on("error",HPt),n.on("warning",VPt),n.on("finish",zPt),n.on("end",jPt);for(let a of e)if(a.sourcePath!==null){let c=a.sourcePath;a.stats.isSymbolicLink()&&(c=yield(0,mke.realpath)(a.sourcePath)),n.file(c,{name:a.destinationPath})}else n.append("",{name:a.destinationPath});let i=Kp(),s=new oB(i);return Xe(`Zip write high watermark value ${s.writableHighWaterMark}`),Xe(`Zip read high watermark value ${s.readableHighWaterMark}`),n.pipe(s),n.finalize(),s})}o(yke,"createZipUploadStream");var HPt=o(t=>{throw vI("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"),VPt=o(t=>{t.code==="ENOENT"?(Ai("ENOENT warning during artifact zip creation. No such file or directory"),ct(t)):(Ai(`A non-blocking warning has occurred during artifact zip creation: ${t.code}`),ct(t))},"zipWarningCallback"),zPt=o(()=>{Xe("Zip stream for upload has finished.")},"zipFinishCallback"),jPt=o(()=>{Xe("Zip stream for upload has ended.")},"zipEndCallback");var Eke=R(require("path"),1);var $Pt={".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 Cke(t){let e=Eke.extname(t).toLowerCase();return $Pt[e]||"application/octet-stream"}o(Cke,"getMimeType");var JPt=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 Ike(t,e,r,n){return JPt(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(!bke.existsSync(e[0]))throw new eE(e);i=wke.basename(e[0]),t=i}eBe(t),aBe(r);let s=[];if(!n?.skipArchive&&(s=cBe(e,r),s.length===0))throw new eE(s.flatMap(y=>y.sourcePath?[y.sourcePath]:[]));let a=Cke(i),c=kl(),l=Pl(),u={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,mimeType:Cn.create({value:a}),version:7},d=XSe(n?.retentionDays);d&&(u.expiresAt=d);let f=yield l.CreateArtifact(u);if(!f.ok)throw new uc("CreateArtifact: response from backend was not ok");let h;n?.skipArchive?h=yield Ake(e[0]):h=yield yke(s,n?.compressionLevel),ct(`Uploading artifact: ${i}`);let p=yield fBe(f.signedUploadUrl,h,a),m={workflowRunBackendId:c.workflowRunBackendId,workflowJobRunBackendId:c.workflowJobRunBackendId,name:t,size:p.uploadSize?p.uploadSize.toString():"0"};p.sha256Hash&&(m.hash=Cn.create({value:`sha256:${p.sha256Hash}`})),ct("Finalizing artifact upload");let g=yield l.FinalizeArtifact(m);if(!g.ok)throw new uc("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(Ike,"uploadArtifact");var VY=R(require("fs/promises"),1),gPe=R(require("fs"),1),yPe=R(require("crypto"),1),EPe=R(require("stream"),1),Zk=R(require("path"),1);var zk=require("fs"),Ske=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${Ske.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 FY=R(_ke(),1),Rke=R(Kd(),1);var aOt=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 Tke(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(Tke,"getAuthString");function Dke(t){return new FY.HttpClient().getAgent(t)}o(Dke,"getProxyAgent");function cOt(t){return new FY.HttpClient().getAgentDispatcher(t)}o(cOt,"getProxyAgentDispatcher");function Qke(t){let e=cOt(t);return o((n,i)=>aOt(this,void 0,void 0,function*(){return(0,Rke.fetch)(n,Object.assign(Object.assign({},i),{dispatcher:e}))}),"proxyFetch")}o(Qke,"getProxyFetch");function kke(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(kke,"getApiBaseUrl");var iQr=new YE,MY=kke(),RA={baseUrl:MY,request:{agent:Dke(MY),fetch:Qke(MY)}},Pke=Py.plugin(CI,bI).defaults(RA);function Oke(t,e){let r=Object.assign({},e||{}),n=Tke(t,r);return n&&(r.auth=n),r}o(Oke,"getOctokitOptions");var cQr=new YE;function th(t,e,...r){let n=Pke.plugin(...r);return new n(Oke(t,e))}o(th,"getOctokit");var CPe=R(mPe(),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())})},bPe=o(t=>{let e=new URL(t);return e.search="",e.toString()},"scrubQueryParameters");function LOt(t){return ZE(this,void 0,void 0,function*(){try{return yield VY.default.access(t),!0}catch(e){if(e.code==="ENOENT")return!1;throw e}})}o(LOt,"exists");function wPe(t,e,r){return ZE(this,void 0,void 0,function*(){let n=0;for(;n<5;)try{return yield FOt(t,e,{skipDecompress:r})}catch(i){n++,Xe(`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(wPe,"streamExtract");function FOt(t,e){return ZE(this,arguments,void 0,function*(r,n,i={}){let{timeout:s=30*1e3,skipDecompress:a=!1}=i,l=yield new Mo(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"]||"",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,m=l.message.headers["content-disposition"]||"",g="artifact",E=m.match(/filename\*\s*=\s*UTF-8''([^;\r\n]*)/i),y=m.match(/(?{let v=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=>{Xe(`response.message: Artifact download failed: ${W.message}`),clearTimeout(v),Q(W)},"onError"),T=yPe.createHash("sha256").setEncoding("hex"),H=new EPe.PassThrough().on("data",()=>{v.refresh()}).on("error",j);l.message.pipe(H),H.pipe(T);let V=o(()=>{clearTimeout(v),T&&(T.end(),w=T.read(),ct(`SHA256 digest of downloaded artifact is ${w}`)),B({sha256Digest:`sha256:${w}`})},"onClose");if(p&&!a)H.pipe(CPe.default.Extract({path:n})).on("close",V).on("error",j);else{let W=Zk.join(n,g),ee=gPe.createWriteStream(W);ct(`Downloading raw file (non-zip) to: ${W}`),H.pipe(ee).on("close",V).on("error",j)}})})}o(FOt,"streamExtractExternal");function IPe(t,e,r,n,i){return ZE(this,void 0,void 0,function*(){let s=yield BPe(i?.path),a=th(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: ${bPe(d)}`);try{ct(`Starting download of artifact to: ${s}`);let f=yield wPe(d,s,i?.skipDecompress);ct("Artifact download completed successfully."),i?.expectedHash&&i?.expectedHash!==f.sha256Digest&&(c=!0,Xe(`Computed digest: ${f.sha256Digest}`),Xe(`Expected digest: ${i.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:s,digestMismatch:c}})}o(IPe,"downloadArtifactPublic");function SPe(t,e){return ZE(this,void 0,void 0,function*(){let r=yield BPe(e?.path),n=Pl(),i=!1,{workflowRunBackendId:s,workflowJobRunBackendId:a}=kl(),c={workflowRunBackendId:s,workflowJobRunBackendId:a,idFilter:jy.create({value:t.toString()})},{artifacts:l}=yield n.ListArtifacts(c);if(l.length===0)throw new sd(`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&&Ai("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: ${bPe(d)}`);try{ct(`Starting download of artifact to: ${r}`);let f=yield wPe(d,r,e?.skipDecompress);ct("Artifact download completed successfully."),e?.expectedHash&&e?.expectedHash!==f.sha256Digest&&(i=!0,Xe(`Computed digest: ${f.sha256Digest}`),Xe(`Expected digest: ${e.expectedHash}`))}catch(f){throw new Error(`Unable to download and extract artifact: ${f.message}`)}return{downloadPath:r,digestMismatch:i}})}o(SPe,"downloadArtifactInternal");function BPe(){return ZE(this,arguments,void 0,function*(t=nSe()){return(yield LOt(t))?Xe(`Artifact destination folder already exists: ${t}`):(Xe(`Artifact destination folder does not exist, creating: ${t}`),yield VY.default.mkdir(t,{recursive:!0})),t})}o(BPe,"resolveOrCreateDirectory");var MOt=5,UOt=[400,401,403,404,422];function eC(t,e=MOt,r=UOt){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 Xe(`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 xPe="6.0.0";function QA(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(QA,"requestLog");QA.VERSION=xPe;var _Pe=R(vPe(),1);var qOt="0.0.0-development";function GOt(t){return t.request!==void 0}o(GOt,"isRequestError");async function NPe(t,e,r,n){if(!GOt(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(NPe,"errorRequest");async function HOt(t,e,r,n){let i=new _Pe.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(VOt.bind(null,t,e,r),n)}o(HOt,"wrapRequest");async function VOt(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 td(i.data.errors[0].message,500,{request:n,response:i});return NPe(t,e,s,n)}return i}o(VOt,"requestWithGraphqlErrorHandling");function kA(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",NPe.bind(null,r,n)),t.hook.wrap("request",HOt.bind(null,r,n))),n}o(kA,"retry");kA.VERSION=qOt;var RPe=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 RPe(this,void 0,void 0,function*(){var s;let[a,c]=eC(RA),l={log:void 0,userAgent:Ql(),previews:void 0,retry:a,request:c},d=yield th(i,l,kA,QA).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 uc(`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 sd(`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],Xe(`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 RPe(t){return _Pe(this,void 0,void 0,function*(){var e;let r=Pl(),{workflowRunBackendId:n,workflowJobRunBackendId:i}=kl(),s={workflowRunBackendId:n,workflowJobRunBackendId:i,nameFilter:Cn.create({value:t})},a=yield r.ListArtifacts(s);if(a.artifacts.length===0)throw new sd(`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 f=d.data.artifacts[0];return d.data.artifacts.length>1&&(f=d.data.artifacts.sort((h,p)=>p.id-h.id)[0],Xe(`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 TPe(t){return RPe(this,void 0,void 0,function*(){var e;let r=Pl(),{workflowRunBackendId:n,workflowJobRunBackendId:i}=kl(),s={workflowRunBackendId:n,workflowJobRunBackendId:i,nameFilter:Cn.create({value:t})},a=yield r.ListArtifacts(s);if(a.artifacts.length===0)throw new sd(`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],Xe(`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?Io.toDate(c.createdAt):void 0,digest:(e=c.digest)===null||e===void 0?void 0:e.value}}})}o(RPe,"getArtifactInternal");var TPe=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 DPe(t,e,r,n,i){return TPe(this,void 0,void 0,function*(){var s;let[a,c]=tC(RA),l={log:void 0,userAgent:Ql(),previews:void 0,retry:a,request:c},u=th(i,l,kA,QA),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 uc(`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(DPe,"deleteArtifactPublic");function QPe(t){return TPe(this,void 0,void 0,function*(){let e=Pl(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=kl(),i={workflowRunBackendId:r,workflowJobRunBackendId:n,nameFilter:Cn.create({value:t})},s=yield e.ListArtifacts(i);if(s.artifacts.length===0)throw new sd(`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],Xe(`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(QPe,"deleteArtifactInternal");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())})},tP=sSe(),rP=100,GOt=Math.ceil(tP/rP);function PPe(t,e,r,n){return kPe(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]=tC(RA),h={log:void 0,userAgent:Ql(),previews:void 0,retry:d,request:f},p=th(c,h,kA,QA),m=1,{data:g}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:rP,page:m}),E=Math.ceil(g.total_count/rP),y=g.total_count;y>tP&&(Ai(`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=GOt);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(m++,m;m<=E;m++){Xe(`Fetching page ${m} 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:m});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=LPe(u)),ct(`Found ${u.length} artifact(s)`),{artifacts:u}})}o(PPe,"listArtifactsPublic");function OPe(){return kPe(this,arguments,void 0,function*(t=!1){let e=Pl(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=kl(),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?Io.toDate(c.createdAt):void 0,digest:(l=c.digest)===null||l===void 0?void 0:l.value}});return t&&(a=LPe(a)),ct(`Found ${a.length} artifact(s)`),{artifacts:a}})}o(OPe,"listArtifactsInternal");function LPe(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(LPe,"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(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())})},HOt=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],Xe(`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?Io.toDate(c.createdAt):void 0,digest:(e=c.digest)===null||e===void 0?void 0:e.value}}})}o(TPe,"getArtifactInternal");var DPe=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 QPe(t,e,r,n,i){return DPe(this,void 0,void 0,function*(){var s;let[a,c]=eC(RA),l={log:void 0,userAgent:Ql(),previews:void 0,retry:a,request:c},u=th(i,l,kA,QA),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 uc(`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(QPe,"deleteArtifactPublic");function kPe(t){return DPe(this,void 0,void 0,function*(){let e=Pl(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=kl(),i={workflowRunBackendId:r,workflowJobRunBackendId:n,nameFilter:Cn.create({value:t})},s=yield e.ListArtifacts(i);if(s.artifacts.length===0)throw new sd(`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],Xe(`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(kPe,"deleteArtifactInternal");var PPe=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=oSe(),rP=100,zOt=Math.ceil(tP/rP);function OPe(t,e,r,n){return PPe(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(RA),h={log:void 0,userAgent:Ql(),previews:void 0,retry:d,request:f},p=th(c,h,kA,QA),m=1,{data:g}=yield p.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:s,repo:a,run_id:i,per_page:rP,page:m}),E=Math.ceil(g.total_count/rP),y=g.total_count;y>tP&&(Ai(`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=zOt);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(m++,m;m<=E;m++){Xe(`Fetching page ${m} 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:m});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=FPe(u)),ct(`Found ${u.length} artifact(s)`),{artifacts:u}})}o(OPe,"listArtifactsPublic");function LPe(){return PPe(this,arguments,void 0,function*(t=!1){let e=Pl(),{workflowRunBackendId:r,workflowJobRunBackendId:n}=kl(),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?Io.toDate(c.createdAt):void 0,digest:(l=c.digest)===null||l===void 0?void 0:l.value}});return t&&(a=FPe(a)),ct(`Found ${a.length} artifact(s)`),{artifacts:a}})}o(LPe,"listArtifactsInternal");function FPe(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(FPe,"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(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())})},jOt=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??null}}o(Pi,"defineScalarTag");function tK(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??null,represent:e.represent??(n=>n),representTagName:e.representTagName??null}}o(tK,"defineSequenceTag");function cP(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??null,represent:e.represent??(n=>n),representTagName:e.representTagName??null}}o(cP,"defineMappingTag");var zOt=Pi("tag:yaml.org,2002:str",{resolve:o(t=>t,"resolve"),identify:o(t=>typeof t=="string","identify")}),jOt=["","~","null","Null","NULL"],$Ot=Pi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>jOt.indexOf(t)!==-1?null:kt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),JOt=Pi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["n"],resolve:o((t,e)=>t==="null"||e&&t===""?null:kt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),WOt=["","~","null","Null","NULL"],YOt=Pi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>WOt.indexOf(t)!==-1?null:kt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),KOt=["true","True","TRUE"],XOt=["false","False","FALSE"],ZOt=Pi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","T","f","F"],resolve:o(t=>KOt.indexOf(t)!==-1?!0:XOt.indexOf(t)!==-1?!1:kt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),eLt=["true"],tLt=["false"],rLt=Pi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","f"],resolve:o(t=>eLt.indexOf(t)!==-1?!0:tLt.indexOf(t)!==-1?!1:kt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),nLt=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"],iLt=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"],sLt=Pi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:o(t=>nLt.indexOf(t)!==-1?!0:iLt.indexOf(t)!==-1?!1:kt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),oLt=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"),aLt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function cLt(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(cLt,"parseYamlInteger$2");function lLt(t,e){if(e){if(!aLt.test(t))return kt}else if(!oLt.test(t))return kt;let r=cLt(t);return Number.isFinite(r)?r:kt}o(lLt,"resolveYamlInteger$2");var KPe=Pi("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")}),uLt=new RegExp("^-?(?:0|[1-9][0-9]*)$"),dLt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function fLt(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(fLt,"parseYamlInteger$1");function hLt(t,e){if(e){if(!dLt.test(t))return kt}else if(!uLt.test(t))return kt;let r=fLt(t);return Number.isFinite(r)?r:kt}o(hLt,"resolveYamlInteger$1");var pLt=Pi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:hLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),ALt=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 mLt(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(mLt,"parseYamlInteger");function gLt(t){if(!ALt.test(t))return kt;let e=mLt(t);return Number.isFinite(e)?e:kt}o(gLt,"resolveYamlInteger");var JY=Pi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:gLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),yLt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),ELt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function CLt(t){if(!yLt.test(t))return kt;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)||ELt.test(t)?n:kt}o(CLt,"resolveYamlFloat$2");function bLt(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(bLt,"representYamlFloat$2");var XPe=Pi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:CLt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:bLt}),wLt=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"),ILt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function SLt(t,e){if(e){if(!ILt.test(t))return kt;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:kt}if(!wLt.test(t))return kt;let r=Number(t);return Number.isFinite(r)?r:kt}o(SLt,"resolveYamlFloat$1");function BLt(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(BLt,"representYamlFloat$1");var xLt=Pi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:SLt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:BLt}),vLt=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))$"),NLt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function _Lt(t){if(!vLt.test(t))return kt;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)||NLt.test(t)?n:kt}o(_Lt,"resolveYamlFloat");function RLt(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(RLt,"representYamlFloat");var WY=Pi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:_Lt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:RLt}),TLt=Pi("tag:yaml.org,2002:merge",{implicit:!0,implicitFirstChars:["<"],resolve:o((t,e)=>t==="<<"||e&&t===""?VOt:kt,"resolve")}),DLt=/^[A-Za-z0-9+/]*={0,2}$/;function QLt(t){let e=t.replace(/\s/g,"");if(e.length%4!==0||!DLt.test(e))return kt;let r=atob(e),n=new Uint8Array(r.length);for(let i=0;iObject.prototype.toString.call(t)==="[object Uint8Array]","identify"),represent:kLt}),OLt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),LLt=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 FLt(t){let e=OLt.exec(t);if(e===null&&(e=LLt.exec(t)),e===null)return kt;let r=+e[1],n=+e[2]-1,i=+e[3];if(!e[4]){let d=new Date(Date.UTC(r,n,i));return d.getUTCFullYear()!==r||d.getUTCMonth()!==n||d.getUTCDate()!==i?kt:d}let s=+e[4],a=+e[5],c=+e[6],l=0;if(s>23||a>59||c>59)return kt;if(e[7]){let d=e[7].slice(0,3);for(;d.length<3;)d+="0";l=+d}let u=new Date(Date.UTC(r,n,i,s,a,c,l));if(u.getUTCFullYear()!==r||u.getUTCMonth()!==n||u.getUTCDate()!==i)return kt;if(e[9]){let d=+e[10],f=+(e[11]||0);if(d>23||f>59)return kt;let h=(d*60+f)*6e4;u.setTime(u.getTime()-(e[9]==="-"?-h:h))}return u}o(FLt,"resolveYamlTimestamp");var MLt=Pi("tag:yaml.org,2002:timestamp",{implicit:!0,implicitFirstChars:[..."0123456789"],resolve:FLt,identify:o(t=>t instanceof Date,"identify"),represent:o(t=>t.toISOString(),"represent")}),ULt=tK("tag:yaml.org,2002:seq",{create:o(()=>[],"create"),addItem:o((t,e)=>{t.push(e)},"addItem"),identify:Array.isArray}),qLt=tK("tag:yaml.org,2002:omap",{create:o(()=>[],"create"),addItem:o((t,e)=>{if(Object.prototype.toString.call(e)!=="[object Object]")return"cannot resolve an ordered map item";let r=e,n=Object.keys(r);if(n.length!==1)return"cannot resolve an ordered map item";for(let i of t)if(Object.prototype.hasOwnProperty.call(i,n[0]))return"cannot resolve an ordered map item";return t.push(r),""},"addItem")}),GLt=tK("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")});function rK(t){if(t===null||typeof t!="object"||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}o(rK,"isPlainObject");function HLt(t,e){let r={};for(let n of e)t[n]!==void 0&&(r[n]=t[n]);return r}o(HLt,"pick");var VLt=cP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:rK,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)=>t[String(e)],"get")}),zLt=cP("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 jLt(){return{scalar:{},sequence:{},mapping:{}}}o(jLt,"createTagDefinitionMap");function $Lt(){return{scalar:[],sequence:[],mapping:[]}}o($Lt,"createTagDefinitionListMap");function JLt(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}withTags(...e){let r=[];for(let n of e)r=r.concat(n);return new ZPe([...this.tags,...r])}},nK=new lP([zOt,ULt,VLt]),okr=new lP([...nK.tags,JOt,rLt,pLt,xLt]),WLt=new lP([...nK.tags,$Ot,ZOt,KPe,XPe]),YLt=new lP([...nK.tags,YOt,sLt,JY,WY,MLt,TLt,PLt,qLt,GLt,zLt]),akr=cP("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||rK(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 UPe(t){if(Array.isArray(t)){let e=Array.prototype.slice.call(t);for(let r=0;r({}),"create"),identify:rK,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=UPe(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=UPe(e);return r!==null&&Object.prototype.hasOwnProperty.call(t,r)},"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>t[String(e)],"get")});function qPe(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 ekr=new tC;var nP=class{static{o(this,"GitHubArtifact")}static async upload(e){if(Ze.isGHES)throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.");let r=$Y.default.basename(e.filename),n=new tC;L(`Uploading ${r} as an artifact`);let i=$Y.default.dirname(e.filename),s=await n.uploadArtifact(r,[e.filename],i,{retentionDays:e.retentionDays,skipArchive:!0});if(!s.id)throw new uc("Cannot upload artifact");let a=s.size??MPe.default.statSync(e.filename).size,c=`${Ze.workflowRunURL()}/artifacts/${s.id}`;return L(`Artifact download URL: ${c}`),{id:s.id,filename:r,digest:s.digest||"",size:a,url:c}}};var uK=R(UPe(),1);var kt=Symbol("NOT_RESOLVED"),$Ot=Symbol("MERGE_KEY");function Pi(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??null,represent:e.represent??(r=>String(r)),representTagName:e.representTagName??null}}o(Pi,"defineScalarTag");function rK(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??null,represent:e.represent??(n=>n),representTagName:e.representTagName??null}}o(rK,"defineSequenceTag");function cP(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??null,represent:e.represent??(n=>n),representTagName:e.representTagName??null}}o(cP,"defineMappingTag");var JOt=Pi("tag:yaml.org,2002:str",{resolve:o(t=>t,"resolve"),identify:o(t=>typeof t=="string","identify")}),WOt=["","~","null","Null","NULL"],YOt=Pi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>WOt.indexOf(t)!==-1?null:kt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),KOt=Pi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["n"],resolve:o((t,e)=>t==="null"||e&&t===""?null:kt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),XOt=["","~","null","Null","NULL"],ZOt=Pi("tag:yaml.org,2002:null",{implicit:!0,implicitFirstChars:["","~","n","N"],resolve:o(t=>XOt.indexOf(t)!==-1?null:kt,"resolve"),identify:o(t=>t===null,"identify"),represent:o(()=>"null","represent")}),eLt=["true","True","TRUE"],tLt=["false","False","FALSE"],rLt=Pi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","T","f","F"],resolve:o(t=>eLt.indexOf(t)!==-1?!0:tLt.indexOf(t)!==-1?!1:kt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),nLt=["true"],iLt=["false"],sLt=Pi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["t","f"],resolve:o(t=>nLt.indexOf(t)!==-1?!0:iLt.indexOf(t)!==-1?!1:kt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),oLt=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"],aLt=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"],cLt=Pi("tag:yaml.org,2002:bool",{implicit:!0,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:o(t=>oLt.indexOf(t)!==-1?!0:aLt.indexOf(t)!==-1?!1:kt,"resolve"),identify:o(t=>Object.prototype.toString.call(t)==="[object Boolean]","identify"),represent:o(t=>t?"true":"false","represent")}),lLt=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"),uLt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function dLt(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(dLt,"parseYamlInteger$2");function fLt(t,e){if(e){if(!uLt.test(t))return kt}else if(!lLt.test(t))return kt;let r=dLt(t);return Number.isFinite(r)?r:kt}o(fLt,"resolveYamlInteger$2");var XPe=Pi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:fLt,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("^-?(?:0|[1-9][0-9]*)$"),pLt=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function ALt(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(ALt,"parseYamlInteger$1");function mLt(t,e){if(e){if(!pLt.test(t))return kt}else if(!hLt.test(t))return kt;let r=ALt(t);return Number.isFinite(r)?r:kt}o(mLt,"resolveYamlInteger$1");var gLt=Pi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:mLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),yLt=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 ELt(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(ELt,"parseYamlInteger");function CLt(t){if(!yLt.test(t))return kt;let e=ELt(t);return Number.isFinite(e)?e:kt}o(CLt,"resolveYamlInteger");var WY=Pi("tag:yaml.org,2002:int",{implicit:!0,implicitFirstChars:["-","+",..."0123456789"],resolve:CLt,identify:o(t=>Number.isInteger(t)&&!Object.is(t,-0)&&t.toString(10).indexOf("e")<0,"identify"),represent:o(t=>t.toString(10),"represent")}),bLt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),wLt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function ILt(t){if(!bLt.test(t))return kt;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)||wLt.test(t)?n:kt}o(ILt,"resolveYamlFloat$2");function SLt(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(SLt,"representYamlFloat$2");var ZPe=Pi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:ILt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:SLt}),BLt=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"),xLt=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function vLt(t,e){if(e){if(!xLt.test(t))return kt;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:kt}if(!BLt.test(t))return kt;let r=Number(t);return Number.isFinite(r)?r:kt}o(vLt,"resolveYamlFloat$1");function NLt(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(NLt,"representYamlFloat$1");var _Lt=Pi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-",..."0123456789"],resolve:vLt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:NLt}),RLt=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))$"),TLt=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function DLt(t){if(!RLt.test(t))return kt;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)||TLt.test(t)?n:kt}o(DLt,"resolveYamlFloat");function QLt(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(QLt,"representYamlFloat");var YY=Pi("tag:yaml.org,2002:float",{implicit:!0,implicitFirstChars:["-","+",".",..."0123456789"],resolve:DLt,identify:o(t=>typeof t=="number"&&(!Number.isInteger(t)||Object.is(t,-0)||t.toString(10).indexOf("e")>=0),"identify"),represent:QLt}),kLt=Pi("tag:yaml.org,2002:merge",{implicit:!0,implicitFirstChars:["<"],resolve:o((t,e)=>t==="<<"||e&&t===""?$Ot:kt,"resolve")}),PLt=/^[A-Za-z0-9+/]*={0,2}$/;function OLt(t){let e=t.replace(/\s/g,"");if(e.length%4!==0||!PLt.test(e))return kt;let r=atob(e),n=new Uint8Array(r.length);for(let i=0;iObject.prototype.toString.call(t)==="[object Uint8Array]","identify"),represent:LLt}),MLt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ULt=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 qLt(t){let e=MLt.exec(t);if(e===null&&(e=ULt.exec(t)),e===null)return kt;let r=+e[1],n=+e[2]-1,i=+e[3];if(!e[4]){let d=new Date(Date.UTC(r,n,i));return d.getUTCFullYear()!==r||d.getUTCMonth()!==n||d.getUTCDate()!==i?kt:d}let s=+e[4],a=+e[5],c=+e[6],l=0;if(s>23||a>59||c>59)return kt;if(e[7]){let d=e[7].slice(0,3);for(;d.length<3;)d+="0";l=+d}let u=new Date(Date.UTC(r,n,i,s,a,c,l));if(u.getUTCFullYear()!==r||u.getUTCMonth()!==n||u.getUTCDate()!==i)return kt;if(e[9]){let d=+e[10],f=+(e[11]||0);if(d>23||f>59)return kt;let h=(d*60+f)*6e4;u.setTime(u.getTime()-(e[9]==="-"?-h:h))}return u}o(qLt,"resolveYamlTimestamp");var GLt=Pi("tag:yaml.org,2002:timestamp",{implicit:!0,implicitFirstChars:[..."0123456789"],resolve:qLt,identify:o(t=>t instanceof Date,"identify"),represent:o(t=>t.toISOString(),"represent")}),HLt=rK("tag:yaml.org,2002:seq",{create:o(()=>[],"create"),addItem:o((t,e)=>{t.push(e)},"addItem"),identify:Array.isArray}),VLt=rK("tag:yaml.org,2002:omap",{create:o(()=>[],"create"),addItem:o((t,e)=>{if(Object.prototype.toString.call(e)!=="[object Object]")return"cannot resolve an ordered map item";let r=e,n=Object.keys(r);if(n.length!==1)return"cannot resolve an ordered map item";for(let i of t)if(Object.prototype.hasOwnProperty.call(i,n[0]))return"cannot resolve an ordered map item";return t.push(r),""},"addItem")}),zLt=rK("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")});function nK(t){if(t===null||typeof t!="object"||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}o(nK,"isPlainObject");function jLt(t,e){let r={};for(let n of e)t[n]!==void 0&&(r[n]=t[n]);return r}o(jLt,"pick");var $Lt=cP("tag:yaml.org,2002:map",{create:o(()=>({}),"create"),identify:nK,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)=>t[String(e)],"get")}),JLt=cP("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 WLt(){return{scalar:{},sequence:{},mapping:{}}}o(WLt,"createTagDefinitionMap");function YLt(){return{scalar:[],sequence:[],mapping:[]}}o(YLt,"createTagDefinitionListMap");function KLt(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}withTags(...e){let r=[];for(let n of e)r=r.concat(n);return new eOe([...this.tags,...r])}},iK=new lP([JOt,HLt,$Lt]),ukr=new lP([...iK.tags,KOt,sLt,gLt,_Lt]),XLt=new lP([...iK.tags,YOt,rLt,XPe,ZPe]),ZLt=new lP([...iK.tags,ZOt,cLt,WY,YY,GLt,kLt,FLt,VLt,zLt,JLt]),dkr=cP("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||nK(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 qPe(t){if(Array.isArray(t)){let e=Array.prototype.slice.call(t);for(let r=0;r({}),"create"),identify:nK,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=qPe(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=qPe(e);return r!==null&&Object.prototype.hasOwnProperty.call(t,r)},"has"),keys:o(t=>Object.keys(t),"keys"),get:o((t,e)=>t[String(e)],"get")});function GPe(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(qPe,"formatError");var KLt=class extends Error{static{o(this,"YAMLException")}reason;mark;constructor(t,e){super(),this.name="YAMLException",this.reason=t,this.mark=e,this.message=qPe(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(t){return`${this.name}: ${qPe(this,t)}`}};function GPe(t){switch(t){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return` -`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xA0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}o(GPe,"simpleEscapeSequence");var XLt=new Array(256),ZLt=new Array(256);for(let t=0;t<256;t++)XLt[t]=GPe(t)?1:0,ZLt[t]=GPe(t);function $Y(t){return encodeURI(t).replace(/!/g,"%21")}o($Y,"tagPercentEncode");function eOe(t){let e=t;return e.charCodeAt(0)===33?(e=e.slice(1),`!${$Y(e)}`):e.slice(0,18)==="tag:yaml.org,2002:"?`!!${$Y(e.slice(18))}`:`!<${$Y(e)}>`}o(eOe,"tagNameShort");var eFt={filename:"",schema:WLt,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};var YY=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,tOe=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,lkr=new RegExp(`^(?:${YY})*$`),ukr=new RegExp(`^(?:${tOe})+$`),dkr=new RegExp(`^(?:!(?:${YY})*|${tOe}(?:${YY})*)$`),tFt={filename:"",maxDepth:100};var fkr={...tFt,...eFt};var sP=class{static{o(this,"Style")}tagged=!1;flow=!1;singleQuoted=!1;doubleQuoted=!1;literal=!1;folded=!1},PA=Symbol("INVALID");function rFt(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(rFt,"buildRepresentTypes");function nFt(t,e){for(let r=0,n=t.representTypes.length;r`}o(tOe,"tagNameShort");var nFt={filename:"",schema:XLt,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};var KY=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,rOe=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,hkr=new RegExp(`^(?:${KY})*$`),pkr=new RegExp(`^(?:${rOe})+$`),Akr=new RegExp(`^(?:!(?:${KY})*|${rOe}(?:${KY})*)$`),iFt={filename:"",maxDepth:100};var mkr={...iFt,...nFt};var sP=class{static{o(this,"Style")}tagged=!1;flow=!1;singleQuoted=!1;doubleQuoted=!1;literal=!1;folded=!1},PA=Symbol("INVALID");function sFt(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(sFt,"buildRepresentTypes");function oFt(t,e){for(let r=0,n=t.representTypes.length;r=32&&t<=126||t>=161&&t<=55295&&t!==8232&&t!==8233||t>=57344&&t<=65533&&t!==iK||t>=65536&&t<=1114111}o(gB,"isPrintable");function zPe(t){return gB(t)&&t!==iK&&t!==nOe&&t!==OA}o(zPe,"isNsCharOrWhitespace");function ZY(t,e,r){let n=zPe(t),i=n&&!iC(t);return(r?n:n&&t!==oOe&&t!==cOe&&t!==lOe&&t!==uOe&&t!==dOe)&&t!==KY&&!(e===mB&&!i)||zPe(e)&&!iC(e)&&t===KY||e===mB&&i}o(ZY,"isPlainSafe");function IFt(t){return gB(t)&&t!==iK&&!iC(t)&&t!==sK&&t!==aOe&&t!==mB&&t!==oOe&&t!==cOe&&t!==lOe&&t!==uOe&&t!==dOe&&t!==KY&&t!==dFt&&t!==fFt&&t!==lFt&&t!==gFt&&t!==hFt&&t!==pFt&&t!==sOe&&t!==iOe&&t!==uFt&&t!==AFt&&t!==mFt}o(IFt,"isPlainSafeFirst");function SFt(t,e){let r=nC(t,0);if(IFt(r))return!0;if(t.length>1&&(r===sK||r===aOe||r===mB)){let n=nC(t,1);return!iC(n)&&ZY(n,r,e)}return!1}o(SFt,"isPlainSafeAtStart");function BFt(t){return!iC(t)&&t!==mB}o(BFt,"isPlainSafeLast");function nC(t,e){let r=t.charCodeAt(e),n;return r>=55296&&r<=56319&&e+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}o(nC,"codePointAt");function fOe(t){return/^\n* /.test(t)}o(fOe,"needIndentIndicator");var yB=1,AB=2,aK=3,cK=4,sh=5;function xFt(t,e,r,n,i,s){let{blockIndent:a,lineWidth:c}=r,l,u=0,d=-1,f=!1,h=!1,p=c!==-1,m=-1,g=!wFt(e)&&SFt(e,s)&&BFt(nC(e,e.length-1));if(n||i)for(l=0;l=65536?l+=2:l++){if(u=nC(e,l),!gB(u))return sh;g=g&&ZY(u,d,s),d=u}else{for(l=0;l=65536?l+=2:l++){if(u=nC(e,l),u===OA)f=!0,p&&(h=h||l-m-1>c&&e[m+1]!==" ",m=l);else if(!gB(u))return sh;g=g&&ZY(u,d,s),d=u}h=h||p&&l-m-1>c&&e[m+1]!==" "}return!f&&!h?g&&!i?yB:t.quoteStyle==="double"?sh:AB:a>9&&fOe(e)?sh:h?cK:aK}o(xFt,"chooseScalarStyle");function vFt(t,e,r){let{indent:n,blockIndent:i,lineWidth:s}=r;switch(e){case yB:return $Pe(t,n);case AB:return`'${$Pe(t,n).replace(/'/g,"''")}'`;case aK:return"|"+jPe(t,i)+JPe(HPe(t,n));case cK:return">"+jPe(t,i)+JPe(HPe(_Ft(t,s),n));case sh:return`"${RFt(t)}"`}}o(vFt,"renderScalarStyle");function NFt(t,e,r,n,i){let s=n||!i;if(e.style.singleQuoted)return AB;if(e.style.doubleQuoted)return sh;if(!s){if(e.style.literal)return aK;if(e.style.folded)return cK}let a=e.value;if(a.length===0)return e.style.tagged||VPe(t,a)===e.tag?yB:t.quoteStyle==="double"?sh:AB;let c=xFt(t,a,r,s,t.forceQuotes&&!n,i);return c===yB&&!e.style.tagged&&VPe(t,a)!==e.tag?t.quoteStyle==="double"?sh:AB:c}o(NFt,"resolveScalarStyle");function jPe(t,e){let r=fOe(t)?String(e):"",n=t[t.length-1]===` +`&&(i+=r),i+=a}return i}o(VPe,"indentString");function ZY(t,e){return` +${" ".repeat(t.indent*e)}`}o(ZY,"generateNextLine");function SFt(t,e){let r=t.indent*Math.max(1,e);return{indent:r,blockIndent:e===0?t.indent+1:t.indent,lineWidth:t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-r)}}o(SFt,"scalarLayout");function zPe(t,e){for(let r=0,n=t.implicitResolvers.length;r=32&&t<=126||t>=161&&t<=55295&&t!==8232&&t!==8233||t>=57344&&t<=65533&&t!==sK||t>=65536&&t<=1114111}o(gB,"isPrintable");function jPe(t){return gB(t)&&t!==sK&&t!==iOe&&t!==OA}o(jPe,"isNsCharOrWhitespace");function eK(t,e,r){let n=jPe(t),i=n&&!nC(t);return(r?n:n&&t!==aOe&&t!==lOe&&t!==uOe&&t!==dOe&&t!==fOe)&&t!==XY&&!(e===mB&&!i)||jPe(e)&&!nC(e)&&t===XY||e===mB&&i}o(eK,"isPlainSafe");function xFt(t){return gB(t)&&t!==sK&&!nC(t)&&t!==oK&&t!==cOe&&t!==mB&&t!==aOe&&t!==lOe&&t!==uOe&&t!==dOe&&t!==fOe&&t!==XY&&t!==pFt&&t!==AFt&&t!==fFt&&t!==CFt&&t!==mFt&&t!==gFt&&t!==oOe&&t!==sOe&&t!==hFt&&t!==yFt&&t!==EFt}o(xFt,"isPlainSafeFirst");function vFt(t,e){let r=rC(t,0);if(xFt(r))return!0;if(t.length>1&&(r===oK||r===cOe||r===mB)){let n=rC(t,1);return!nC(n)&&eK(n,r,e)}return!1}o(vFt,"isPlainSafeAtStart");function NFt(t){return!nC(t)&&t!==mB}o(NFt,"isPlainSafeLast");function rC(t,e){let r=t.charCodeAt(e),n;return r>=55296&&r<=56319&&e+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}o(rC,"codePointAt");function hOe(t){return/^\n* /.test(t)}o(hOe,"needIndentIndicator");var yB=1,AB=2,cK=3,lK=4,sh=5;function _Ft(t,e,r,n,i,s){let{blockIndent:a,lineWidth:c}=r,l,u=0,d=-1,f=!1,h=!1,p=c!==-1,m=-1,g=!BFt(e)&&vFt(e,s)&&NFt(rC(e,e.length-1));if(n||i)for(l=0;l=65536?l+=2:l++){if(u=rC(e,l),!gB(u))return sh;g=g&&eK(u,d,s),d=u}else{for(l=0;l=65536?l+=2:l++){if(u=rC(e,l),u===OA)f=!0,p&&(h=h||l-m-1>c&&e[m+1]!==" ",m=l);else if(!gB(u))return sh;g=g&&eK(u,d,s),d=u}h=h||p&&l-m-1>c&&e[m+1]!==" "}return!f&&!h?g&&!i?yB:t.quoteStyle==="double"?sh:AB:a>9&&hOe(e)?sh:h?lK:cK}o(_Ft,"chooseScalarStyle");function RFt(t,e,r){let{indent:n,blockIndent:i,lineWidth:s}=r;switch(e){case yB:return JPe(t,n);case AB:return`'${JPe(t,n).replace(/'/g,"''")}'`;case cK:return"|"+$Pe(t,i)+WPe(VPe(t,n));case lK:return">"+$Pe(t,i)+WPe(VPe(DFt(t,s),n));case sh:return`"${QFt(t)}"`}}o(RFt,"renderScalarStyle");function TFt(t,e,r,n,i){let s=n||!i;if(e.style.singleQuoted)return AB;if(e.style.doubleQuoted)return sh;if(!s){if(e.style.literal)return cK;if(e.style.folded)return lK}let a=e.value;if(a.length===0)return e.style.tagged||zPe(t,a)===e.tag?yB:t.quoteStyle==="double"?sh:AB;let c=_Ft(t,a,r,s,t.forceQuotes&&!n,i);return c===yB&&!e.style.tagged&&zPe(t,a)!==e.tag?t.quoteStyle==="double"?sh:AB:c}o(TFt,"resolveScalarStyle");function $Pe(t,e){let r=hOe(t)?String(e):"",n=t[t.length-1]===` `;return`${r}${n&&(t[t.length-2]===` `||t===` `)?"+":n?"":"-"} -`}o(jPe,"blockHeader");function $Pe(t,e){let r=t.indexOf(` +`}o($Pe,"blockHeader");function JPe(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($Pe,"encodeFlowBreaks");function JPe(t){return t[t.length-1]===` -`?t.slice(0,-1):t}o(JPe,"dropEndingNewline");function _Ft(t,e){let r=/(\n+)([^\n]*)/g,n=t.indexOf(` -`);n===-1&&(n=t.length),r.lastIndex=n;let i=WPe(t.slice(0,n),e),s=t[0]===` +`.repeat(c+1)+n+l}return i}o(JPe,"encodeFlowBreaks");function WPe(t){return t[t.length-1]===` +`?t.slice(0,-1):t}o(WPe,"dropEndingNewline");function DFt(t,e){let r=/(\n+)([^\n]*)/g,n=t.indexOf(` +`);n===-1&&(n=t.length),r.lastIndex=n;let i=YPe(t.slice(0,n),e),s=t[0]===` `||t[0]===" ",a,c;for(;c=r.exec(t);){let l=c[1],u=c[2];a=u[0]===" ",i+=l+(!s&&!a&&u!==""?` -`:"")+WPe(u,e),s=a}return i}o(_Ft,"foldBlockScalar");function WPe(t,e){if(t===""||t[0]===" ")return t;let r=/ [^ ]/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+=` +`:"")+YPe(u,e),s=a}return i}o(DFt,"foldBlockScalar");function YPe(t,e){if(t===""||t[0]===" ")return t;let r=/ [^ ]/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(WPe,"foldLine");function RFt(t){let e="",r=0;for(let n=0;n=65536?n+=2:n++){r=nC(t,n);let i=Oi[r];if(i){e+=i;continue}if(gB(r)){e+=t[n],r>=65536&&(e+=t[n+1]);continue}e+=CFt(r)}return e}o(RFt,"escapeString");function TFt(t,e,r){let n="";for(let s=0,a=r.items.length;s1024;d?l+="? ":t.quoteFlowKeys&&(l+='"');let f=bd(t,e,c,{}),h=t.flowSkipColonSpace||f===""?"":" ";l+=`${u}${t.quoteFlowKeys&&!d?'"':""}:${h}${f}`,n+=l}let s=t.flowBracketPadding&&n!==""?" ":"";return`{${s}${n}${s}}`}o(DFt,"writeFlowMapping");function oP(t){return t.kind==="scalar"?t.value:t}o(oP,"sortKeyValue");function hOe(t,e){if(!t.sortKeys)return e;let r=e.slice();if(t.sortKeys===!0)r.sort((n,i)=>{let s=oP(n.key),a=oP(i.key);return sa?1:0});else{let n=t.sortKeys;r.sort((i,s)=>n(oP(i.key),oP(s.key)))}return r}o(hOe,"sortMappingItems");function QFt(t,e,r,n){let i="",s=hOe(t,r.items);for(let a=0,c=s.length;a1024;m&&(h&&OA===h.charCodeAt(0)?l+="?":l+="? "),l+=h,m&&(l+=XY(t,e));let g=bd(t,e+1,d,{block:!0,compact:m,isblockseq:m&&!eK(t,d,e+1)}),E=u.kind==="scalar"&&u.value===""&&h!==""&&h.charCodeAt(h.length-1)!==sOe&&h.charCodeAt(h.length-1)!==iOe,y=!m&&(u.kind==="alias"||E)?" ":"";g===""||OA===g.charCodeAt(0)?l+=`${y}:`:l+=`${y}: `,l+=g,i+=l}return i}o(QFt,"writeBlockMapping");function eK(t,e,r){return e.style.tagged||e.anchor!==void 0||t.indent<2&&r>0}o(eK,"cannotBeCompact");function bd(t,e,r,n){if(r.kind==="alias")return`*${r.anchor}`;let{block:i=!1,iskey:s=!1,isblockseq:a=!1}=n,c=n.compact??!1,l=r.anchor!==void 0;eK(t,r,e)&&(c=!1);let u,d=r.style.tagged,f=i&&(r.kind==="mapping"||r.kind==="sequence")&&!r.style.flow&&r.items.length!==0;if(r.kind==="mapping")f?u=QFt(t,e,r,c):u=DFt(t,e,r);else if(r.kind==="sequence")f?t.seqNoIndent&&!a&&e>0?u=YPe(t,e-1,r,c):u=YPe(t,e,r,c):u=TFt(t,e,r);else{let h=bFt(t,e),p=NFt(t,r,h,s,i);u=vFt(r.value,p,h),d=r.style.tagged||p!==yB&&r.tag!==t.defaultScalarTagName}if(f&&c&&e>0&&t.indent>2&&(u=`${" ".repeat(t.indent-2)}${u}`),d||l){let h=[],p=d?yFt(r):null,m=l?`&${r.anchor}`:null;t.tagBeforeAnchor?(p!==null&&h.push(p),m!==null&&h.push(m)):(m!==null&&h.push(m),p!==null&&h.push(p));let g=u===""||u.charCodeAt(0)===OA?"":" ";u=`${h.join(" ")}${g}${u}`}return u}o(bd,"writeNode");function kFt(t){return(t.kind==="sequence"||t.kind==="mapping")&&!t.style.flow&&t.items.length!==0&&!t.style.tagged&&t.anchor===void 0}o(kFt,"rootStartsOwnLine");function PFt(t){let e=t;for(;(e.kind==="sequence"||e.kind==="mapping")&&!e.style.flow&&e.items.length!==0;)e=e.kind==="sequence"?e.items[e.items.length-1]:e.items[e.items.length-1].value;if(e.kind!=="scalar"||!(e.style.literal||e.style.folded))return!1;let{value:r}=e;return r.endsWith(` +${t.slice(a+1)}`:l+=t.slice(i),l.slice(1)}o(YPe,"foldLine");function QFt(t){let e="",r=0;for(let n=0;n=65536?n+=2:n++){r=rC(t,n);let i=Oi[r];if(i){e+=i;continue}if(gB(r)){e+=t[n],r>=65536&&(e+=t[n+1]);continue}e+=IFt(r)}return e}o(QFt,"escapeString");function kFt(t,e,r){let n="";for(let s=0,a=r.items.length;s1024;d?l+="? ":t.quoteFlowKeys&&(l+='"');let f=bd(t,e,c,{}),h=t.flowSkipColonSpace||f===""?"":" ";l+=`${u}${t.quoteFlowKeys&&!d?'"':""}:${h}${f}`,n+=l}let s=t.flowBracketPadding&&n!==""?" ":"";return`{${s}${n}${s}}`}o(PFt,"writeFlowMapping");function oP(t){return t.kind==="scalar"?t.value:t}o(oP,"sortKeyValue");function pOe(t,e){if(!t.sortKeys)return e;let r=e.slice();if(t.sortKeys===!0)r.sort((n,i)=>{let s=oP(n.key),a=oP(i.key);return sa?1:0});else{let n=t.sortKeys;r.sort((i,s)=>n(oP(i.key),oP(s.key)))}return r}o(pOe,"sortMappingItems");function OFt(t,e,r,n){let i="",s=pOe(t,r.items);for(let a=0,c=s.length;a1024;m&&(h&&OA===h.charCodeAt(0)?l+="?":l+="? "),l+=h,m&&(l+=ZY(t,e));let g=bd(t,e+1,d,{block:!0,compact:m,isblockseq:m&&!tK(t,d,e+1)}),E=u.kind==="scalar"&&u.value===""&&h!==""&&h.charCodeAt(h.length-1)!==oOe&&h.charCodeAt(h.length-1)!==sOe,y=!m&&(u.kind==="alias"||E)?" ":"";g===""||OA===g.charCodeAt(0)?l+=`${y}:`:l+=`${y}: `,l+=g,i+=l}return i}o(OFt,"writeBlockMapping");function tK(t,e,r){return e.style.tagged||e.anchor!==void 0||t.indent<2&&r>0}o(tK,"cannotBeCompact");function bd(t,e,r,n){if(r.kind==="alias")return`*${r.anchor}`;let{block:i=!1,iskey:s=!1,isblockseq:a=!1}=n,c=n.compact??!1,l=r.anchor!==void 0;tK(t,r,e)&&(c=!1);let u,d=r.style.tagged,f=i&&(r.kind==="mapping"||r.kind==="sequence")&&!r.style.flow&&r.items.length!==0;if(r.kind==="mapping")f?u=OFt(t,e,r,c):u=PFt(t,e,r);else if(r.kind==="sequence")f?t.seqNoIndent&&!a&&e>0?u=KPe(t,e-1,r,c):u=KPe(t,e,r,c):u=kFt(t,e,r);else{let h=SFt(t,e),p=TFt(t,r,h,s,i);u=RFt(r.value,p,h),d=r.style.tagged||p!==yB&&r.tag!==t.defaultScalarTagName}if(f&&c&&e>0&&t.indent>2&&(u=`${" ".repeat(t.indent-2)}${u}`),d||l){let h=[],p=d?bFt(r):null,m=l?`&${r.anchor}`:null;t.tagBeforeAnchor?(p!==null&&h.push(p),m!==null&&h.push(m)):(m!==null&&h.push(m),p!==null&&h.push(p));let g=u===""||u.charCodeAt(0)===OA?"":" ";u=`${h.join(" ")}${g}${u}`}return u}o(bd,"writeNode");function LFt(t){return(t.kind==="sequence"||t.kind==="mapping")&&!t.style.flow&&t.items.length!==0&&!t.style.tagged&&t.anchor===void 0}o(LFt,"rootStartsOwnLine");function FFt(t){let e=t;for(;(e.kind==="sequence"||e.kind==="mapping")&&!e.style.flow&&e.items.length!==0;)e=e.kind==="sequence"?e.items[e.items.length-1]:e.items[e.items.length-1].value;if(e.kind!=="scalar"||!(e.style.literal||e.style.folded))return!1;let{value:r}=e;return r.endsWith(` `)||r===` -`}o(PFt,"isOpenEnded");function OFt(t){let e="";for(let r of t.directives){if(r.kind==="yaml"){e+=`%YAML ${r.version} +`}o(FFt,"isOpenEnded");function MFt(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(OFt,"writeDocumentDirectives");function LFt(t,e){let r=EFt(e),n="",i=!1;for(let s=0;s0&&!i;if(n+=c,a.contents===null)u&&(n+=`--- -`);else if(u){let d=bd(r,0,a.contents,{block:!0,compact:!0}),f=d===""?"":l||kFt(a.contents)?` +`}return e}o(MFt,"writeDocumentDirectives");function UFt(t,e){let r=wFt(e),n="",i=!1;for(let s=0;s0&&!i;if(n+=c,a.contents===null)u&&(n+=`--- +`);else if(u){let d=bd(r,0,a.contents,{block:!0,compact:!0}),f=d===""?"":l||LFt(a.contents)?` `:" ";n+=`---${f}${d} `}else n+=bd(r,0,a.contents,{block:!0,compact:!0})+` -`;i=a.explicitEnd||a.contents!==null&&PFt(a.contents),i&&(n+=`... -`)}return n}o(LFt,"present");var FFt=YLt.withTags({...JY,resolve:o((t,e,r)=>{let n=JY.resolve(t,e,r);return n===kt?KPe.resolve(t,e,r):n},"resolve")},{...WY,resolve:o((t,e,r)=>{let n=WY.resolve(t,e,r);return n===kt?XPe.resolve(t,e,r):n},"resolve")}),MFt={...oK,schema:FFt,skipInvalid:!1,noRefs:!1,flowLevel:-1,transform:o(()=>{},"transform")};function pOe(t,e={}){let r={...MFt,...e},n=iFt(t,r.schema,{noRefs:r.noRefs,skipInvalid:r.skipInvalid});return r.flowLevel>=0&&oFt(n,(i,s)=>{if(!(s.depth${l}`+(d?AOe.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=$U.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=`./${Ze.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(lK.default.encode(u),"text").addRaw("
"):c.addRaw("Error").addBreak().addRaw("

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

"),c.addRaw("
"))}e.inputs&&c.addRaw("
Build inputs").addCodeBlock(pOe(e.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw("
"),e.bakeDefinition&&c.addRaw("
Bake definition").addCodeBlock(JSON.stringify(e.bakeDefinition,null,2),"json").addRaw("
"),L("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 LA=R(require("fs"),1),uK=R(require("path"),1);var jt=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new Dt,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=`${Ze.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}`],m=s?h:l;m&&p.push(`checksum=${m}`),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 uK.default.join(mt.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(LA.default.existsSync(e))return LA.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return uK.default.join(mt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!LA.default.existsSync(e))return;let r=LA.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(!LA.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[n,i]}let s=mt.tmpName({tmpdir:mt.tmpDir()});return LA.default.writeFileSync(s,i),[n,s]}static getProvenanceInput(e){let r=ci(e);if(!r)return r;try{return tp(e)?`builder-id=${Ze.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Ze.workflowRunURL(!0)}`;let r=bo(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=${Ze.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let n="registry",i="",s="",a=bo(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=${Ze.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=bo(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=bo(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=bo(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&&kc(s),[i,s]}};var dK=R(require("fs"),1),mOe=R(require("path"),1);var dP=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new Dt,this.metadataFilename=`bake-metadata-${re.generateRandomString()}.json`}getMetadataFilePath(){return mOe.default.join(mt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!dK.default.existsSync(e))return;let r=dK.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: ${l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);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=bo(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=bo(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=bo(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=bo(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 Nd=R(require("fs"),1),cu=R(require("os"),1),wh=R(require("path"),1);var FC=R(oc(),1),UX=R(require("util"),1);var sC=class t{static{o(this,"Git")}static async context(){let e={...ns};return e.ref=await t.ref(),e.sha=await t.fullCommit(),e}static async isInsideWorkTree(){return await t.exec(["rev-parse","--is-inside-work-tree"]).then(e=>e==="true").catch(()=>!1)}static async remoteSha(e,r,n){let i=e.match(/github.com\/([^/]+)\/([^/]+?)(?:\.git)?(\/|$)/);if(n&&i){kc(n);let s=GD(n,{baseUrl:Ze.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(){return await t.exec(["remote","get-url","origin"]).then(e=>e.length==0?t.exec(["remote","get-url","upstream"]).then(r=>{if(r.length==0)throw new Error("Cannot find remote URL for origin or upstream");return r}):e)}static async ref(){return await t.isHeadDetached()?await t.getDetachedRef():await t.exec(["symbolic-ref","HEAD"])}static async fullCommit(){return await t.exec(["show","--format=%H","HEAD","--quiet","--"])}static async shortCommit(){return await t.exec(["show","--format=%h","HEAD","--quiet","--"])}static async tag(){return await t.exec(["tag","--points-at","HEAD","--sort","-version:creatordate"]).then(e=>e.length==0?t.exec(["describe","--tags","--abbrev=0"]):e.split(` +`;i=a.explicitEnd||a.contents!==null&&FFt(a.contents),i&&(n+=`... +`)}return n}o(UFt,"present");var qFt=ZLt.withTags({...WY,resolve:o((t,e,r)=>{let n=WY.resolve(t,e,r);return n===kt?XPe.resolve(t,e,r):n},"resolve")},{...YY,resolve:o((t,e,r)=>{let n=YY.resolve(t,e,r);return n===kt?ZPe.resolve(t,e,r):n},"resolve")}),GFt={...aK,schema:qFt,skipInvalid:!1,noRefs:!1,flowLevel:-1,transform:o(()=>{},"transform")};function AOe(t,e={}){let r={...GFt,...e},n=aFt(t,r.schema,{noRefs:r.noRefs,skipInvalid:r.skipInvalid});return r.flowLevel>=0&&lFt(n,(i,s)=>{if(!(s.depth${l}`+(d?mOe.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=$U.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=`./${Ze.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(uK.default.encode(u),"text").addRaw("
"):c.addRaw("Error").addBreak().addRaw("

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

"),c.addRaw("
"))}e.inputs&&c.addRaw("
Build inputs").addCodeBlock(AOe(e.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw("
"),e.bakeDefinition&&c.addRaw("
Bake definition").addCodeBlock(JSON.stringify(e.bakeDefinition,null,2),"json").addRaw("
"),L("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 LA=R(require("fs"),1),dK=R(require("path"),1);var jt=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new Dt,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=`${Ze.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}`],m=s?h:l;m&&p.push(`checksum=${m}`),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 dK.default.join(mt.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(LA.default.existsSync(e))return LA.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return dK.default.join(mt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!LA.default.existsSync(e))return;let r=LA.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(!LA.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[n,i]}let s=mt.tmpName({tmpdir:mt.tmpDir()});return LA.default.writeFileSync(s,i),[n,s]}static getProvenanceInput(e){let r=ci(e);if(!r)return r;try{return tp(e)?`builder-id=${Ze.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Ze.workflowRunURL(!0)}`;let r=bo(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=${Ze.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let n="registry",i="",s="",a=bo(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=${Ze.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=bo(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=bo(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=bo(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&&kc(s),[i,s]}};var fK=R(require("fs"),1),gOe=R(require("path"),1);var dP=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new Dt,this.metadataFilename=`bake-metadata-${re.generateRandomString()}.json`}getMetadataFilePath(){return gOe.default.join(mt.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!fK.default.existsSync(e))return;let r=fK.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: ${l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);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=bo(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=bo(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=bo(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=bo(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 Nd=R(require("fs"),1),cu=R(require("os"),1),wh=R(require("path"),1);var LC=R(oc(),1),qX=R(require("util"),1);var iC=class t{static{o(this,"Git")}static async context(){let e={...ns};return e.ref=await t.ref(),e.sha=await t.fullCommit(),e}static async isInsideWorkTree(){return await t.exec(["rev-parse","--is-inside-work-tree"]).then(e=>e==="true").catch(()=>!1)}static async remoteSha(e,r,n){let i=e.match(/github.com\/([^/]+)\/([^/]+?)(?:\.git)?(\/|$)/);if(n&&i){kc(n);let s=GD(n,{baseUrl:Ze.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(){return await t.exec(["remote","get-url","origin"]).then(e=>e.length==0?t.exec(["remote","get-url","upstream"]).then(r=>{if(r.length==0)throw new Error("Cannot find remote URL for origin or upstream");return r}):e)}static async ref(){return await t.isHeadDetached()?await t.getDetachedRef():await t.exec(["symbolic-ref","HEAD"])}static async fullCommit(){return await t.exec(["show","--format=%H","HEAD","--quiet","--"])}static async shortCommit(){return await t.exec(["show","--format=%h","HEAD","--quiet","--"])}static async tag(){return await t.exec(["tag","--points-at","HEAD","--sort","-version:creatordate"]).then(e=>e.length==0?t.exec(["describe","--tags","--abbrev=0"]):e.split(` `)[0])}static async isHeadDetached(){return await t.exec(["branch","--show-current"]).then(e=>e.length==0)}static async getDetachedRef(){let e=await t.exec(["show","-s","--pretty=%D"]);D(`detached HEAD ref: ${e}`);let r=e.replace(/^grafted, /,"").trim();if(r==="HEAD")return await t.inferRefFromHead();let n=r.match(/^HEAD, (.*)$/);if(!n||!n[1])throw new Error(`Cannot find detached HEAD ref in "${e}"`);let i=n[1].trim();if(i.startsWith("tag: "))return await t.findDetachedTagRef(i,e);if(i.match(/^pull\/\d+\/(head|merge)$/))return`refs/${i}`;let a=i.match(/^[^/]+\/[^/]+, (.+)$/);if(a)return`refs/heads/${a[1].trim()}`;let c=i.match(/^[^/]+\/(.+)$/);if(c)return`refs/heads/${c[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${e}"`)}static async exec(e=[]){return await _e.getExecOutput("git",e,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr);return r.stdout.trim()})}static async inferRefFromHead(){let e=await t.findContainingRef("refs/heads/");if(e)return e;let r=await t.findContainingRef("refs/remotes/");if(r){let s=r.match(/^refs\/remotes\/[^/]+\/(.+)$/);return s?`refs/heads/${s[1]}`:r}let n=await t.exec(["tag","--contains","HEAD"]),[i]=n.split(` `).map(s=>s.trim()).filter(s=>s.length>0);if(i)return`refs/tags/${i}`;throw new Error("Cannot infer ref from detached HEAD")}static async findDetachedTagRef(e,r){let i=(await t.exec(["for-each-ref","--format=%(refname)","--points-at","HEAD","refs/tags/"])).split(` `).map(s=>s.trim()).filter(s=>s.length>0).sort((s,a)=>a.length-s.length);for(let s of i){let a=`tag: ${s.slice(10)}`;if(e===a||e.startsWith(`${a}, `))return s}if(i.length===1)return i[0];throw new Error(`Cannot find detached tag ref in "${r}"`)}static async findContainingRef(e){let r=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e]),[n]=r.split(` -`).map(i=>i.trim()).filter(i=>i.length>0);return n}static async commitDate(e){return new Date(await t.exec(["show","-s",'--format="%ci"',e]))}};var DMe=require("crypto"),ou=R(require("fs"),1),au=R(require("path"),1);var OC=R(EK(),1),QMe=R(k7(),1),LC=R(NMe(),1);var FX=R(EK(),1);var RMe=R(oc(),1);var _Me="application/vnd.oci.empty.v1+json";var su=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?(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 _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})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Cosign.versionSatisfies false: undefined version"),!1;let i=RMe.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===FX.BUNDLE_V03_MEDIA_TYPE&&typeof u.digest=="string"?r=u.digest:u?.artifactType===_Me&&typeof u.digest=="string"&&(n=u.digest)}if(!i&&l&&l.mediaType===FX.BUNDLE_V03_MEDIA_TYPE&&(i=l),i&&(r||n)){s=void 0;break}}return{bundle:i,signatureManifestDigest:r||n,errors:s}}};var MX=R(require("fs"),1);var GO=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new Dt}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=mt.tmpName({tmpdir:mt.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){L(`[command]${a.command} ${a.args.join(" ")}`),L("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(!MX.default.existsSync(n))return;let l=MX.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 tm="https://search.sigstore.dev";var TMe="slsaprovenance1",bh=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new su,this.imageTools=e?.imageTools||new GO}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=await this.cosignSigningConfigArgs(e.noTransparencyLog);for(let i of e.imageNames){let s=await this.imageTools.attestationDigests({name:`${i}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let a of s){let c=`${i}@${a}`;await Qr(`Signing attestation manifest ${c}`,async()=>{let l=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format",...n];L(`[command]${this.cosign.binPath} ${[...l,c].join(" ")}`);let u=await _e.getExecOutput(this.cosign.binPath,["--verbose",...l,c],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),d=su.parseCommandOutput(u.stderr.trim());if(u.exitCode!=0)if(d.errors&&d.errors.length>0){let h=d.errors.map(p=>`- [${p.code}] ${p.message} : ${p.detail}`).join(` +`).map(i=>i.trim()).filter(i=>i.length>0);return n}static async commitDate(e){return new Date(await t.exec(["show","-s",'--format="%ci"',e]))}};var QMe=require("crypto"),ou=R(require("fs"),1),au=R(require("path"),1);var PC=R(CK(),1),kMe=R(P7(),1),OC=R(_Me(),1);var MX=R(CK(),1);var TMe=R(oc(),1);var RMe="application/vnd.oci.empty.v1+json";var su=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?(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 _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})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return D("Cosign.versionSatisfies false: undefined version"),!1;let i=TMe.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===MX.BUNDLE_V03_MEDIA_TYPE&&typeof u.digest=="string"?r=u.digest:u?.artifactType===RMe&&typeof u.digest=="string"&&(n=u.digest)}if(!i&&l&&l.mediaType===MX.BUNDLE_V03_MEDIA_TYPE&&(i=l),i&&(r||n)){s=void 0;break}}return{bundle:i,signatureManifestDigest:r||n,errors:s}}};var UX=R(require("fs"),1);var GO=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new Dt}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=mt.tmpName({tmpdir:mt.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){L(`[command]${a.command} ${a.args.join(" ")}`),L("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(!UX.default.existsSync(n))return;let l=UX.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 tm="https://search.sigstore.dev";var DMe="slsaprovenance1",bh=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new su,this.imageTools=e?.imageTools||new GO}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=await this.cosignSigningConfigArgs(e.noTransparencyLog);for(let i of e.imageNames){let s=await this.imageTools.attestationDigests({name:`${i}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let a of s){let c=`${i}@${a}`;await Qr(`Signing attestation manifest ${c}`,async()=>{let l=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format",...n];L(`[command]${this.cosign.binPath} ${[...l,c].join(" ")}`);let u=await _e.getExecOutput(this.cosign.binPath,["--verbose",...l,c],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),d=su.parseCommandOutput(u.stderr.trim());if(u.exitCode!=0)if(d.errors&&d.errors.length>0){let h=d.errors.map(p=>`- [${p.code}] ${p.message} : ${p.detail}`).join(` `);throw new Error(`Cosign sign command failed with errors: -${h}`)}else throw new Error(`Cosign sign command failed with: ${u.stderr.trim().split(/\r?\n/).filter(h=>h.length>0).pop()??"unknown error"}`);let f=t.parseBundle((0,OC.bundleFromJSON)(d.bundle));f.tlogID&&L(`Uploaded to Rekor transparency log: ${tm}?logIndex=${f.tlogID}`),L(`Signature manifest pushed: https://oci.dag.dev/?referrers=${c}`),r[c]={...f,imageName:i}})}}}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 Qr(`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});L(`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);L(`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","--new-bundle-format","--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){L(`[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: ${a.stderr.trim().split(/\r?\n/).filter(l=>l.length>0).pop()??"unknown error"}`);let c=su.parseCommandOutput(a.stderr.trim());return{cosignArgs:n,signatureManifestDigest:c.signatureManifestDigest}}let i=r.retryLimit??15,s;L(`[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(` +${h}`)}else throw new Error(`Cosign sign command failed with: ${u.stderr.trim().split(/\r?\n/).filter(h=>h.length>0).pop()??"unknown error"}`);let f=t.parseBundle((0,PC.bundleFromJSON)(d.bundle));f.tlogID&&L(`Uploaded to Rekor transparency log: ${tm}?logIndex=${f.tlogID}`),L(`Signature manifest pushed: https://oci.dag.dev/?referrers=${c}`),r[c]={...f,imageName:i}})}}}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 Qr(`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});L(`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);L(`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","--new-bundle-format","--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){L(`[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: ${a.stderr.trim().split(/\r?\n/).filter(l=>l.length>0).pop()??"unknown error"}`);let c=su.parseCommandOutput(a.stderr.trim());return{cosignArgs:n,signatureManifestDigest:c.signatureManifestDigest}}let i=r.retryLimit??15,s;L(`[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(` `);if(s=new Error(`Cosign verify command failed with errors: ${u}`),l.errors.some(d=>d.code==="MANIFEST_UNKNOWN"))L(`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: ${c.stderr.trim().split(/\r?\n/).filter(u=>u.length>0).pop()??"unknown error"}`)}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=await this.cosignSigningConfigArgs(e.noTransparencyLog),i=t.getProvenanceBlobs(e);for(let s of Object.keys(i))await Qr(`Signing ${s}`,async()=>{let a=i[s],c=au.default.join(au.default.dirname(s),`${e.name??"provenance"}.sigstore.json`),l=t.getProvenanceSubjects(a);if(l.length===0){at(`No subjects found in provenance ${s}, skip signing.`);return}let u=au.default.join(au.default.dirname(s),l[0].name),d=["attest-blob","--yes","--oidc-provider","github-actions","--new-bundle-format","--statement",s,"--type",TMe,"--bundle",c,...n];L(`[command]${this.cosign.binPath} ${[...d,u].join(" ")}`);let f=await _e.getExecOutput(this.cosign.binPath,["--verbose",...d,u],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),h=su.parseCommandOutput(f.stderr.trim());if(f.exitCode!=0)if(h.errors&&h.errors.length>0){let m=h.errors.map(g=>`- [${g.code}] ${g.message} : ${g.detail}`).join(` +${u}`),await new Promise(d=>setTimeout(d,Math.pow(2,a)*100));else throw s}else throw new Error(`Cosign verify command failed with: ${c.stderr.trim().split(/\r?\n/).filter(u=>u.length>0).pop()??"unknown error"}`)}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=await this.cosignSigningConfigArgs(e.noTransparencyLog),i=t.getProvenanceBlobs(e);for(let s of Object.keys(i))await Qr(`Signing ${s}`,async()=>{let a=i[s],c=au.default.join(au.default.dirname(s),`${e.name??"provenance"}.sigstore.json`),l=t.getProvenanceSubjects(a);if(l.length===0){at(`No subjects found in provenance ${s}, skip signing.`);return}let u=au.default.join(au.default.dirname(s),l[0].name),d=["attest-blob","--yes","--oidc-provider","github-actions","--new-bundle-format","--statement",s,"--type",DMe,"--bundle",c,...n];L(`[command]${this.cosign.binPath} ${[...d,u].join(" ")}`);let f=await _e.getExecOutput(this.cosign.binPath,["--verbose",...d,u],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),h=su.parseCommandOutput(f.stderr.trim());if(f.exitCode!=0)if(h.errors&&h.errors.length>0){let m=h.errors.map(g=>`- [${g.code}] ${g.message} : ${g.detail}`).join(` `);throw new Error(`Cosign attest-blob command failed with errors: -${m}`)}else throw new Error(`Cosign attest-blob command failed with: ${f.stderr.trim().split(/\r?\n/).filter(m=>m.length>0).pop()??"unknown error"}`);let p=t.parseBundle((0,OC.bundleFromJSON)(JSON.parse(ou.default.readFileSync(c,{encoding:"utf-8"}))));L("Provenance blob signed for:");for(let m of l){let[g,E]=Object.entries(m.digest)[0]||[];L(` - ${m.name} (${g}:${E})`)}p.tlogID&&L(`Attestation signature uploaded to Rekor transparency log: ${tm}?logIndex=${p.tlogID}`),L(`Sigstore bundle written to: ${c}`),r[s]={...p,bundlePath:c,subjects:l}})}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=au.default.dirname(i);await Qr(`Verifying signature bundle ${s.bundlePath}`,async()=>{for(let c of s.subjects){let l=au.default.join(a,c.name);L(`Verifying signed artifact ${l}`);let u=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??TMe];(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){L("Verifying keyless verification bundle signature");let i=JSON.parse(ou.default.readFileSync(r,"utf-8")),s=(0,OC.bundleFromJSON)(i);L("Fetching Sigstore TUF trusted root metadata");let a=await QMe.getTrustedRoot(),c=(0,LC.toTrustMaterial)(a);try{L("Verifying artifact signature");let l=(0,LC.toSignedEntity)(s,ou.default.readFileSync(e)),u=t.parseCertificate(s),d=s.verificationMaterial.tlogEntries,f=d.length>0?d[0].logIndex:void 0;if(n?.subjectAlternativeName&&n?.subjectAlternativeName instanceof RegExp){let m=u.subjectAltName?.replace(/^uri:/i,"");if(m){if(!m.match(n.subjectAlternativeName))throw new Error(`Signing certificate subjectAlternativeName "${m}" does not match expected pattern`)}else throw new Error("Signing certificate does not contain subjectAltName")}let p=new LC.Verifier(c).verify(l,{subjectAlternativeName:n?.subjectAlternativeName&&typeof n.subjectAlternativeName=="string"?n.subjectAlternativeName:void 0,extensions:n?.issuer?{issuer:n.issuer}:void 0});return D(`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??Ze.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],n=t.noTransparencyLog(e);return L(`Upload to transparency log: ${n?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")?await Qr("Creating Sigstore protobuf signing config",async()=>{let i=mt.tmpName({template:"signing-config-XXXXXX.json",tmpdir:mt.tmpDir()}),s=["signing-config","create","--with-default-services=true",`--out=${i}`];n&&s.push("--no-default-rekor=true"),await _e.exec(this.cosign.binPath,s,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),L(JSON.stringify(JSON.parse(ou.default.readFileSync(i,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${i}`)}):(r.push("--use-signing-config"),n&&r.push("--tlog-upload=false")),r}static getProvenanceBlobs(e){let r=au.default.join(e.localExportDir,"provenance.json");if(ou.default.existsSync(r))return{[r]:ou.default.readFileSync(r)};let n=ou.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=n.filter(s=>s.isDirectory());if(i.length>0&&i.length===n.length&&i.every(s=>ou.default.existsSync(au.default.join(e.localExportDir,s.name,"provenance.json")))){let s={};for(let a of i){let c=au.default.join(e.localExportDir,a.name,"provenance.json");s[c]=ou.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,OC.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 DMe.X509Certificate(r)}};var HO=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 bh}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=FC.clean(i)||"";if(!FC.valid(s))throw new Error(`Invalid Buildx version "${i}".`);let a=new Wn({htcName:r.key!="official"?`buildx-dl-bin-${r.key}`:"buildx-dl-bin",htcVersion:i,baseCacheDir:wh.default.join(Dt.configDir,".bin"),cacheFile:cu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:e.ghaNoCache}),c=await a.find();if(!e.disableHtc&&c)return L(`Buildx binary found in ${c}`),c;let l=UX.format(r.downloadURL,i,this.filename(i));L(`Downloading ${l}`);let u=await Ho(l,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&FC.satisfies(i,">=0.31.0-0",{includePrerelease:!0})&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return L(`Cached to ${d}`),d}async build(e,r){let n=await this.vspec(e);D(`Install.build vspec: ${n}`);let i=new Wn({htcName:"buildx-build-bin",htcVersion:n,baseCacheDir:wh.default.join(Dt.configDir,".bin"),cacheFile:cu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:r}),s=await i.find();if(s)return L(`Buildx binary found in ${s}`),s;let a=wh.default.join(mt.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: ${d.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${a}/buildx`}),u=await i.save(l);return L(`Cached to ${u}`),u}async installStandalone(e,r){L("Standalone mode"),r=r||mt.tmpDir();let n=wh.default.join(r,"buildx-bin-standalone");Nd.default.existsSync(n)||Nd.default.mkdirSync(n,{recursive:!0});let i=cu.default.platform()=="win32"?"buildx.exe":"buildx",s=wh.default.join(n,i);return Nd.default.copyFileSync(e,s),L("Fixing perms"),Nd.default.chmodSync(s,"0755"),Oc(n),L("Added Buildx to PATH"),L(`Binary path: ${s}`),s}async installPlugin(e,r){L("Docker plugin mode"),r=r||sn.configDir;let n=wh.default.join(r,"cli-plugins");Nd.default.existsSync(n)||Nd.default.mkdirSync(n,{recursive:!0});let i=cu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",s=wh.default.join(n,i);return Nd.default.copyFileSync(e,s),L("Fixing perms"),Nd.default.chmodSync(s,"0755"),L(`Plugin path: ${s}`),s}async buildCommand(e,r){let n=await new Dt({standalone:!0}).isAvailable(),i=await new Dt({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 Dt({standalone:s}).getCommand(a)}async isStandalone(){let e=this.standalone??!await sn.isAvailable();return D(`Install.isStandalone: ${e}`),e}async verifySignature(e,r){let n=`${r.replace(/\.exe$/,"")}.sigstore.json`;L(`Downloading keyless verification bundle at ${n}`);let i;try{i=await Ho(n,void 0,this.githubToken),D(`Install.verifySignature bundlePath: ${i}`)}catch(a){if(a.message&&a.message.statusCode===ks.NotFound){L(`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"});L(`Buildx binary signature verified! ${s.tlogID?`${tm}?logIndex=${s.tlogID}`:""}`)}filename(e){let r;switch(cu.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=cu.default.arch();break}}let n=cu.default.platform()=="win32"?"windows":cu.default.platform(),i=cu.default.platform()=="win32"?".exe":"";return UX.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 L(`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 sC.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 L(`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 Ze({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 MC=class t{static{o(this,"Builder")}buildx;constructor(e){this.buildx=e?.buildx||new Dt}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?(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 _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(` +${m}`)}else throw new Error(`Cosign attest-blob command failed with: ${f.stderr.trim().split(/\r?\n/).filter(m=>m.length>0).pop()??"unknown error"}`);let p=t.parseBundle((0,PC.bundleFromJSON)(JSON.parse(ou.default.readFileSync(c,{encoding:"utf-8"}))));L("Provenance blob signed for:");for(let m of l){let[g,E]=Object.entries(m.digest)[0]||[];L(` - ${m.name} (${g}:${E})`)}p.tlogID&&L(`Attestation signature uploaded to Rekor transparency log: ${tm}?logIndex=${p.tlogID}`),L(`Sigstore bundle written to: ${c}`),r[s]={...p,bundlePath:c,subjects:l}})}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=au.default.dirname(i);await Qr(`Verifying signature bundle ${s.bundlePath}`,async()=>{for(let c of s.subjects){let l=au.default.join(a,c.name);L(`Verifying signed artifact ${l}`);let u=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??DMe];(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){L("Verifying keyless verification bundle signature");let i=JSON.parse(ou.default.readFileSync(r,"utf-8")),s=(0,PC.bundleFromJSON)(i);L("Fetching Sigstore TUF trusted root metadata");let a=await kMe.getTrustedRoot(),c=(0,OC.toTrustMaterial)(a);try{L("Verifying artifact signature");let l=(0,OC.toSignedEntity)(s,ou.default.readFileSync(e)),u=t.parseCertificate(s),d=s.verificationMaterial.tlogEntries,f=d.length>0?d[0].logIndex:void 0;if(n?.subjectAlternativeName&&n?.subjectAlternativeName instanceof RegExp){let m=u.subjectAltName?.replace(/^uri:/i,"");if(m){if(!m.match(n.subjectAlternativeName))throw new Error(`Signing certificate subjectAlternativeName "${m}" does not match expected pattern`)}else throw new Error("Signing certificate does not contain subjectAltName")}let p=new OC.Verifier(c).verify(l,{subjectAlternativeName:n?.subjectAlternativeName&&typeof n.subjectAlternativeName=="string"?n.subjectAlternativeName:void 0,extensions:n?.issuer?{issuer:n.issuer}:void 0});return D(`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??Ze.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],n=t.noTransparencyLog(e);return L(`Upload to transparency log: ${n?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")?await Qr("Creating Sigstore protobuf signing config",async()=>{let i=mt.tmpName({template:"signing-config-XXXXXX.json",tmpdir:mt.tmpDir()}),s=["signing-config","create","--with-default-services=true",`--out=${i}`];n&&s.push("--no-default-rekor=true"),await _e.exec(this.cosign.binPath,s,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),L(JSON.stringify(JSON.parse(ou.default.readFileSync(i,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${i}`)}):(r.push("--use-signing-config"),n&&r.push("--tlog-upload=false")),r}static getProvenanceBlobs(e){let r=au.default.join(e.localExportDir,"provenance.json");if(ou.default.existsSync(r))return{[r]:ou.default.readFileSync(r)};let n=ou.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=n.filter(s=>s.isDirectory());if(i.length>0&&i.length===n.length&&i.every(s=>ou.default.existsSync(au.default.join(e.localExportDir,s.name,"provenance.json")))){let s={};for(let a of i){let c=au.default.join(e.localExportDir,a.name,"provenance.json");s[c]=ou.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 QMe.X509Certificate(r)}};var HO=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 bh}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=LC.clean(i)||"";if(!LC.valid(s))throw new Error(`Invalid Buildx version "${i}".`);let a=new Wn({htcName:r.key!="official"?`buildx-dl-bin-${r.key}`:"buildx-dl-bin",htcVersion:i,baseCacheDir:wh.default.join(Dt.configDir,".bin"),cacheFile:cu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:e.ghaNoCache}),c=await a.find();if(!e.disableHtc&&c)return L(`Buildx binary found in ${c}`),c;let l=qX.format(r.downloadURL,i,this.filename(i));L(`Downloading ${l}`);let u=await Ho(l,void 0,this.githubToken);D(`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 L(`Cached to ${d}`),d}async build(e,r){let n=await this.vspec(e);D(`Install.build vspec: ${n}`);let i=new Wn({htcName:"buildx-build-bin",htcVersion:n,baseCacheDir:wh.default.join(Dt.configDir,".bin"),cacheFile:cu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",ghaNoCache:r}),s=await i.find();if(s)return L(`Buildx binary found in ${s}`),s;let a=wh.default.join(mt.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: ${d.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${a}/buildx`}),u=await i.save(l);return L(`Cached to ${u}`),u}async installStandalone(e,r){L("Standalone mode"),r=r||mt.tmpDir();let n=wh.default.join(r,"buildx-bin-standalone");Nd.default.existsSync(n)||Nd.default.mkdirSync(n,{recursive:!0});let i=cu.default.platform()=="win32"?"buildx.exe":"buildx",s=wh.default.join(n,i);return Nd.default.copyFileSync(e,s),L("Fixing perms"),Nd.default.chmodSync(s,"0755"),Oc(n),L("Added Buildx to PATH"),L(`Binary path: ${s}`),s}async installPlugin(e,r){L("Docker plugin mode"),r=r||sn.configDir;let n=wh.default.join(r,"cli-plugins");Nd.default.existsSync(n)||Nd.default.mkdirSync(n,{recursive:!0});let i=cu.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx",s=wh.default.join(n,i);return Nd.default.copyFileSync(e,s),L("Fixing perms"),Nd.default.chmodSync(s,"0755"),L(`Plugin path: ${s}`),s}async buildCommand(e,r){let n=await new Dt({standalone:!0}).isAvailable(),i=await new Dt({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 Dt({standalone:s}).getCommand(a)}async isStandalone(){let e=this.standalone??!await sn.isAvailable();return D(`Install.isStandalone: ${e}`),e}async verifySignature(e,r){let n=`${r.replace(/\.exe$/,"")}.sigstore.json`;L(`Downloading keyless verification bundle at ${n}`);let i;try{i=await Ho(n,void 0,this.githubToken),D(`Install.verifySignature bundlePath: ${i}`)}catch(a){if(a.message&&a.message.statusCode===ks.NotFound){L(`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"});L(`Buildx binary signature verified! ${s.tlogID?`${tm}?logIndex=${s.tlogID}`:""}`)}filename(e){let r;switch(cu.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=cu.default.arch();break}}let n=cu.default.platform()=="win32"?"windows":cu.default.platform(),i=cu.default.platform()=="win32"?".exe":"";return qX.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 L(`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 iC.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 L(`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 Ze({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 Dt}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?(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 _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 m of h.split(", "))m.includes("*")&&p.push(m.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 kMe=R(oc(),1);var VO=R(require("fs"),1);var zO=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(!VO.default.existsSync(e))throw new Error(`config file ${e} not found`);e=VO.default.readFileSync(e,{encoding:"utf-8"})}let n=mt.tmpName({tmpdir:mt.tmpDir()});return VO.default.writeFileSync(n,e),n}};var jO=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new zO,this.buildx=e?.buildx||new Dt}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){at(r)}return e.buildkit}async getVersionWithinImage(e){return D(`BuildKit.getVersionWithinImage nodeName: ${e}`),sn.getExecOutput(["inspect","--format","{{.Config.Image}}",`${Dt.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return D(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),sn.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 MC({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")||!kMe.satisfies(s.replace(/-moby$/,""),r))return!1}return!0}};var $O=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 sn.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 _e.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 _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 _d=R(require("fs"),1),lu=R(require("os"),1),UC=R(require("path"),1);var WO=R(oc(),1),qX=R(require("util"),1);var JO=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=WO.clean(s)||"";if(!WO.valid(a))throw new Error(`Invalid Compose version "${s}".`);let c=new Wn({htcName:n.key!="official"?`compose-dl-bin-${n.key}`:"compose-dl-bin",htcVersion:s,baseCacheDir:UC.default.join(lu.default.homedir(),".bin","docker-compose"),cacheFile:lu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),l=await c.find();if(l)return L(`Compose binary found in ${l}`),l;let u=qX.format(n.downloadURL,s,this.filename());L(`Downloading ${u}`);let d=await Ho(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return L(`Cached to ${f}`),f}async installStandalone(e,r){L("Standalone mode"),r=r||mt.tmpDir();let n=UC.default.join(r,"compose-bin-standalone");_d.default.existsSync(n)||_d.default.mkdirSync(n,{recursive:!0});let i=lu.default.platform()=="win32"?"compose.exe":"compose",s=UC.default.join(n,i);return _d.default.copyFileSync(e,s),L("Fixing perms"),_d.default.chmodSync(s,"0755"),Oc(n),L("Added Compose to PATH"),L(`Binary path: ${s}`),s}async installPlugin(e,r){L("Docker plugin mode"),r=r||sn.configDir;let n=UC.default.join(r,"cli-plugins");_d.default.existsSync(n)||_d.default.mkdirSync(n,{recursive:!0});let i=lu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",s=UC.default.join(n,i);return _d.default.copyFileSync(e,s),L("Fixing perms"),_d.default.chmodSync(s,"0755"),L(`Plugin path: ${s}`),s}async isStandalone(){let e=this.standalone??!await sn.isAvailable();return D(`Install.isStandalone: ${e}`),e}filename(){let e;switch(lu.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=lu.default.arch();break}}let r=lu.default.platform()=="win32"?"windows":lu.default.platform(),n=lu.default.platform()=="win32"?".exe":"";return qX.format("docker-compose-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return L(`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 Ze({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 zB=R(require("fs"),1),bc=R(require("os"),1),qC=R(require("path"),1);var GC=R(oc(),1),GX=R(require("util"),1);var PMe=` +`),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 PMe=R(oc(),1);var VO=R(require("fs"),1);var zO=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(!VO.default.existsSync(e))throw new Error(`config file ${e} not found`);e=VO.default.readFileSync(e,{encoding:"utf-8"})}let n=mt.tmpName({tmpdir:mt.tmpDir()});return VO.default.writeFileSync(n,e),n}};var jO=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new zO,this.buildx=e?.buildx||new Dt}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){at(r)}return e.buildkit}async getVersionWithinImage(e){return D(`BuildKit.getVersionWithinImage nodeName: ${e}`),sn.getExecOutput(["inspect","--format","{{.Config.Image}}",`${Dt.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return D(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),sn.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(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")||!PMe.satisfies(s.replace(/-moby$/,""),r))return!1}return!0}};var $O=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 sn.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 _e.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 _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 _d=R(require("fs"),1),lu=R(require("os"),1),MC=R(require("path"),1);var WO=R(oc(),1),GX=R(require("util"),1);var JO=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=WO.clean(s)||"";if(!WO.valid(a))throw new Error(`Invalid Compose version "${s}".`);let c=new Wn({htcName:n.key!="official"?`compose-dl-bin-${n.key}`:"compose-dl-bin",htcVersion:s,baseCacheDir:MC.default.join(lu.default.homedir(),".bin","docker-compose"),cacheFile:lu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),l=await c.find();if(l)return L(`Compose binary found in ${l}`),l;let u=GX.format(n.downloadURL,s,this.filename());L(`Downloading ${u}`);let d=await Ho(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return L(`Cached to ${f}`),f}async installStandalone(e,r){L("Standalone mode"),r=r||mt.tmpDir();let n=MC.default.join(r,"compose-bin-standalone");_d.default.existsSync(n)||_d.default.mkdirSync(n,{recursive:!0});let i=lu.default.platform()=="win32"?"compose.exe":"compose",s=MC.default.join(n,i);return _d.default.copyFileSync(e,s),L("Fixing perms"),_d.default.chmodSync(s,"0755"),Oc(n),L("Added Compose to PATH"),L(`Binary path: ${s}`),s}async installPlugin(e,r){L("Docker plugin mode"),r=r||sn.configDir;let n=MC.default.join(r,"cli-plugins");_d.default.existsSync(n)||_d.default.mkdirSync(n,{recursive:!0});let i=lu.default.platform()=="win32"?"docker-compose.exe":"docker-compose",s=MC.default.join(n,i);return _d.default.copyFileSync(e,s),L("Fixing perms"),_d.default.chmodSync(s,"0755"),L(`Plugin path: ${s}`),s}async isStandalone(){let e=this.standalone??!await sn.isAvailable();return D(`Install.isStandalone: ${e}`),e}filename(){let e;switch(lu.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=lu.default.arch();break}}let r=lu.default.platform()=="win32"?"windows":lu.default.platform(),n=lu.default.platform()=="win32"?".exe":"";return GX.format("docker-compose-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return L(`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 Ze({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 zB=R(require("fs"),1),bc=R(require("os"),1),UC=R(require("path"),1);var qC=R(oc(),1),HX=R(require("util"),1);var OMe=` # syntax=docker/dockerfile:1 ARG GO_VERSION="1.24" @@ -280,8 +280,8 @@ EOT FROM scratch COPY --from=builder /out / -`;var YO=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new Dt,this.sigstore=e?.sigstore||new bh}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=GC.clean(i)||"";if(!GC.valid(s))throw new Error(`Invalid Cosign version "${i}".`);let a=new Wn({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:qC.default.join(bc.default.homedir(),".bin"),cacheFile:bc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return L(`Cosign binary found in ${c}`),c;let l=GX.format(r.downloadURL,i,this.filename());L(`Downloading ${l}`);let u=await Ho(l,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${u}`),e.verifySignature&&GC.satisfies(i,">=3.0.1")&&await this.verifySignature(u,l);let d=await a.save(u,e.skipState);return L(`Cached to ${d}`),d}async build(e,r,n){let i=await this.vspec(e);D(`Install.build vspec: ${i}`);let s=new Wn({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:qC.default.join(bc.default.homedir(),".bin"),cacheFile:bc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await s.find();if(a)return L(`Cosign binary found in ${a}`),a;let c=qC.default.join(mt.tmpDir(),"cosign-build-cache"),l=await this.buildCommand(e,c),u=await _e.getExecOutput(l.command,l.args,{ignoreReturnCode:!0,input:Buffer.from(PMe)}).then(f=>{if(f.stderr.length>0&&f.exitCode!=0)throw new Error(`build failed with: ${f.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${c}/cosign`}),d=await s.save(u,n);return L(`Cached to ${d}`),d}async install(e,r){r=r||mt.tmpDir();let n=qC.default.join(r,"cosign-bin");zB.default.existsSync(n)||zB.default.mkdirSync(n,{recursive:!0});let i=bc.default.platform()=="win32"?"cosign.exe":"cosign",s=qC.default.join(n,i);return zB.default.copyFileSync(e,s),L("Fixing perms"),zB.default.chmodSync(s,"0755"),Oc(n),L("Added Cosign to PATH"),L(`Binary path: ${s}`),s}async buildCommand(e,r){let n=await new Dt({standalone:!0}).isAvailable(),i=await new Dt({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 Dt({standalone:s}).getCommand(a)}async verifySignature(e,r){let n=`${r}.sigstore.json`;L(`Downloading keyless verification bundle at ${n}`);let i=await Ho(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"});L(`Cosign binary signature verified! ${s.tlogID?`${tm}?logIndex=${s.tlogID}`:""}`)}filename(){let e;switch(bc.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=bc.default.arch();break}}let r=bc.default.platform()=="win32"?"windows":bc.default.platform(),n=bc.default.platform()=="win32"?".exe":"";return GX.format("cosign-%s-%s%s",r,e,n)}async vspec(e){if(!re.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return L(`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 sC.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 L(`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 Ze({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 OMe=R(oc(),1);var KO=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?(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 _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 D("Regctl.versionSatisfies false: undefined version"),!1;let i=OMe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Regctl.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var jB=R(require("fs"),1),Rd=R(require("os"),1),XO=R(require("path"),1);var eL=R(oc(),1),HX=R(require("util"),1);var ZO=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=eL.clean(s)||"";if(!eL.valid(a))throw new Error(`Invalid regclient version "${s}".`);let c=new Wn({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:XO.default.join(Rd.default.homedir(),".bin"),cacheFile:Rd.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return L(`regctl binary found in ${l}`),l;let u=HX.format(n.downloadURL,s,this.filename());L(`Downloading ${u}`);let d=await Ho(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return L(`Cached to ${f}`),f}async install(e,r){r=r||mt.tmpDir();let n=XO.default.join(r,"regctl-bin");jB.default.existsSync(n)||jB.default.mkdirSync(n,{recursive:!0});let i=Rd.default.platform()=="win32"?"regctl.exe":"regctl",s=XO.default.join(n,i);return jB.default.copyFileSync(e,s),L("Fixing perms"),jB.default.chmodSync(s,"0755"),Oc(n),L("Added regctl to PATH"),L(`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 HX.format("regctl-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return L(`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 Ze({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 LMe=R(oc(),1);var tL=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?(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 _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 D("Undock.versionSatisfies false: undefined version"),!1;let i=LMe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Undock.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var $B=R(require("fs"),1),wc=R(require("os"),1),JB=R(require("path"),1);var nL=R(oc(),1),VX=R(require("util"),1);var rL=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=nL.clean(s)||"";if(!nL.valid(a))throw new Error(`Invalid Undock version "${s}".`);let c=new Wn({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:JB.default.join(wc.default.homedir(),".bin"),cacheFile:wc.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return L(`Undock binary found in ${l}`),l;let u=VX.format(n.downloadURL,s,this.filename(s));L(`Downloading ${u}`);let d=await Ho(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f;wc.default.platform()=="win32"?f=await Tue(d):f=await Rue(d),L(`Extracted to ${f}`);let h=JB.default.join(f,wc.default.platform()=="win32"?"undock.exe":"undock");D(`Install.download exePath: ${h}`);let p=await c.save(h);return L(`Cached to ${p}`),p}async install(e,r){r=r||mt.tmpDir();let n=JB.default.join(r,"undock-bin");$B.default.existsSync(n)||$B.default.mkdirSync(n,{recursive:!0});let i=wc.default.platform()=="win32"?"undock.exe":"undock",s=JB.default.join(n,i);return $B.default.copyFileSync(e,s),L("Fixing perms"),$B.default.chmodSync(s,"0755"),Oc(n),L("Added Undock to PATH"),L(`Binary path: ${s}`),s}filename(e){let r;switch(wc.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=wc.default.arch();break}}let n=wc.default.platform()=="win32"?"windows":wc.default.platform(),i=wc.default.platform()=="win32"?".zip":".tar.gz";return VX.format("undock_%s_%s_%s%s",e,n,r,i)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return L(`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 Ze({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 iL=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 Ze({token:e.githubToken}),this.buildx=new Dt,this.buildxBuild=new jt({buildx:this.buildx}),this.buildxBake=new dP({buildx:this.buildx}),this.buildxInstall=new HO,this.builder=new MC({buildx:this.buildx}),this.buildkit=new jO({buildx:this.buildx}),this.compose=new $O,this.composeInstall=new JO,this.cosign=new su,this.cosignInstall=new YO({buildx:this.buildx}),this.regctl=new KO,this.regctlInstall=new ZO,this.sigstore=new bh,this.undock=new tL,this.undockInstall=new rL}};var zX=R(O$(),1);var FMe;async function MMe(){return FMe??=new jt().gitContext(),await FMe}o(MMe,"getDefaultContext");async function UMe(){let t=await MMe();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:ci("builder"),"cache-from":re.getInputList("cache-from",{ignoreComma:!0}),"cache-to":re.getInputList("cache-to",{ignoreComma:!0}),call:ci("call"),"cgroup-parent":ci("cgroup-parent"),context:zX.compile(ci("context"))({defaultContext:t})||t,file:ci("file"),labels:re.getInputList("labels",{ignoreComma:!0}),load:tp("load"),network:ci("network"),"no-cache":tp("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:tp("pull"),push:tp("push"),sbom:ci("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":ci("shm-size"),ssh:re.getInputList("ssh"),tags:re.getInputList("tags"),target:ci("target"),ulimit:re.getInputList("ulimit",{ignoreComma:!0}),"github-token":ci("github-token")}}o(UMe,"getInputs");async function qMe(t,e){return[...await j4t(t,t.context,e),...await $4t(t,e),t.context]}o(qMe,"getArgs");async function j4t(t,e,r){let n=await MMe(),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&&at("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",zX.compile(s)({defaultContext:n}))}):t["build-contexts"].length>0&&at("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){at(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 J4t(t,r)):at("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){at(a.message)}}),await re.asyncForEach(t["secret-files"],async s=>{try{i.push("--secret",jt.resolveSecretFile(s))}catch(a){at(a.message)}}),t["github-token"]&&!jt.hasGitAuthTokenSecret(t.secrets)&&e.startsWith(n)&&i.push("--secret",jt.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(Ze.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(j4t,"getBuildArgs");async function $4t(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($4t,"getCommonArgs");async function J4t(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&&!W4t()&&await e.buildkit.versionSatisfies(t.builder,">=0.11.0")&&!jt.hasDockerExporter(t.outputs,t.load)&&(Ze.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(J4t,"getAttestArgs");function W4t(){return process.env.BUILDX_NO_DEFAULT_ATTESTATIONS?re.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS):!1}o(W4t,"noDefaultAttestations");var WB=process.env.STATE_tmpDir||"",GMe=process.env.STATE_builderDriver||"",HMe=process.env.STATE_builderEndpoint||"",VMe=process.env.STATE_summaryInputs?JSON.parse(process.env.STATE_summaryInputs):void 0,jX=process.env.STATE_buildRef||"",zMe=!!process.env.STATE_isSummarySupported;function jMe(t){za("tmpDir",t)}o(jMe,"setTmpDir");function $Me(t){za("builderDriver",t)}o($Me,"setBuilderDriver");function JMe(t){za("builderEndpoint",t)}o(JMe,"setBuilderEndpoint");function WMe(t){za("buildRef",t)}o(WMe,"setBuildRef");function YMe(){za("isSummarySupported","true")}o(YMe,"setSummarySupported");function KMe(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}}za("summaryInputs",JSON.stringify(e))}o(KMe,"setSummaryInputs");GEe(async()=>{let t=new Date,e=await UMe();KMe(e),D(`inputs: ${JSON.stringify(e)}`);let r=new iL;if(await Qr("GitHub Actions runtime token ACs",async()=>{try{await Ze.printActionsRuntimeTokenACs()}catch(f){at(f.message)}}),await Qr("Docker info",async()=>{try{await sn.printVersion(),await sn.printInfo()}catch(f){L(f.message)}}),await Qr("Proxy configuration",async()=>{let f,h=!1;try{f=await sn.configFile()}catch(p){h=!0,at(`Unable to parse config file ${ZMe.join(sn.configDir,"config.json")}: ${p}`)}if(f&&f.proxies)for(let p in f.proxies){let m="";Object.keys(f.proxies).length>1&&(m=" ",L(p));for(let g in f.proxies[p])L(`${m}${g}: ${f.proxies[p][g]}`)}else h||L("No proxy configuration found")}),!await r.buildx.isAvailable()){xN("Docker buildx is required. See https://github.com/docker/setup-buildx-action to set up buildx.");return}jMe(mt.tmpDir()),await Qr("Buildx version",async()=>{await r.buildx.printVersion()});let n;await Qr("Builder info",async()=>{n=await r.builder.inspect(e.builder),$Me(n.driver??""),JMe(n.nodes?.[0]?.endpoint??""),L(JSON.stringify(n,null,2))});let i=await qMe(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 _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()):f.stderr.length>0&&(a=new Error(`buildx failed with: ${f.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)))});let c=r.buildxBuild.resolveImageID(),l=r.buildxBuild.resolveMetadata(),u=r.buildxBuild.resolveDigest(l);c&&await Qr("ImageID",async()=>{L(c),BN("imageid",c)}),u&&await Qr("Digest",async()=>{L(u),BN("digest",u)}),l&&await Qr("Metadata",async()=>{let f=JSON.stringify(l,null,2);L(f),BN("metadata",f)});let d;if(await Qr("Reference",async()=>{d=await X4t(r,t,e.builder),d?(L(d),WMe(d)):L("No build reference found")}),Z4t()){let f=r.buildxBuild.resolveWarnings(l);if(d&&f&&f.length>0){let h=await Dt.convertWarningsToGitHubAnnotations(f,[d]);D(`annotations: ${JSON.stringify(h,null,2)}`),h&&h.length>0&&await Qr(`Generating GitHub annotations (${h.length} build checks found)`,async()=>{for(let p of h)at(p.message,p)})}}if(await Qr("Check build summary support",async()=>{e5t()?e.call&&e.call!=="build"?L(`Build summary skipped for ${e.call} subrequest`):Ze.isGHES?L("Build summary is not yet supported on GHES"):await r.buildx.versionSatisfies(">=0.23.0")?d?(L("Build summary supported!"),YMe()):L("Build summary requires a build reference"):L("Build summary requires Buildx >= 0.23.0"):L("Build summary disabled")}),a)throw a},async()=>{zMe&&await Qr("Generating build summary",async()=>{try{let t=t5t(),e;t&&(e=r5t());let n=await new jD().export({refs:jX?[jX]:[]});L(`Build record written to ${n.dockerbuildFilename} (${re.formatFileSize(n.dockerbuildSize)})`);let i;t&&(i=await nP.upload({filename:n.dockerbuildFilename,retentionDays:e})),await uP.writeBuildSummary({exportRes:n,uploadRes:i,inputs:VMe,driver:GMe,endpoint:HMe})}catch(t){at(t.message)}}),WB.length>0&&await Qr(`Removing temp folder ${WB}`,async()=>{try{XMe.rmSync(WB,{recursive:!0})}catch{at(`Failed to remove temp folder ${WB}`)}})});async function X4t(t,e,r){let n=t.buildxBuild.resolveRef();if(n)return n;r||(r=(await t.builder.inspect()).name);let i=Dt.refs({dir:Dt.refsDir,builderName:r,since:e});return Object.keys(i).length>0?Object.keys(i)[0]:""}o(X4t,"buildRef");function Z4t(){return process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS?re.parseBool(process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS):!0}o(Z4t,"buildChecksAnnotationsEnabled");function e5t(){return process.env.DOCKER_BUILD_SUMMARY?re.parseBool(process.env.DOCKER_BUILD_SUMMARY):!0}o(e5t,"buildSummaryEnabled");function t5t(){return process.env.DOCKER_BUILD_RECORD_UPLOAD?re.parseBool(process.env.DOCKER_BUILD_RECORD_UPLOAD):!0}o(t5t,"buildRecordUploadEnabled");function r5t(){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(r5t,"buildRecordRetentionDays"); +`;var YO=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new Dt,this.sigstore=e?.sigstore||new bh}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=qC.clean(i)||"";if(!qC.valid(s))throw new Error(`Invalid Cosign version "${i}".`);let a=new Wn({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:UC.default.join(bc.default.homedir(),".bin"),cacheFile:bc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return L(`Cosign binary found in ${c}`),c;let l=HX.format(r.downloadURL,i,this.filename());L(`Downloading ${l}`);let u=await Ho(l,void 0,this.githubToken);D(`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 L(`Cached to ${d}`),d}async build(e,r,n){let i=await this.vspec(e);D(`Install.build vspec: ${i}`);let s=new Wn({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:UC.default.join(bc.default.homedir(),".bin"),cacheFile:bc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await s.find();if(a)return L(`Cosign binary found in ${a}`),a;let c=UC.default.join(mt.tmpDir(),"cosign-build-cache"),l=await this.buildCommand(e,c),u=await _e.getExecOutput(l.command,l.args,{ignoreReturnCode:!0,input:Buffer.from(OMe)}).then(f=>{if(f.stderr.length>0&&f.exitCode!=0)throw new Error(`build failed with: ${f.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${c}/cosign`}),d=await s.save(u,n);return L(`Cached to ${d}`),d}async install(e,r){r=r||mt.tmpDir();let n=UC.default.join(r,"cosign-bin");zB.default.existsSync(n)||zB.default.mkdirSync(n,{recursive:!0});let i=bc.default.platform()=="win32"?"cosign.exe":"cosign",s=UC.default.join(n,i);return zB.default.copyFileSync(e,s),L("Fixing perms"),zB.default.chmodSync(s,"0755"),Oc(n),L("Added Cosign to PATH"),L(`Binary path: ${s}`),s}async buildCommand(e,r){let n=await new Dt({standalone:!0}).isAvailable(),i=await new Dt({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 Dt({standalone:s}).getCommand(a)}async verifySignature(e,r){let n=`${r}.sigstore.json`;L(`Downloading keyless verification bundle at ${n}`);let i=await Ho(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"});L(`Cosign binary signature verified! ${s.tlogID?`${tm}?logIndex=${s.tlogID}`:""}`)}filename(){let e;switch(bc.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=bc.default.arch();break}}let r=bc.default.platform()=="win32"?"windows":bc.default.platform(),n=bc.default.platform()=="win32"?".exe":"";return HX.format("cosign-%s-%s%s",r,e,n)}async vspec(e){if(!re.isValidRef(e)){let u=e.replace(/^v+|v+$/g,"");return L(`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 iC.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 L(`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 Ze({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 LMe=R(oc(),1);var KO=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?(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 _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 D("Regctl.versionSatisfies false: undefined version"),!1;let i=LMe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Regctl.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var jB=R(require("fs"),1),Rd=R(require("os"),1),XO=R(require("path"),1);var eL=R(oc(),1),VX=R(require("util"),1);var ZO=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=eL.clean(s)||"";if(!eL.valid(a))throw new Error(`Invalid regclient version "${s}".`);let c=new Wn({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:XO.default.join(Rd.default.homedir(),".bin"),cacheFile:Rd.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return L(`regctl binary found in ${l}`),l;let u=VX.format(n.downloadURL,s,this.filename());L(`Downloading ${u}`);let d=await Ho(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f=await c.save(d);return L(`Cached to ${f}`),f}async install(e,r){r=r||mt.tmpDir();let n=XO.default.join(r,"regctl-bin");jB.default.existsSync(n)||jB.default.mkdirSync(n,{recursive:!0});let i=Rd.default.platform()=="win32"?"regctl.exe":"regctl",s=XO.default.join(n,i);return jB.default.copyFileSync(e,s),L("Fixing perms"),jB.default.chmodSync(s,"0755"),Oc(n),L("Added regctl to PATH"),L(`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 VX.format("regctl-%s-%s%s",r,e,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return L(`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 Ze({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 FMe=R(oc(),1);var tL=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?(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 _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 D("Undock.versionSatisfies false: undefined version"),!1;let i=FMe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return D(`Undock.versionSatisfies ${n} statisfies ${e}: ${i}`),i}};var $B=R(require("fs"),1),wc=R(require("os"),1),JB=R(require("path"),1);var nL=R(oc(),1),zX=R(require("util"),1);var rL=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=nL.clean(s)||"";if(!nL.valid(a))throw new Error(`Invalid Undock version "${s}".`);let c=new Wn({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:JB.default.join(wc.default.homedir(),".bin"),cacheFile:wc.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return L(`Undock binary found in ${l}`),l;let u=zX.format(n.downloadURL,s,this.filename(s));L(`Downloading ${u}`);let d=await Ho(u,void 0,this.githubToken);D(`Install.download htcDownloadPath: ${d}`);let f;wc.default.platform()=="win32"?f=await Due(d):f=await Tue(d),L(`Extracted to ${f}`);let h=JB.default.join(f,wc.default.platform()=="win32"?"undock.exe":"undock");D(`Install.download exePath: ${h}`);let p=await c.save(h);return L(`Cached to ${p}`),p}async install(e,r){r=r||mt.tmpDir();let n=JB.default.join(r,"undock-bin");$B.default.existsSync(n)||$B.default.mkdirSync(n,{recursive:!0});let i=wc.default.platform()=="win32"?"undock.exe":"undock",s=JB.default.join(n,i);return $B.default.copyFileSync(e,s),L("Fixing perms"),$B.default.chmodSync(s,"0755"),Oc(n),L("Added Undock to PATH"),L(`Binary path: ${s}`),s}filename(e){let r;switch(wc.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=wc.default.arch();break}}let n=wc.default.platform()=="win32"?"windows":wc.default.platform(),i=wc.default.platform()=="win32"?".zip":".tar.gz";return zX.format("undock_%s_%s_%s%s",e,n,r,i)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return L(`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 Ze({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 iL=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 Ze({token:e.githubToken}),this.buildx=new Dt,this.buildxBuild=new jt({buildx:this.buildx}),this.buildxBake=new dP({buildx:this.buildx}),this.buildxInstall=new HO,this.builder=new FC({buildx:this.buildx}),this.buildkit=new jO({buildx:this.buildx}),this.compose=new $O,this.composeInstall=new JO,this.cosign=new su,this.cosignInstall=new YO({buildx:this.buildx}),this.regctl=new KO,this.regctlInstall=new ZO,this.sigstore=new bh,this.undock=new tL,this.undockInstall=new rL}};var jX=R(L$(),1);var MMe;async function UMe(){return MMe??=new jt().gitContext(),await MMe}o(UMe,"getDefaultContext");async function qMe(){let t=await UMe();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:ci("builder"),"cache-from":re.getInputList("cache-from",{ignoreComma:!0}),"cache-to":re.getInputList("cache-to",{ignoreComma:!0}),call:ci("call"),"cgroup-parent":ci("cgroup-parent"),context:jX.compile(ci("context"))({defaultContext:t})||t,file:ci("file"),labels:re.getInputList("labels",{ignoreComma:!0}),load:tp("load"),network:ci("network"),"no-cache":tp("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:tp("pull"),push:tp("push"),sbom:ci("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":ci("shm-size"),ssh:re.getInputList("ssh"),tags:re.getInputList("tags"),target:ci("target"),ulimit:re.getInputList("ulimit",{ignoreComma:!0}),"github-token":ci("github-token")}}o(qMe,"getInputs");async function GMe(t,e){return[...await W4t(t,t.context,e),...await Y4t(t,e),t.context]}o(GMe,"getArgs");async function W4t(t,e,r){let n=await UMe(),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&&at("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",jX.compile(s)({defaultContext:n}))}):t["build-contexts"].length>0&&at("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){at(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 K4t(t,r)):at("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){at(a.message)}}),await re.asyncForEach(t["secret-files"],async s=>{try{i.push("--secret",jt.resolveSecretFile(s))}catch(a){at(a.message)}}),t["github-token"]&&!jt.hasGitAuthTokenSecret(t.secrets)&&e.startsWith(n)&&i.push("--secret",jt.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(Ze.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(W4t,"getBuildArgs");async function Y4t(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(Y4t,"getCommonArgs");async function K4t(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&&!X4t()&&await e.buildkit.versionSatisfies(t.builder,">=0.11.0")&&!jt.hasDockerExporter(t.outputs,t.load)&&(Ze.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(K4t,"getAttestArgs");function X4t(){return process.env.BUILDX_NO_DEFAULT_ATTESTATIONS?re.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS):!1}o(X4t,"noDefaultAttestations");var WB=process.env.STATE_tmpDir||"",HMe=process.env.STATE_builderDriver||"",VMe=process.env.STATE_builderEndpoint||"",zMe=process.env.STATE_summaryInputs?JSON.parse(process.env.STATE_summaryInputs):void 0,$X=process.env.STATE_buildRef||"",jMe=!!process.env.STATE_isSummarySupported;function $Me(t){za("tmpDir",t)}o($Me,"setTmpDir");function JMe(t){za("builderDriver",t)}o(JMe,"setBuilderDriver");function WMe(t){za("builderEndpoint",t)}o(WMe,"setBuilderEndpoint");function YMe(t){za("buildRef",t)}o(YMe,"setBuildRef");function KMe(){za("isSummarySupported","true")}o(KMe,"setSummarySupported");function XMe(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}}za("summaryInputs",JSON.stringify(e))}o(XMe,"setSummaryInputs");HEe(async()=>{let t=new Date,e=await qMe();XMe(e),D(`inputs: ${JSON.stringify(e)}`);let r=new iL;if(await Qr("GitHub Actions runtime token ACs",async()=>{try{await Ze.printActionsRuntimeTokenACs()}catch(f){at(f.message)}}),await Qr("Docker info",async()=>{try{await sn.printVersion(),await sn.printInfo()}catch(f){L(f.message)}}),await Qr("Proxy configuration",async()=>{let f,h=!1;try{f=await sn.configFile()}catch(p){h=!0,at(`Unable to parse config file ${eUe.join(sn.configDir,"config.json")}: ${p}`)}if(f&&f.proxies)for(let p in f.proxies){let m="";Object.keys(f.proxies).length>1&&(m=" ",L(p));for(let g in f.proxies[p])L(`${m}${g}: ${f.proxies[p][g]}`)}else h||L("No proxy configuration found")}),!await r.buildx.isAvailable()){xN("Docker buildx is required. See https://github.com/docker/setup-buildx-action to set up buildx.");return}$Me(mt.tmpDir()),await Qr("Buildx version",async()=>{await r.buildx.printVersion()});let n;await Qr("Builder info",async()=>{n=await r.builder.inspect(e.builder),JMe(n.driver??""),WMe(n.nodes?.[0]?.endpoint??""),L(JSON.stringify(n,null,2))});let i=await GMe(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 _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()):f.stderr.length>0&&(a=new Error(`buildx failed with: ${f.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)))});let c=r.buildxBuild.resolveImageID(),l=r.buildxBuild.resolveMetadata(),u=r.buildxBuild.resolveDigest(l);c&&await Qr("ImageID",async()=>{L(c),BN("imageid",c)}),u&&await Qr("Digest",async()=>{L(u),BN("digest",u)}),l&&await Qr("Metadata",async()=>{let f=JSON.stringify(l,null,2);L(f),BN("metadata",f)});let d;if(await Qr("Reference",async()=>{d=await t5t(r,t,e.builder),d?(L(d),YMe(d)):L("No build reference found")}),r5t()){let f=r.buildxBuild.resolveWarnings(l);if(d&&f&&f.length>0){let h=await Dt.convertWarningsToGitHubAnnotations(f,[d]);D(`annotations: ${JSON.stringify(h,null,2)}`),h&&h.length>0&&await Qr(`Generating GitHub annotations (${h.length} build checks found)`,async()=>{for(let p of h)at(p.message,p)})}}if(await Qr("Check build summary support",async()=>{n5t()?e.call&&e.call!=="build"?L(`Build summary skipped for ${e.call} subrequest`):Ze.isGHES?L("Build summary is not yet supported on GHES"):await r.buildx.versionSatisfies(">=0.23.0")?d?(L("Build summary supported!"),KMe()):L("Build summary requires a build reference"):L("Build summary requires Buildx >= 0.23.0"):L("Build summary disabled")}),a)throw a},async()=>{jMe&&await Qr("Generating build summary",async()=>{try{let t=i5t(),e;t&&(e=s5t());let n=await new jD().export({refs:$X?[$X]:[]});L(`Build record written to ${n.dockerbuildFilename} (${re.formatFileSize(n.dockerbuildSize)})`);let i;t&&(i=await nP.upload({filename:n.dockerbuildFilename,retentionDays:e})),await uP.writeBuildSummary({exportRes:n,uploadRes:i,inputs:zMe,driver:HMe,endpoint:VMe})}catch(t){at(t.message)}}),WB.length>0&&await Qr(`Removing temp folder ${WB}`,async()=>{try{ZMe.rmSync(WB,{recursive:!0})}catch{at(`Failed to remove temp folder ${WB}`)}})});async function t5t(t,e,r){let n=t.buildxBuild.resolveRef();if(n)return n;r||(r=(await t.builder.inspect()).name);let i=Dt.refs({dir:Dt.refsDir,builderName:r,since:e});return Object.keys(i).length>0?Object.keys(i)[0]:""}o(t5t,"buildRef");function r5t(){return process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS?re.parseBool(process.env.DOCKER_BUILD_CHECKS_ANNOTATIONS):!0}o(r5t,"buildChecksAnnotationsEnabled");function n5t(){return process.env.DOCKER_BUILD_SUMMARY?re.parseBool(process.env.DOCKER_BUILD_SUMMARY):!0}o(n5t,"buildSummaryEnabled");function i5t(){return process.env.DOCKER_BUILD_RECORD_UPLOAD?re.parseBool(process.env.DOCKER_BUILD_RECORD_UPLOAD):!0}o(i5t,"buildRecordUploadEnabled");function s5t(){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(s5t,"buildRecordRetentionDays"); /*! Bundled license information: undici/lib/web/fetch/body.js: diff --git a/dist/index.cjs.map b/dist/index.cjs.map index 3c4cdf8..828c173 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/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/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/github/github.ts", "../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/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/common/object.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/nodes.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/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/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/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl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CDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8BzgFLzQFMzAFNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmd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0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigC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hwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYC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JAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8w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AJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBr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WohAUHmACEDDJgCCyABQQFqIQFB5wAhAwyXAgtB/QAhAyABIARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyP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QJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQA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EAIQMMlgELIAJB1wA2AhwgAiABNgIUIAJByRc2AhAgAkEVNgIMQQAhAwyVAQtBACEDIAJBADYCHCACIAE2AhQgAkGAETYCECACQQk2AgwMlAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0AIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCB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afeListedMethods = /** @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 * ::=